Lines Matching refs:UNZ_OK
219 return UNZ_OK; in unz64local_getByte()
250 if (err==UNZ_OK) in unz64local_getShort()
254 if (err==UNZ_OK) in unz64local_getShort()
277 if (err==UNZ_OK) in unz64local_getLong()
281 if (err==UNZ_OK) in unz64local_getLong()
285 if (err==UNZ_OK) in unz64local_getLong()
289 if (err==UNZ_OK) in unz64local_getLong()
313 if (err==UNZ_OK) in unz64local_getLong64()
317 if (err==UNZ_OK) in unz64local_getLong64()
321 if (err==UNZ_OK) in unz64local_getLong64()
325 if (err==UNZ_OK) in unz64local_getLong64()
329 if (err==UNZ_OK) in unz64local_getLong64()
333 if (err==UNZ_OK) in unz64local_getLong64()
337 if (err==UNZ_OK) in unz64local_getLong64()
341 if (err==UNZ_OK) in unz64local_getLong64()
542 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) in unz64local_SearchCentralDir64()
546 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) in unz64local_SearchCentralDir64()
552 if (unz64local_getLong64(pzlib_filefunc_def,filestream,&relativeOffset)!=UNZ_OK) in unz64local_SearchCentralDir64()
556 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) in unz64local_SearchCentralDir64()
566 if (unz64local_getLong(pzlib_filefunc_def,filestream,&uL)!=UNZ_OK) in unz64local_SearchCentralDir64()
601 int err=UNZ_OK; in unzOpenInternal()
636 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
640 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&uL64)!=UNZ_OK) in unzOpenInternal()
644 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uS)!=UNZ_OK) in unzOpenInternal()
648 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uS)!=UNZ_OK) in unzOpenInternal()
652 if (unz64local_getLong(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK) in unzOpenInternal()
656 if (unz64local_getLong(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK) in unzOpenInternal()
660 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.gi.number_entry)!=UNZ_OK) in unzOpenInternal()
664 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&number_entry_CD)!=UNZ_OK) in unzOpenInternal()
673 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.size_central_dir)!=UNZ_OK) in unzOpenInternal()
678 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.offset_central_dir)!=UNZ_OK) in unzOpenInternal()
696 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
700 if (unz64local_getShort(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK) in unzOpenInternal()
704 if (unz64local_getShort(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK) in unzOpenInternal()
708 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
713 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
723 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
729 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
734 if (unz64local_getShort(&us.z_filefunc, us.filestream,&us.gi.size_comment)!=UNZ_OK) in unzOpenInternal()
739 (err==UNZ_OK)) in unzOpenInternal()
742 if (err!=UNZ_OK) in unzOpenInternal()
820 return UNZ_OK; in unzClose()
835 return UNZ_OK; in unzGetGlobalInfo64()
847 return UNZ_OK; in unzGetGlobalInfo()
893 int err=UNZ_OK; in unz64local_GetCurrentFileInfoInternal()
908 if (err==UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
910 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
916 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
919 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
922 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
925 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
928 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
933 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
936 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
940 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
944 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_filename) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
947 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_extra) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
950 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_comment) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
953 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
956 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.internal_fa) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
959 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.external_fa) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
963 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
968 if ((err==UNZ_OK) && (szFileName!=NULL)) in unz64local_GetCurrentFileInfoInternal()
986 if ((err==UNZ_OK) && (extraField!=NULL)) in unz64local_GetCurrentFileInfoInternal()
1012 if ((err==UNZ_OK) && (file_info.size_file_extra != 0)) in unz64local_GetCurrentFileInfoInternal()
1032 if (unz64local_getShort(&s->z_filefunc, s->filestream,&headerId) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1035 if (unz64local_getShort(&s->z_filefunc, s->filestream,&dataSize) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1045 … if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.uncompressed_size) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1051 … if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1058 … (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info_internal.offset_curfile) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1065 … if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1080 if ((err==UNZ_OK) && (szComment!=NULL)) in unz64local_GetCurrentFileInfoInternal()
1108 if ((err==UNZ_OK) && (pfile_info!=NULL)) in unz64local_GetCurrentFileInfoInternal()
1111 if ((err==UNZ_OK) && (pfile_info_internal!=NULL)) in unz64local_GetCurrentFileInfoInternal()
1148 if ((err==UNZ_OK) && (pfile_info != NULL)) in unzGetCurrentFileInfo()
1180 int err=UNZ_OK; in unzGoToFirstFile()
1190 s->current_file_ok = (err == UNZ_OK); in unzGoToFirstFile()
1219 s->current_file_ok = (err == UNZ_OK); in unzGoToNextFile()
1264 while (err == UNZ_OK) in unzLocateFile()
1270 if (err == UNZ_OK) in unzLocateFile()
1274 return UNZ_OK; in unzLocateFile()
1321 return UNZ_OK; in unzGetFilePos64()
1330 if (err==UNZ_OK) in unzGetFilePos()
1356 s->current_file_ok = (err == UNZ_OK); in unzGoToFilePos64()
1392 int err=UNZ_OK; in unz64local_CheckCurrentFileCoherencyHeader()
1403 if (err==UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1405 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1411 if (unz64local_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1417 if (unz64local_getShort(&s->z_filefunc, s->filestream,&uFlags) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1420 if (unz64local_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1422 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.compression_method)) in unz64local_CheckCurrentFileCoherencyHeader()
1425 if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && in unz64local_CheckCurrentFileCoherencyHeader()
1432 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* date/time */ in unz64local_CheckCurrentFileCoherencyHeader()
1435 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* crc */ in unz64local_CheckCurrentFileCoherencyHeader()
1437 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.crc) && ((uFlags & 8)==0)) in unz64local_CheckCurrentFileCoherencyHeader()
1440 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size compr */ in unz64local_CheckCurrentFileCoherencyHeader()
1442 …else if (uData != 0xFFFFFFFF && (err==UNZ_OK) && (uData!=s->cur_file_info.compressed_size) && ((uF… in unz64local_CheckCurrentFileCoherencyHeader()
1445 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size uncompr */ in unz64local_CheckCurrentFileCoherencyHeader()
1447 …else if (uData != 0xFFFFFFFF && (err==UNZ_OK) && (uData!=s->cur_file_info.uncompressed_size) && ((… in unz64local_CheckCurrentFileCoherencyHeader()
1450 if (unz64local_getShort(&s->z_filefunc, s->filestream,&size_filename) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1452 else if ((err==UNZ_OK) && (size_filename!=s->cur_file_info.size_filename)) in unz64local_CheckCurrentFileCoherencyHeader()
1457 if (unz64local_getShort(&s->z_filefunc, s->filestream,&size_extra_field) != UNZ_OK) in unz64local_CheckCurrentFileCoherencyHeader()
1475 int err=UNZ_OK; in unzOpenCurrentFile3()
1497 …ckCurrentFileCoherencyHeader(s,&iSizeVar, &offset_local_extrafield,&size_local_extrafield)!=UNZ_OK) in unzOpenCurrentFile3()
1638 return UNZ_OK; in unzOpenCurrentFile3()
1686 int err=UNZ_OK; in unzReadCurrentFile()
2006 int err=UNZ_OK; in unzCloseCurrentFile()
2118 s->current_file_ok = (err == UNZ_OK); in unzSetOffset64()