/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
D | Cd.c | 40 CHAR16 *TempBuffer; in ReplaceDriveWithCwd() local 44 TempBuffer = NULL; in ReplaceDriveWithCwd() 56 TempBuffer = AllocateZeroPool (TotalSize); in ReplaceDriveWithCwd() 57 if (TempBuffer == NULL) { in ReplaceDriveWithCwd() 61 StrCpyS (TempBuffer, TotalSize / sizeof(CHAR16), Cwd); in ReplaceDriveWithCwd() 62 StrCatS (TempBuffer, TotalSize / sizeof(CHAR16), L"\\"); in ReplaceDriveWithCwd() 63 StrCatS (TempBuffer, TotalSize / sizeof(CHAR16), Splitter + 1); in ReplaceDriveWithCwd() 66 *FullPath = TempBuffer; in ReplaceDriveWithCwd() 193 CHAR16 *TempBuffer; in ShellCommandRunCd() local 202 TempBuffer = NULL; in ShellCommandRunCd() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ |
D | ValueToString.c | 57 CHAR16 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in EfiValueToHexStr() local 64 TempStr = TempBuffer; in EfiValueToHexStr() 100 if (Width > 0 && (UINTN) (TempStr - TempBuffer) > Width) { in EfiValueToHexStr() 101 TempStr = TempBuffer + Width; in EfiValueToHexStr() 104 while (TempStr != TempBuffer) { in EfiValueToHexStr() 143 CHAR16 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in EfiValueToString() local 153 TempStr = TempBuffer; in EfiValueToString() 203 if (Width > 0 && (UINTN) (TempStr - TempBuffer) > Width) { in EfiValueToString() 204 TempStr = TempBuffer + Width; in EfiValueToString() 207 while (TempStr != TempBuffer) { in EfiValueToString()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Config/ |
D | Tcg2ConfigImpl.c | 743 CHAR16 TempBuffer[1024]; in InstallTcg2ConfigForm() local 812 TempBuffer[0] = 0; in InstallTcg2ConfigForm() 815 AppendBufferWithTpmAlgHash (TempBuffer, sizeof(TempBuffer), Pcrs.pcrSelections[Index].hash); in InstallTcg2ConfigForm() 818 …tring (PrivateData->HiiHandle, STRING_TOKEN (STR_TPM2_ACTIVE_HASH_ALGO_CONTENT), TempBuffer, NULL); in InstallTcg2ConfigForm() 820 TempBuffer[0] = 0; in InstallTcg2ConfigForm() 822 AppendBufferWithTpmAlgHash (TempBuffer, sizeof(TempBuffer), Pcrs.pcrSelections[Index].hash); in InstallTcg2ConfigForm() 825 …ng (PrivateData->HiiHandle, STRING_TOKEN (STR_TPM2_SUPPORTED_HASH_ALGO_CONTENT), TempBuffer, NULL); in InstallTcg2ConfigForm() 828 FillBufferWithBootHashAlg (TempBuffer, sizeof(TempBuffer), PcdGet32 (PcdTcg2HashAlgorithmBitmap)); in InstallTcg2ConfigForm() 829 …HiiSetString (PrivateData->HiiHandle, STRING_TOKEN (STR_BIOS_HASH_ALGO_CONTENT), TempBuffer, NULL); in InstallTcg2ConfigForm() 834 …FillBufferWithTCG2EventLogFormat (TempBuffer, sizeof(TempBuffer), PrivateData->ProtocolCapability.… in InstallTcg2ConfigForm() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/ |
D | EdbSupportFile.c | 44 VOID *TempBuffer; in ReadFileFromVol() local 98 TempBuffer = AllocateZeroPool (TempBufferSize); in ReadFileFromVol() 99 if (TempBuffer == NULL) { in ReadFileFromVol() 113 TempBuffer in ReadFileFromVol() 117 gBS->FreePool (TempBuffer); in ReadFileFromVol() 124 *Buffer = TempBuffer; in ReadFileFromVol() 160 VOID *TempBuffer; in ReadFileToBuffer() local 219 Status = ReadFileFromVol (Vol, FileName, &TempBufferSize, &TempBuffer); in ReadFileToBuffer() 228 gBS->FreePool (TempBuffer); in ReadFileToBuffer() 238 *Buffer = TempBuffer; in ReadFileToBuffer()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/FmpAuthenticationLibPkcs7/ |
D | FmpAuthenticationLibPkcs7.c | 75 VOID *TempBuffer; in FmpAuthenticatedHandlerPkcs7() local 83 TempBuffer = AllocatePool(ImageSize - Image->AuthInfo.Hdr.dwLength); in FmpAuthenticatedHandlerPkcs7() 84 if (TempBuffer == NULL) { in FmpAuthenticatedHandlerPkcs7() 91 TempBuffer, in FmpAuthenticatedHandlerPkcs7() 96 (UINT8 *)TempBuffer + ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 105 (UINT8 *)TempBuffer, in FmpAuthenticatedHandlerPkcs7() 108 FreePool(TempBuffer); in FmpAuthenticatedHandlerPkcs7()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Print/ |
D | Print.c | 178 CHAR8 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in AvSPrint() local 272 ValueTomHexStr (TempBuffer, Value, Flags, Width); in AvSPrint() 273 AsciiStr = TempBuffer; in AvSPrint() 293 ValueTomHexStr (TempBuffer, Value, Flags, Width); in AvSPrint() 294 AsciiStr = TempBuffer; in AvSPrint() 308 ValueToString (TempBuffer, Value, Flags, Width); in AvSPrint() 309 AsciiStr = TempBuffer; in AvSPrint() 438 CHAR8 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in ValueTomHexStr() local 445 TempStr = TempBuffer; in ValueTomHexStr() 473 if (Width > 0 && (UINTN) (TempStr - TempBuffer) > Width) { in ValueTomHexStr() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/ |
D | UpdateWorkingBlock.c | 376 UINT8 *TempBuffer; in FtwReclaimWorkSpace() local 393 TempBuffer = AllocateZeroPool (TempBufferSize); in FtwReclaimWorkSpace() 394 if (TempBuffer == NULL) { in FtwReclaimWorkSpace() 398 Ptr = TempBuffer; in FtwReclaimWorkSpace() 409 FreePool (TempBuffer); in FtwReclaimWorkSpace() 418 Ptr = TempBuffer + in FtwReclaimWorkSpace() 474 …WorkingBlockHeader = (EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER *) (TempBuffer + in FtwReclaimWorkSpace() 487 FreePool (TempBuffer); in FtwReclaimWorkSpace() 502 FreePool (TempBuffer); in FtwReclaimWorkSpace() 514 FreePool (TempBuffer); in FtwReclaimWorkSpace() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/CapsuleApp/ |
D | AppSupport.c | 262 VOID *TempBuffer; in ReadFileFromVol() local 316 TempBuffer = AllocateZeroPool (TempBufferSize); in ReadFileFromVol() 317 if (TempBuffer == NULL) { in ReadFileFromVol() 331 TempBuffer in ReadFileFromVol() 335 gBS->FreePool (TempBuffer); in ReadFileFromVol() 342 *Buffer = TempBuffer; in ReadFileFromVol() 375 VOID *TempBuffer; in ReadFileToBufferEx() local 437 Status = ReadFileFromVol (Vol, FileName, &TempBufferSize, &TempBuffer); in ReadFileToBufferEx() 446 gBS->FreePool (TempBuffer); in ReadFileToBufferEx() 456 *Buffer = TempBuffer; in ReadFileToBufferEx()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Print/ |
D | Print.c | 161 CHAR16 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in VSPrint() local 257 EfiValueToHexStr (TempBuffer, Value, Flags, Width); in VSPrint() 258 UnicodeStr = TempBuffer; in VSPrint() 278 EfiValueToHexStr (TempBuffer, Value, Flags, Width); in VSPrint() 279 UnicodeStr = TempBuffer; in VSPrint() 293 EfiValueToString (TempBuffer, Value, Flags, Width); in VSPrint() 294 UnicodeStr = TempBuffer; in VSPrint()
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/TlsLib/ |
D | TlsProcess.c | 210 UINT8 *TempBuffer; in TlsHandleAlert() local 215 TempBuffer = NULL; in TlsHandleAlert() 234 TempBuffer = (UINT8 *) OPENSSL_malloc (MAX_BUFFER_SIZE); in TlsHandleAlert() 240 SSL_read (TlsConn->Ssl, TempBuffer, MAX_BUFFER_SIZE); in TlsHandleAlert() 242 OPENSSL_free (TempBuffer); in TlsHandleAlert()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/ |
D | Print.c | 536 CHAR16 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in VSPrint() local 648 EfiValueToHexStr (TempBuffer, Value, Flags, Width); in VSPrint() 649 UnicodeStr = TempBuffer; in VSPrint() 670 EfiValueToHexStr (TempBuffer, Value, Flags, Width); in VSPrint() 671 UnicodeStr = TempBuffer; in VSPrint() 685 EfiValueToString (TempBuffer, Value, Flags, Width); in VSPrint() 686 UnicodeStr = TempBuffer; in VSPrint()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/ |
D | MiscOemType0x94Function.c | 125 CHAR16 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in EfiValueToString() 136 TempStr = TempBuffer; in EfiValueToString() 187 if (Width > 0 && (UINTN) (TempStr - TempBuffer) > Width) { in EfiValueToString() 188 TempStr = TempBuffer + Width; in EfiValueToString() 191 while (TempStr != TempBuffer) { in EfiValueToString() 221 CHAR16 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in EfiValueToHexStr() 228 TempStr = TempBuffer; in EfiValueToHexStr() 264 if (Width > 0 && (UINTN) (TempStr - TempBuffer) > Width) { in EfiValueToHexStr() 265 TempStr = TempBuffer + Width; in EfiValueToHexStr() 268 while (TempStr != TempBuffer) { in EfiValueToHexStr()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/ |
D | UefiIfrForm.c | 83 OUT UINT8 **TempBuffer, in UpdateFormPackageData() argument 97 if ((TempBuffer == NULL) || (TempBufferSize == NULL)) { in UpdateFormPackageData() 105 *TempBuffer = EfiLibAllocateZeroPool (*TempBufferSize); in UpdateFormPackageData() 106 if (*TempBuffer == NULL) { in UpdateFormPackageData() 110 EfiCopyMem (*TempBuffer, Package, sizeof (EFI_HII_PACKAGE_HEADER)); in UpdateFormPackageData() 112 BufferPos = *TempBuffer + sizeof (EFI_HII_PACKAGE_HEADER); in UpdateFormPackageData() 229 EfiCopyMem (*TempBuffer, &PackageHeader, sizeof (EFI_HII_PACKAGE_HEADER)); in UpdateFormPackageData() 233 gBS->FreePool (*TempBuffer); in UpdateFormPackageData() 343 EFI_HII_PACKAGE_HEADER *TempBuffer; in IfrLibUpdateForm() local 394 …tGuid, FormId, Package, PackageLength, Label, Insert, Data, (UINT8 **)&TempBuffer, &TempBufferSize… in IfrLibUpdateForm() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/ |
D | SetupInfoRecords.c | 231 CHAR16 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in EfiValueToString() 242 TempStr = TempBuffer; in EfiValueToString() 293 if (Width > 0 && (UINTN) (TempStr - TempBuffer) > Width) { in EfiValueToString() 294 TempStr = TempBuffer + Width; in EfiValueToString() 297 while (TempStr != TempBuffer) { in EfiValueToString() 328 CHAR16 TempBuffer[CHARACTER_NUMBER_FOR_VALUE]; in EfiValueToHexStr() 335 TempStr = TempBuffer; in EfiValueToHexStr() 371 if (Width > 0 && (UINTN) (TempStr - TempBuffer) > Width) { in EfiValueToHexStr() 372 TempStr = TempBuffer + Width; in EfiValueToHexStr() 375 while (TempStr != TempBuffer) { in EfiValueToHexStr()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ |
D | ScriptExecute.c | 231 …UINT8 TempBuffer[sizeof (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH) + sizeof (… in RegisterMemoryProfileImage() local 235 FilePath = (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *)TempBuffer; in RegisterMemoryProfileImage()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | GenC.py | 1684 TempBuffer = pack('B', EFI_HII_IIBT_IMAGE_PNG) 1685 TempBuffer += pack('I', len(Buffer)) 1686 TempBuffer += Buffer 1691 TempBuffer = pack('B', EFI_HII_IIBT_IMAGE_JPEG) 1692 TempBuffer += pack('I', len(Buffer)) 1693 TempBuffer += Buffer 1695 … TempBuffer, TempPalette = BmpImageDecoder(File, Buffer, PaletteIndex, FileObj.TransParent) 1704 ImageBuffer += TempBuffer 1706 TempBufferList = AscToHexList(TempBuffer)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | SmramProfileRecord.c | 513 …UINT8 TempBuffer[sizeof (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH) + sizeof (… in RegisterImageToDxe() local 517 FilePath = (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *)TempBuffer; in RegisterImageToDxe() 552 …UINT8 TempBuffer[sizeof (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH) + sizeof (… in UnregisterImageFromDxe() local 556 FilePath = (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *)TempBuffer; in UnregisterImageFromDxe() 647 …UINT8 TempBuffer[sizeof(MEDIA_FW_VOL_FILEPATH_DEVICE_PATH) + sizeof(EF… in RegisterSmmCore() local 650 FilePath = (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *) TempBuffer; in RegisterSmmCore() 794 …UINT8 TempBuffer[sizeof(MEDIA_FW_VOL_FILEPATH_DEVICE_PATH) + sizeof(EF… in RegisterSmramProfileImage() local 810 FilePath = (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *) TempBuffer; in RegisterSmramProfileImage() 949 …UINT8 TempBuffer[sizeof(MEDIA_FW_VOL_FILEPATH_DEVICE_PATH) + sizeof(EF… in UnregisterSmramProfileImage() local 964 FilePath = (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *) TempBuffer; in UnregisterSmramProfileImage()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/ |
D | DxeTcg2PhysicalPresenceLib.c | 361 CHAR16 TempBuffer[1024]; in Tcg2UserConfirm() local 450 Tcg2FillBufferWithBootHashAlg (TempBuffer, sizeof(TempBuffer), TpmPpCommandParameter); in Tcg2UserConfirm() 455 …)\nNew PCRBanks is 0x%x. (%s)\n", CurrentPCRBanks, TempBuffer2, TpmPpCommandParameter, TempBuffer); in Tcg2UserConfirm()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
D | ConfigRouting.c | 536 UINT8 *TempBuffer; in FindSameBlockElement() local 539 TempBuffer = NULL; in FindSameBlockElement() 545 Status = GetValueOfNumber (BlockPtr, &TempBuffer, &Length); in FindSameBlockElement() 549 ASSERT (TempBuffer != NULL); in FindSameBlockElement() 550 if ((BufferLen == Length) && (0 == CompareMem (Buffer, TempBuffer, Length))) { in FindSameBlockElement() 552 FreePool (TempBuffer); in FindSameBlockElement() 553 TempBuffer = NULL; in FindSameBlockElement() 556 FreePool (TempBuffer); in FindSameBlockElement() 557 TempBuffer = NULL; in FindSameBlockElement() 595 UINT8 *TempBuffer; in CompareBlockElementDefault() local [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/ |
D | ParseUpdateProfile.c | 583 UINT8 TempBuffer[30]; in UpdateValueToString() local 589 TempStr = TempBuffer; in UpdateValueToString() 613 while (TempStr != TempBuffer) { in UpdateValueToString()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/ |
D | Expression.c | 2551 UINT8 *TempBuffer; in EvaluateExpression() local 2696 TempBuffer = (UINT8 *) &Value->Value; in EvaluateExpression() 2702 TempBuffer [Index/2] = DigitUint8; in EvaluateExpression() 2704 TempBuffer [Index/2] = (UINT8) ((DigitUint8 << 4) + TempBuffer [Index/2]); in EvaluateExpression() 3143 TempBuffer = (UINT8 *) &Value->Value + OpCode->ValueWidth - 1; in EvaluateExpression() 3145 for (Index = 0; Index < OpCode->ValueWidth; Index ++, TempBuffer --) { in EvaluateExpression() 3146 StrPtr += UnicodeValueToString (StrPtr, PREFIX_ZERO | RADIX_HEX, *TempBuffer, 2); in EvaluateExpression()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EfiFileLib/ |
D | EfiFileLib.c | 1563 UINT8 *TempBuffer; in EfiWrite() local 1565 TempBuffer = File->Buffer; in EfiWrite() 1572 CopyMem (File->Buffer, TempBuffer, File->Size); in EfiWrite() 1574 FreePool (TempBuffer); in EfiWrite()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ |
D | ScriptSave.c | 814 …UINT8 TempBuffer[sizeof (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH) + sizeof (… in RegisterMemoryProfileImage() local 818 FilePath = (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *)TempBuffer; in RegisterMemoryProfileImage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiHiiLib/ |
D | HiiLib.c | 410 UINT8 *TempBuffer; in HiiGetFormSetFromHiiHandle() local 418 TempBuffer = NULL; in HiiGetFormSetFromHiiHandle() 467 …TempBuffer = AllocateCopyPool (TempSize + ((EFI_IFR_OP_HEADER *) OpCodeData)->Length, FormSetBuffe… in HiiGetFormSetFromHiiHandle() 470 if (TempBuffer == NULL) { in HiiGetFormSetFromHiiHandle() 474 CopyMem (TempBuffer + TempSize, OpCodeData, ((EFI_IFR_OP_HEADER *) OpCodeData)->Length); in HiiGetFormSetFromHiiHandle() 476 … TempBuffer = AllocateCopyPool (TempSize + ((EFI_IFR_OP_HEADER *) OpCodeData)->Length, OpCodeData); in HiiGetFormSetFromHiiHandle() 477 if (TempBuffer == NULL) { in HiiGetFormSetFromHiiHandle() 483 FormSetBuffer = TempBuffer; in HiiGetFormSetFromHiiHandle()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/ |
D | MemoryProfileRecord.c | 570 …UINT8 TempBuffer[sizeof(MEDIA_FW_VOL_FILEPATH_DEVICE_PATH) + sizeof(EF… in RegisterDxeCore() local 590 FilePath = (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *) TempBuffer; in RegisterDxeCore()
|