Lines Matching refs:next
28 if (coder->next.code == NULL) {
37 // Call the next coder in the chain to provide us some data.
39 // the next filter in the chain will do it for us (since
41 const lzma_ret ret = coder->next.code(
42 coder->next.coder, allocator,
120 // restarted if the next filter in the chain returns e.g.
144 // the next coder in the chain (if any) was successful.
206 lzma_next_end(&coder->next, allocator);
218 // No update support, just call the next filter in the chain.
220 &coder->next, allocator, reversed_filters + 1);
225 lzma_simple_coder_init(lzma_next_coder *next, lzma_allocator *allocator,
233 if (next->coder == NULL) {
238 next->coder = lzma_alloc(sizeof(lzma_coder)
240 if (next->coder == NULL)
243 next->code = &simple_code;
244 next->end = &simple_coder_end;
245 next->update = &simple_coder_update;
247 next->coder->next = LZMA_NEXT_CODER_INIT;
248 next->coder->filter = filter;
249 next->coder->allocated = 2 * unfiltered_max;
253 next->coder->simple = lzma_alloc(
255 if (next->coder->simple == NULL)
258 next->coder->simple = NULL;
264 next->coder->now_pos = simple->start_offset;
265 if (next->coder->now_pos & (alignment - 1))
268 next->coder->now_pos = 0;
272 next->coder->is_encoder = is_encoder;
273 next->coder->end_was_reached = false;
274 next->coder->pos = 0;
275 next->coder->filtered = 0;
276 next->coder->size = 0;
279 &next->coder->next, allocator, filters + 1);