/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/VfrCompile/ |
H A D | VfrServices.cpp | 198 FILE *InFptr;
local 331 if ((InFptr = fopen (gOptions.PreprocessorOutputFileName, "r")) == NULL) {
336 fclose (InFptr);
337 InFptr = NULL;
360 if (fgets (Line, sizeof (Line), InFptr) != NULL) {
395 while (fgets (Line, sizeof (Line), InFptr) != NULL) {
398 fclose (InFptr);
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/ |
H A D | EfiRom.c | 222 FILE *InFptr;
local 241 if ((InFptr = fopen (LongFilePath (InFile->FileName), "rb")) == NULL) {
249 fseek (InFptr, 0, SEEK_END);
250 FileSize = ftell (InFptr);
255 fseek (InFptr, 0, SEEK_SET);
263 if (fread (Buffer, FileSize, 1, InFptr) != 1) {
388 if (InFptr != NULL) {
389 fclose (InFptr);
435 FILE *InFptr;
local 455 if ((InFptr 1285 FILE *InFptr; local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/ |
H A D | GenTEImage.c | 241 FILE *InFptr;
local 255 InFptr = NULL;
263 if ((InFptr = fopen (InFileName, "rb")) == NULL) {
270 if (CheckPE32File (InFileName, InFptr, &MachineType, &SubSystem) != STATUS_SUCCESS) {
281 fseek (InFptr, 0, SEEK_END);
282 FileSize = ftell (InFptr);
283 fseek (InFptr, 0, SEEK_SET);
292 if (fseek (InFptr, 0x3C, SEEK_SET) != 0) {
297 if (fread (&PESigOffset, sizeof (PESigOffset), 1, InFptr) != 1) {
302 if (fseek (InFptr, PESigOffse 816 FILE *InFptr; local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiHiiPack/ |
H A D | HiiPack.c | 500 FILE *InFptr;
local 514 if ((InFptr = fopen (NameList->FileName, "rb")) == NULL) {
522 fseek (InFptr, 0, SEEK_END);
523 BufferSize = (UINT32) ftell (InFptr);
524 fseek (InFptr, 0, SEEK_SET);
531 if (fread (Buffer, sizeof (UINT8), BufferSize, InFptr) != BufferSize) {
550 fclose (InFptr);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiRom/ |
H A D | EfiRom.c | 431 FILE *InFptr;
local 447 if ((InFptr = fopen (InFile->FileName, "rb")) == NULL) {
455 fseek (InFptr, 0, SEEK_END);
456 FileSize = ftell (InFptr);
461 fseek (InFptr, 0, SEEK_SET);
469 if (fread (Buffer, FileSize, 1, InFptr) != 1) {
569 if (InFptr != NULL) {
570 fclose (InFptr);
616 FILE *InFptr;
local 633 if ((InFptr 1376 FILE *InFptr; local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/ |
H A D | HiiPack.c | 327 FILE *InFptr;
local 352 InFptr = NULL;
373 if ((InFptr = fopen (HiiExportFiles->FileName, "rb")) == NULL) {
378 fseek (InFptr, 0, SEEK_END);
379 FileSize = (int) ftell (InFptr);
380 fseek (InFptr, 0, SEEK_SET);
387 if (fread (Buffer, FileSize, 1, InFptr) != 1) {
392 fclose (InFptr);
393 InFptr = NULL;
611 if (InFptr ! 669 FILE *InFptr; local 1193 FILE *InFptr; local 1310 FILE *InFptr; local 1578 FILE *InFptr; local 2163 FILE *InFptr; local [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
H A D | GenFw.c | 114 FILE *InFptr,
3134 FILE *InFptr,
3143 InFptr - file pointer to input text file
3158 if (fgets (Line, MAX_LINE_LEN, InFptr) == NULL) {
3133 MicrocodeReadData( FILE *InFptr, UINT32 *Data ) argument
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/ |
H A D | StrGather.c | 2494 FILE *InFptr;
local 2509 InFptr = fopen (SourceFileName, "r");
2510 if (InFptr == NULL) {
2557 fclose (InFptr);
2560 while (fgets (Line, MAX_LINE_LEN, InFptr) != NULL) {
2575 fclose (InFptr);
|