Searched refs:InputFileImage (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
D | CommonLib.c | 158 OUT CHAR8 **InputFileImage, in GetFileImage() argument 189 if (InputFileName == NULL || strlen (InputFileName) == 0 || InputFileImage == NULL) { in GetFileImage() 223 *InputFileImage = malloc (FileSize); in GetFileImage() 224 if (*InputFileImage == NULL) { in GetFileImage() 234 free (*InputFileImage); in GetFileImage() 235 *InputFileImage = NULL; in GetFileImage() 241 *BytesRead = fread (*InputFileImage, sizeof (UINT8), FileSize, InputFile); in GetFileImage() 245 free (*InputFileImage); in GetFileImage() 246 *InputFileImage = NULL; in GetFileImage()
|
D | CommonLib.h | 66 OUT CHAR8 **InputFileImage,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | MemoryFile.c | 61 CHAR8 *InputFileImage; in GetMemoryFile() local 65 Status = GetFileImage (InputFileName, &InputFileImage, &BytesRead); in GetMemoryFile() 72 free (InputFileImage); in GetMemoryFile() 76 NewMemoryFile->FileImage = InputFileImage; in GetMemoryFile() 77 NewMemoryFile->CurrentFilePointer = InputFileImage; in GetMemoryFile() 78 NewMemoryFile->Eof = InputFileImage + BytesRead; in GetMemoryFile()
|
D | CommonLib.c | 157 OUT CHAR8 **InputFileImage, in GetFileImage() argument 188 if (InputFileName == NULL || strlen (InputFileName) == 0 || InputFileImage == NULL) { in GetFileImage() 222 *InputFileImage = malloc (FileSize); in GetFileImage() 223 if (*InputFileImage == NULL) { in GetFileImage() 233 free (*InputFileImage); in GetFileImage() 234 *InputFileImage = NULL; in GetFileImage() 240 *BytesRead = fread (*InputFileImage, sizeof (UINT8), FileSize, InputFile); in GetFileImage() 244 free (*InputFileImage); in GetFileImage() 245 *InputFileImage = NULL; in GetFileImage()
|
D | CommonLib.h | 71 OUT CHAR8 **InputFileImage,
|