Home | History | Annotate | Download | only in gzip

Lines Matching defs:zstream

175     z_stream   zstream;        /* zlib input stream           */
277 z_stream* zstream = &zip->zstream;
301 zstream->zalloc = (alloc_func)ft_gzip_alloc;
302 zstream->zfree = (free_func) ft_gzip_free;
303 zstream->opaque = stream->memory;
305 zstream->avail_in = 0;
306 zstream->next_in = zip->buffer;
308 if ( inflateInit2( zstream, -MAX_WBITS ) != Z_OK ||
309 zstream->next_in == NULL )
320 z_stream* zstream = &zip->zstream;
323 inflateEnd( zstream );
326 zstream->zalloc = NULL;
327 zstream->zfree = NULL;
328 zstream->opaque = NULL;
329 zstream->next_in = NULL;
330 zstream->next_out = NULL;
331 zstream->avail_in = 0;
332 zstream->avail_out = 0;
349 z_stream* zstream = &zip->zstream;
352 inflateReset( zstream );
354 zstream->avail_in = 0;
355 zstream->next_in = zip->input;
356 zstream->avail_out = 0;
357 zstream->next_out = zip->buffer;
371 z_stream* zstream = &zip->zstream;
396 zstream->next_in = zip->input;
397 zstream->avail_in = size;
406 z_stream* zstream = &zip->zstream;
411 zstream->next_out = zip->cursor;
412 zstream->avail_out = FT_GZIP_BUFFER_SIZE;
414 while ( zstream->avail_out > 0 )
419 if ( zstream->avail_in == 0 )
426 err = inflate( zstream, Z_NO_FLUSH );
430 zip->limit = zstream->next_out;