Lines Matching refs:err

169     int err = (int)ZREAD(*pzlib_filefunc_def, filestream, &c, 1);  local
170 if (err == 1) {
196 int err; local
198 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
201 if (err == UNZ_OK)
202 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
205 if (err == UNZ_OK)
209 return err;
224 int err; local
226 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
229 if (err == UNZ_OK)
230 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
233 if (err == UNZ_OK)
234 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
237 if (err == UNZ_OK)
238 err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
241 if (err == UNZ_OK)
245 return err;
394 int err = UNZ_OK; variable
413 err = UNZ_ERRNO;
417 err = UNZ_ERRNO;
421 err = UNZ_ERRNO;
425 err = UNZ_ERRNO;
429 err = UNZ_ERRNO;
433 err = UNZ_ERRNO;
437 err = UNZ_ERRNO;
442 err = UNZ_BADZIPFILE;
446 err = UNZ_ERRNO;
451 err = UNZ_ERRNO;
455 err = UNZ_ERRNO;
458 (err == UNZ_OK))
459 err = UNZ_BADZIPFILE;
461 if (err != UNZ_OK) {
572 int err = UNZ_OK; local
582 err = UNZ_ERRNO;
585 if (err == UNZ_OK) {
587 err = UNZ_ERRNO;
589 err = UNZ_BADZIPFILE;
594 err = UNZ_ERRNO;
598 err = UNZ_ERRNO;
602 err = UNZ_ERRNO;
606 err = UNZ_ERRNO;
610 err = UNZ_ERRNO;
616 err = UNZ_ERRNO;
620 err = UNZ_ERRNO;
624 err = UNZ_ERRNO;
628 err = UNZ_ERRNO;
632 err = UNZ_ERRNO;
636 err = UNZ_ERRNO;
640 err = UNZ_ERRNO;
644 err = UNZ_ERRNO;
648 err = UNZ_ERRNO;
652 err = UNZ_ERRNO;
656 if ((err == UNZ_OK) && (szFileName != NULL)) {
666 err = UNZ_ERRNO;
670 if ((err == UNZ_OK) && (extraField != NULL)) {
681 err = UNZ_ERRNO;
687 err = UNZ_ERRNO;
696 if ((err == UNZ_OK) && (szComment != NULL)) {
710 err = UNZ_ERRNO;
716 err = UNZ_ERRNO;
724 if ((err == UNZ_OK) && (pfile_info != NULL)) {
728 if ((err == UNZ_OK) && (pfile_info_internal != NULL)) {
732 return err;
767 int err = UNZ_OK; variable
774 err = unzlocal_GetCurrentFileInfoInternal(file, &s->cur_file_info,
777 s->current_file_ok = (err == UNZ_OK);
778 return err;
790 int err; variable
804 err = unzlocal_GetCurrentFileInfoInternal(file, &s->cur_file_info,
807 s->current_file_ok = (err == UNZ_OK);
808 return err;
825 int err; variable
851 err = unzGoToFirstFile(file);
853 while (err == UNZ_OK) {
855 err = unzGetCurrentFileInfo(file, NULL,
858 if (err == UNZ_OK) {
862 err = unzGoToNextFile(file);
873 return err;
917 int err; variable
928 err = unzlocal_GetCurrentFileInfoInternal(file, &s->cur_file_info,
932 s->current_file_ok = (err == UNZ_OK);
933 return err;
959 int err = UNZ_OK; local
968 if (err == UNZ_OK) {
970 err = UNZ_ERRNO;
972 err = UNZ_BADZIPFILE;
977 err = UNZ_ERRNO;
985 err = UNZ_ERRNO;
989 err = UNZ_ERRNO;
990 } else if ((err == UNZ_OK) && (uData != s->cur_file_info.compression_method)) {
991 err = UNZ_BADZIPFILE;
994 if ((err == UNZ_OK) && (s->cur_file_info.compression_method != 0) &&
996 err = UNZ_BADZIPFILE;
1000 err = UNZ_ERRNO;
1004 err = UNZ_ERRNO;
1005 } else if ((err == UNZ_OK) && (uData != s->cur_file_info.crc) &&
1007 err = UNZ_BADZIPFILE;
1011 err = UNZ_ERRNO;
1012 } else if ((err == UNZ_OK) && (uData != s->cur_file_info.compressed_size) &&
1014 err = UNZ_BADZIPFILE;
1018 err = UNZ_ERRNO;
1019 } else if ((err == UNZ_OK) && (uData != s->cur_file_info.uncompressed_size) &&
1021 err = UNZ_BADZIPFILE;
1025 err = UNZ_ERRNO;
1026 } else if ((err == UNZ_OK) && (size_filename != s->cur_file_info.size_filename))
1027 err = UNZ_BADZIPFILE;
1032 err = UNZ_ERRNO;
1039 return err;
1053 int err = UNZ_OK; variable
1117 err = UNZ_BADZIPFILE;
1137 err = inflateInit2(&pfile_in_zip_read_info->stream, -MAX_WBITS);
1138 if (err == Z_OK)
1142 return err;
1226 int err = UNZ_OK; variable
1344 err = inflate(&pfile_in_zip_read_info->stream, flush);
1346 if ((err >= 0) && (pfile_in_zip_read_info->stream.msg != NULL))
1347 err = Z_DATA_ERROR;
1361 if (err == Z_STREAM_END)
1363 if (err != Z_OK)
1368 if (err == Z_OK)
1370 return err;
1480 int err = UNZ_OK; variable
1495 err = UNZ_CRCERROR;
1508 return err;
1567 int err; variable
1575 err = unzlocal_GetCurrentFileInfoInternal(file, &s->cur_file_info,
1578 s->current_file_ok = (err == UNZ_OK);
1579 return err;