Lines Matching refs:next
33 lzma_next_coder next;
35 /// True if the next filter in the chain has returned LZMA_STREAM_END.
43 /// filter in the chain. The output of the next filter is first
135 if (coder->next.code == NULL)
148 const lzma_ret ret = coder->next.code(
149 coder->next.coder,
189 lzma_next_end(&coder->next, allocator);
203 lzma_lz_decoder_init(lzma_next_coder *next, lzma_allocator *allocator,
210 if (next->coder == NULL) {
211 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
212 if (next->coder == NULL)
215 next->code = &lz_decode;
216 next->end = &lz_decoder_end;
218 next->coder->dict.buf = NULL;
219 next->coder->dict.size = 0;
220 next->coder->lz = LZMA_LZ_DECODER_INIT;
221 next->coder->next = LZMA_NEXT_CODER_INIT;
227 return_if_error(lz_init(&next->coder->lz, allocator,
251 if (next->coder->dict.size != lz_options.dict_size) {
252 lzma_free(next->coder->dict.buf, allocator);
253 next->coder->dict.buf
255 if (next->coder->dict.buf == NULL)
258 next->coder->dict.size = lz_options.dict_size;
261 lz_decoder_reset(next->coder);
271 memcpy(next->coder->dict.buf, lz_options.preset_dict + offset,
273 next->coder->dict.pos = copy_size;
274 next->coder->dict.full = copy_size;
278 next->coder->next_finished = false;
279 next->coder->this_finished = false;
280 next->coder->temp.pos = 0;
281 next->coder->temp.size = 0;
283 // Initialize the next filter in the chain, if any.
284 return lzma_next_filter_init(&next->coder->next, allocator,