/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/ |
D | GuidList.c | 97 INT8 *OutFileName in CreateGuidList() argument 119 if (OutFileName != NULL) { in CreateGuidList() 120 OutFptr = fopen (OutFileName, "w"); in CreateGuidList() 122 Error (NULL, 0, 0, OutFileName, "failed to open output file for writing"); in CreateGuidList() 135 if (OutFileName != NULL) { in CreateGuidList()
|
D | CommonUtils.h | 53 INT8 *OutFileName
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/ |
D | GenTEImage.c | 48 INT8 OutFileName[MAX_PATH]; member 114 INT8 *OutFileName 180 if (!mOptions.OutFileName[0]) { in main() 181 strcpy (mOptions.OutFileName, mOptions.InFileName); in main() 186 for (Ext = mOptions.OutFileName + strlen (mOptions.OutFileName) - 1; in main() 187 (Ext >= mOptions.OutFileName) && (*Ext != '.') && (*Ext != '\\'); in main() 195 Ext = mOptions.OutFileName + strlen (mOptions.OutFileName); in main() 203 if (_stricmp (mOptions.OutFileName, mOptions.InFileName) == 0) { in main() 204 Error (NULL, 0, 0, mOptions.OutFileName, "input and output file names must be different"); in main() 210 ProcessFile (mOptions.InFileName, mOptions.OutFileName); in main() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiCompress/ |
D | EfiCompressMain.c | 40 CHAR8 *OutFileName; member 92 CHAR8 *OutFileName, 153 ActionList->OutFileName, in main() 232 (*Action)->OutFileName = *argv; in ParseCommandLine() 258 CHAR8 *OutFileName, in ProcessFile() argument 274 fprintf (stdout, "%s --> %s\n", InFileName, OutFileName); in ProcessFile() 276 if ((OutFileP = fopen (OutFileName, "wb")) == NULL) { in ProcessFile() 277 fprintf (stdout, " ERROR: Can't open output file %s for write!\n", OutFileName); in ProcessFile()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
D | EfiCompress.c | 45 CONST CHAR16 *OutFileName; in ShellCommandRunEfiCompress() local 49 OutFileName = NULL; in ShellCommandRunEfiCompress() 90 OutFileName = ShellCommandLineGetRawValue(Package, 2); in ShellCommandRunEfiCompress() 99 if (ShellIsDirectory(OutFileName) == EFI_SUCCESS){ in ShellCommandRunEfiCompress() 100 …, -1, NULL, STRING_TOKEN (STR_FILE_NOT_DIR), gShellDebug1HiiHandle, L"eficompress", OutFileName); in ShellCommandRunEfiCompress() 109 …Status = ShellOpenFileByName(OutFileName, &OutShellFileHandle, EFI_FILE_MODE_READ|EFI_FILE_MODE_WR… in ShellCommandRunEfiCompress() 143 …1, NULL, STRING_TOKEN (STR_FILE_WRITE_FAIL), gShellDebug1HiiHandle, L"eficompress", OutFileName); in ShellCommandRunEfiCompress()
|
D | EfiDecompress.c | 45 CONST CHAR16 *OutFileName; in ShellCommandRunEfiDecompress() local 53 OutFileName = NULL; in ShellCommandRunEfiDecompress() 97 OutFileName = ShellCommandLineGetRawValue(Package, 2); in ShellCommandRunEfiDecompress() 106 if (ShellIsDirectory(OutFileName) == EFI_SUCCESS){ in ShellCommandRunEfiDecompress() 107 …-1, NULL, STRING_TOKEN (STR_FILE_NOT_DIR), gShellDebug1HiiHandle, L"efidecompress", OutFileName); in ShellCommandRunEfiDecompress() 140 …Status = ShellOpenFileByName(OutFileName, &OutFileHandle, EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE|E… in ShellCommandRunEfiDecompress() 163 … STRING_TOKEN (STR_FILE_WRITE_FAIL), gShellDebug1HiiHandle, L"efidecompress", OutFileName, Status); in ShellCommandRunEfiDecompress()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
D | GenFv.c | 193 CHAR8 *OutFileName; in main() local 204 OutFileName = NULL; in main() 278 OutFileName = argv[1]; in main() 279 if (OutFileName == NULL) { in main() 577 if (!DumpCapsule && OutFileName == NULL) { in main() 581 if (OutFileName != NULL) { in main() 582 VerboseMsg ("the output file name is %s", OutFileName); in main() 601 if (OutFileName == NULL) { in main() 604 FpFile = fopen (LongFilePath (OutFileName), "w"); in main() 606 Error (NULL, 0, 0001, "Error opening file", OutFileName); in main() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiRom/ |
D | EfiRom.c | 96 INT8 OutFileName[MAX_PATH]; member 264 if (!mOptions.OutFileName[0]) { in main() 265 strcpy (mOptions.OutFileName, mOptions.FileList->FileName); in main() 270 for (Ext = mOptions.OutFileName + strlen (mOptions.OutFileName) - 1; in main() 271 (Ext >= mOptions.OutFileName) && (*Ext != '.') && (*Ext != '\\'); in main() 279 Ext = mOptions.OutFileName + strlen (mOptions.OutFileName); in main() 288 if (_stricmp (mOptions.OutFileName, FList->FileName) == 0) { in main() 294 mOptions.OutFileName in main() 302 if ((FptrOut = fopen (mOptions.OutFileName, "w+b")) == NULL) { in main() 303 fprintf (stdout, "ERROR: Failed to open output file %s\n", mOptions.OutFileName); in main() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/ |
D | EfiRom.c | 97 if (!mOptions.OutFileName[0]) { in main() 99 strcpy (mOptions.OutFileName, mOptions.FileList->FileName); in main() 104 for (Ext = mOptions.OutFileName + strlen (mOptions.OutFileName) - 1; in main() 105 (Ext >= mOptions.OutFileName) && (*Ext != '.') && (*Ext != '\\'); in main() 113 Ext = mOptions.OutFileName + strlen (mOptions.OutFileName); in main() 123 if (stricmp (mOptions.OutFileName, FList->FileName) == 0) { in main() 125 …"Input and output file names must be different - %s = %s.", FList->FileName, mOptions.OutFileName); in main() 132 if ((FptrOut = fopen (LongFilePath (mOptions.OutFileName), "wb")) == NULL) { in main() 133 Error (NULL, 0, 0001, "Error opening file", "Error opening file %s", mOptions.OutFileName); in main() 995 strncpy (Options->OutFileName, Argv[1], MAX_PATH - 1); in ParseCommandLine() [all …]
|
D | EfiRom.h | 81 CHAR8 OutFileName[MAX_PATH]; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/MakeDeps/ |
D | MakeDeps.c | 135 INT8 *OutFileName; // -o option member 320 if (mGlobals.OutFileName != NULL) { in main() 332 remove (mGlobals.OutFileName); in main() 333 rename (mGlobals.TmpFileName, mGlobals.OutFileName); in main() 1337 mGlobals.OutFileName = Argv[1]; in ProcessArgs() 1343 sprintf (mGlobals.TmpFileName, "%s2", mGlobals.OutFileName); in ProcessArgs()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/ |
D | HiiPack.c | 1312 CHAR8 OutFileName[MAX_PATH]; in EmitDefaults() local 1428 OutFileName, in EmitDefaults() 1436 OutFileName, in EmitDefaults() 1449 OutFileName in EmitDefaults() 1453 if ((OutFptr = fopen (OutFileName, "wb")) == NULL) { in EmitDefaults() 1454 Error (NULL, 0, 0, OutFileName, "failed to open output file for writing", NULL); in EmitDefaults() 1459 Error (NULL, 0, 0, OutFileName, "failed to write defaults to output file"); in EmitDefaults() 1473 OutFileName, in EmitDefaults() 1481 OutFileName, in EmitDefaults() 1493 OutFileName in EmitDefaults()
|