Home
last modified time | relevance | path

Searched refs:sizeEndCentDir (Results 1 – 5 of 5) 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/chromium-trace/catapult/third_party/zipfile/
Dzipfile_2_7_13.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.py79 sizeEndCentDir = struct.calcsize(structEndArchive) variable
266 fpin.seek(-sizeEndCentDir, 2)
270 if (len(data) == sizeEndCentDir and
279 endrec.append(filesize - sizeEndCentDir)
282 return _EndRecData64(fpin, -sizeEndCentDir, endrec)
289 maxCommentStart = max(filesize - (1 << 16) - sizeEndCentDir, 0)
295 recData = data[start:start+sizeEndCentDir]
296 if len(recData) != sizeEndCentDir:
301 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.py1490 self.assertEqual(zipfile.sizeEndCentDir, 22)