Home | History | Annotate | Download | only in minizip

Lines Matching defs:zip64

7          Modifications for Zip64 support
14 Oct-2009 - Mathias Svensson - Added Zip64 Support when creating new file archives
16 Oct-2009 - Mathias Svensson - Added zipRemoveExtraInfoBlock to strip extra field data from its ZIP64 data
18 ZIP64 data is automaticly added to items that needs it, and existing ZIP64 data need to be removed.
154 int zip64; /* Add ZIP64 extened information in the extra field */
297 { /* data overflow - hack for ZIP64 (X Roche) */
321 { /* data overflow - hack for ZIP64 */
537 Locate the End of Zip64 Central directory locator and from there find the CD of a zipfile (at the end, just before
586 // Signature "0x07064b50" Zip64 end of central directory locater
602 /* Zip64 end of central directory locator */
610 /* number of the disk with the start of the zip64 end of central directory */
616 /* relative offset of the zip64 end of central directory record */
626 /* Goto Zip64 end of central directory record */
634 if (uL != 0x06064b50) // signature of 'Zip64 end of central directory'
664 // check first if we find a ZIP64 record
690 /* size of zip64 end of central directory record */
969 if(zi->ci.zip64)
989 if(zi->ci.zip64)
996 if(zi->ci.zip64)
1005 if(zi->ci.zip64)
1026 if ((err==ZIP_OK) && (zi->ci.zip64))
1028 // write the Zip64 extended info
1034 // Remember position of Zip64 extended info for the local file header. (needed when we update size after done with file)
1049 When writing RAW the ZIP64 extended information in extrafield_local and extrafield_global needs to be stripped
1061 uLong versionMadeBy, uLong flagBase, int zip64)
1134 zi->ci.size_centralExtraFree = 32; // Extra space we have reserved in case we need to add ZIP64 extra info data
1182 zi->ci.zip64 = zip64;
1301 const char* password, uLong crcForCrypting, int zip64)
1308 password, crcForCrypting, VERSIONMADEBY, 0, zip64);
1327 const char* comment, int method, int level, int raw, int zip64)
1334 NULL, 0, VERSIONMADEBY, 0, zip64);
1340 const char* comment, int method, int level, int zip64)
1347 NULL, 0, VERSIONMADEBY, 0, zip64);
1638 // Add ZIP64 extra info field for uncompressed size
1642 // Add ZIP64 extra info field for compressed size
1646 // Add ZIP64 extra info field for relative offset to local file header of current file
1662 // Add Extra Information Header for 'ZIP64 information'
1687 // and increase the centralheader size so the new ZIP64 fields are included
1718 // Update the size in the ZIP64 extended field.
1729 err = ZIP_BADZIPFILE; // Caller passed zip64 = 0, so no room for zip64 info -> fatal
1785 if (err==ZIP_OK) /* size of this 'zip64 end of central directory' */
1833 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xffff,2); // use value in ZIP64 record
1842 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xffff,2); // use value in ZIP64 record