Lines Matching +full:s +full:- +full:mode
1 /* SPDX-License-Identifier: 0BSD */
61 /* If no specific decoding mode is requested, enable support for all modes. */
70 * The DEC_IS_foo(mode) macros are used in "if" statements. If only some
75 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) argument
77 # define DEC_IS_SINGLE(mode) (false) argument
81 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) argument
83 # define DEC_IS_PREALLOC(mode) (false) argument
87 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC) argument
89 # define DEC_IS_DYNALLOC(mode) (false) argument
93 # define DEC_IS_MULTI(mode) (true) argument
95 # define DEC_IS_MULTI(mode) ((mode) != XZ_SINGLE) argument
97 # define DEC_IS_MULTI(mode) (false) argument
118 struct xz_dec_lzma2 *xz_dec_lzma2_create(enum xz_mode mode, uint32_t dict_max);
126 enum xz_ret xz_dec_lzma2_reset(struct xz_dec_lzma2 *s, uint8_t props);
128 /* Decode raw LZMA2 stream from b->in to b->out. */
129 enum xz_ret xz_dec_lzma2_run(struct xz_dec_lzma2 *s, struct xz_buf *b);
132 void xz_dec_lzma2_end(struct xz_dec_lzma2 *s);
147 enum xz_ret xz_dec_bcj_reset(struct xz_dec_bcj *s, uint8_t id);
154 enum xz_ret xz_dec_bcj_run(struct xz_dec_bcj *s, struct xz_dec_lzma2 *lzma2,
158 #define xz_dec_bcj_end(s) kfree(s) argument