Searched refs:InputFileName (Results 1 - 23 of 23) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
H A DOsPath.h118 IN CHAR8 *InputFileName
129 InputFileName The name of the file to check for existence
H A DMemoryFile.h38 IN CHAR8 *InputFileName,
H A DCommonLib.c156 IN CHAR8 *InputFileName,
169 InputFileName The name of the file to read.
188 if (InputFileName == NULL || strlen (InputFileName) == 0 || InputFileImage == NULL) {
197 InputFile = fopen (LongFilePath (InputFileName), "rb");
199 Error (NULL, 0, 0001, "Error opening the input file", InputFileName);
206 Error (NULL, 0, 0004, "Error reading the input file", InputFileName);
215 Error (NULL, 0, 0003, "Error parsing the input file", InputFileName);
231 Error (NULL, 0, 0004, "Error reading the input file", InputFileName);
242 Error (NULL, 0, 0004, "Error reading the input file", InputFileName);
155 GetFileImage( IN CHAR8 *InputFileName, OUT CHAR8 **InputFileImage, OUT UINT32 *BytesRead ) argument
[all...]
H A DMemoryFile.c38 IN CHAR8 *InputFileName,
65 Status = GetFileImage (InputFileName, &InputFileImage, &BytesRead);
37 GetMemoryFile( IN CHAR8 *InputFileName, OUT EFI_HANDLE *OutputMemoryFile ) argument
H A DOsPath.c271 IN CHAR8 *InputFileName
281 InputFileName The name of the file to check for existence
291 InputFile = fopen (LongFilePath (InputFileName), "rb");
H A DCommonLib.h70 IN CHAR8 *InputFileName,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/
H A DGenSection.c167 char **InputFileName,
184 InputFileName - Name of the input file.
216 InFile = fopen (InputFileName[0], "rb");
218 Error (NULL, 0, 0, InputFileName[0], "failed to open input file");
239 Error (NULL, 0, 0, InputFileName[0], "file size (0x%X) exceeds section size limit(%dM).", TotalLength, MAX_SECTION_SIZE>>20);
259 Error (NULL, 0, 0, InputFileName[0], "failed to read contents of file");
281 char **InputFileName,
290 Get the contents of all section files specified in InputFileName
295 InputFileName - Name of the input file.
333 InFile = fopen (InputFileName[Inde
166 GenSectionCommonLeafSection( char **InputFileName, int InputFileNum, UINTN SectionType, FILE *OutFile ) argument
280 GetSectionContents( char **InputFileName, int InputFileNum, UINT8 *FileBuffer, UINTN *BufferLength ) argument
377 GenSectionCompressionSection( char **InputFileName, int InputFileNum, UINTN SectionType, UINTN SectionSubType, FILE *OutFile ) argument
544 GenSectionGuidDefinedSection( char **InputFileName, int InputFileNum, UINTN SectionType, UINTN SectionSubType, FILE *OutFile ) argument
707 char **InputFileName; local
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
H A DGenSec.c229 CHAR8 **InputFileName,
246 InputFileName - Name of the input file.
279 InFile = fopen (LongFilePath (InputFileName[0]), "rb");
281 Error (NULL, 0, 0001, "Error opening file", InputFileName[0]);
293 DebugMsg (NULL, 0, 9, "Input file", "File name is %s and File size is %u bytes", InputFileName[0], (unsigned) InputFileLength);
299 // Error (NULL, 0, 2000, "Invalid parameter", "%s file size (0x%X) exceeds section size limit(%uM).", InputFileName[0], (unsigned) TotalLength, MAX_SECTION_SIZE>>20);
332 Error (NULL, 0, 0004, "Error reading file", InputFileName[0]);
391 CHAR8 **InputFileName,
401 Get the contents of all section files specified in InputFileName
406 InputFileName
228 GenSectionCommonLeafSection( CHAR8 **InputFileName, UINT32 InputFileNum, UINT8 SectionType, UINT8 **OutFileBuffer ) argument
390 GetSectionContents( CHAR8 **InputFileName, UINT32 *InputFileAlign, UINT32 InputFileNum, UINT8 *FileBuffer, UINT32 *BufferLength ) argument
581 GenSectionCompressionSection( CHAR8 **InputFileName, UINT32 *InputFileAlign, UINT32 InputFileNum, UINT8 SectCompSubType, UINT8 **OutFileBuffer ) argument
790 GenSectionGuidDefinedSection( CHAR8 **InputFileName, UINT32 *InputFileAlign, UINT32 InputFileNum, EFI_GUID *VendorGuid, UINT16 DataAttribute, UINT32 DataHeaderSize, UINT8 **OutFileBuffer ) argument
1010 CHAR8 **InputFileName; local
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
H A DCommonLib.c157 IN CHAR8 *InputFileName,
170 InputFileName The name of the file to read.
189 if (InputFileName == NULL || strlen (InputFileName) == 0 || InputFileImage == NULL) {
198 InputFile = fopen (InputFileName, "rb");
200 printf ("ERROR: Could not open input file \"%s\".\n", InputFileName);
207 printf ("ERROR: System error reading input file \"%s\".\n", InputFileName);
216 printf ("ERROR: System error parsing input file \"%s\".\n", InputFileName);
232 printf ("ERROR: System error reading input file \"%s\".\n", InputFileName);
243 printf ("ERROR: Reading file \"%s\"%i.\n", InputFileName);
156 GetFileImage( IN CHAR8 *InputFileName, OUT CHAR8 **InputFileImage, OUT UINT32 *BytesRead ) argument
[all...]
H A DCommonLib.h65 IN CHAR8 *InputFileName,
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/
H A DGenFfs.c236 IN CHAR8 **InputFileName,
249 Get the contents of all section files specified in InputFileName
254 InputFileName - Name of the input file.
311 InFile = fopen (LongFilePath (InputFileName[Index]), "rb");
313 Error (NULL, 0, 0001, "Error opening file", InputFileName[Index]);
321 "the input section name is %s and the size is %u bytes", InputFileName[Index], (unsigned) FileSize);
428 Error (NULL, 0, 0004, "Error reading file", InputFileName[Index]);
482 CHAR8 **InputFileName; local
503 InputFileName = NULL;
628 if ((InputFileNum == 0) && (InputFileName
235 GetSectionContents( IN CHAR8 **InputFileName, IN UINT32 *InputFileAlign, IN UINT32 InputFileNum, IN EFI_FFS_FILE_ATTRIBUTES FfsAttrib, OUT UINT8 *FileBuffer, OUT UINT32 *BufferLength, OUT UINT32 *MaxAlignment, OUT UINT8 *PESectionNum ) argument
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Split/
H A DSplit.c228 CHAR8 *InputFileName = NULL; local
275 InputFileName = argv[1];
276 if (InputFileName == NULL) {
354 if (InputFileName == NULL) {
359 In = fopen (LongFilePath (InputFileName), "rb");
361 // ("Unable to open file \"%s\"\n", InputFileName);
362 Error (InputFileName, 0, 1, "File open failure", NULL);
367 OutName1 = (CHAR8*)malloc(strlen(InputFileName) + 16);
373 strcpy (OutName1, InputFileName);
379 OutName2 = (CHAR8*)malloc(strlen(InputFileName)
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/
H A DGenCrc32.c130 CHAR8 *InputFileName; local
144 InputFileName = NULL;
243 InputFileName = argv[0];
262 if (InputFileName == NULL) {
266 VerboseMsg ("Input file name is %s", InputFileName);
279 InFile = fopen (LongFilePath (InputFileName), "rb");
281 Error (NULL, 0, 0001, "Error opening file", InputFileName);
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/
H A DBPDG.py126 # @Param InputFileName The filename include the vpd type pcd information
133 def StartBpdg(InputFileName, MapFileName, VpdFileName, Force):
140 GenVPD = GenVpd.GenVPD (InputFileName, MapFileName, VpdFileName)
142 EdkLogger.info('%-24s = %s' % ("VPD input data file: ", InputFileName))
H A DGenVpd.py307 # @Param InputFileName The filename include the vpd type pcd information
313 def __init__(self, InputFileName, MapFileName, VpdFileName):
314 self.InputFileName = InputFileName
321 fInputfile = open(InputFileName, "r", 0)
325 EdkLogger.error("BPDG", BuildToolError.FILE_READ_FAILURE, "File read failed for %s" % InputFileName, None)
329 EdkLogger.error("BPDG", BuildToolError.FILE_OPEN_FAILURE, "File open failed for %s" % InputFileName, None)
397 PCD = PcdEntry(line[0], line[1], line[2], line[3], line[4],line[5], self.InputFileName)
423 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, "Invalid PCD size value %s at file: %s line: %s" % (PCD.PcdSize, self.InputFileName, PCD.Lineno))
440 EdkLogger.warn("BPDG", "The offset value of PCD %s is not 8-byte aligned!" %(PCD.PcdCName), File=self.InputFileName)
[all...]
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
H A DFileName.c435 @param InputFileName - The input file name.
438 @retval TRUE - The InputFileName is a valid long file name.
439 @retval FALSE - The InputFileName is not a valid long file name.
444 IN CHAR16 *InputFileName,
453 while (*InputFileName == L' ') {
454 InputFileName++;
458 while (*InputFileName != 0) {
459 *TempNamePointer++ = *InputFileName++;
443 FatFileNameIsValid( IN CHAR16 *InputFileName, OUT CHAR16 *OutputFileName ) argument
H A DFat.h1949 @param InputFileName - The input file name.
1952 @retval TRUE - The InputFileName is a valid long file name.
1953 @retval FALSE - The InputFileName is not a valid long file name.
1958 IN CHAR16 *InputFileName,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/
H A DGenFfsFile.c894 CHAR8 *InputFileName; local
914 InputFileName = NULL;
1001 InputFileName = (CHAR8 *) malloc (_MAX_PATH);
1002 if (InputFileName == NULL) {
1006 ZeroMem (InputFileName, sizeof (_MAX_PATH));
1008 strcpy (InputFileName, Buffer);
1078 *PtrInputFileName = InputFileName;
1131 CHAR8 *InputFileName; local
1144 InputFileName = NULL;
1259 &InputFileName,
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
H A DGenFw.c1057 CHAR8 **InputFileName; local
1124 InputFileName = NULL;
1431 if ((InputFileNum == 0) && (InputFileName == NULL)) {
1432 InputFileName = (CHAR8 **) malloc (MAXIMUM_INPUT_FILE_NUM * sizeof (CHAR8 *));
1433 if (InputFileName == NULL) {
1438 memset (InputFileName, 0, (MAXIMUM_INPUT_FILE_NUM * sizeof (CHAR8 *)));
1441 // InputFileName buffer too small, need to realloc
1443 InputFileName = (CHAR8 **) realloc (
1444 InputFileName,
1448 if (InputFileName
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/
H A DTianoCompress.c1584 IN char *InputFileName,
1592 Get the contents of file specified in InputFileName
1597 InputFileName - Name of the input file.
1618 InputFile = fopen (LongFilePath (InputFileName), "rb");
1620 Error (NULL, 0, 0001, "Error opening file: %s", InputFileName);
1632 Error (NULL, 0, 0004, "Error reading contents of input file: %s", InputFileName);
1746 char *InputFileName; local
1765 InputFileName = NULL;
1861 InputFileName = argv[0];
1871 if (InputFileName
1583 GetFileContents( IN char *InputFileName, OUT UINT8 *FileBuffer, OUT UINT32 *BufferLength ) argument
[all...]
H A DTianoCompress.h94 IN char *InputFileName,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Pkcs7Sign/
H A DPkcs7Sign.py126 args.InputFileName = args.InputFile.name
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/
H A DRsa2048Sha256Sign.py109 args.InputFileName = args.InputFile.name

Completed in 197 milliseconds