Lines Matching refs:z_filefunc
155 zlib_filefunc64_32_def z_filefunc; member
167 zlib_filefunc64_32_def z_filefunc; member
606 us.z_filefunc.zseek32_file = NULL; in unzOpenInternal()
607 us.z_filefunc.ztell32_file = NULL; in unzOpenInternal()
609 fill_fopen64_filefunc(&us.z_filefunc.zfile_func64); in unzOpenInternal()
611 us.z_filefunc = *pzlib_filefunc64_32_def; in unzOpenInternal()
616 us.filestream = ZOPEN64(us.z_filefunc, in unzOpenInternal()
623 central_pos = unz64local_SearchCentralDir64(&us.z_filefunc,us.filestream); in unzOpenInternal()
631 if (ZSEEK64(us.z_filefunc, us.filestream, in unzOpenInternal()
636 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
640 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&uL64)!=UNZ_OK) in unzOpenInternal()
644 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uS)!=UNZ_OK) in unzOpenInternal()
648 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uS)!=UNZ_OK) in unzOpenInternal()
652 if (unz64local_getLong(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK) in unzOpenInternal()
656 if (unz64local_getLong(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK) in unzOpenInternal()
660 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.gi.number_entry)!=UNZ_OK) in unzOpenInternal()
664 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&number_entry_CD)!=UNZ_OK) in unzOpenInternal()
673 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.size_central_dir)!=UNZ_OK) in unzOpenInternal()
678 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.offset_central_dir)!=UNZ_OK) in unzOpenInternal()
685 central_pos = unz64local_SearchCentralDir(&us.z_filefunc,us.filestream); in unzOpenInternal()
691 if (ZSEEK64(us.z_filefunc, us.filestream, in unzOpenInternal()
696 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
700 if (unz64local_getShort(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK) in unzOpenInternal()
704 if (unz64local_getShort(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK) in unzOpenInternal()
708 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
713 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
723 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
729 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
734 if (unz64local_getShort(&us.z_filefunc, us.filestream,&us.gi.size_comment)!=UNZ_OK) in unzOpenInternal()
744 ZCLOSE64(us.z_filefunc, us.filestream); in unzOpenInternal()
818 ZCLOSE64(s->z_filefunc, s->filestream); in unzClose()
901 if (ZSEEK64(s->z_filefunc, s->filestream, in unz64local_GetCurrentFileInfoInternal()
910 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
916 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
919 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
922 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
925 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
928 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
933 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
936 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
940 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
944 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_filename) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
947 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_extra) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
950 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_comment) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
953 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
956 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.internal_fa) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
959 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.external_fa) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
963 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
980 if (ZREAD64(s->z_filefunc, s->filestream,szFileName,uSizeRead)!=uSizeRead) in unz64local_GetCurrentFileInfoInternal()
996 if (ZSEEK64(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) in unz64local_GetCurrentFileInfoInternal()
1003 if (ZREAD64(s->z_filefunc, s->filestream,extraField,(uLong)uSizeRead)!=uSizeRead) in unz64local_GetCurrentFileInfoInternal()
1021 if (ZSEEK64(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) in unz64local_GetCurrentFileInfoInternal()
1032 if (unz64local_getShort(&s->z_filefunc, s->filestream,&headerId) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1035 if (unz64local_getShort(&s->z_filefunc, s->filestream,&dataSize) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1045 … if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.uncompressed_size) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1051 … if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1058 …if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info_internal.offset_curfile) != UNZ_… in unz64local_GetCurrentFileInfoInternal()
1065 … if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1072 if (ZSEEK64(s->z_filefunc, s->filestream,dataSize,ZLIB_FILEFUNC_SEEK_CUR)!=0) in unz64local_GetCurrentFileInfoInternal()
1093 if (ZSEEK64(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) in unz64local_GetCurrentFileInfoInternal()
1100 if (ZREAD64(s->z_filefunc, s->filestream,szComment,uSizeRead)!=uSizeRead) in unz64local_GetCurrentFileInfoInternal()
1398 if (ZSEEK64(s->z_filefunc, s->filestream,s->cur_file_info_internal.offset_curfile + in unz64local_CheckCurrentFileCoherencyHeader()
1405 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1411 if (unz64local_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1417 if (unz64local_getShort(&s->z_filefunc, s->filestream,&uFlags) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1420 if (unz64local_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1432 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* date/time */ in unz64local_CheckCurrentFileCoherencyHeader()
1435 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* crc */ in unz64local_CheckCurrentFileCoherencyHeader()
1440 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size compr */ in unz64local_CheckCurrentFileCoherencyHeader()
1445 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size uncompr */ in unz64local_CheckCurrentFileCoherencyHeader()
1450 if (unz64local_getShort(&s->z_filefunc, s->filestream,&size_filename) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1457 if (unz64local_getShort(&s->z_filefunc, s->filestream,&size_extra_field) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1545 pfile_in_zip_read_info->z_filefunc=s->z_filefunc; in unzOpenCurrentFile3()
1621 if (ZSEEK64(s->z_filefunc, s->filestream, in unzOpenCurrentFile3()
1626 if(ZREAD64(s->z_filefunc, s->filestream,source, 12)<12) in unzOpenCurrentFile3()
1730 if (ZSEEK64(pfile_in_zip_read_info->z_filefunc, in unzReadCurrentFile()
1736 if (ZREAD64(pfile_in_zip_read_info->z_filefunc, in unzReadCurrentFile()
1985 if (ZSEEK64(pfile_in_zip_read_info->z_filefunc, in unzGetLocalExtrafield()
1992 if (ZREAD64(pfile_in_zip_read_info->z_filefunc, in unzGetLocalExtrafield()
2063 if (ZSEEK64(s->z_filefunc,s->filestream,s->central_pos+22,ZLIB_FILEFUNC_SEEK_SET)!=0) in unzGetGlobalComment()
2069 if (ZREAD64(s->z_filefunc,s->filestream,szComment,uReadThis)!=uReadThis) in unzGetGlobalComment()