Home
last modified time | relevance | path

Searched refs:InFileName (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/
DGenTEImage.c49 INT8 InFileName[MAX_PATH]; member
113 INT8 *InFileName,
173 DumpImage (mOptions.InFileName); in main()
181 strcpy (mOptions.OutFileName, mOptions.InFileName); in main()
203 if (_stricmp (mOptions.OutFileName, mOptions.InFileName) == 0) { in main()
210 ProcessFile (mOptions.InFileName, mOptions.OutFileName); in main()
219 INT8 *InFileName, in ProcessFile() argument
263 if ((InFptr = fopen (InFileName, "rb")) == NULL) { in ProcessFile()
264 Error (NULL, 0, 0, InFileName, "failed to open input file for reading"); in ProcessFile()
270 if (CheckPE32File (InFileName, InFptr, &MachineType, &SubSystem) != STATUS_SUCCESS) { in ProcessFile()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiCompress/
DEfiCompressMain.c39 CHAR8 *InFileName; member
91 CHAR8 *InFileName,
152 ActionList->InFileName, in main()
229 if ((*Action)->InFileName == NULL) { in ParseCommandLine()
230 (*Action)->InFileName = *argv; in ParseCommandLine()
243 assert ((*Action)->InFileName != NULL); in ParseCommandLine()
244 …dout, " ERROR: Compress OutFileName not specified with InFileName: %s!\n", (*Action)->InFileName); in ParseCommandLine()
257 CHAR8 *InFileName, in ProcessFile() argument
274 fprintf (stdout, "%s --> %s\n", InFileName, OutFileName); in ProcessFile()
281 if ((InFileP = fopen (InFileName, "rb")) == NULL) { in ProcessFile()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DEfiDecompress.c44 CHAR16 *InFileName; in ShellCommandRunEfiDecompress() local
52 InFileName = NULL; in ShellCommandRunEfiDecompress()
94 InFileName = ShellFindFilePath(TempParam); in ShellCommandRunEfiDecompress()
96 if (InFileName == NULL) { in ShellCommandRunEfiDecompress()
100 if (ShellIsDirectory(InFileName) == EFI_SUCCESS){ in ShellCommandRunEfiDecompress()
101 … -1, NULL, STRING_TOKEN (STR_FILE_NOT_DIR), gShellDebug1HiiHandle, L"efidecompress", InFileName); in ShellCommandRunEfiDecompress()
109 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
131 …rintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_EFI_DECOMPRESS_NOPE), gShellDebug1HiiHandle, InFileName); in ShellCommandRunEfiDecompress()
174 SHELL_FREE_NON_NULL(InFileName); in ShellCommandRunEfiDecompress()
DEfiCompress.c44 CHAR16 *InFileName; in ShellCommandRunEfiCompress() local
48 InFileName = NULL; in ShellCommandRunEfiCompress()
89 InFileName = ShellFindFilePath(TempParam); in ShellCommandRunEfiCompress()
91 if (InFileName == NULL) { in ShellCommandRunEfiCompress()
95 if (ShellIsDirectory(InFileName) == EFI_SUCCESS){ in ShellCommandRunEfiCompress()
96 …1, -1, NULL, STRING_TOKEN (STR_FILE_NOT_DIR), gShellDebug1HiiHandle, L"eficompress", InFileName); in ShellCommandRunEfiCompress()
104 Status = ShellOpenFileByName(InFileName, &InShellFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiCompress()
153 SHELL_FREE_NON_NULL(InFileName); in ShellCommandRunEfiCompress()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
DVfrCompiler.cpp452 INT8 *InFileName = NULL; in Compile() local
458InFileName = (mOptions.SkipCPreprocessor == TRUE) ? mOptions.VfrFileName : mOptions.PreprocessorOu… in Compile()
460 gCVfrErrorHandle.SetInputFile (InFileName); in Compile()
462 if ((pInFile = fopen (InFileName, "r")) == NULL) { in Compile()
463 printf ("%s failed to open input file - %s\n", UTILITY_NAME, InFileName); in Compile()
575 INT8 *InFileName = NULL; in GenRecordListFile() local
581InFileName = (mOptions.SkipCPreprocessor == TRUE) ? mOptions.VfrFileName : mOptions.PreprocessorOu… in GenRecordListFile()
584 if ((InFileName[0] == '\0') || (mOptions.RecordListFile[0] == '\0')) { in GenRecordListFile()
588 if ((pInFile = fopen (InFileName, "r")) == NULL) { in GenRecordListFile()
589 … printf ("%s failed to open input VFR preprocessor output file - %s\n", UTILITY_NAME, InFileName); in GenRecordListFile()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrCompiler.cpp536 CHAR8 *InFileName = NULL; in Compile() local
543InFileName = (mOptions.SkipCPreprocessor == TRUE) ? mOptions.VfrFileName : mOptions.PreprocessorOu… in Compile()
545 gCVfrErrorHandle.SetInputFile (InFileName); in Compile()
548 if ((pInFile = fopen (LongFilePath (InFileName), "r")) == NULL) { in Compile()
549 DebugError (NULL, 0, 0001, "Error opening the input file", InFileName); in Compile()
576 DebugError (NULL, 0, 0003, "Error parsing", "compile error in file %s", InFileName); in Compile()
779 CHAR8 *InFileName = NULL; in GenRecordListFile() local
785InFileName = (mOptions.SkipCPreprocessor == TRUE) ? mOptions.VfrFileName : mOptions.PreprocessorOu… in GenRecordListFile()
788 if ((InFileName[0] == '\0') || (mOptions.RecordListFile[0] == '\0')) { in GenRecordListFile()
792 if ((pInFile = fopen (LongFilePath (InFileName), "r")) == NULL) { in GenRecordListFile()
[all …]