/external/lzma/xz-embedded/ |
xz_dec_lzma2.c | 2 * LZMA2 decoder 265 struct lzma2_dec lzma2; member in struct:xz_dec_lzma2 831 * LZMA2 * 852 if (s->temp.size > 0 || s->lzma2.compressed == 0) { 854 if (tmp > s->lzma2.compressed - s->temp.size) 855 tmp = s->lzma2.compressed - s->temp.size; 861 if (s->temp.size + tmp == s->lzma2.compressed) { 880 s->lzma2.compressed -= s->rc.in_pos; 898 if (in_avail >= s->lzma2.compressed + LZMA_IN_REQUIRED) 899 s->rc.in_limit = b->in_pos + s->lzma2.compressed [all...] |
xz_private.h | 106 * Allocate memory for LZMA2 decoder. xz_dec_lzma2_reset() must be used 113 * Decode the LZMA2 properties (one byte) and reset the decoder. Return 121 /* Decode raw LZMA2 stream from b->in to b->out. */ 125 /* Free the memory allocated for the LZMA2 decoder. */ 144 * Decode raw BCJ + LZMA2 stream. This must be used only if there actually is 145 * a BCJ filter in the chain. If the chain has only LZMA2, xz_dec_lzma2_run() 149 struct xz_dec_lzma2 *lzma2,
|
xz_dec_stream.c | 142 struct xz_dec_lzma2 *lzma2; member in struct:xz_dec 238 ret = xz_dec_bcj_run(s->bcj, s->lzma2, b); 241 ret = xz_dec_lzma2_run(s->lzma2, b); 542 /* Filter ID = LZMA2 */ 550 /* Filter Properties contains LZMA2 dictionary size. */ 554 ret = xz_dec_lzma2_reset(s->lzma2, s->temp.buf[s->temp.pos++]); 810 s->lzma2 = xz_dec_lzma2_create(mode, dict_max); 811 if (s->lzma2 == NULL) 841 xz_dec_lzma2_end(s->lzma2);
|
xz_dec_bcj.c | 192 * than what LZMA2 decoder takes, so it doesn't make sense to reduce 193 * stack usage here without doing that for the LZMA2 decoder too. 418 struct xz_dec_lzma2 *lzma2, 454 s->ret = xz_dec_lzma2_run(lzma2, b); 499 s->ret = xz_dec_lzma2_run(lzma2, b);
|
/external/toybox/toys/pending/ |
xzcat.c | 41 * @XZ_MEMLIMIT_ERROR: A bigger LZMA2 dictionary would be needed than 108 * @dict_max: Maximum size of the LZMA2 dictionary (history buffer) for 109 * multi-call decoding. LZMA2 dictionary is always 2^n bytes 392 * Allocate memory for LZMA2 decoder. xz_dec_lzma2_reset() must be used 398 * Decode the LZMA2 properties (one byte) and reset the decoder. Return 406 /* Decode raw LZMA2 stream from b->in to b->out. */ 487 * Decode raw BCJ + LZMA2 stream. This must be used only if there actually is 488 * a BCJ filter in the chain. If the chain has only LZMA2, xz_dec_lzma2_run() 492 struct xz_dec_lzma2 *lzma2, 609 * than what LZMA2 decoder takes, so it doesn't make sense to reduc 1427 struct lzma2_dec lzma2; member in struct:xz_dec_lzma2 2467 struct xz_dec_lzma2 *lzma2; member in struct:xz_dec [all...] |
/external/lzma/C/ |
XzEnc.c | 341 CLzma2EncHandle lzma2;
member in struct:__anon18583 355 p->lzma2 = NULL;
364 p->lzma2 = Lzma2Enc_Create(p->alloc, p->bigAlloc);
365 if (p->lzma2 == 0)
376 if (p->lzma2)
378 Lzma2Enc_Destroy(p->lzma2);
379 p->lzma2 = NULL;
404 RINOK(Lzma2Enc_SetProps(lzmaf->lzma2, props->lzma2Props));
439 f->props[0] = Lzma2Enc_WriteProperties(lzmaf->lzma2);
470 SRes res = Lzma2Enc_Encode(lzmaf->lzma2, &seqSizeOutStream.p, [all...] |