/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/ |
D | GenTEImage.c | 49 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/ |
D | EfiCompressMain.c | 39 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/ |
D | EfiCompress.c | 44 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() 159 SHELL_FREE_NON_NULL(InFileName); in ShellCommandRunEfiCompress()
|
D | EfiDecompress.c | 44 CHAR16 *InFileName; in ShellCommandRunEfiDecompress() local 52 InFileName = NULL; in ShellCommandRunEfiDecompress() 96 InFileName = ShellFindFilePath(TempParam); in ShellCommandRunEfiDecompress() 98 if (InFileName == NULL) { in ShellCommandRunEfiDecompress() 102 if (ShellIsDirectory(InFileName) == EFI_SUCCESS){ in ShellCommandRunEfiDecompress() 103 … -1, NULL, STRING_TOKEN (STR_FILE_NOT_DIR), gShellDebug1HiiHandle, L"efidecompress", InFileName); in ShellCommandRunEfiDecompress() 111 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress() 137 …rintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_EFI_DECOMPRESS_NOPE), gShellDebug1HiiHandle, InFileName); in ShellCommandRunEfiDecompress() 180 SHELL_FREE_NON_NULL(InFileName); in ShellCommandRunEfiDecompress()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/ |
D | VfrCompiler.cpp | 452 INT8 *InFileName = NULL; in Compile() local 458 …InFileName = (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 581 …InFileName = (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/ |
D | VfrCompiler.cpp | 701 CHAR8 *InFileName = NULL; in Compile() local 708 …InFileName = (mOptions.SkipCPreprocessor == TRUE) ? mOptions.VfrFileName : mOptions.PreprocessorOu… in Compile() 710 gCVfrErrorHandle.SetInputFile (InFileName); in Compile() 713 if ((pInFile = fopen (LongFilePath (InFileName), "r")) == NULL) { in Compile() 714 DebugError (NULL, 0, 0001, "Error opening the input file", InFileName); in Compile() 741 DebugError (NULL, 0, 0003, "Error parsing", "compile error in file %s", InFileName); in Compile() 920 CHAR8 *InFileName = NULL; in GenRecordListFile() local 926 …InFileName = (mOptions.SkipCPreprocessor == TRUE) ? mOptions.VfrFileName : mOptions.PreprocessorOu… in GenRecordListFile() 929 if ((InFileName[0] == '\0') || (mOptions.RecordListFile[0] == '\0')) { in GenRecordListFile() 933 if ((pInFile = fopen (LongFilePath (InFileName), "r")) == NULL) { in GenRecordListFile() [all …]
|