Home
last modified time | relevance | path

Searched refs:fpin (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ModifyInf/
DModifyInf.c309 FILE *fpin; in main() local
317 fpin = fopen (argv[1], "rb"); in main()
318 if (!fpin) { in main()
325 fclose (fpin); in main()
330 while (ReadLine (LineBuffer, fpin)) { in main()
335 fclose (fpin); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dzipfile.py157 def _EndRecData64(fpin, offset, endrec): argument
162 fpin.seek(offset - sizeEndCentDir64Locator, 2)
168 data = fpin.read(sizeEndCentDir64Locator)
177 fpin.seek(offset - sizeEndCentDir64Locator - sizeEndCentDir64, 2)
178 data = fpin.read(sizeEndCentDir64)
196 def _EndRecData(fpin): argument
203 fpin.seek(0, 2)
204 filesize = fpin.tell()
210 fpin.seek(-sizeEndCentDir, 2)
213 data = fpin.read()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dzipfile.py158 def _EndRecData64(fpin, offset, endrec): argument
163 fpin.seek(offset - sizeEndCentDir64Locator, 2)
169 data = fpin.read(sizeEndCentDir64Locator)
180 fpin.seek(offset - sizeEndCentDir64Locator - sizeEndCentDir64, 2)
181 data = fpin.read(sizeEndCentDir64)
201 def _EndRecData(fpin): argument
208 fpin.seek(0, 2)
209 filesize = fpin.tell()
215 fpin.seek(-sizeEndCentDir, 2)
218 data = fpin.read()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFvInternalLib.c3016 FILE *fpin; in CalculateFvSize() local
3028 fpin = NULL; in CalculateFvSize()
3055 fpin = fopen (LongFilePath (mFvDataInfo.FvExtHeaderFile), "rb"); in CalculateFvSize()
3056 if (fpin == NULL) { in CalculateFvSize()
3060 FvExtendHeaderSize = _filelength (fileno (fpin)); in CalculateFvSize()
3061 fclose (fpin); in CalculateFvSize()
3081 fpin = NULL; in CalculateFvSize()
3082 fpin = fopen (LongFilePath (FvInfoPtr->FvFiles[Index]), "rb"); in CalculateFvSize()
3083 if (fpin == NULL) { in CalculateFvSize()
3090 FfsFileSize = _filelength (fileno (fpin)); in CalculateFvSize()
[all …]