Home
last modified time | relevance | path

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

/external/xz-java/src/org/tukaani/xz/
DLZMA2Options.java138 private int niceLen; field in LZMA2Options
172 int niceLen, int mf, int depthLimit) in LZMA2Options() argument
178 setNiceLen(niceLen); in LZMA2Options()
212 niceLen = preset <= 1 ? 128 : NICE_LEN_MAX; in setPreset()
217 niceLen = (preset == 4) ? 16 : (preset == 5) ? 32 : 64; in setPreset()
447 public void setNiceLen(int niceLen) throws UnsupportedOptionsException { in setNiceLen() argument
448 if (niceLen < NICE_LEN_MIN) in setNiceLen()
451 + NICE_LEN_MIN + " bytes: " + niceLen); in setNiceLen()
453 if (niceLen > NICE_LEN_MAX) in setNiceLen()
456 + ": " + niceLen); in setNiceLen()
[all …]
/external/xz-java/src/org/tukaani/xz/lz/
DLZEncoder.java36 final int niceLen; field in LZEncoder
122 int niceLen, int matchLenMax, int mf, int depthLimit, in getInstance() argument
127 niceLen, matchLenMax, depthLimit, arrayCache); in getInstance()
131 niceLen, matchLenMax, depthLimit, arrayCache); in getInstance()
141 int niceLen, int matchLenMax, ArrayCache arrayCache) { in LZEncoder() argument
150 this.niceLen = niceLen; in LZEncoder()
DBT4.java30 int niceLen, int matchLenMax, int depthLimit, in BT4() argument
32 super(dictSize, beforeSizeMin, readAheadMax, niceLen, matchLenMax, in BT4()
44 matches = new Matches(niceLen - 1); in BT4()
46 this.depthLimit = depthLimit > 0 ? depthLimit : 16 + niceLen / 2; in BT4()
56 int avail = movePos(niceLen, 4); in movePos()
77 int niceLenLimit = niceLen; in getMatches()
248 int niceLenLimit = niceLen; in skip()
DHC4.java37 int niceLen, int matchLenMax, int depthLimit, in HC4() argument
39 super(dictSize, beforeSizeMin, readAheadMax, niceLen, matchLenMax, in HC4()
52 matches = new Matches(niceLen - 1); in HC4()
57 this.depthLimit = (depthLimit > 0) ? depthLimit : 4 + niceLen / 4; in HC4()
93 int niceLenLimit = niceLen; in getMatches()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
DParameters.java168 public Builder withNiceBackReferenceLength(int niceLen) {
169 niceBackReferenceLength = niceLen;
248 int niceLen = niceBackReferenceLength != null ? niceBackReferenceLength
252 … int threshold = lazy ? (lazyThreshold != null ? lazyThreshold : niceLen) : minBackReferenceLength;
255 maxOffset, maxLiteralLength, niceLen, candidates, lazy, threshold);
/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoderFast.java32 int niceLen, int mf, int depthLimit, in LZMAEncoderFast() argument
38 niceLen, MATCH_LEN_MAX, in LZMAEncoderFast()
40 lc, lp, pb, dictSize, niceLen); in LZMAEncoderFast()
73 if (len >= niceLen) { in getNextSymbol()
93 if (mainLen >= niceLen) { in getNextSymbol()
DLZMAEncoder.java55 final int niceLen; field in LZMAEncoder
95 int niceLen, int mf, int depthLimit, in getInstance() argument
101 niceLen, mf, depthLimit, in getInstance()
107 niceLen, mf, depthLimit, in getInstance()
176 int lc, int lp, int pb, int dictSize, int niceLen) { in LZMAEncoder() argument
180 this.niceLen = niceLen; in LZMAEncoder()
183 matchLenEncoder = new LengthEncoder(pb, niceLen); in LZMAEncoder()
184 repLenEncoder = new LengthEncoder(pb, niceLen); in LZMAEncoder()
670 LengthEncoder(int pb, int niceLen) { in LengthEncoder() argument
677 int lenSymbols = Math.max(niceLen - MATCH_LEN_MIN + 1, in LengthEncoder()
DLZMAEncoderNormal.java44 int niceLen, int mf, int depthLimit, in LZMAEncoderNormal() argument
50 niceLen, MATCH_LEN_MAX, in LZMAEncoderNormal()
52 lc, lp, pb, dictSize, niceLen); in LZMAEncoderNormal()
142 if (repLens[repBest] >= niceLen) { in getNextSymbol()
157 if (mainLen >= niceLen) { in getNextSymbol()
277 && matches.len[matches.count - 1] >= niceLen) in getNextSymbol()
405 int lenLimit = Math.min(niceLen, avail - 1);
432 int lenLimit = Math.min(avail, niceLen);
455 int len2Limit = Math.min(niceLen, avail - len - 1);
534 int len2Limit = Math.min(niceLen, avail - len - 1);