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

/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/
H A Duncompr.c21 uncompress returns Z_OK if success, Z_MEM_ERROR if there was not
47 if (err != Z_OK) return err;
52 return err == Z_OK ? Z_BUF_ERROR : err;
H A Dcompress.c16 compress2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
45 if (err != Z_OK) return err;
50 return err == Z_OK ? Z_BUF_ERROR : err;
H A Dinfutil.c40 if (n && r == Z_BUF_ERROR) r = Z_OK;
66 if (n && r == Z_BUF_ERROR) r = Z_OK;
H A Dinftrees.c106 tables to decode that set of codes. Return Z_OK on success, Z_BUF_ERROR
146 return Z_OK;
290 return y != 0 && g != 1 ? Z_BUF_ERROR : Z_OK;
342 if (r != Z_OK || *bl == 0)
357 if (r != Z_OK || (*bd == 0 && nl > 257))
363 r = Z_OK;
381 return Z_OK;
454 return Z_OK;
H A Dminigzip.c112 if (gz_compress_mmap(in, out) == Z_OK) return;
125 if (gzclose(out) != Z_OK) error("failed gzclose");
130 /* Try compressing the input file at once using mmap. Return Z_OK if
160 if (gzclose(out) != Z_OK) error("failed gzclose");
161 return Z_OK;
187 if (gzclose(in) != Z_OK) error("failed gzclose");
H A Dinfutil.h74 #define NEEDBYTE {if(n)r=Z_OK;else LEAVE}
83 #define NEEDOUT {if(m==0){WRAP if(m==0){FLUSH WRAP if(m==0) LEAVE}}r=Z_OK;}
H A Dgzio.c97 s->z_err = Z_OK;
135 if (err != Z_OK || s->outbuf == Z_NULL) {
148 if (err != Z_OK || s->inbuf == Z_NULL) {
279 s->z_err = s->stream.avail_in != 0 ? Z_OK : Z_STREAM_END;
308 s->z_err = s->z_eof ? Z_DATA_ERROR : Z_OK;
318 int err = Z_OK;
425 if (s->z_err == Z_OK) {
436 if (s->z_err != Z_OK || s->z_eof) break;
509 if (s->z_err != Z_OK) break;
626 if (len == 0 && s->z_err == Z_BUF_ERROR) s->z_err = Z_OK;
[all...]
H A Dinflate.c64 return Z_OK;
78 return Z_OK;
135 return Z_OK;
160 f = f == Z_FINISH ? Z_BUF_ERROR : Z_OK;
229 if (r == Z_OK)
299 return Z_OK;
350 return Z_OK;
H A Dinfblock.c250 if (t != Z_OK)
318 if (t != Z_OK)
342 r = Z_OK;
381 return Z_OK;
H A Ddeflate.c306 if (length < MIN_MATCH) return Z_OK;
327 return Z_OK;
357 return Z_OK;
368 int err = Z_OK;
492 return Z_OK;
524 return Z_OK;
548 return Z_OK;
554 if (flush != Z_FINISH) return Z_OK;
565 return s->pending != 0 ? Z_OK : Z_STREAM_END;
591 return status == BUSY_STATE ? Z_DATA_ERROR : Z_OK;
[all...]
H A Dinffast.c182 return Z_OK;
H A Dinfcodes.c111 if (r != Z_OK)
H A Dzlib.h132 #define Z_OK 0 macro
192 deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not
227 (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
251 was enough output space; if deflate returns with Z_OK, this function must be
270 deflate() returns Z_OK if some progress has been made (more input
285 deflateEnd returns Z_OK if success, Z_STREAM_ERROR if the
305 inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
339 call of inflate(). If inflate returns Z_OK and with zero avail_out, it
364 so far (that is, total_out bytes) and returns Z_OK, Z_STREAM_END or
369 inflate() returns Z_OK i
[all...]
H A Dexample.c24 if (err != Z_OK) { \
/glassfish-3.1.2/installer/src/cpp/share/launcher/
H A Dzip_util.c499 * set to the error number. Otherwise, *zerror will be set to Z_OK.
511 *zerror = Z_OK;
575 * set to the error number. Otherwise, *zerror will be set to Z_OK.
872 if (inflateInit2(&strm, -MAX_WBITS) != Z_OK)

Completed in 155 milliseconds