Lines Matching defs:zbuf
42 u8 *zbuf;
61 zbuf = buf;
63 zbuf = malloc(GZIP_IOBUF_SIZE);
66 if (!zbuf) {
88 len = fill(zbuf, GZIP_IOBUF_SIZE);
92 zbuf[0] != 0x1f || zbuf[1] != 0x8b || zbuf[2] != 0x08) {
102 strm->next_in = zbuf + 10;
104 if (zbuf[3] & 0x8) {
109 strm->avail_in = len - (strm->next_in - zbuf);
124 len = fill(zbuf, GZIP_IOBUF_SIZE);
130 strm->next_in = zbuf;
160 *pos = strm->next_in - zbuf+8;
168 free(zbuf);