Home
last modified time | relevance | path

Searched refs:lzma2 (Results 1 – 7 of 7) sorted by relevance

/external/lzma/xz-embedded/
Dxz_dec_lzma2.c265 struct lzma2_dec lzma2; member
852 if (s->temp.size > 0 || s->lzma2.compressed == 0) { in lzma2_lzma()
854 if (tmp > s->lzma2.compressed - s->temp.size) in lzma2_lzma()
855 tmp = s->lzma2.compressed - s->temp.size; in lzma2_lzma()
861 if (s->temp.size + tmp == s->lzma2.compressed) { in lzma2_lzma()
880 s->lzma2.compressed -= s->rc.in_pos; in lzma2_lzma()
898 if (in_avail >= s->lzma2.compressed + LZMA_IN_REQUIRED) in lzma2_lzma()
899 s->rc.in_limit = b->in_pos + s->lzma2.compressed; in lzma2_lzma()
907 if (in_avail > s->lzma2.compressed) in lzma2_lzma()
910 s->lzma2.compressed -= in_avail; in lzma2_lzma()
[all …]
Dxz_dec_stream.c142 struct xz_dec_lzma2 *lzma2; member
238 ret = xz_dec_bcj_run(s->bcj, s->lzma2, b); in dec_block()
241 ret = xz_dec_lzma2_run(s->lzma2, b); in dec_block()
554 ret = xz_dec_lzma2_reset(s->lzma2, s->temp.buf[s->temp.pos++]); in dec_block_header()
810 s->lzma2 = xz_dec_lzma2_create(mode, dict_max); in xz_dec_init()
811 if (s->lzma2 == NULL) in xz_dec_init()
841 xz_dec_lzma2_end(s->lzma2); in xz_dec_end()
Dxz_dec_bcj.c418 struct xz_dec_lzma2 *lzma2, in xz_dec_bcj_run() argument
454 s->ret = xz_dec_lzma2_run(lzma2, b); in xz_dec_bcj_run()
499 s->ret = xz_dec_lzma2_run(lzma2, b); in xz_dec_bcj_run()
Dxz_private.h149 struct xz_dec_lzma2 *lzma2,
/external/toybox/toys/pending/
Dxzcat.c492 struct xz_dec_lzma2 *lzma2,
835 struct xz_dec_lzma2 *lzma2, in xz_dec_bcj_run() argument
871 s->ret = xz_dec_lzma2_run(lzma2, b); in xz_dec_bcj_run()
916 s->ret = xz_dec_lzma2_run(lzma2, b); in xz_dec_bcj_run()
1427 struct lzma2_dec lzma2; member
2000 if (s->temp.size > 0 || s->lzma2.compressed == 0) { in lzma2_lzma()
2002 if (tmp > s->lzma2.compressed - s->temp.size) in lzma2_lzma()
2003 tmp = s->lzma2.compressed - s->temp.size; in lzma2_lzma()
2009 if (s->temp.size + tmp == s->lzma2.compressed) { in lzma2_lzma()
2028 s->lzma2.compressed -= s->rc.in_pos; in lzma2_lzma()
[all …]
/external/lzma/C/
DXzEnc.c341 CLzma2EncHandle lzma2; member
355 p->lzma2 = NULL; in Lzma2WithFilters_Construct()
364 p->lzma2 = Lzma2Enc_Create(p->alloc, p->bigAlloc); in Lzma2WithFilters_Create()
365 if (p->lzma2 == 0) in Lzma2WithFilters_Create()
376 if (p->lzma2) in Lzma2WithFilters_Free()
378 Lzma2Enc_Destroy(p->lzma2); in Lzma2WithFilters_Free()
379 p->lzma2 = NULL; in Lzma2WithFilters_Free()
404 RINOK(Lzma2Enc_SetProps(lzmaf->lzma2, props->lzma2Props)); in Xz_Compress()
439 f->props[0] = Lzma2Enc_WriteProperties(lzmaf->lzma2); in Xz_Compress()
470 SRes res = Lzma2Enc_Encode(lzmaf->lzma2, &seqSizeOutStream.p, in Xz_Compress()
/external/squashfs-tools/
DRELEASE-README42 7. Filesystems can be compressed with gzip, xz (lzma2), lzo or lz4