Searched refs:SwapBuffer (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenCRC32Section/ |
D | GenCRC32Section.c | 80 UINT8 *SwapBuffer; in SignSectionWithCrc32() local 83 SwapBuffer = NULL; in SignSectionWithCrc32() 106 SwapBuffer = (UINT8 *) malloc (DataSize); in SignSectionWithCrc32() 107 if (SwapBuffer == NULL) { in SignSectionWithCrc32() 111 memcpy (SwapBuffer, FileBuffer, DataSize); in SignSectionWithCrc32() 113 memcpy (FileBuffer + CRC32_SECTION_HEADER_SIZE, SwapBuffer, DataSize); in SignSectionWithCrc32() 125 if (SwapBuffer != NULL) { in SignSectionWithCrc32() 126 free (SwapBuffer); in SignSectionWithCrc32()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/ |
D | GenFfsFile.c | 538 UINT8 *SwapBuffer; in GenSimpleGuidSection() local 540 SwapBuffer = NULL; in GenSimpleGuidSection() 557 SwapBuffer = (UINT8 *) malloc (DataSize); in GenSimpleGuidSection() 558 if (SwapBuffer == NULL) { in GenSimpleGuidSection() 562 memcpy (SwapBuffer, FileBuffer, DataSize); in GenSimpleGuidSection() 564 memcpy (FileBuffer + sizeof (EFI_GUID_DEFINED_SECTION), SwapBuffer, DataSize); in GenSimpleGuidSection() 576 if (SwapBuffer != NULL) { in GenSimpleGuidSection() 577 free (SwapBuffer); in GenSimpleGuidSection()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/ |
D | UefiIfrForm.c | 1069 SwapBuffer ( in SwapBuffer() function 1150 SwapBuffer (NewBuffer, BufferSize); in BufferToHexString() 1193 SwapBuffer (Buffer, (ConvertedStrLen + 1) / 2); in HexStringToBuffer()
|