Lines Matching refs:fpin
209 def _EndRecData64(fpin, offset, endrec): argument
214 fpin.seek(offset - sizeEndCentDir64Locator, 2)
220 data = fpin.read(sizeEndCentDir64Locator)
231 fpin.seek(offset - sizeEndCentDir64Locator - sizeEndCentDir64, 2)
232 data = fpin.read(sizeEndCentDir64)
252 def _EndRecData(fpin): argument
259 fpin.seek(0, 2)
260 filesize = fpin.tell()
266 fpin.seek(-sizeEndCentDir, 2)
269 data = fpin.read()
282 return _EndRecData64(fpin, -sizeEndCentDir, endrec)
290 fpin.seek(maxCommentStart, 0)
291 data = fpin.read()
306 return _EndRecData64(fpin, maxCommentStart + start - filesize,