Home
last modified time | relevance | path

Searched refs:pInFile (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
DVfrCompiler.cpp451 FILE *pInFile = NULL; in Compile() local
462 if ((pInFile = fopen (InFileName, "r")) == NULL) { in Compile()
467 if (VfrParserStart (pInFile) != 0) { in Compile()
471 fclose (pInFile); in Compile()
486 if (pInFile != NULL) { in Compile()
487 fclose (pInFile); in Compile()
576 FILE *pInFile = NULL; in GenRecordListFile() local
588 if ((pInFile = fopen (InFileName, "r")) == NULL) { in GenRecordListFile()
600 while (!feof (pInFile)) { in GenRecordListFile()
601 if (fgets (LineBuf, MAX_LINE_LEN, pInFile) != NULL) { in GenRecordListFile()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrCompiler.cpp700 FILE *pInFile = NULL; in Compile() local
713 if ((pInFile = fopen (LongFilePath (InFileName), "r")) == NULL) { in Compile()
725 if (VfrParserStart (pInFile, &InputInfo) != 0) { in Compile()
729 fclose (pInFile); in Compile()
744 if (pInFile != NULL) { in Compile()
745 fclose (pInFile); in Compile()
921 FILE *pInFile = NULL; in GenRecordListFile() local
933 if ((pInFile = fopen (LongFilePath (InFileName), "r")) == NULL) { in GenRecordListFile()
945 while (!feof (pInFile)) { in GenRecordListFile()
946 if (fgets (LineBuf, MAX_VFR_LINE_LEN, pInFile) != NULL) { in GenRecordListFile()
[all …]
DVfrUtilityLib.cpp3361 FILE *pInFile = NULL; in GetVarStoreNameFormStringId() local
3379 if ((pInFile = fopen (LongFilePath (mStringFileName), "rb")) == NULL) { in GetVarStoreNameFormStringId()
3386 fseek (pInFile, 0, SEEK_END); in GetVarStoreNameFormStringId()
3387 Length = ftell (pInFile); in GetVarStoreNameFormStringId()
3388 fseek (pInFile, 0, SEEK_SET); in GetVarStoreNameFormStringId()
3395 fclose (pInFile); in GetVarStoreNameFormStringId()
3398 fread ((char *)StringPtr, sizeof (UINT8), Length, pInFile); in GetVarStoreNameFormStringId()
3399 fclose (pInFile); in GetVarStoreNameFormStringId()