Lines Matching refs:UNZ_OK

219         return UNZ_OK;
250 if (err==UNZ_OK)
254 if (err==UNZ_OK)
277 if (err==UNZ_OK)
281 if (err==UNZ_OK)
285 if (err==UNZ_OK)
289 if (err==UNZ_OK)
313 if (err==UNZ_OK)
317 if (err==UNZ_OK)
321 if (err==UNZ_OK)
325 if (err==UNZ_OK)
329 if (err==UNZ_OK)
333 if (err==UNZ_OK)
337 if (err==UNZ_OK)
341 if (err==UNZ_OK)
542 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK)
546 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK)
552 if (unz64local_getLong64(pzlib_filefunc_def,filestream,&relativeOffset)!=UNZ_OK)
556 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK)
566 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK)
601 int err=UNZ_OK;
636 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK)
640 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&uL64)!=UNZ_OK)
644 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uS)!=UNZ_OK)
648 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uS)!=UNZ_OK)
652 if (unz64local_getLong(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK)
656 if (unz64local_getLong(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK)
660 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.gi.number_entry)!=UNZ_OK)
664 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&number_entry_CD)!=UNZ_OK)
673 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.size_central_dir)!=UNZ_OK)
678 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.offset_central_dir)!=UNZ_OK)
696 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK)
700 if (unz64local_getShort(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK)
704 if (unz64local_getShort(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK)
708 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK)
713 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK)
723 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK)
729 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK)
734 if (unz64local_getShort(&us.z_filefunc, us.filestream,&us.gi.size_comment)!=UNZ_OK)
739 (err==UNZ_OK))
742 if (err!=UNZ_OK)
807 return UNZ_OK if there is no problem. */
820 return UNZ_OK;
827 return UNZ_OK if there is no problem. */
835 return UNZ_OK;
847 return UNZ_OK;
893 int err=UNZ_OK;
908 if (err==UNZ_OK)
910 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK)
916 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK)
919 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK)
922 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK)
925 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK)
928 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK)
933 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK)
936 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK)
940 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK)
944 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_filename) != UNZ_OK)
947 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_extra) != UNZ_OK)
950 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_comment) != UNZ_OK)
953 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK)
956 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.internal_fa) != UNZ_OK)
959 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.external_fa) != UNZ_OK)
963 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK)
968 if ((err==UNZ_OK) && (szFileName!=NULL))
986 if ((err==UNZ_OK) && (extraField!=NULL))
1012 if ((err==UNZ_OK) && (file_info.size_file_extra != 0))
1032 if (unz64local_getShort(&s->z_filefunc, s->filestream,&headerId) != UNZ_OK)
1035 if (unz64local_getShort(&s->z_filefunc, s->filestream,&dataSize) != UNZ_OK)
1045 if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.uncompressed_size) != UNZ_OK)
1051 if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK)
1058 if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info_internal.offset_curfile) != UNZ_OK)
1065 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK)
1080 if ((err==UNZ_OK) && (szComment!=NULL))
1108 if ((err==UNZ_OK) && (pfile_info!=NULL))
1111 if ((err==UNZ_OK) && (pfile_info_internal!=NULL))
1122 return UNZ_OK if there is no problem.
1148 if ((err==UNZ_OK) && (pfile_info != NULL))
1176 return UNZ_OK if there is no problem
1180 int err=UNZ_OK;
1190 s->current_file_ok = (err == UNZ_OK);
1196 return UNZ_OK if there is no problem
1219 s->current_file_ok = (err == UNZ_OK);
1229 UNZ_OK if the file is found. It becomes the current file.
1264 while (err == UNZ_OK)
1270 if (err == UNZ_OK)
1274 return UNZ_OK;
1321 return UNZ_OK;
1330 if (err==UNZ_OK)
1356 s->current_file_ok = (err == UNZ_OK);
1392 int err=UNZ_OK;
1403 if (err==UNZ_OK)
1405 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK)
1411 if (unz64local_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK)
1414 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.wVersion))
1417 if (unz64local_getShort(&s->z_filefunc, s->filestream,&uFlags) != UNZ_OK)
1420 if (unz64local_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK)
1422 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.compression_method))
1425 if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) &&
1432 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* date/time */
1435 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* crc */
1437 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.crc) && ((uFlags & 8)==0))
1440 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size compr */
1442 else if (uData != 0xFFFFFFFF && (err==UNZ_OK) && (uData!=s->cur_file_info.compressed_size) && ((uFlags & 8)==0))
1445 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size uncompr */
1447 else if (uData != 0xFFFFFFFF && (err==UNZ_OK) && (uData!=s->cur_file_info.uncompressed_size) && ((uFlags & 8)==0))
1450 if (unz64local_getShort(&s->z_filefunc, s->filestream,&size_filename) != UNZ_OK)
1452 else if ((err==UNZ_OK) && (size_filename!=s->cur_file_info.size_filename))
1457 if (unz64local_getShort(&s->z_filefunc, s->filestream,&size_extra_field) != UNZ_OK)
1470 If there is no error and the file is opened, the return value is UNZ_OK.
1475 int err=UNZ_OK;
1497 if (unz64local_CheckCurrentFileCoherencyHeader(s,&iSizeVar, &offset_local_extrafield,&size_local_extrafield)!=UNZ_OK)
1638 return UNZ_OK;
1686 int err=UNZ_OK;
2006 int err=UNZ_OK;
2118 s->current_file_ok = (err == UNZ_OK);