Searched refs:Z_OK (Results 1 - 12 of 12) sorted by relevance

/ast/src/lib/libz/
H A Dcompress.c18 compress2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
47 if (err != Z_OK) return err;
52 return err == Z_OK ? Z_BUF_ERROR : err;
H A Duncompr.c22 uncompress returns Z_OK if success, Z_MEM_ERROR if there was not
48 if (err != Z_OK) return err;
H A Dminigzip.c110 if (gz_compress_mmap(in, out) == Z_OK) return;
123 if (gzclose(out) != Z_OK) error("failed gzclose");
128 /* Try compressing the input file at once using mmap. Return Z_OK if
158 if (gzclose(out) != Z_OK) error("failed gzclose");
159 return Z_OK;
185 if (gzclose(in) != Z_OK) error("failed gzclose");
H A Dgzio.c132 s->z_err = Z_OK;
192 if (err != Z_OK || s->outbuf == Z_NULL) {
214 if (err != Z_OK || s->inbuf == Z_NULL) {
375 s->z_err = s->stream.avail_in != 0 ? Z_OK : Z_STREAM_END;
434 s->z_err = s->z_eof ? Z_DATA_ERROR : Z_OK;
444 int err = Z_OK;
579 if (s->z_err == Z_OK) {
592 if (s->z_err != Z_OK || s->z_eof) break;
632 if (s->last) s->z_err = Z_OK;
694 if (s->z_err != Z_OK) brea
[all...]
H A Ddeflate.c334 if (length < MIN_MATCH) return Z_OK;
353 return Z_OK;
389 return Z_OK;
400 return Z_OK;
412 return Z_OK;
423 int err = Z_OK;
469 return Z_OK;
767 return Z_OK;
799 return Z_OK;
823 return Z_OK;
[all...]
H A Dinflate.c125 return Z_OK;
141 return Z_OK;
550 when flush is set to Z_FINISH, inflate() cannot return Z_OK. Instead it
586 ret = Z_OK;
1150 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK)
1166 return Z_OK;
1208 return Z_OK;
1225 return Z_OK;
1302 return Z_OK;
1367 return Z_OK;
[all...]
H A Dinfback.c60 return Z_OK;
622 return Z_OK;
H A Dzlib.h170 #define Z_OK 0 macro
233 deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not
268 (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
298 was enough output space; if deflate returns with Z_OK, this function must be
317 deflate() returns Z_OK if some progress has been made (more input
334 deflateEnd returns Z_OK if success, Z_STREAM_ERROR if the
354 inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
388 call of inflate(). If inflate returns Z_OK and with zero avail_out, it
434 total_out bytes) and returns Z_OK, Z_STREAM_END or an error code as described
446 inflate() returns Z_OK i
[all...]
H A Dexample.c23 if (err != Z_OK) { \
/ast/src/cmd/pzip/
H A Dpcmp.c53 if (compress2(t, &used, f, fsize, state.level) != Z_OK)
H A Dpin.c401 if (compress2(buf, &used, b, size, state.level) != Z_OK)
/ast/src/cmd/INIT/
H A Dratz.c538 #define Z_OK 0 macro
2351 return Z_OK;
2367 return Z_OK;
2769 when flush is set to Z_FINISH, inflate() cannot return Z_OK. Instead it
2805 ret = Z_OK;
3369 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK)
3385 return Z_OK;
3427 return Z_OK;
3446 return Z_OK;
3523 return Z_OK;
[all...]

Completed in 42 milliseconds