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;
286 nbByte == 1, 2 ,4 or 8 (byte, short or long, ZPOS64_T)
289 local int zip64local_putValue(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, ZPOS64_T x, int nbByte)
315 local void zip64local_putValue_inmemory (void* dest, ZPOS64_T x, int nbByte)
446 local int zip64local_getLong64(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, ZPOS64_T *pX)
448 ZPOS64_T x;
453 x = (ZPOS64_T)i;
459 x += ((ZPOS64_T)i) << 8;
465 x += ((ZPOS64_T)i) << 16;
471 x += ((ZPOS64_T)i) << 24;
477 x += ((ZPOS64_T)i) << 32;
483 x += ((ZPOS64_T)i) << 40;
489 x += ((ZPOS64_T)i) << 48;
495 x += ((ZPOS64_T)i) << 56;
516 local ZPOS64_T zip64local_SearchCentralDir(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream)
519 ZPOS64_T uSizeFile;
520 ZPOS64_T uBackRead;
521 ZPOS64_T uMaxBack=0xffff; /* maximum size of global comment */
522 ZPOS64_T uPosFound=0;
547 ZPOS64_T uReadPos ;
593 local ZPOS64_T zip64local_SearchCentralDir64(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream)
596 ZPOS64_T uSizeFile;
597 ZPOS64_T uBackRead;
598 ZPOS64_T uMaxBack = 0xffff; /* maximum size of global comment */
599 ZPOS64_T uPosFound = 0;
601 ZPOS64_T relativeOffset;
625 ZPOS64_T uReadPos;
732 ZPOS64_T byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/
734 ZPOS64_T size_central_dir; /* size of the central directory */
735 ZPOS64_T offset_central_dir; /* offset of start of central directory */
736 ZPOS64_T central_pos;
743 ZPOS64_T number_entry;
744 ZPOS64_T number_entry_CD; /* total number of entries in
771 ZPOS64_T sizeEndOfCentralDirectory;
956 ZPOS64_T size_central_dir_to_read = size_central_dir;
966 ZPOS64_T read_this = SIZEDATA_INDATABLOCK;
1224 ZPOS64_T CompressedSize = 0;
1225 ZPOS64_T UncompressedSize = 0;
1230 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)HeaderID,2);
1231 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)DataSize,2);
1233 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)UncompressedSize,8);
1234 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)CompressedSize,8);
1788 extern int ZEXPORT zipCloseFileInZipRaw64(zipFile file, ZPOS64_T uncompressed_size, uLong crc32)
1791 ZPOS64_T compressed_size;
2016 ZPOS64_T cur_pos_inzip = ZTELL64(zi->z_filefunc,zi->filestream);
2083 local int Write_Zip64EndOfCentralDirectoryLocator(zip64_internal* zi, ZPOS64_T zip64eocd_pos_inzip)
2086 ZPOS64_T pos = zip64eocd_pos_inzip - zi->add_position_when_writing_offset;
2112 local int Write_Zip64EndOfCentralDirectoryRecord(zip64_internal* zi, uLong size_centraldir, ZPOS64_T centraldir_pos_inzip)
2122 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(ZPOS64_T)Zip64DataSize,8); // why ZPOS64_T of this ?
2157 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(ZPOS64_T)size_centraldir,8);
2162 ZPOS64_T pos = centraldir_pos_inzip - zi->add_position_when_writing_offset;
2163 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, (ZPOS64_T)pos,8);
2168 local int Write_EndOfCentralDirectoryRecord(zip64_internal* zi, uLong size_centraldir, ZPOS64_T centraldir_pos_inzip)
2218 ZPOS64_T pos = centraldir_pos_inzip - zi->add_position_when_writing_offset;
2257 ZPOS64_T centraldir_pos_inzip;
2258 ZPOS64_T pos;
2303 ZPOS64_T Zip64EOCDpos = ZTELL64(zi->z_filefunc,zi->filestream);