Lines Matching refs:how
65 int how; /* 0: get header, 1: copy, 2: decompress */ member
127 state->how = LOOK; /* look for gzip header */ in xz_reset()
197 switch (state->how) { in xz_compressed()
448 state->how = LZMA; in xz_head()
503 state->how = GZIP; in xz_head()
524 state->how = COPY; in xz_head()
554 if (state->how == GZIP) { in xz_decomp()
594 if ((state->how != GZIP) && in xz_decomp()
611 if (state->how == GZIP) { in xz_decomp()
634 state->how = LOOK; /* ready for next stream, once have is 0 (leave in xz_decomp()
647 if (state->how == LOOK) { /* look for lzma / gzip header */ in xz_make()
653 if (state->how == COPY) { /* straight copy */ in xz_make()
658 } else if (state->how == LZMA || state->how == GZIP) { /* decompress */ in xz_make()
750 else if (state->how == LOOK || len < (state->size << 1)) { in __libxml2_xzread()
760 else if (state->how == COPY) { /* read directly */ in __libxml2_xzread()