Lines Matching refs:filestream
114 voidpf filestream; /* io structore of the zipfile */ member
125 voidpf filestream; /* io structore of the zipfile */ member
160 voidpf filestream,
163 local int unzlocal_getByte(pzlib_filefunc_def, filestream, pi) in unzlocal_getByte() argument
165 voidpf filestream;
169 int err = (int)ZREAD(*pzlib_filefunc_def, filestream, &c, 1);
174 if (ZERROR(*pzlib_filefunc_def, filestream))
186 voidpf filestream,
189 local int unzlocal_getShort(pzlib_filefunc_def, filestream, pX) in unzlocal_getShort() argument
191 voidpf filestream;
198 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
202 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
214 voidpf filestream,
217 local int unzlocal_getLong(pzlib_filefunc_def, filestream, pX) in unzlocal_getLong() argument
219 voidpf filestream;
226 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
230 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
234 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
238 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
314 voidpf filestream));
316 local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def, filestream) in unzlocal_SearchCentralDir() argument
318 voidpf filestream;
326 if (ZSEEK(*pzlib_filefunc_def, filestream, 0, ZLIB_FILEFUNC_SEEK_END) != 0)
329 uSizeFile = ZTELL(*pzlib_filefunc_def, filestream);
349 if (ZSEEK(*pzlib_filefunc_def, filestream, uReadPos, ZLIB_FILEFUNC_SEEK_SET) != 0)
352 if (ZREAD(*pzlib_filefunc_def, filestream, buf, uReadSize) != uReadSize)
404 us.filestream = (*(us.z_filefunc.zopen_file))(us.z_filefunc.opaque,
408 if (us.filestream == NULL)
411 central_pos = unzlocal_SearchCentralDir(&us.z_filefunc, us.filestream);
415 if (ZSEEK(us.z_filefunc, us.filestream,
420 if (unzlocal_getLong(&us.z_filefunc, us.filestream, &uL) != UNZ_OK)
424 if (unzlocal_getShort(&us.z_filefunc, us.filestream, &number_disk) != UNZ_OK)
428 if (unzlocal_getShort(&us.z_filefunc, us.filestream, &number_disk_with_CD) != UNZ_OK)
432 if (unzlocal_getShort(&us.z_filefunc, us.filestream, &us.gi.number_entry) != UNZ_OK)
436 if (unzlocal_getShort(&us.z_filefunc, us.filestream, &number_entry_CD) != UNZ_OK)
445 if (unzlocal_getLong(&us.z_filefunc, us.filestream, &us.size_central_dir) != UNZ_OK)
450 if (unzlocal_getLong(&us.z_filefunc, us.filestream, &us.offset_central_dir) != UNZ_OK)
454 if (unzlocal_getShort(&us.z_filefunc, us.filestream, &us.gi.size_comment) != UNZ_OK)
462 ZCLOSE(us.z_filefunc, us.filestream);
501 ZCLOSE(s->z_filefunc, s->filestream);
579 if (ZSEEK(s->z_filefunc, s->filestream,
586 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &uMagic) != UNZ_OK) {
593 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &file_info.version) != UNZ_OK) {
597 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &file_info.version_needed) != UNZ_OK) {
601 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &file_info.flag) != UNZ_OK) {
605 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &file_info.compression_method) != UNZ_OK) {
609 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &file_info.dosDate) != UNZ_OK) {
615 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &file_info.crc) != UNZ_OK) {
619 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &file_info.compressed_size) != UNZ_OK) {
623 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &file_info.uncompressed_size) != UNZ_OK) {
627 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &file_info.size_filename) != UNZ_OK) {
631 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &file_info.size_file_extra) != UNZ_OK) {
635 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &file_info.size_file_comment) != UNZ_OK) {
639 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &file_info.disk_num_start) != UNZ_OK) {
643 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &file_info.internal_fa) != UNZ_OK) {
647 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &file_info.external_fa) != UNZ_OK) {
651 …if (unzlocal_getLong(&s->z_filefunc, s->filestream, &file_info_internal.offset_curfile) != UNZ_OK)…
665 if (ZREAD(s->z_filefunc, s->filestream, szFileName, uSizeRead) != uSizeRead)
678 if (ZSEEK(s->z_filefunc, s->filestream, lSeek, ZLIB_FILEFUNC_SEEK_CUR) == 0) {
686 if (ZREAD(s->z_filefunc, s->filestream, extraField, uSizeRead) != uSizeRead) {
707 if (ZSEEK(s->z_filefunc, s->filestream, lSeek, ZLIB_FILEFUNC_SEEK_CUR) == 0) {
715 if (ZREAD(s->z_filefunc, s->filestream, szComment, uSizeRead) != uSizeRead) {
965 …if (ZSEEK(s->z_filefunc, s->filestream, s->cur_file_info_internal.offset_curfile + s->byte_before_…
969 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &uMagic) != UNZ_OK) {
976 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &uData) != UNZ_OK) {
984 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &uFlags) != UNZ_OK) {
988 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &uData) != UNZ_OK) {
999 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &uData) != UNZ_OK) { /* date/time */
1003 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &uData) != UNZ_OK) { /* crc */
1010 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &uData) != UNZ_OK) { /* size compr */
1017 if (unzlocal_getLong(&s->z_filefunc, s->filestream, &uData) != UNZ_OK) { /* size uncompr */
1024 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &size_filename) != UNZ_OK) {
1031 if (unzlocal_getShort(&s->z_filefunc, s->filestream, &size_extra_field) != UNZ_OK)
1123 pfile_in_zip_read_info->filestream = s->filestream;
1170 if (ZSEEK(s->z_filefunc, s->filestream,
1175 if (ZREAD(s->z_filefunc, s->filestream, source, 12) < 12)
1272 pfile_in_zip_read_info->filestream,
1278 pfile_in_zip_read_info->filestream,
1459 pfile_in_zip_read_info->filestream,
1466 pfile_in_zip_read_info->filestream,
1531 if (ZSEEK(s->z_filefunc, s->filestream, s->central_pos + 22, ZLIB_FILEFUNC_SEEK_SET) != 0)
1536 if (ZREAD(s->z_filefunc, s->filestream, szComment, uReadThis) != uReadThis)