Lines Matching refs:mode
32 * enum xz_mode - Operation mode
34 * @XZ_SINGLE: Single-call mode. This uses less RAM than
40 * @XZ_PREALLOC: Multi-call mode with preallocated LZMA2
44 * @XZ_DYNALLOC: Multi-call mode. The LZMA2 dictionary is
66 * return code is possible only in multi-call mode
70 * is still possible in multi-call mode by simply
85 * only in multi-call mode (XZ_PREALLOC or
86 * XZ_DYNALLOC); the single-call mode (XZ_SINGLE)
97 * mode; more information below.
99 * In multi-call mode, XZ_BUF_ERROR is returned when two consecutive calls
106 * In single-call mode, XZ_BUF_ERROR is returned only when the output buffer
157 * @mode: Operation mode
159 * multi-call decoding. This is ignored in single-call mode
160 * (mode == XZ_SINGLE). LZMA2 dictionary is always 2^n bytes
168 * Single-call mode (XZ_SINGLE): xz_dec_run() decodes the whole stream at
175 * a big dictionary are not a problem in single-call mode. It is enough that
179 * Multi-call mode with preallocated dictionary (XZ_PREALLOC): dict_max bytes
187 * Multi-call mode with dynamically allocated dictionary (XZ_DYNALLOC):
198 XZ_EXTERN struct xz_dec *xz_dec_init(enum xz_mode mode, uint32_t dict_max);
205 * The possible return values depend on build options and operation mode.
208 * Note that if an error occurs in single-call mode (return value is not
227 * In single-call mode, xz_dec_reset() is always called in the beginning of
229 * multi-call mode.