Lines Matching refs:inf
92 /* recompress from inf's input to def's output; the input for inf and
96 local int recompress(z_streamp inf, z_streamp def)
104 inf->avail_out = RAWLEN;
105 inf->next_out = raw;
106 ret = inflate(inf, Z_NO_FLUSH);
113 def->avail_in = RAWLEN - inf->avail_out;
115 if (inf->avail_out != 0)
134 z_stream def, inf; /* zlib deflate and inflate states */
180 inf.zalloc = Z_NULL;
181 inf.zfree = Z_NULL;
182 inf.opaque = Z_NULL;
183 inf.avail_in = 0;
184 inf.next_in = Z_NULL;
185 ret = inflateInit(&inf);
193 inf.avail_in = size + EXCESS;
194 inf.next_in = blk;
197 ret = recompress(&inf, &def);
202 ret = inflateReset(&inf);
208 inf.avail_in = size - MARGIN; /* assure stream will complete */
209 inf.next_in = tmp;
212 ret = recompress(&inf, &def);
224 ret = inflateEnd(&inf);