Home
last modified time | relevance | path

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

/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoderFast.java61 if (avail < MATCH_LEN_MIN) in getNextSymbol()
69 if (len < MATCH_LEN_MIN) in getNextSymbol()
109 if (mainLen == MATCH_LEN_MIN && mainDist >= 0x80) in getNextSymbol()
113 if (bestRepLen >= MATCH_LEN_MIN) { in getNextSymbol()
123 if (mainLen < MATCH_LEN_MIN || avail <= MATCH_LEN_MIN) in getNextSymbol()
139 && mainLen >= MATCH_LEN_MIN + 1 in getNextSymbol()
144 int limit = Math.max(mainLen - 1, MATCH_LEN_MIN); in getNextSymbol()
DLZMAEncoderNormal.java124 if (avail < MATCH_LEN_MIN) in getNextSymbol()
132 if (repLens[rep] < MATCH_LEN_MIN) { in getNextSymbol()
170 if (mainLen < MATCH_LEN_MIN && curByte != matchByte in getNextSymbol()
171 && repLens[repBest] < MATCH_LEN_MIN) in getNextSymbol()
201 if (optEnd < MATCH_LEN_MIN) { in getNextSymbol()
220 for (int i = optEnd; i >= MATCH_LEN_MIN; --i) in getNextSymbol()
226 if (repLen < MATCH_LEN_MIN) in getNextSymbol()
236 } while (--repLen >= MATCH_LEN_MIN); in getNextSymbol()
241 int len = Math.max(repLens[0] + 1, MATCH_LEN_MIN); in getNextSymbol()
291 if (avail >= MATCH_LEN_MIN) { in getNextSymbol()
[all …]
DLZMACoder.java18 static final int MATCH_LEN_MIN = 2; field in LZMACoder
19 static final int MATCH_LEN_MAX = MATCH_LEN_MIN + LengthCoder.LOW_SYMBOLS
55 return len < DIST_STATES + MATCH_LEN_MIN in getDistState()
56 ? len - MATCH_LEN_MIN in getDistState()
DLZMADecoder.java189 return rc.decodeBitTree(low[posState]) + MATCH_LEN_MIN; in decode()
193 + MATCH_LEN_MIN + LOW_SYMBOLS; in decode()
196 + MATCH_LEN_MIN + LOW_SYMBOLS + MID_SYMBOLS; in decode()
DLZMAEncoder.java236 encodeMatch(-1, MATCH_LEN_MIN, posState); in encodeLZMA1EndMarker()
677 int lenSymbols = Math.max(niceLen - MATCH_LEN_MIN + 1, in LengthEncoder()
692 len -= MATCH_LEN_MIN; in encode()
714 return prices[posState][len - MATCH_LEN_MIN]; in getPrice()
/external/xz-embedded/linux/lib/xz/
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 in lzma_get_dist_state()
150 ? len - MATCH_LEN_MIN : DIST_STATES - 1; in lzma_get_dist_state()
Dxz_dec_lzma2.c628 s->lzma.len = MATCH_LEN_MIN; in lzma_len()
633 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS; in lzma_len()
637 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS in lzma_len()
/external/toybox/toys/pending/
Dxzcat.c1087 #define MATCH_LEN_MIN 2 macro
1108 #define MATCH_LEN_MAX (MATCH_LEN_MIN + LEN_SYMBOLS - 1)
1124 return len < DIST_STATES + MATCH_LEN_MIN in lzma_get_dist_state()
1125 ? len - MATCH_LEN_MIN : DIST_STATES - 1; in lzma_get_dist_state()
1770 s->lzma.len = MATCH_LEN_MIN; in lzma_len()
1775 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS; in lzma_len()
1779 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS in lzma_len()