Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/
DGenSection.c167 char **InputFileName, in GenSectionCommonLeafSection() argument
216 InFile = fopen (InputFileName[0], "rb"); in GenSectionCommonLeafSection()
218 Error (NULL, 0, 0, InputFileName[0], "failed to open input file"); in GenSectionCommonLeafSection()
239 …Error (NULL, 0, 0, InputFileName[0], "file size (0x%X) exceeds section size limit(%dM).", TotalLen… in GenSectionCommonLeafSection()
259 Error (NULL, 0, 0, InputFileName[0], "failed to read contents of file"); in GenSectionCommonLeafSection()
281 char **InputFileName, in GetSectionContents() argument
333 InFile = fopen (InputFileName[Index], "rb"); in GetSectionContents()
335 Error (NULL, 0, 0, InputFileName[Index], "failed to open input file"); in GetSectionContents()
348 Error (NULL, 0, 0, InputFileName[Index], "failed to read contents of input file"); in GetSectionContents()
378 char **InputFileName, in GenSectionCompressionSection() argument
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/
DGenFfs.c236 IN CHAR8 **InputFileName, in GetSectionContents() argument
311 InFile = fopen (LongFilePath (InputFileName[Index]), "rb"); in GetSectionContents()
313 Error (NULL, 0, 0001, "Error opening file", InputFileName[Index]); in GetSectionContents()
321 …"the input section name is %s and the size is %u bytes", InputFileName[Index], (unsigned) FileSize… in GetSectionContents()
428 Error (NULL, 0, 0004, "Error reading file", InputFileName[Index]); in GetSectionContents()
482 CHAR8 **InputFileName; in main() local
503 InputFileName = NULL; in main()
628 if ((InputFileNum == 0) && (InputFileName == NULL)) { in main()
629 InputFileName = (CHAR8 **) malloc (MAXIMUM_INPUT_FILE_NUM * sizeof (CHAR8 *)); in main()
630 if (InputFileName == NULL) { in main()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
DGenSec.c229 CHAR8 **InputFileName, in GenSectionCommonLeafSection() argument
279 InFile = fopen (LongFilePath (InputFileName[0]), "rb"); in GenSectionCommonLeafSection()
281 Error (NULL, 0, 0001, "Error opening file", InputFileName[0]); in GenSectionCommonLeafSection()
293 …DebugMsg (NULL, 0, 9, "Input file", "File name is %s and File size is %u bytes", InputFileName[0],… in GenSectionCommonLeafSection()
332 Error (NULL, 0, 0004, "Error reading file", InputFileName[0]); in GenSectionCommonLeafSection()
391 CHAR8 **InputFileName, in GetSectionContents() argument
469 InFile = fopen (LongFilePath (InputFileName[Index]), "rb"); in GetSectionContents()
471 Error (NULL, 0, 0001, "Error opening file", InputFileName[Index]); in GetSectionContents()
478 … "Input files", "the input file name is %s and the size is %u bytes", InputFileName[Index], (unsig… in GetSectionContents()
558 Error (NULL, 0, 0004, "Error reading file", InputFileName[Index]); in GetSectionContents()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DCommonLib.c157 IN CHAR8 *InputFileName, in GetFileImage() argument
189 if (InputFileName == NULL || strlen (InputFileName) == 0 || InputFileImage == NULL) { in GetFileImage()
198 InputFile = fopen (InputFileName, "rb"); in GetFileImage()
200 printf ("ERROR: Could not open input file \"%s\".\n", InputFileName); in GetFileImage()
207 printf ("ERROR: System error reading input file \"%s\".\n", InputFileName); in GetFileImage()
216 printf ("ERROR: System error parsing input file \"%s\".\n", InputFileName); in GetFileImage()
232 printf ("ERROR: System error reading input file \"%s\".\n", InputFileName); in GetFileImage()
243 printf ("ERROR: Reading file \"%s\"%i.\n", InputFileName); in GetFileImage()
DCommonLib.h65 IN CHAR8 *InputFileName,
/device/linaro/bootloader/edk2/BaseTools/Source/C/Split/
DSplit.c228 CHAR8 *InputFileName = NULL; in main() local
275 InputFileName = argv[1]; in main()
276 if (InputFileName == NULL) { in main()
354 if (InputFileName == NULL) { in main()
359 In = fopen (LongFilePath (InputFileName), "rb"); in main()
362 Error (InputFileName, 0, 1, "File open failure", NULL); in main()
367 OutName1 = (CHAR8*)malloc(strlen(InputFileName) + 16); in main()
373 strcpy (OutName1, InputFileName); in main()
379 OutName2 = (CHAR8*)malloc(strlen(InputFileName) + 16); in main()
385 strcpy (OutName2, InputFileName); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/
DGenCrc32.c130 CHAR8 *InputFileName; in main() local
144 InputFileName = NULL; in main()
243 InputFileName = argv[0]; in main()
262 if (InputFileName == NULL) { in main()
266 VerboseMsg ("Input file name is %s", InputFileName); in main()
279 InFile = fopen (LongFilePath (InputFileName), "rb"); in main()
281 Error (NULL, 0, 0001, "Error opening file", InputFileName); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DCommonLib.c156 IN CHAR8 *InputFileName, in GetFileImage() argument
188 if (InputFileName == NULL || strlen (InputFileName) == 0 || InputFileImage == NULL) { in GetFileImage()
197 InputFile = fopen (LongFilePath (InputFileName), "rb"); in GetFileImage()
199 Error (NULL, 0, 0001, "Error opening the input file", InputFileName); in GetFileImage()
206 Error (NULL, 0, 0004, "Error reading the input file", InputFileName); in GetFileImage()
215 Error (NULL, 0, 0003, "Error parsing the input file", InputFileName); in GetFileImage()
231 Error (NULL, 0, 0004, "Error reading the input file", InputFileName); in GetFileImage()
242 Error (NULL, 0, 0004, "Error reading the input file", InputFileName); in GetFileImage()
DMemoryFile.c38 IN CHAR8 *InputFileName, in GetMemoryFile() argument
65 Status = GetFileImage (InputFileName, &InputFileImage, &BytesRead); in GetMemoryFile()
DOsPath.h118 IN CHAR8 *InputFileName
DMemoryFile.h38 IN CHAR8 *InputFileName,
DOsPath.c271 IN CHAR8 *InputFileName in OsPathExists() argument
291 InputFile = fopen (LongFilePath (InputFileName), "rb"); in OsPathExists()
DCommonLib.h70 IN CHAR8 *InputFileName,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/
DBPDG.py133 def StartBpdg(InputFileName, MapFileName, VpdFileName, Force): argument
140 GenVPD = GenVpd.GenVPD (InputFileName, MapFileName, VpdFileName)
142 EdkLogger.info('%-24s = %s' % ("VPD input data file: ", InputFileName))
DGenVpd.py313 def __init__(self, InputFileName, MapFileName, VpdFileName): argument
314 self.InputFileName = InputFileName
321 fInputfile = open(InputFileName, "r", 0)
325 …er.error("BPDG", BuildToolError.FILE_READ_FAILURE, "File read failed for %s" % InputFileName, None)
329 …er.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 …, "Invalid PCD size value %s at file: %s line: %s" % (PCD.PcdSize, self.InputFileName, PCD.Lineno))
440 …PDG", "The offset value of PCD %s is not 8-byte aligned!" %(PCD.PcdCName), File=self.InputFileName)
613 … (eachFixedPcd.PcdCName, eachFixedPcd.PcdOffset, eachFixedPcd.InputFileName, eachFixedPcd.Lineno),
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DFileName.c444 IN CHAR16 *InputFileName, in FatFileNameIsValid() argument
453 while (*InputFileName == L' ') { in FatFileNameIsValid()
454 InputFileName++; in FatFileNameIsValid()
458 while (*InputFileName != 0) { in FatFileNameIsValid()
459 *TempNamePointer++ = *InputFileName++; in FatFileNameIsValid()
DFat.h1958 IN CHAR16 *InputFileName,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/
DGenFfsFile.c894 CHAR8 *InputFileName; in GetToolArguments() local
914 InputFileName = NULL; in GetToolArguments()
1001 InputFileName = (CHAR8 *) malloc (_MAX_PATH); in GetToolArguments()
1002 if (InputFileName == NULL) { in GetToolArguments()
1006 ZeroMem (InputFileName, sizeof (_MAX_PATH)); in GetToolArguments()
1008 strcpy (InputFileName, Buffer); in GetToolArguments()
1078 *PtrInputFileName = InputFileName; in GetToolArguments()
1131 CHAR8 *InputFileName; in ProcessScript() local
1144 InputFileName = NULL; in ProcessScript()
1259 &InputFileName, in ProcessScript()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DGenFw.c1057 CHAR8 **InputFileName; in main() local
1124 InputFileName = NULL; in main()
1431 if ((InputFileNum == 0) && (InputFileName == NULL)) { in main()
1432 InputFileName = (CHAR8 **) malloc (MAXIMUM_INPUT_FILE_NUM * sizeof (CHAR8 *)); in main()
1433 if (InputFileName == NULL) { in main()
1438 memset (InputFileName, 0, (MAXIMUM_INPUT_FILE_NUM * sizeof (CHAR8 *))); in main()
1443 InputFileName = (CHAR8 **) realloc ( in main()
1444 InputFileName, in main()
1448 if (InputFileName == NULL) { in main()
1453 memset (&(InputFileName[InputFileNum]), 0, (MAXIMUM_INPUT_FILE_NUM * sizeof (CHAR8 *))); in main()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/
DTianoCompress.c1584 IN char *InputFileName, in GetFileContents() argument
1618 InputFile = fopen (LongFilePath (InputFileName), "rb"); in GetFileContents()
1620 Error (NULL, 0, 0001, "Error opening file: %s", InputFileName); in GetFileContents()
1632 Error (NULL, 0, 0004, "Error reading contents of input file: %s", InputFileName); in GetFileContents()
1746 char *InputFileName; in main() local
1765 InputFileName = NULL; in main()
1861 InputFileName = argv[0]; in main()
1871 if (InputFileName == NULL) { in main()
1896 InputFile = fopen (LongFilePath (InputFileName), "rb"); in main()
1898 Error (NULL, 0, 0001, "Error opening input file", InputFileName); in main()
[all …]
DTianoCompress.h94 IN char *InputFileName,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/
DRsa2048Sha256Sign.py109 args.InputFileName = args.InputFile.name
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Pkcs7Sign/
DPkcs7Sign.py126 args.InputFileName = args.InputFile.name