Home | History | Annotate | Download | only in python2.7

Lines Matching refs:central

47 # The "end of central directory" structure, magic number, size, and indices
66 # The "central directory" structure, magic number, size, and indices
72 # indexes of entries in the central directory structure
112 # The "Zip64 end of central directory locator" structure, magic number, and size
117 # The "Zip64 end of central directory" record, magic number, size, and indices
202 """Return data from the "End of Central Directory" record, or None.
204 The data is a list of the nine items in the ZIP "End of central dir"
212 # "end of central directory" structure should be the last item in the
230 # Try to read the "Zip64 end of central directory" structure
234 # comment. Search the end of the file for the "end of central directory"
236 # up to 64K long. It is assumed that the "end of central directory" magic
254 # Try to read the "Zip64 end of central directory" structure
258 # Unable to find a valid end of central directory structure
768 # set the modified flag so central directory gets written
781 # set the modified flag so central directory gets written
810 size_cd = endrec[_ECD_SIZE] # bytes in central directory
811 offset_cd = endrec[_ECD_OFFSET] # offset of central directory
823 # self.start_dir: Position of start of central directory
832 raise BadZipfile("Truncated central directory")
835 raise BadZipfile("Bad magic number for central directory")
859 # update total bytes read from central directory
1257 for zinfo in self.filelist: # write central directory