Lines Matching refs:filestream
119 voidpf filestream; /* io structore of the zipfile */
131 voidpf filestream; /* io structore of the zipfile */
168 voidpf filestream,
171 local int unzlocal_getByte(pzlib_filefunc_def,filestream,pi)
173 voidpf filestream;
177 int err = (int)ZREAD(*pzlib_filefunc_def,filestream,&c,1);
185 if (ZERROR(*pzlib_filefunc_def,filestream))
198 voidpf filestream,
201 local int unzlocal_getShort (pzlib_filefunc_def,filestream,pX)
203 voidpf filestream;
210 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
214 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
226 voidpf filestream,
229 local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX)
231 voidpf filestream;
238 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
242 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
246 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
250 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
329 voidpf filestream));
331 local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def,filestream)
333 voidpf filestream;
341 if (ZSEEK(*pzlib_filefunc_def,filestream,0,ZLIB_FILEFUNC_SEEK_END) != 0)
345 uSizeFile = ZTELL(*pzlib_filefunc_def,filestream);
367 if (ZSEEK(*pzlib_filefunc_def,filestream,uReadPos,ZLIB_FILEFUNC_SEEK_SET)!=0)
370 if (ZREAD(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize)
423 us.filestream= (*(us.z_filefunc.zopen_file))(us.z_filefunc.opaque,
427 if (us.filestream==NULL)
430 central_pos = unzlocal_SearchCentralDir(&us.z_filefunc,us.filestream);
434 if (ZSEEK(us.z_filefunc, us.filestream,
439 if (unzlocal_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK)
443 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK)
447 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK)
451 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&us.gi.number_entry)!=UNZ_OK)
455 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_entry_CD)!=UNZ_OK)
464 if (unzlocal_getLong(&us.z_filefunc, us.filestream,&us.size_central_dir)!=UNZ_OK)
469 if (unzlocal_getLong(&us.z_filefunc, us.filestream,&us.offset_central_dir)!=UNZ_OK)
473 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&us.gi.size_comment)!=UNZ_OK)
482 ZCLOSE(us.z_filefunc, us.filestream);
522 ZCLOSE(s->z_filefunc, s->filestream);
603 if (ZSEEK(s->z_filefunc, s->filestream,
611 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK)
616 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK)
619 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK)
622 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK)
625 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK)
628 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK)
633 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK)
636 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK)
639 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.uncompressed_size) != UNZ_OK)
642 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.size_filename) != UNZ_OK)
645 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_extra) != UNZ_OK)
648 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_comment) != UNZ_OK)
651 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK)
654 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.internal_fa) != UNZ_OK)
657 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.external_fa) != UNZ_OK)
660 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info_internal.offset_curfile) != UNZ_OK)
676 if (ZREAD(s->z_filefunc, s->filestream,szFileName,uSizeRead)!=uSizeRead)
691 if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0)
696 if (ZREAD(s->z_filefunc, s->filestream,extraField,uSizeRead)!=uSizeRead)
716 if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0)
721 if (ZREAD(s->z_filefunc, s->filestream,szComment,uSizeRead)!=uSizeRead)
974 if (ZSEEK(s->z_filefunc, s->filestream,s->cur_file_info_internal.offset_curfile +
980 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK)
985 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK)
991 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uFlags) != UNZ_OK)
994 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK)
1003 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* date/time */
1006 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* crc */
1012 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size compr */
1018 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size uncompr */
1025 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&size_filename) != UNZ_OK)
1032 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&size_extra_field) != UNZ_OK)
1121 pfile_in_zip_read_info->filestream=s->filestream;
1172 if (ZSEEK(s->z_filefunc, s->filestream,
1177 if(ZREAD(s->z_filefunc, s->filestream,source, 12)<12)
1274 pfile_in_zip_read_info->filestream,
1280 pfile_in_zip_read_info->filestream,
1471 pfile_in_zip_read_info->filestream,
1478 pfile_in_zip_read_info->filestream,
1548 if (ZSEEK(s->z_filefunc,s->filestream,s->central_pos+22,ZLIB_FILEFUNC_SEEK_SET)!=0)
1554 if (ZREAD(s->z_filefunc,s->filestream,szComment,uReadThis)!=uReadThis)