Lines Matching refs:filestream
156 voidpf filestream; /* io structore of the zipfile */ member
169 voidpf filestream; /* io structore of the zipfile */ member
209 voidpf filestream,
212 local int unz64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, i… in unz64local_getByte() argument
215 int err = (int)ZREAD64(*pzlib_filefunc_def,filestream,&c,1); in unz64local_getByte()
223 if (ZERROR64(*pzlib_filefunc_def,filestream)) in unz64local_getByte()
236 voidpf filestream,
240 voidpf filestream, in unz64local_getShort() argument
247 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getShort()
251 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getShort()
263 voidpf filestream,
267 voidpf filestream, in unz64local_getLong() argument
274 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong()
278 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong()
282 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong()
286 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong()
298 voidpf filestream,
303 voidpf filestream, in unz64local_getLong64() argument
310 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong64()
314 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong64()
318 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong64()
322 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong64()
326 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong64()
330 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong64()
334 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong64()
338 err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); in unz64local_getLong64()
412 …64local_SearchCentralDir OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream));
413 …_T unz64local_SearchCentralDir(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream) in unz64local_SearchCentralDir() argument
421 if (ZSEEK64(*pzlib_filefunc_def,filestream,0,ZLIB_FILEFUNC_SEEK_END) != 0) in unz64local_SearchCentralDir()
425 uSizeFile = ZTELL64(*pzlib_filefunc_def,filestream); in unz64local_SearchCentralDir()
448 if (ZSEEK64(*pzlib_filefunc_def,filestream,uReadPos,ZLIB_FILEFUNC_SEEK_SET)!=0) in unz64local_SearchCentralDir()
451 if (ZREAD64(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize) in unz64local_SearchCentralDir()
476 voidpf filestream));
479 voidpf filestream) in unz64local_SearchCentralDir64() argument
489 if (ZSEEK64(*pzlib_filefunc_def,filestream,0,ZLIB_FILEFUNC_SEEK_END) != 0) in unz64local_SearchCentralDir64()
493 uSizeFile = ZTELL64(*pzlib_filefunc_def,filestream); in unz64local_SearchCentralDir64()
516 if (ZSEEK64(*pzlib_filefunc_def,filestream,uReadPos,ZLIB_FILEFUNC_SEEK_SET)!=0) in unz64local_SearchCentralDir64()
519 if (ZREAD64(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize) in unz64local_SearchCentralDir64()
538 if (ZSEEK64(*pzlib_filefunc_def,filestream, uPosFound,ZLIB_FILEFUNC_SEEK_SET)!=0) in unz64local_SearchCentralDir64()
542 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) in unz64local_SearchCentralDir64()
546 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) in unz64local_SearchCentralDir64()
552 if (unz64local_getLong64(pzlib_filefunc_def,filestream,&relativeOffset)!=UNZ_OK) in unz64local_SearchCentralDir64()
556 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) in unz64local_SearchCentralDir64()
562 if (ZSEEK64(*pzlib_filefunc_def,filestream, relativeOffset,ZLIB_FILEFUNC_SEEK_SET)!=0) in unz64local_SearchCentralDir64()
566 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) in unz64local_SearchCentralDir64()
616 us.filestream = ZOPEN64(us.z_filefunc, in unzOpenInternal()
620 if (us.filestream==NULL) 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()
1544 pfile_in_zip_read_info->filestream=s->filestream; 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()
1731 pfile_in_zip_read_info->filestream, in unzReadCurrentFile()
1737 pfile_in_zip_read_info->filestream, in unzReadCurrentFile()
1986 pfile_in_zip_read_info->filestream, in unzGetLocalExtrafield()
1993 pfile_in_zip_read_info->filestream, 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()