/device/linaro/bootloader/edk2/SecurityPkg/Library/TcgStorageOpalLib/ |
D | TcgStorageOpalUtil.c | 37 TCG_RESULT Ret; in OpalUtilPsidRevert() local 42 Ret = OpalStartSession( in OpalUtilPsidRevert() 50 if (Ret == TcgResultSuccess && MethodStatus == TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilPsidRevert() 51 Ret = OpalPsidRevert(Session); in OpalUtilPsidRevert() 52 if (Ret != TcgResultSuccess) { in OpalUtilPsidRevert() 61 Ret = TcgResultFailure; in OpalUtilPsidRevert() 64 return Ret; in OpalUtilPsidRevert() 90 TCG_RESULT Ret; in OpalUtilSetAdminPasswordAsSid() local 96 Ret = OpalStartSession( in OpalUtilSetAdminPasswordAsSid() 105 if (Ret != TcgResultSuccess || MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilSetAdminPasswordAsSid() [all …]
|
D | TcgStorageOpalCore.c | 617 TCG_RESULT Ret; in OpalAdminRevert() local 629 Ret = OpalUpdateGlobalLockingRange( in OpalAdminRevert() 635 if (Ret != TcgResultSuccess || *MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalAdminRevert() 639 return Ret; in OpalAdminRevert() 817 TCG_RESULT Ret; in OpalSetLockingSpAuthorityEnabledAndPin() local 909 Ret = OpalParseRetrieveGlobalLockingRangeActiveKey(&ParseStruct, &ActiveKey); in OpalSetLockingSpAuthorityEnabledAndPin() 910 if (Ret == TcgResultSuccess) { in OpalSetLockingSpAuthorityEnabledAndPin()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | ExpressionValidate.py | 224 Ret = self.SpecNot() 228 if Ret not in [self.ARITH, self.LOGICAL, self.REALLOGICAL, self.STRINGITEM]: 230 Ret = self.SpecNot() 231 if Ret not in [self.ARITH, self.LOGICAL, self.REALLOGICAL, self.STRINGITEM]: 233 Ret = self.REALLOGICAL 234 return Ret 244 Ret = self.Expr() 247 if Ret == self.STRINGITEM: 249 Ret = self.Expr() 250 if Ret == self.REALLOGICAL: [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/OpalPasswordSupportLib/ |
D | OpalPasswordSupportLib.c | 126 TCG_RESULT Ret; in OpalSupportPsidRevert() local 131 Ret = OpalUtilPsidRevert (Session, Psid, PsidLength); in OpalSupportPsidRevert() 132 if (Ret == TcgResultSuccess && !gInSmm) { in OpalSupportPsidRevert() 136 return Ret; in OpalSupportPsidRevert() 166 TCG_RESULT Ret; in OpalSupportSetPassword() local 173 …Ret = OpalUtilSetAdminPassword(Session, OldPassword, OldPasswordLength, NewPassword, NewPasswordLe… in OpalSupportSetPassword() 175 …Ret = OpalUtilSetUserPassword(Session, OldPassword, OldPasswordLength, NewPassword, NewPasswordLen… in OpalSupportSetPassword() 177 if (Ret == TcgResultSuccess && !gInSmm) { in OpalSupportSetPassword() 181 return Ret; in OpalSupportSetPassword() 204 TCG_RESULT Ret; in OpalSupportDisableUser() local [all …]
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/TlsLib/ |
D | TlsProcess.c | 89 INTN Ret; in TlsDoHandshake() local 94 Ret = 1; in TlsDoHandshake() 114 Ret = SSL_do_handshake (TlsConn->Ssl); in TlsDoHandshake() 121 Ret = SSL_do_handshake (TlsConn->Ssl); in TlsDoHandshake() 126 if (Ret < 1) { in TlsDoHandshake() 127 Ret = SSL_get_error (TlsConn->Ssl, (int) Ret); in TlsDoHandshake() 128 if (Ret == SSL_ERROR_SSL || in TlsDoHandshake() 129 Ret == SSL_ERROR_SYSCALL || in TlsDoHandshake() 130 Ret == SSL_ERROR_ZERO_RETURN) { in TlsDoHandshake() 136 Ret == SSL_ERROR_SSL ? "SSL" : Ret == SSL_ERROR_SYSCALL ? "SYSCALL" : "ZERO_RETURN" in TlsDoHandshake() [all …]
|
D | TlsConfig.c | 290 INTN Ret; in TlsSetCompressionMethod() local 293 Ret = 0; in TlsSetCompressionMethod() 312 Ret = SSL_COMP_add_compression_method (CompMethod, Cm); in TlsSetCompressionMethod() 313 if (Ret != 0) { in TlsSetCompressionMethod() 424 INTN Ret; in TlsSetCaCertificate() local 432 Ret = 0; in TlsSetCaCertificate() 475 Ret = X509_STORE_add_cert (X509Store, Cert); in TlsSetCaCertificate() 476 if (Ret != 1) { in TlsSetCaCertificate()
|
/device/linaro/bootloader/edk2/NetworkPkg/TlsDxe/ |
D | TlsImpl.c | 53 INTN Ret; in TlsEncryptPacket() local 64 Ret = 0; in TlsEncryptPacket() 117 …Ret = TlsCtrlTrafficOut (TlsInstance->TlsConn, (UINT8 *)(TempRecordHeader), MAX_BUFFER_SIZE - Buff… in TlsEncryptPacket() 119 if (Ret > 0) { in TlsEncryptPacket() 120 ThisMessageSize = (UINT16) Ret; in TlsEncryptPacket() 204 INTN Ret; in TlsDecryptPacket() local 215 Ret = 0; in TlsDecryptPacket() 266 …Ret = TlsCtrlTrafficIn (TlsInstance->TlsConn, (UINT8 *) (RecordHeaderIn), RECORD_HEADER_LEN + This… in TlsDecryptPacket() 267 if (Ret != RECORD_HEADER_LEN + ThisCipherMessageSize) { in TlsDecryptPacket() 273 Ret = 0; in TlsDecryptPacket() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Hash2DxeCrypto/ |
D | Hash2DxeCrypto.c | 359 BOOLEAN Ret; in BaseCrypto2Hash() local 397 Ret = HashInfo->Init (HashCtx); in BaseCrypto2Hash() 398 if (!Ret) { in BaseCrypto2Hash() 409 Ret = HashInfo->Update (HashCtx, Message, MessageSize); in BaseCrypto2Hash() 410 if (!Ret) { in BaseCrypto2Hash() 415 Ret = HashInfo->Final (HashCtx, (UINT8 *)Hash->Sha1Hash); in BaseCrypto2Hash() 416 if (!Ret) { in BaseCrypto2Hash() 456 BOOLEAN Ret; in BaseCrypto2HashInit() local 492 Ret = HashInfo->Init (HashCtx); in BaseCrypto2HashInit() 493 if (!Ret) { in BaseCrypto2HashInit() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordDxe/ |
D | OpalHii.c | 592 TCG_RESULT Ret; in HiiPopulateDiskInfoForm() local 611 …Ret = OpalSupportGetAvailableActions(&OpalDisk->SupportedAttributes, &OpalDisk->LockingFeature, Op… in HiiPopulateDiskInfoForm() 612 if (Ret == TcgResultSuccess) { in HiiPopulateDiskInfoForm() 676 TCG_RESULT Ret; in HiiPsidRevert() local 681 Ret = TcgResultFailure; in HiiPsidRevert() 699 …Ret = OpalSupportPsidRevert(&Session, Psid.Psid, (UINT32)sizeof(Psid.Psid), OpalDisk->OpalDevicePa… in HiiPsidRevert() 704 if (Ret == TcgResultSuccess) { in HiiPsidRevert() 733 TCG_RESULT Ret; in HiiSetPassword() local 776 …Ret = OpalSupportEnableOpalFeature (&Session, OpalDisk->Msid, OpalDisk->MsidLength,Password, PassL… in HiiSetPassword() 777 if (Ret == TcgResultSuccess) { in HiiSetPassword() [all …]
|
D | OpalDriver.c | 263 TCG_RESULT Ret; in OpalDriverRequestPassword() local 347 Ret = OpalSupportUnlock(&Session, Password, PasswordLen, Dev->OpalDevicePath); in OpalDriverRequestPassword() 349 Ret = OpalSupportLock(&Session, Password, PasswordLen, Dev->OpalDevicePath); in OpalDriverRequestPassword() 350 if (Ret == TcgResultSuccess) { in OpalDriverRequestPassword() 351 Ret = OpalSupportUnlock(&Session, Password, PasswordLen, Dev->OpalDevicePath); in OpalDriverRequestPassword() 360 if (Ret == TcgResultSuccess) { in OpalDriverRequestPassword()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePalLibNull/ |
D | PalCall.c | 54 PAL_CALL_RETURN Ret; in PalCall() local 56 Ret.Status = (UINT64) -1; in PalCall() 58 return Ret; in PalCall()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/EblCmdLib/ |
D | EblCmdFdt.c | 183 UINTN Ret; in EblDumpFdt() local 196 Ret = fdt_check_header (FdtBlob); in EblDumpFdt() 197 if (Ret != 0) { in EblDumpFdt() 198 Print (L"ERROR: Device Tree header not valid (err:%d)\n", Ret); in EblDumpFdt()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/ |
D | VfrFormPkg.h | 53 UINT8 Ret = Flags & Mask; in _FLAG_TEST_AND_CLEAR() local 55 return Ret; in _FLAG_TEST_AND_CLEAR() 972 EFI_VFR_RETURN_CODE Ret; in SetFlags() local 974 Ret = CIfrQuestionHeader::SetFlags (HFlags); in SetFlags() 975 if (Ret != VFR_RETURN_SUCCESS) { in SetFlags() 976 return Ret; in SetFlags() 1023 EFI_VFR_RETURN_CODE Ret; in SetFlags() local 1025 Ret = CIfrQuestionHeader::SetFlags (HFlags); in SetFlags() 1026 if (Ret != VFR_RETURN_SUCCESS) { in SetFlags() 1027 return Ret; in SetFlags() [all …]
|
D | VfrFormPkg.cpp | 295 EFI_VFR_RETURN_CODE Ret; in BuildPkg() local 304 if ((Ret = BuildPkgHdr(&PkgHdr)) != VFR_RETURN_SUCCESS) { in BuildPkg() 305 return Ret; in BuildPkg() 378 EFI_VFR_RETURN_CODE Ret; in GenCFile() local 390 if ((Ret = BuildPkgHdr(&PkgHdr)) != VFR_RETURN_SUCCESS) { in GenCFile() 391 return Ret; in GenCFile()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Pp2Dxe/ |
D | Pp2Dxe.c | 343 INTN Ret; in Pp2DxeOpen() local 348 Ret = Mvpp2PrsMacDaAccept(Mvpp2Shared, Port->Id, MacBcast, TRUE); in Pp2DxeOpen() 349 if (Ret != 0) { in Pp2DxeOpen() 352 Ret = Mvpp2PrsMacDaAccept(Mvpp2Shared, Port->Id, DevAddr, TRUE); in Pp2DxeOpen() 353 if (Ret != 0) { in Pp2DxeOpen() 356 Ret = Mvpp2PrsTagModeSet(Mvpp2Shared, Port->Id, MVPP2_TAG_TYPE_MH); in Pp2DxeOpen() 357 if (Ret != 0) { in Pp2DxeOpen() 360 Ret = Mvpp2PrsDefFlow(Port); in Pp2DxeOpen() 361 if (Ret != 0) { in Pp2DxeOpen() 715 INTN Ret; in Pp2SnpStationAddress() local [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/BiosVideoThunkDxe/ |
D | LegacyBiosThunk.c | 144 BOOLEAN Ret; in LegacyBiosInt86() local 215 Ret = (BOOLEAN) (Regs->E.EFLAGS.Bits.CF == 1); in LegacyBiosInt86() 217 return Ret; in LegacyBiosInt86()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/ |
D | VfrFormPkg.h | 54 UINT8 Ret = Flags & Mask; in _FLAG_TEST_AND_CLEAR() local 56 return Ret; in _FLAG_TEST_AND_CLEAR() 1272 EFI_VFR_RETURN_CODE Ret; in SetFlags() local 1274 Ret = CIfrQuestionHeader::SetFlags (HFlags); in SetFlags() 1275 if (Ret != VFR_RETURN_SUCCESS) { in SetFlags() 1276 return Ret; in SetFlags() 1323 EFI_VFR_RETURN_CODE Ret; in SetFlags() local 1325 Ret = CIfrQuestionHeader::SetFlags (HFlags); in SetFlags() 1326 if (Ret != VFR_RETURN_SUCCESS) { in SetFlags() 1327 return Ret; in SetFlags() [all …]
|
/device/linaro/bootloader/edk2/ArmVirtPkg/FdtClientDxe/ |
D | FdtClientDxe.c | 66 INT32 Ret; in SetNodeProperty() local 70 Ret = fdt_setprop (mDeviceTreeBase, Node, PropertyName, Prop, PropSize); in SetNodeProperty() 71 if (Ret != 0) { in SetNodeProperty()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/ |
D | DecParserTest.py | 73 Ret = TestFunc(Path, TestString) 77 return Ret
|
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/ |
D | GenCfgOpt.py | 1268 Ret = GenCfgOpt.CreateUpdTxtFile(OutFile) 1269 if Ret != 0: 1271 if Ret == 256: 1275 return Ret 1277 Ret = GenCfgOpt.CreateHeaderFile(OutFile, True) 1278 if Ret != 0: 1280 if Ret == 256: 1284 return Ret
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/ |
D | OpalPasswordSmm.c | 197 TCG_RESULT Ret; in IsOpalDeviceLocked() local 202 Ret = OpalGetSupportedAttributesInfo (&Session, &SupportedAttributes, &OpalBaseComId); in IsOpalDeviceLocked() 203 if (Ret != TcgResultSuccess) { in IsOpalDeviceLocked() 211 Ret = OpalGetLockingInfo(&Session, &LockingFeature); in IsOpalDeviceLocked() 212 if (Ret != TcgResultSuccess) { in IsOpalDeviceLocked()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
D | Mv.c | 83 BOOLEAN Ret; in IsSoucePathValid() local 90 Ret = TRUE; in IsSoucePathValid() 118 Ret = FALSE; in IsSoucePathValid() 124 return Ret; in IsSoucePathValid()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
D | SysCalls.c | 157 BOOLEAN Ret = FALSE; in IsDupFd() local 167 Ret = TRUE; in IsDupFd() 173 return Ret; in IsDupFd()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/MakeDeps/ |
D | MakeDeps.c | 750 INT32 Ret; in ProcessClOutput() local 773 Ret = sscanf (Line, "Note: including file: %s %c", IncludeFileName, &Char); in ProcessClOutput() 774 if (Ret == 2) { in ProcessClOutput() 779 } else if ( Ret != 1) { in ProcessClOutput()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/ |
D | DwUsbDxe.c | 352 UINTN Ret, NewBits; in UsbDrvRequestEndpoint() local 354 Ret = Ep | Dir; in UsbDrvRequestEndpoint() 370 return Ret; in UsbDrvRequestEndpoint()
|