Home | History | Annotate | Download | only in libxml2

Lines Matching defs:LZMA

2  * xzlib.c: front end for the transparent suport of lzma compression
3 * at the I/O layer, based on an example file from lzma project
38 #include <lzma.h>
45 #define LOOK 0 /* look for a gzip/lzma header */
48 #define LZMA 3 /* decompress a lzma stream */
50 /* internal lzma file state data structure */
52 int mode; /* see lzma modes above */
63 uint64_t start; /* where the lzma data started, for rewinding */
66 int direct; /* true if last read direct, false if lzma */
73 /* lzma stream */
201 case LZMA:
448 state->how = LZMA;
567 * to the LZMA error handling looks fragile.
579 } else /* state->how == LZMA */
596 xz_error(state, ret, "lzma error");
647 if (state->how == LOOK) { /* look for lzma / gzip header */
658 } else if (state->how == LZMA || state->how == GZIP) { /* decompress */
766 else { /* state->how == LZMA */