/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/ |
D | HiiPack.c | 119 FILE *OutFptr, 128 FILE *OutFptr, 137 FILE *OutFptr, 147 FILE *OutFptr, 155 FILE *OutFptr, 165 FILE *OutFptr, 326 FILE *OutFptr; in MergeHiiExports() local 353 OutFptr = NULL; in MergeHiiExports() 483 if ((OutFptr = fopen (OutputFileName, "wb")) == NULL) { in MergeHiiExports() 491 if (fwrite ((void *) &TempHiiExportTableHeader, sizeof (EFI_HII_EXPORT_TABLE), 1, OutFptr) != 1) { in MergeHiiExports() [all …]
|
D | IfrParse.h | 53 FILE *OutFptr; member 177 FILE *OutFptr
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/ |
D | GuidList.c | 89 FILE *OutFptr, 113 FILE *OutFptr; in CreateGuidList() local 120 OutFptr = fopen (OutFileName, "w"); in CreateGuidList() 121 if (OutFptr == NULL) { in CreateGuidList() 126 OutFptr = stdout; in CreateGuidList() 130 …PrintGuidText (OutFptr, mGuidList[Index].VariableName, mGuidList[Index].DefineName, &mGuidList[Ind… in CreateGuidList() 136 fclose (OutFptr); in CreateGuidList() 144 FILE *OutFptr, in PrintGuidText() argument 167 if (OutFptr == NULL) { in PrintGuidText() 168 OutFptr = stdout; in PrintGuidText() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiHiiPack/ |
D | HiiPack.c | 96 FILE *OutFptr, 212 FILE *OutFptr; in CreateResourceScript() local 225 OutFptr = NULL; in CreateResourceScript() 231 if ((OutFptr = fopen (OutputFileName, "w")) == NULL) { in CreateResourceScript() 240 fprintf (OutFptr, "%s\n", gRcFileHeader[Index]); in CreateResourceScript() 246 fprintf (OutFptr, "\n"); in CreateResourceScript() 247 fprintf (OutFptr, "%d %s\n", HII_RESOURCE_NAME, HII_RESOURCE_TYPE); in CreateResourceScript() 248 fprintf (OutFptr, "{\n"); in CreateResourceScript() 291 DumpRawBytes (OutFptr, PackageList, PackageListLen, 2); in CreateResourceScript() 296 fprintf (OutFptr, "}\n"); in CreateResourceScript() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/VfrCompile/ |
D | VfrServices.cpp | 199 FILE *OutFptr; in WriteIfrBytes() local 334 if ((OutFptr = fopen (gOptions.VfrListFileName, "w")) == NULL) { in WriteIfrBytes() 353 fprintf (OutFptr, "//\n// VFR compiler version " UTILITY_VERSION "\n//\n"); in WriteIfrBytes() 365 fprintf (OutFptr, "%s", Line); in WriteIfrBytes() 378 fprintf (OutFptr, ">%08X: ", ByteCount); in WriteIfrBytes() 383 fprintf (OutFptr, "%02X ", (UINT32)Curr->OpcodeByte); in WriteIfrBytes() 387 fprintf (OutFptr, "\n"); in WriteIfrBytes() 396 fprintf (OutFptr, "%s", Line); in WriteIfrBytes() 399 fclose (OutFptr); in WriteIfrBytes() 730 FILE *OutFptr in WriteStandardFileHeader() argument [all …]
|
D | EfiVfr.h | 161 FILE *OutFptr
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/ |
D | StringDB.c | 169 FILE *OutFptr 1319 FILE *OutFptr in StringDBWriteStandardFileHeader() argument 1324 fprintf (OutFptr, "%s\n", mSourceFileHeader[TempIndex]); in StringDBWriteStandardFileHeader() 1743 FILE *OutFptr; in StringDBDumpDatabase() local 1758 OutFptr = _wfopen (WOutputFileName, L"wb"); in StringDBDumpDatabase() 1760 if (OutFptr == NULL) { in StringDBDumpDatabase() 1766 fwrite (&WChar, sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1778 fwrite (Line, wcslen (Line) * sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1779 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1780 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/ |
D | StringDB.c | 68 FILE *OutFptr 803 FILE *OutFptr in StringDBWriteStandardFileHeader() argument 808 fprintf (OutFptr, "%s\n", mSourceFileHeader[TempIndex]); in StringDBWriteStandardFileHeader() 1227 FILE *OutFptr; in StringDBDumpDatabase() local 1242 OutFptr = _wfopen (WOutputFileName, L"wb"); in StringDBDumpDatabase() 1244 if (OutFptr == NULL) { in StringDBDumpDatabase() 1250 fwrite (&WChar, sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1262 fwrite (Line, wcslen (Line) * sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1263 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1264 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() [all …]
|
D | StrGather.c | 2495 FILE *OutFptr; in PreprocessSourceFile() local 2554 OutFptr = fopen (TempFileName, "w"); in PreprocessSourceFile() 2555 if (OutFptr == NULL) { in PreprocessSourceFile() 2561 fputs (Line, OutFptr); in PreprocessSourceFile() 2572 fputs (InsertLine, OutFptr); in PreprocessSourceFile() 2576 fclose (OutFptr); in PreprocessSourceFile()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/ |
D | EfiRom.h | 242 FILE *OutFptr, 272 FILE *OutFptr,
|
D | EfiRom.c | 203 FILE *OutFptr, in ProcessBinFile() argument 375 if (fwrite (Buffer, FileSize, 1, OutFptr) != 1) { in ProcessBinFile() 386 putc (~0, OutFptr); in ProcessBinFile() 411 FILE *OutFptr, in ProcessEfiFile() argument 669 if (fwrite (&RomHdr, sizeof (RomHdr), 1, OutFptr) != 1) { in ProcessEfiFile() 679 if (putc (0, OutFptr) == EOF) { in ProcessEfiFile() 691 if (fwrite (&PciDs23, sizeof (PciDs23), 1, OutFptr) != 1) { in ProcessEfiFile() 697 if (fwrite (&PciDs30, sizeof (PciDs30), 1, OutFptr) != 1) { in ProcessEfiFile() 708 if (putc (~0, OutFptr) == EOF) { in ProcessEfiFile() 718 if (fwrite (Buffer, FileSize, 1, OutFptr) != 1) { in ProcessEfiFile() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiRom/ |
D | EfiRom.c | 178 FILE *OutFptr, 188 FILE *OutFptr, 409 FILE *OutFptr, in ProcessBinFile() argument 557 if (fwrite (Buffer, DataSize, 1, OutFptr) != 1) { in ProcessBinFile() 564 putc (~0, OutFptr); in ProcessBinFile() 566 putc (ByteCheckSum, OutFptr); in ProcessBinFile() 589 FILE *OutFptr, in ProcessEfiFile() argument 795 if (fwrite (&RomHdr, sizeof (RomHdr), 1, OutFptr) != 1) { in ProcessEfiFile() 805 if (putc (0, OutFptr) == EOF) { in ProcessEfiFile() 816 if (fwrite (&PciDs, sizeof (PciDs), 1, OutFptr) != 1) { in ProcessEfiFile() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/ |
D | GenTEImage.c | 242 FILE *OutFptr; in ProcessFile() local 256 OutFptr = NULL; in ProcessFile() 465 if ((OutFptr = fopen (OutFileName, "wb")) == NULL) { in ProcessFile() 472 if (fwrite (&TEImageHeader, sizeof (EFI_TE_IMAGE_HEADER), 1, OutFptr) != 1) { in ProcessFile() 492 if (fwrite (Buffer, FileSize - BytesStripped, 1, OutFptr) != 1) { in ProcessFile() 507 if (OutFptr != NULL) { in ProcessFile() 508 fclose (OutFptr); in ProcessFile()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/MakeDeps/ |
D | MakeDeps.c | 122 FILE *OutFptr; // output dependencies to this file member 312 if ((mGlobals.OutFptr != stdout) && (mGlobals.OutFptr != NULL)) { in main() 313 fclose (mGlobals.OutFptr); in main() 868 fprintf (mGlobals.OutFptr, "%s : ", Str); in PrintDependency() 871 fprintf (mGlobals.OutFptr, "%s\n", Str); in PrintDependency() 875 fprintf (mGlobals.OutFptr, "%s : \n", Str); in PrintDependency() 1347 if ((mGlobals.OutFptr = fopen (mGlobals.TmpFileName, "w")) == NULL) { in ProcessArgs() 1402 if (mGlobals.OutFptr == NULL) { in ProcessArgs() 1403 mGlobals.OutFptr = stdout; in ProcessArgs()
|