Searched refs:Z_BUF_ERROR (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/boot/lib/libz/
H A Duncompr.c21 enough memory, Z_BUF_ERROR if there was not enough room in the output
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
51 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0))
H A Dcompress.c19 memory, Z_BUF_ERROR if there was not enough room in the output buffer,
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
52 return err == Z_OK ? Z_BUF_ERROR : err;
H A Dgzread.c60 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
189 gz_error(state, Z_BUF_ERROR, "unexpected end of file");
308 (state->err != Z_OK && state->err != Z_BUF_ERROR))
404 (state->err != Z_OK && state->err != Z_BUF_ERROR))
439 (state->err != Z_OK && state->err != Z_BUF_ERROR))
503 (state->err != Z_OK && state->err != Z_BUF_ERROR))
591 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
H A Dgzlib.c354 (state->err != Z_OK && state->err != Z_BUF_ERROR))
382 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
591 if (err != Z_OK && err != Z_BUF_ERROR)
H A Dinfback.c157 then return a Z_BUF_ERROR from inflateBack(). */
164 ret = Z_BUF_ERROR; \
209 Z_BUF_ERROR. */
217 ret = Z_BUF_ERROR; \
243 Z_BUF_ERROR. strm->next_in can be checked for Z_NULL to see whether it
611 ret = Z_BUF_ERROR;
H A Ddeflate.c475 return Z_BUF_ERROR;
516 if (err == Z_BUF_ERROR && s->pending == 0)
683 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
885 * returning Z_STREAM_END instead of Z_BUF_ERROR.
889 ERR_RETURN(strm, Z_BUF_ERROR);
894 ERR_RETURN(strm, Z_BUF_ERROR);
H A Dzlib.h180 #define Z_BUF_ERROR (-5) macro
346 if next_in or next_out was Z_NULL), Z_BUF_ERROR if no progress is possible
347 (for example avail_in or avail_out was zero). Note that Z_BUF_ERROR is not
499 Z_BUF_ERROR if no progress is possible or if there was not enough room in the
500 output buffer when Z_FINISH is used. Note that Z_BUF_ERROR is not fatal, and
677 stream state was inconsistent or if a parameter was invalid, Z_BUF_ERROR if
740 deflatePrime returns Z_OK if success, Z_BUF_ERROR if there was not enough
868 Z_BUF_ERROR if no more input was provided, Z_DATA_ERROR if no flush point
1087 return values of inflateBack() can be Z_STREAM_END on success, Z_BUF_ERROR
1091 In the case of Z_BUF_ERROR, a
[all...]
H A Dinflate.c602 will return Z_BUF_ERROR if it has not reached the end of the stream.
1250 ret = Z_BUF_ERROR;
1388 if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR;
/illumos-gate/usr/src/uts/common/sys/
H A Dzmod.h51 #define Z_BUF_ERROR (-5) macro
/illumos-gate/usr/src/uts/common/zmod/
H A Dzmod.c61 return (err == Z_OK ? Z_BUF_ERROR : err);
87 return (err == Z_OK ? Z_BUF_ERROR : err);
H A Dzlib.h179 #define Z_BUF_ERROR (-5) macro
323 if next_in or next_out was NULL), Z_BUF_ERROR if no progress is possible
324 (for example avail_in or avail_out was zero). Note that Z_BUF_ERROR is not
455 Z_BUF_ERROR if no progress is possible or if there was not enough room in the
456 output buffer when Z_FINISH is used. Note that Z_BUF_ERROR is not fatal, and
625 stream state was inconsistent or if a parameter was invalid, Z_BUF_ERROR
766 inflateSync returns Z_OK if a full flush point has been found, Z_BUF_ERROR
939 return values of inflateBack() can be Z_STREAM_END on success, Z_BUF_ERROR
943 initialized. In the case of Z_BUF_ERROR, an input or output error can be
945 an error. If strm->next is not Z_NULL, then the Z_BUF_ERROR wa
[all...]
H A Ddeflate.c576 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
778 * returning Z_STREAM_END instead of Z_BUF_ERROR.
782 ERR_RETURN(strm, Z_BUF_ERROR);
787 ERR_RETURN(strm, Z_BUF_ERROR);
H A Dinflate.c558 will return Z_BUF_ERROR if it has not reached the end of the stream.
1178 ret = Z_BUF_ERROR;
1300 if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR;
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dgzip.c50 return (err == Z_OK ? Z_BUF_ERROR : err);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.h224 #define Z_BUF_ERROR (-5) macro
343 if next_in or next_out was NULL), Z_BUF_ERROR if no progress is possible.
418 was NULL), Z_MEM_ERROR if there was not enough memory, Z_BUF_ERROR if no
574 inflateSync returns Z_OK if the special marker has been found, Z_BUF_ERROR
H A Dzlib.c742 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
777 ERR_RETURN(strm, Z_BUF_ERROR);
2867 r = Z_BUF_ERROR;
3001 return Z_BUF_ERROR;
3701 tables to decode that set of codes. Return Z_OK on success, Z_BUF_ERROR
3889 /* Return Z_BUF_ERROR if we were given an incomplete table */
3890 return y != 0 && g != 1 ? Z_BUF_ERROR : Z_OK;
3905 else if (r == Z_BUF_ERROR)
3932 else if (r == Z_BUF_ERROR)
3946 else if (r == Z_BUF_ERROR) {
[all...]
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dinfcover.c321 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT)
333 ret = inflate(&strm, Z_NO_FLUSH); assert(ret == Z_BUF_ERROR);
494 assert(ret == Z_BUF_ERROR);
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.h477 #define Z_BUF_ERROR (-5) macro
625 * Z_BUF_ERROR if no progress is possible.
713 * Z_MEM_ERROR if there was not enough memory, Z_BUF_ERROR if no
887 * Z_BUF_ERROR if strm->avail_out was zero.
961 * Z_BUF_ERROR if no more input was provided, Z_DATA_ERROR if no
1018 * enough memory, Z_BUF_ERROR if there was not enough room in the
1041 * enough memory, Z_BUF_ERROR if there was not enough room in the
H A Dzlib.c1133 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
1186 ERR_RETURN(strm, Z_BUF_ERROR);
1191 ERR_RETURN(strm, Z_BUF_ERROR);
3748 /* f = f == Z_FINISH ? Z_BUF_ERROR : Z_OK; -- PPP; Z_FINISH unused */
3749 r = Z_BUF_ERROR;
3957 return (Z_BUF_ERROR);
4846 * Z_BUF_ERROR if the given code set is incomplete (the tables are
5062 /* Return Z_BUF_ERROR if we were given an incomplete table */
5063 return (y != 0 && g != 1 ? Z_BUF_ERROR : Z_OK);
5083 else if (r == Z_BUF_ERROR || *b
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dctf.c512 if ((type == Z_FULL_FLUSH && rc == Z_BUF_ERROR) ||

Completed in 148 milliseconds