/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/ |
H A D | MemoryFile.c | 45 IN CHAR8 *InputFileName, 72 Status = GetFileImage (InputFileName, &InputFileImage, &BytesRead); 44 GetMemoryFile( IN CHAR8 *InputFileName, OUT EFI_HANDLE *OutputMemoryFile ) argument
|
H A D | CommonLib.c | 158 IN CHAR8 *InputFileName, 171 InputFileName The name of the file to read. 190 if (InputFileName == NULL || strlen (InputFileName) == 0 || InputFileImage == NULL) { 199 InputFile = fopen (InputFileName, "rb"); 201 Error (NULL, 0, 0001, "Error opening the input file", InputFileName); 208 Error (NULL, 0, 0004, "Error reading the input file", InputFileName); 217 Error (NULL, 0, 0003, "Error parsing the input file", InputFileName); 233 Error (NULL, 0, 0004, "Error reading the input file", InputFileName); 244 Error (NULL, 0, 0004, "Error reading the input file", InputFileName); 157 GetFileImage( IN CHAR8 *InputFileName, OUT CHAR8 **InputFileImage, OUT UINT32 *BytesRead ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenCrc32/ |
H A D | GenCrc32.c | 130 CHAR8 *InputFileName; local 144 InputFileName = NULL; 244 InputFileName = argv[0]; 263 if (InputFileName == NULL) { 267 VerboseMsg ("Input file name is %s", InputFileName); 280 InFile = fopen (InputFileName, "rb"); 282 Error (NULL, 0, 0001, "Error opening file", InputFileName);
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Split/ |
H A D | Split.c | 220 CHAR8 *InputFileName = NULL; local 267 InputFileName = argv[1]; 268 if (InputFileName == NULL) { 346 if (InputFileName == NULL) { 351 In = fopen (InputFileName, "rb"); 353 // ("Unable to open file \"%s\"\n", InputFileName); 354 Error (InputFileName, 0, 1, "File open failure", NULL); 359 OutName1 = (CHAR8*)malloc(strlen(InputFileName) + 16); 364 strcpy (OutName1, InputFileName); 370 OutName2 = (CHAR8*)malloc(strlen(InputFileName) [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFfs/ |
H A D | GenFfs.c | 241 IN CHAR8 **InputFileName, 253 Get the contents of all section files specified in InputFileName 258 InputFileName - Name of the input file. 319 InFile = fopen (InputFileName[Index], "rb"); 321 Error (NULL, 0, 0001, "Error opening file", InputFileName[Index]); 329 "the input section name is %s and the size is %u bytes", InputFileName[Index], (unsigned) FileSize); 400 Error (NULL, 0, 0004, "Error reading file", InputFileName[Index]); 452 CHAR8 **InputFileName; local 472 InputFileName = NULL; 597 if ((InputFileNum == 0) && (InputFileName 240 GetSectionContents( IN CHAR8 **InputFileName, IN UINT32 *InputFileAlign, IN UINT32 InputFileNum, OUT UINT8 *FileBuffer, OUT UINT32 *BufferLength, OUT UINT32 *MaxAlignment, OUT UINT8 *PESectionNum ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenSec/ |
H A D | GenSec.c | 233 CHAR8 **InputFileName, 250 InputFileName - Name of the input file. 282 InFile = fopen (InputFileName[0], "rb"); 284 Error (NULL, 0, 0001, "Error opening file", InputFileName[0]); 296 DebugMsg (NULL, 0, 9, "Input file", "File name is %s and File size is %u bytes", InputFileName[0], (unsigned) InputFileLength); 302 Error (NULL, 0, 2000, "Invalid paramter", "%s file size (0x%X) exceeds section size limit(%uM).", InputFileName[0], (unsigned) TotalLength, MAX_SECTION_SIZE>>20); 325 Error (NULL, 0, 0004, "Error reading file", InputFileName[0]); 384 CHAR8 **InputFileName, 394 Get the contents of all section files specified in InputFileName 399 InputFileName 232 GenSectionCommonLeafSection( CHAR8 **InputFileName, UINT32 InputFileNum, UINT8 SectionType, UINT8 **OutFileBuffer ) argument 383 GetSectionContents( CHAR8 **InputFileName, UINT32 *InputFileAlign, UINT32 InputFileNum, UINT8 *FileBuffer, UINT32 *BufferLength ) argument 555 GenSectionCompressionSection( CHAR8 **InputFileName, UINT32 *InputFileAlign, UINT32 InputFileNum, UINT8 SectCompSubType, UINT8 **OutFileBuffer ) argument 732 GenSectionGuidDefinedSection( CHAR8 **InputFileName, UINT32 *InputFileAlign, UINT32 InputFileNum, EFI_GUID *VendorGuid, UINT16 DataAttribute, UINT32 DataHeaderSize, UINT8 **OutFileBuffer ) argument 919 CHAR8 **InputFileName; local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/ |
H A D | GenFw.c | 1064 CHAR8 **InputFileName; local 1130 InputFileName = NULL; 1429 if ((InputFileNum == 0) && (InputFileName == NULL)) { 1430 InputFileName = (CHAR8 **) malloc (MAXIMUM_INPUT_FILE_NUM * sizeof (CHAR8 *)); 1431 if (InputFileName == NULL) { 1436 memset (InputFileName, 0, (MAXIMUM_INPUT_FILE_NUM * sizeof (CHAR8 *))); 1439 // InputFileName buffer too small, need to realloc 1441 InputFileName = (CHAR8 **) realloc ( 1442 InputFileName, 1446 if (InputFileName [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/TianoCompress/ |
H A D | TianoCompress.c | 1582 IN char *InputFileName, 1590 Get the contents of file specified in InputFileName 1595 InputFileName - Name of the input file. 1616 InputFile = fopen (InputFileName, "rb"); 1618 Error (NULL, 0, 0001, "Error opening file: %s", InputFileName); 1630 Error (NULL, 0, 0004, "Error reading contents of input file: %s", InputFileName); 1744 char *InputFileName; local 1763 InputFileName = NULL; 1857 InputFileName = argv[0]; 1867 if (InputFileName 1581 GetFileContents( IN char *InputFileName, OUT UINT8 *FileBuffer, OUT UINT32 *BufferLength ) argument [all...] |