Lines Matching refs:next
83 lzma_next_coder *next, lzma_allocator *allocator,
119 /// Hold data and function pointers of the next filter in the chain.
177 lzma_next_coder next;
181 /// is used on every call to lzma_code until next.code has returned
197 /// Indicates which lzma_action values are allowed by next.code.
201 /// made (no input consumed and no output produced by next.code).
218 /// Initializes the next filter in the chain, if any. This takes care of
222 extern lzma_ret lzma_next_filter_init(lzma_next_coder *next,
225 /// Update the next filter in the chain, if any. This checks that
228 lzma_next_coder *next, lzma_allocator *allocator,
231 /// Frees the memory allocated for next->coder either using next->end or,
232 /// if next->end is NULL, using lzma_free.
233 extern void lzma_next_end(lzma_next_coder *next, lzma_allocator *allocator);
256 /// If next isn't already initialized, free the previous coder. Then mark
257 /// that next is _possibly_ initialized for the coder using this macro.
258 /// "Possibly" means that if e.g. allocation of next->coder fails, the
260 /// next->init to func is still OK.
261 #define lzma_next_coder_init(func, next, allocator) \
263 if ((uintptr_t)(func) != (next)->init) \
264 lzma_next_end(next, allocator); \
265 (next)->init = (uintptr_t)(func); \
269 /// Initializes lzma_strm and calls func() to initialize strm->internal->next.
276 const lzma_ret ret_ = func(&(strm)->internal->next, \