Lines Matching refs:UNZ_OK

198         return UNZ_OK;
230 if (err==UNZ_OK)
234 if (err==UNZ_OK)
258 if (err==UNZ_OK)
262 if (err==UNZ_OK)
266 if (err==UNZ_OK)
270 if (err==UNZ_OK)
430 int err=UNZ_OK;
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)
494 (err==UNZ_OK))
497 if (err!=UNZ_OK)
527 return UNZ_OK if there is no problem. */
541 return UNZ_OK;
548 return UNZ_OK if there is no problem. */
558 return UNZ_OK;
613 int err=UNZ_OK;
627 if (err==UNZ_OK) {
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)
682 if ((err==UNZ_OK) && (szFileName!=NULL))
700 if ((err==UNZ_OK) && (extraField!=NULL))
723 if ((err==UNZ_OK) && (szComment!=NULL))
748 if ((err==UNZ_OK) && (pfile_info!=NULL))
751 if ((err==UNZ_OK) && (pfile_info_internal!=NULL))
762 return UNZ_OK if there is no problem.
786 return UNZ_OK if there is no problem
791 int err=UNZ_OK;
801 s->current_file_ok = (err == UNZ_OK);
807 return UNZ_OK if there is no problem
831 s->current_file_ok = (err == UNZ_OK);
841 UNZ_OK if the file is found. It becomes the current file.
879 while (err == UNZ_OK)
885 if (err == UNZ_OK)
889 return UNZ_OK;
938 return UNZ_OK;
961 s->current_file_ok = (err == UNZ_OK);
988 int err=UNZ_OK;
999 if (err==UNZ_OK) {
1000 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK)
1006 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK)
1009 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.wVersion))
1012 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uFlags) != UNZ_OK)
1015 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK)
1017 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.compression_method))
1020 if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) &&
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 */
1029 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.crc) &&
1033 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size compr */
1035 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.compressed_size) &&
1039 if (unzlocal_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size uncompr */
1041 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.uncompressed_size) &&
1046 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&size_filename) != UNZ_OK)
1048 else if ((err==UNZ_OK) && (size_filename!=s->cur_file_info.size_filename))
1053 if (unzlocal_getShort(&s->z_filefunc, s->filestream,&size_extra_field) != UNZ_OK)
1066 If there is no error and the file is opened, the return value is UNZ_OK.
1075 int err=UNZ_OK;
1094 &offset_local_extrafield,&size_local_extrafield)!=UNZ_OK)
1183 return UNZ_OK;
1223 int err=UNZ_OK;
1476 int err=UNZ_OK;
1521 // int err=UNZ_OK;
1580 s->current_file_ok = (err == UNZ_OK);