Searched refs:MATCH_LEN_MIN (Results 1 - 8 of 8) sorted by relevance

/external/lzma/xz-embedded/
H A Dxz_lzma2.h112 #define MATCH_LEN_MIN 2 macro
133 #define MATCH_LEN_MAX (MATCH_LEN_MIN + LEN_SYMBOLS - 1)
149 return len < DIST_STATES + MATCH_LEN_MIN
150 ? len - MATCH_LEN_MIN : DIST_STATES - 1;
H A Dxz_dec_lzma2.c188 * lengths of 2 (i.e. MATCH_LEN_MIN), 3, 4, and [5, 273].
628 s->lzma.len = MATCH_LEN_MIN;
633 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS;
637 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
H A DLZMAEncoderFast.java59 if (avail < MATCH_LEN_MIN)
67 if (len < MATCH_LEN_MIN)
107 if (mainLen == MATCH_LEN_MIN && mainDist >= 0x80)
111 if (bestRepLen >= MATCH_LEN_MIN) {
121 if (mainLen < MATCH_LEN_MIN || avail <= MATCH_LEN_MIN)
137 && mainLen >= MATCH_LEN_MIN + 1
142 int limit = Math.max(mainLen - 1, MATCH_LEN_MIN);
H A DLZMACoder.java18 static final int MATCH_LEN_MIN = 2; field in class:LZMACoder
19 static final int MATCH_LEN_MAX = MATCH_LEN_MIN + LengthCoder.LOW_SYMBOLS
55 return len < DIST_STATES + MATCH_LEN_MIN
56 ? len - MATCH_LEN_MIN
H A DLZMAEncoderNormal.java122 if (avail < MATCH_LEN_MIN)
130 if (repLens[rep] < MATCH_LEN_MIN) {
168 if (mainLen < MATCH_LEN_MIN && curByte != matchByte
169 && repLens[repBest] < MATCH_LEN_MIN)
199 if (optEnd < MATCH_LEN_MIN) {
218 for (int i = optEnd; i >= MATCH_LEN_MIN; --i)
224 if (repLen < MATCH_LEN_MIN)
234 } while (--repLen >= MATCH_LEN_MIN);
239 int len = Math.max(repLens[0] + 1, MATCH_LEN_MIN);
289 if (avail >= MATCH_LEN_MIN) {
[all...]
H A DLZMADecoder.java189 return rc.decodeBitTree(low[posState]) + MATCH_LEN_MIN;
193 + MATCH_LEN_MIN + LOW_SYMBOLS;
196 + MATCH_LEN_MIN + LOW_SYMBOLS + MID_SYMBOLS;
H A DLZMAEncoder.java638 int lenSymbols = Math.max(niceLen - MATCH_LEN_MIN + 1,
653 len -= MATCH_LEN_MIN;
675 return prices[posState][len - MATCH_LEN_MIN];
/external/toybox/toys/pending/
H A Dxzcat.c1093 #define MATCH_LEN_MIN 2 macro
1114 #define MATCH_LEN_MAX (MATCH_LEN_MIN + LEN_SYMBOLS - 1)
1130 return len < DIST_STATES + MATCH_LEN_MIN
1131 ? len - MATCH_LEN_MIN : DIST_STATES - 1;
1350 * lengths of 2 (i.e. MATCH_LEN_MIN), 3, 4, and [5, 273].
1776 s->lzma.len = MATCH_LEN_MIN;
1781 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS;
1785 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS

Completed in 2191 milliseconds