Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dzipfile.py51 sizeEndCentDir = struct.calcsize(structEndArchive) variable
215 fpin.seek(-sizeEndCentDir, 2)
219 if (len(data) == sizeEndCentDir and
228 endrec.append(filesize - sizeEndCentDir)
231 return _EndRecData64(fpin, -sizeEndCentDir, endrec)
238 maxCommentStart = max(filesize - (1 << 16) - sizeEndCentDir, 0)
244 recData = data[start:start+sizeEndCentDir]
245 if len(recData) != sizeEndCentDir:
250 comment = data[start+sizeEndCentDir:start+sizeEndCentDir+commentSize]
/external/python/cpython3/Lib/
Dzipfile.py84 sizeEndCentDir = struct.calcsize(structEndArchive) variable
271 fpin.seek(-sizeEndCentDir, 2)
275 if (len(data) == sizeEndCentDir and
284 endrec.append(filesize - sizeEndCentDir)
287 return _EndRecData64(fpin, -sizeEndCentDir, endrec)
294 maxCommentStart = max(filesize - (1 << 16) - sizeEndCentDir, 0)
300 recData = data[start:start+sizeEndCentDir]
301 if len(recData) != sizeEndCentDir:
306 comment = data[start+sizeEndCentDir:start+sizeEndCentDir+commentSize]
/external/python/cpython2/Lib/test/
Dtest_zipfile.py1126 self.assertEqual(zipfile.sizeEndCentDir, 22)
/external/python/cpython3/Lib/test/
Dtest_zipfile.py1817 self.assertEqual(zipfile.sizeEndCentDir, 22)