Lines Matching refs:strm
22 z_stream strm; member
36 static bool decompression_init(z_stream *strm, in decompression_init() argument
41 strm->next_in = ts->ts; in decompression_init()
42 strm->avail_in = ts->size; in decompression_init()
43 strm->zalloc = zalloc; in decompression_init()
44 strm->zfree = zfree; in decompression_init()
45 st = inflateInit(strm); in decompression_init()
71 if (!decompression_init(&handle->strm, ts)) { in emb_ts_open()
140 z_stream *strm = &h->strm; in read_compressed() local
148 strm->next_out = data; in read_compressed()
149 strm->avail_out = len; in read_compressed()
156 strm->avail_out = MIN(len, 1024U); in read_compressed()
157 tmpbuf = malloc(strm->avail_out); in read_compressed()
162 strm->next_out = tmpbuf; in read_compressed()
175 out = strm->total_out; in read_compressed()
176 st = inflate(strm, Z_SYNC_FLUSH); in read_compressed()
177 out = strm->total_out - out; in read_compressed()
185 strm->next_out = tmpbuf; in read_compressed()
186 strm->avail_out = MIN(len - total, 1024U); in read_compressed()
213 inflateEnd(&h->strm); in emb_ts_close()