Lines Matching refs:stream

129     z_stream stream;            /* zLib stream structure for inflate */  field
132 uLong stream_initialised; /* flag set if stream structure is initialised*/
179 IN assertion: the stream s has been sucessfully opened for reading.
1142 pfile_in_zip_read_info->stream.total_out = 0;
1147 pfile_in_zip_read_info->stream.zalloc = (alloc_func)0;
1148 pfile_in_zip_read_info->stream.zfree = (free_func)0;
1149 pfile_in_zip_read_info->stream.opaque = (voidpf)0;
1150 pfile_in_zip_read_info->stream.next_in = (voidpf)0;
1151 pfile_in_zip_read_info->stream.avail_in = 0;
1153 err=inflateInit2(&pfile_in_zip_read_info->stream, -MAX_WBITS);
1163 * after the compressed stream in order to complete decompression and
1179 pfile_in_zip_read_info->stream.avail_in = (uInt)0;
1241 pfile_in_zip_read_info->stream.next_out = (Bytef*)buf;
1243 pfile_in_zip_read_info->stream.avail_out = (uInt)len;
1247 pfile_in_zip_read_info->stream.avail_out =
1251 pfile_in_zip_read_info->stream.avail_in) &&
1253 pfile_in_zip_read_info->stream.avail_out =
1255 pfile_in_zip_read_info->stream.avail_in;
1257 while (pfile_in_zip_read_info->stream.avail_out>0)
1259 if ((pfile_in_zip_read_info->stream.avail_in==0) &&
1286 pfile_in_zip_read_info->stream.next_in =
1288 pfile_in_zip_read_info->stream.avail_in = (uInt)uReadThis;
1295 if ((pfile_in_zip_read_info->stream.avail_in == 0) &&
1299 if (pfile_in_zip_read_info->stream.avail_out <
1300 pfile_in_zip_read_info->stream.avail_in)
1301 uDoCopy = pfile_in_zip_read_info->stream.avail_out ;
1303 uDoCopy = pfile_in_zip_read_info->stream.avail_in ;
1306 *(pfile_in_zip_read_info->stream.next_out+i) =
1307 *(pfile_in_zip_read_info->stream.next_in+i);
1310 pfile_in_zip_read_info->stream.next_out,
1313 pfile_in_zip_read_info->stream.avail_in -= uDoCopy;
1314 pfile_in_zip_read_info->stream.avail_out -= uDoCopy;
1315 pfile_in_zip_read_info->stream.next_out += uDoCopy;
1316 pfile_in_zip_read_info->stream.next_in += uDoCopy;
1317 pfile_in_zip_read_info->stream.total_out += uDoCopy;
1327 uTotalOutBefore = pfile_in_zip_read_info->stream.total_out;
1328 bufBefore = pfile_in_zip_read_info->stream.next_out;
1332 pfile_in_zip_read_info->stream.avail_out) &&
1336 err=inflate(&pfile_in_zip_read_info->stream,flush);
1338 if ((err>=0) && (pfile_in_zip_read_info->stream.msg!=NULL))
1341 uTotalOutAfter = pfile_in_zip_read_info->stream.total_out;
1382 return (z_off_t)pfile_in_zip_read_info->stream.total_out;
1500 inflateEnd(&pfile_in_zip_read_info->stream);