Lines Matching refs:fpin
158 def _EndRecData64(fpin, offset, endrec):
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):
208 fpin.seek(0, 2)
209 filesize = fpin.tell()
215 fpin.seek(-sizeEndCentDir, 2)
218 data = fpin.read()
231 return _EndRecData64(fpin, -sizeEndCentDir, endrec)
239 fpin.seek(maxCommentStart, 0)
240 data = fpin.read()
255 return _EndRecData64(fpin, maxCommentStart + start - filesize,