Lines Matching refs:filestream
143 voidpf filestream; /* io structore of the zipfile */ field
155 voidpf filestream; /* io structore of the zipfile */ field
185 voidpf filestream,
188 local int unzlocal_getByte(pzlib_filefunc_def,filestream,pi)
190 voidpf filestream;
194 int err = (int)ZREAD(*pzlib_filefunc_def,filestream,&c,1);
202 if (ZERROR(*pzlib_filefunc_def,filestream))
215 voidpf filestream,
218 local int unzlocal_getShort (pzlib_filefunc_def,filestream,pX)
220 voidpf filestream;
227 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
231 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
243 voidpf filestream,
246 local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX)
248 voidpf filestream;
255 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
259 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
263 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
267 err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
346 voidpf filestream));
348 local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def,filestream)
350 voidpf filestream;
358 if (ZSEEK(*pzlib_filefunc_def,filestream,0,ZLIB_FILEFUNC_SEEK_END) != 0)
362 uSizeFile = ZTELL(*pzlib_filefunc_def,filestream);
384 if (ZSEEK(*pzlib_filefunc_def,filestream,uReadPos,ZLIB_FILEFUNC_SEEK_SET)!=0)
387 if (ZREAD(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize)
440 us.filestream= (*(us.z_filefunc.zopen_file))(us.z_filefunc.opaque,
444 if (us.filestream==NULL)
447 central_pos = unzlocal_SearchCentralDir(&us.z_filefunc,us.filestream);
451 if (ZSEEK(us.z_filefunc, us.filestream,
456 if (unzlocal_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK)
460 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK)
464 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK)
468 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&us.gi.number_entry)!=UNZ_OK)
472 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_entry_CD)!=UNZ_OK)
481 if (unzlocal_getLong(&us.z_filefunc, us.filestream,&us.size_central_dir)!=UNZ_OK)
486 if (unzlocal_getLong(&us.z_filefunc, us.filestream,&us.offset_central_dir)!=UNZ_OK)
490 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&us.gi.size_comment)!=UNZ_OK)
499 ZCLOSE(us.z_filefunc, us.filestream);
539 ZCLOSE(s->z_filefunc, s->filestream);
620 if (ZSEEK(s->z_filefunc, s->filestream,
628 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK)
634 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK)
637 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK)
640 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK)
643 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK)
646 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK)
651 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK)
654 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK)
657 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.uncompressed_size) != UNZ_OK)
660 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.size_filename) != UNZ_OK)
663 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_extra) != UNZ_OK)
666 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_comment) != UNZ_OK)
669 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK)
672 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&file_info.internal_fa) != UNZ_OK)
675 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.external_fa) != UNZ_OK)
678 … if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info_internal.offset_curfile) != UNZ_OK)
694 if (ZREAD(s->z_filefunc, s->filestream,szFileName,uSizeRead)!=uSizeRead)
709 if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0)
715 if (ZREAD(s->z_filefunc, s->filestream,extraField,uSizeRead)!=uSizeRead)
735 if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0)
741 if (ZREAD(s->z_filefunc, s->filestream,szComment,uSizeRead)!=uSizeRead)
994 if (ZSEEK(s->z_filefunc, s->filestream,s->cur_file_info_internal.offset_curfile +
1000 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK)
1006 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK)
1012 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uFlags) != UNZ_OK)
1015 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK)
1024 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* date/time */
1027 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* crc */
1033 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size compr */
1039 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size uncompr */
1046 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&size_filename) != UNZ_OK)
1053 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&size_extra_field) != UNZ_OK)
1138 pfile_in_zip_read_info->filestream=s->filestream;
1268 pfile_in_zip_read_info->filestream,
1274 pfile_in_zip_read_info->filestream,
1455 pfile_in_zip_read_info->filestream,
1462 pfile_in_zip_read_info->filestream,
1532 if (ZSEEK(s->z_filefunc,s->filestream,s->central_pos+22,ZLIB_FILEFUNC_SEEK_SET)!=0)
1538 if (ZREAD(s->z_filefunc,s->filestream,szComment,uReadThis)!=uReadThis)