Lines Matching refs:ZPOS64_T
73 #define MAKEULONG64(a, b) ((ZPOS64_T)(((unsigned long)(a)) | ((ZPOS64_T)((unsigned long)(b))) << 32))
136 ZPOS64_T pos_local_header; /* offset of the local header of the file
151 ZPOS64_T pos_zip64extrainfo;
152 ZPOS64_T totalCompressedData;
153 ZPOS64_T totalUncompressedData;
169 ZPOS64_T begin_pos; /* position of the beginning of the zipfile */
170 ZPOS64_T add_position_when_writing_offset;
171 ZPOS64_T number_entry;
274 nbByte == 1, 2 ,4 or 8 (byte, short or long, ZPOS64_T)
277 local int zip64local_putValue(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, ZPOS64_T x, int nbByte) {
299 local void zip64local_putValue_inmemory (void* dest, ZPOS64_T x, int nbByte) {
401 local int zip64local_getLong64(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, ZPOS64_T *pX) {
402 ZPOS64_T x;
407 x = (ZPOS64_T)i;
411 x += ((ZPOS64_T)i)<<8;
415 x += ((ZPOS64_T)i)<<16;
419 x += ((ZPOS64_T)i)<<24;
423 x += ((ZPOS64_T)i)<<32;
427 x += ((ZPOS64_T)i)<<40;
431 x += ((ZPOS64_T)i)<<48;
435 x += ((ZPOS64_T)i)<<56;
452 local ZPOS64_T zip64local_SearchCentralDir(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream) {
454 ZPOS64_T uSizeFile;
455 ZPOS64_T uBackRead;
456 ZPOS64_T uMaxBack=0xffff; /* maximum size of global comment */
457 ZPOS64_T uPosFound=0;
476 ZPOS64_T uReadPos ;
511 local ZPOS64_T zip64local_SearchCentralDir64(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream) {
513 ZPOS64_T uSizeFile;
514 ZPOS64_T uBackRead;
515 ZPOS64_T uMaxBack=0xffff; /* maximum size of global comment */
516 ZPOS64_T uPosFound=0;
518 ZPOS64_T relativeOffset;
536 ZPOS64_T uReadPos;
610 ZPOS64_T byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/
612 ZPOS64_T size_central_dir; /* size of the central directory */
613 ZPOS64_T offset_central_dir; /* offset of start of central directory */
614 ZPOS64_T central_pos;
621 ZPOS64_T number_entry;
622 ZPOS64_T number_entry_CD; /* total number of entries in
649 ZPOS64_T sizeEndOfCentralDirectory;
780 ZPOS64_T size_central_dir_to_read = size_central_dir;
788 ZPOS64_T read_this = SIZEDATA_INDATABLOCK;
992 ZPOS64_T CompressedSize = 0;
993 ZPOS64_T UncompressedSize = 0;
998 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)HeaderID,2);
999 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)DataSize,2);
1001 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)UncompressedSize,8);
1002 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)CompressedSize,8);
1470 extern int ZEXPORT zipCloseFileInZipRaw64(zipFile file, ZPOS64_T uncompressed_size, uLong crc32) {
1472 ZPOS64_T compressed_size;
1661 ZPOS64_T cur_pos_inzip = ZTELL64(zi->z_filefunc,zi->filestream);
1709 local int Write_Zip64EndOfCentralDirectoryLocator(zip64_internal* zi, ZPOS64_T zip64eocd_pos_inzip) {
1711 ZPOS64_T pos = zip64eocd_pos_inzip - zi->add_position_when_writing_offset;
1730 local int Write_Zip64EndOfCentralDirectoryRecord(zip64_internal* zi, uLong size_centraldir, ZPOS64_T centraldir_pos_inzip) {
1738 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(ZPOS64_T)Zip64DataSize,8); // why ZPOS64_T of this ?
1759 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(ZPOS64_T)size_centraldir,8);
1763 ZPOS64_T pos = centraldir_pos_inzip - zi->add_position_when_writing_offset;
1764 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, (ZPOS64_T)pos,8);
1769 local int Write_EndOfCentralDirectoryRecord(zip64_internal* zi, uLong size_centraldir, ZPOS64_T centraldir_pos_inzip) {
1804 ZPOS64_T pos = centraldir_pos_inzip - zi->add_position_when_writing_offset;
1837 ZPOS64_T centraldir_pos_inzip;
1838 ZPOS64_T pos;
1877 ZPOS64_T Zip64EOCDpos = ZTELL64(zi->z_filefunc,zi->filestream);