Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/
DDscFile.c165 FILE *FilePtr; in DSCParseInclude() local
179 if ((FilePtr = fopen (FileName, "r")) == NULL) { in DSCParseInclude()
223 if (fgets (Line, sizeof (Line), FilePtr) == NULL) { in DSCParseInclude()
434 fclose (FilePtr); in DSCParseInclude()
DCommon.h67 FILE *FilePtr; // New file pointer if the file need to be re-created member
DProcessDsc.c4751 if ((SmartFile->FilePtr = fopen (FileName, "w")) == NULL) { in SmartOpen()
4768 if (SmartFile->FilePtr != NULL) { in SmartWrite()
4769 return fprintf (SmartFile->FilePtr, "%s", String); in SmartWrite()
4777 if ((SmartFile->FilePtr = fopen (SmartFile->FileName, "w")) == NULL) { in SmartWrite()
4782 fprintf (SmartFile->FilePtr, "%s%s", SmartFile->FileContent, String); in SmartWrite()
4797 if ((SmartFile->FilePtr == NULL) && (SmartFile->FilePosition < SmartFile->FileLength)) { in SmartClose()
4801 if ((SmartFile->FilePtr = fopen (SmartFile->FileName, "w")) == NULL) { in SmartClose()
4805 fprintf (SmartFile->FilePtr, "%s", SmartFile->FileContent); in SmartClose()
4830 if (SmartFile->FilePtr != NULL ) { in SmartFree()
4831 fclose (SmartFile->FilePtr); in SmartFree()