Lines Matching refs:z_filefunc
167 zlib_filefunc64_32_def z_filefunc; member
665 central_pos = zip64local_SearchCentralDir64(&pziinit->z_filefunc,pziinit->filestream); in LoadCentralDirectoryRecord()
672 central_pos = zip64local_SearchCentralDir(&pziinit->z_filefunc,pziinit->filestream); in LoadCentralDirectoryRecord()
683 if (ZSEEK64(pziinit->z_filefunc, pziinit->filestream, central_pos, ZLIB_FILEFUNC_SEEK_SET) != 0) in LoadCentralDirectoryRecord()
687 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream,&uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
691 …if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream, &sizeEndOfCentralDirectory)!=Z… in LoadCentralDirectoryRecord()
695 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &VersionMadeBy)!=ZIP_OK) in LoadCentralDirectoryRecord()
699 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &VersionNeeded)!=ZIP_OK) in LoadCentralDirectoryRecord()
703 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream,&number_disk)!=ZIP_OK) in LoadCentralDirectoryRecord()
707 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream,&number_disk_with_CD)!=ZIP_OK) in LoadCentralDirectoryRecord()
711 if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream, &number_entry)!=ZIP_OK) in LoadCentralDirectoryRecord()
715 if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream,&number_entry_CD)!=ZIP_OK) in LoadCentralDirectoryRecord()
722 if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream,&size_central_dir)!=ZIP_OK) in LoadCentralDirectoryRecord()
727 if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream,&offset_central_dir)!=ZIP_OK) in LoadCentralDirectoryRecord()
737 if (ZSEEK64(pziinit->z_filefunc, pziinit->filestream, central_pos,ZLIB_FILEFUNC_SEEK_SET)!=0) in LoadCentralDirectoryRecord()
741 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream,&uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
745 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream,&number_disk)!=ZIP_OK) in LoadCentralDirectoryRecord()
749 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream,&number_disk_with_CD)!=ZIP_OK) in LoadCentralDirectoryRecord()
754 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
761 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
771 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream, &uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
778 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream, &uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
785 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &size_comment)!=ZIP_OK) in LoadCentralDirectoryRecord()
795 ZCLOSE64(pziinit->z_filefunc, pziinit->filestream); in LoadCentralDirectoryRecord()
804 …size_comment = ZREAD64(pziinit->z_filefunc, pziinit->filestream, pziinit->globalcomment,size_comme… in LoadCentralDirectoryRecord()
816 …if (ZSEEK64(pziinit->z_filefunc, pziinit->filestream, offset_central_dir + byte_before_the_zipfile… in LoadCentralDirectoryRecord()
825 if (ZREAD64(pziinit->z_filefunc, pziinit->filestream,buf_read,(uLong)read_this) != read_this) in LoadCentralDirectoryRecord()
838 …if (ZSEEK64(pziinit->z_filefunc, pziinit->filestream, offset_central_dir+byte_before_the_zipfile,Z… in LoadCentralDirectoryRecord()
855 ziinit.z_filefunc.zseek32_file = NULL; in zipOpen3()
856 ziinit.z_filefunc.ztell32_file = NULL; in zipOpen3()
858 fill_fopen64_filefunc(&ziinit.z_filefunc.zfile_func64); in zipOpen3()
860 ziinit.z_filefunc = *pzlib_filefunc64_32_def; in zipOpen3()
862 ziinit.filestream = ZOPEN64(ziinit.z_filefunc, in zipOpen3()
872 ZSEEK64(ziinit.z_filefunc,ziinit.filestream,0,SEEK_END); in zipOpen3()
874 ziinit.begin_pos = ZTELL64(ziinit.z_filefunc,ziinit.filestream); in zipOpen3()
886 ZCLOSE64(ziinit.z_filefunc,ziinit.filestream); in zipOpen3()
965 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)LOCALHEADERMAGIC, 4); in Write_LocalFileHeader()
970 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)45,2);/* version needed to extract… in Write_LocalFileHeader()
972 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)20,2);/* version needed to extract… in Write_LocalFileHeader()
976 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.flag,2); in Write_LocalFileHeader()
979 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.method,2); in Write_LocalFileHeader()
982 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.dosDate,4); in Write_LocalFileHeader()
986 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* crc 32, unknown */ in Write_LocalFileHeader()
990 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xFFFFFFFF,4); /* compressed size,… in Write_LocalFileHeader()
992 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* compressed size, unknown … in Write_LocalFileHeader()
997 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xFFFFFFFF,4); /* uncompressed siz… in Write_LocalFileHeader()
999 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* uncompressed size, unknow… in Write_LocalFileHeader()
1003 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_filename,2); in Write_LocalFileHeader()
1011 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_extrafield,2); in Write_LocalFileHeader()
1015 if (ZWRITE64(zi->z_filefunc,zi->filestream,filename,size_filename)!=size_filename) in Write_LocalFileHeader()
1021 …if (ZWRITE64(zi->z_filefunc, zi->filestream, extrafield_local, size_extrafield_local) != size_extr… in Write_LocalFileHeader()
1035 zi->ci.pos_zip64extrainfo = ZTELL64(zi->z_filefunc,zi->filestream); in Write_LocalFileHeader()
1037 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (short)HeaderID,2); in Write_LocalFileHeader()
1038 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (short)DataSize,2); in Write_LocalFileHeader()
1040 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)UncompressedSize,8); in Write_LocalFileHeader()
1041 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)CompressedSize,8); in Write_LocalFileHeader()
1131 zi->ci.pos_local_header = ZTELL64(zi->z_filefunc,zi->filestream); in zipOpenNewFileInZip4_64()
1255 if (ZWRITE64(zi->z_filefunc,zi->filestream,bufHead,sizeHead) != sizeHead) in zipOpenNewFileInZip4_64()
1377 …if (ZWRITE64(zi->z_filefunc,zi->filestream,zi->ci.buffered_data,zi->ci.pos_in_buffered_data) != zi… in zip64FlushWriteBuffer()
1706 ZPOS64_T cur_pos_inzip = ZTELL64(zi->z_filefunc,zi->filestream); in zipCloseFileInZipRaw64()
1708 …if (ZSEEK64(zi->z_filefunc,zi->filestream, zi->ci.pos_local_header + 14,ZLIB_FILEFUNC_SEEK_SET)!=0) in zipCloseFileInZipRaw64()
1712 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,crc32,4); /* crc 32, unknown */ in zipCloseFileInZipRaw64()
1719 …if (ZSEEK64(zi->z_filefunc,zi->filestream, zi->ci.pos_zip64extrainfo + 4,ZLIB_FILEFUNC_SEEK_SET)!=… in zipCloseFileInZipRaw64()
1723 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, uncompressed_size, 8); in zipCloseFileInZipRaw64()
1726 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, compressed_size, 8); in zipCloseFileInZipRaw64()
1734 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,compressed_size,4); in zipCloseFileInZipRaw64()
1737 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,uncompressed_size,4); in zipCloseFileInZipRaw64()
1740 if (ZSEEK64(zi->z_filefunc,zi->filestream, cur_pos_inzip,ZLIB_FILEFUNC_SEEK_SET)!=0) in zipCloseFileInZipRaw64()
1760 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)ZIP64ENDLOCHEADERMAGIC,4); in Write_Zip64EndOfCentralDirectoryLocator()
1764 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); in Write_Zip64EndOfCentralDirectoryLocator()
1768 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, pos,8); in Write_Zip64EndOfCentralDirectoryLocator()
1772 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)1,4); in Write_Zip64EndOfCentralDirectoryLocator()
1783 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)ZIP64ENDHEADERMAGIC,4); in Write_Zip64EndOfCentralDirectoryRecord()
1786 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(ZPOS64_T)Zip64DataSize,8); // why ZPOS64… in Write_Zip64EndOfCentralDirectoryRecord()
1789 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)45,2); in Write_Zip64EndOfCentralDirectoryRecord()
1792 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)45,2); in Write_Zip64EndOfCentralDirectoryRecord()
1795 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); in Write_Zip64EndOfCentralDirectoryRecord()
1798 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); in Write_Zip64EndOfCentralDirectoryRecord()
1801 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, zi->number_entry, 8); in Write_Zip64EndOfCentralDirectoryRecord()
1804 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, zi->number_entry, 8); in Write_Zip64EndOfCentralDirectoryRecord()
1807 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(ZPOS64_T)size_centraldir,8); in Write_Zip64EndOfCentralDirectoryRecord()
1812 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, (ZPOS64_T)pos,8); in Write_Zip64EndOfCentralDirectoryRecord()
1821 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)ENDHEADERMAGIC,4); in Write_EndOfCentralDirectoryRecord()
1824 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,2); in Write_EndOfCentralDirectoryRecord()
1827 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,2); in Write_EndOfCentralDirectoryRecord()
1833 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xffff,2); // use value in ZIP64 r… in Write_EndOfCentralDirectoryRecord()
1835 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->number_entry,2); in Write_EndOfCentralDirectoryRecord()
1842 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xffff,2); // use value in ZIP64 r… in Write_EndOfCentralDirectoryRecord()
1844 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->number_entry,2); in Write_EndOfCentralDirectoryRecord()
1848 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_centraldir,4); in Write_EndOfCentralDirectoryRecord()
1855 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, (uLong)0xffffffff,4); in Write_EndOfCentralDirectoryRecord()
1858 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream, (uLong)(centraldir_pos_inzip - zi->add_p… in Write_EndOfCentralDirectoryRecord()
1872 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_global_comment,2); in Write_GlobalComment()
1876 …if (ZWRITE64(zi->z_filefunc,zi->filestream, global_comment, size_global_comment) != size_global_co… in Write_GlobalComment()
1905 centraldir_pos_inzip = ZTELL64(zi->z_filefunc,zi->filestream); in zipClose()
1914 …if (ZWRITE64(zi->z_filefunc,zi->filestream, ldi->data, ldi->filled_in_this_block) != ldi->filled_i… in zipClose()
1927 ZPOS64_T Zip64EOCDpos = ZTELL64(zi->z_filefunc,zi->filestream); in zipClose()
1939 if (ZCLOSE64(zi->z_filefunc,zi->filestream) != 0) in zipClose()