Home
last modified time | relevance | path

Searched refs:minLen (Results 1 – 25 of 35) sorted by relevance

12

/external/lzma/CS/7zip/Common/
DCommandLineParser.cs27 int minLen, int maxLen, string postCharSet) in SwitchForm() argument
32 MinLen = minLen; in SwitchForm()
36 public SwitchForm(string idString, SwitchType type, bool multi, int minLen): in SwitchForm() argument
37 this(idString, type, multi, minLen, 0, "") in SwitchForm()
145 int minLen = switchForm.MinLen; in ParseString()
146 if (tailSize < minLen) in ParseString()
153 String stringSwitch = srcString.Substring(pos, minLen); in ParseString()
154 pos += minLen; in ParseString()
155 for (int i = minLen; i < switchForm.MaxLen && pos < len; i++, pos++) in ParseString()
/external/lzma/CPP/Common/
DMyString.h314 char *GetBuf(unsigned minLen) in GetBuf() argument
316 if (minLen > _limit) in GetBuf()
317 ReAlloc2(minLen); in GetBuf()
320 char *GetBuf_SetEnd(unsigned minLen) in GetBuf_SetEnd() argument
322 if (minLen > _limit) in GetBuf_SetEnd()
323 ReAlloc2(minLen); in GetBuf_SetEnd()
325 chars[minLen] = 0; in GetBuf_SetEnd()
326 _len = minLen; in GetBuf_SetEnd()
551 wchar_t *GetBuf(unsigned minLen) in GetBuf() argument
553 if (minLen > _limit) in GetBuf()
[all …]
/external/bzip2/
Dhuffman.c154 Int32 minLen, in BZ2_hbAssignCodes() argument
161 for (n = minLen; n <= maxLen; n++) { in BZ2_hbAssignCodes()
174 Int32 minLen, in BZ2_hbCreateDecodeTables() argument
181 for (i = minLen; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
193 for (i = minLen; i <= maxLen; i++) { in BZ2_hbCreateDecodeTables()
198 for (i = minLen + 1; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
Dcompress.c242 Int32 nSelectors, alphaSize, minLen, maxLen, selCtr; in sendMTFValues() local
482 minLen = 32; in sendMTFValues()
486 if (s->len[t][i] < minLen) minLen = s->len[t][i]; in sendMTFValues()
489 AssertH ( !(minLen < 1), 3005 ); in sendMTFValues()
491 minLen, maxLen, alphaSize ); in sendMTFValues()
Ddecompress.c110 Int32 minLen, maxLen; in BZ2_decompress() local
334 minLen = 32; in BZ2_decompress()
338 if (s->len[t][i] < minLen) minLen = s->len[t][i]; in BZ2_decompress()
345 minLen, maxLen, alphaSize in BZ2_decompress()
347 s->minLens[t] = minLen; in BZ2_decompress()
/external/toybox/toys/other/
Dbzcat.c66 char minLen, maxLen; member
229 int minLen, maxLen, pp; in read_block_header() local
251 minLen = maxLen = length[0]; in read_block_header()
254 else if(length[ii] < minLen) minLen = length[ii]; in read_block_header()
273 hufGroup->minLen = minLen; in read_block_header()
284 for (ii = minLen; ii <= maxLen; ii++) { in read_block_header()
298 for (ii = minLen; ii < maxLen; ii++) { in read_block_header()
306 base[minLen] = 0; in read_block_header()
359 ii = hufGroup->minLen; in read_huffman_data()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
DBZip2CompressorInputStream.java425 … final int minLen, final int maxLen, final int alphaSize)
427 for (int i = minLen, pp = 0; i <= maxLen; i++) {
451 for (int i = minLen, vec = 0, b = base[i]; i <= maxLen; i++) {
459 for (int i = minLen + 1; i <= maxLen; i++) {
559 int minLen = 32;
567 if (lent < minLen) {
568 minLen = lent;
571 hbCreateDecodeTables(limit[t], base[t], perm[t], len[t], minLen,
573 minLens[t] = minLen;
DBZip2CompressorOutputStream.java670 final int minLen, final int maxLen, in hbAssignCodes() argument
673 for (int n = minLen; n <= maxLen; n++) { in hbAssignCodes()
947 int minLen = 32; in sendMTFValues3() local
955 if (l < minLen) { in sendMTFValues3()
956 minLen = l; in sendMTFValues3()
963 hbAssignCodes(code[t], len[t], minLen, maxLen, alphaSize); in sendMTFValues3()
/external/cldr/tools/java/org/unicode/cldr/util/
DStateDictionaryBuilder.java243 int minLen = o1.length;
244 if (minLen > o2.length) {
245 minLen = o2.length;
247 for (int i = 0; i < minLen; ++i) {
/external/icu/icu4c/source/test/perf/usetperf/
Dbitset.cpp54 void BitSet::ensureCapacity(uint32_t minLen) { in ensureCapacity() argument
56 while (newLen < minLen) newLen <<= 1; // grow exponentially in ensureCapacity()
Dbitset.h25 void ensureCapacity(uint32_t minLen);
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DStringGenerationFromReaderTest.java82 private String _generareMediumText(int minLen) in _generareMediumText() argument
84 StringBuilder sb = new StringBuilder(minLen + 1000); in _generareMediumText()
85 Random rnd = new Random(minLen); in _generareMediumText()
101 } while (sb.length() < minLen); in _generareMediumText()
DStringGenerationTest.java86 private String _generareMediumText(int minLen) in _generareMediumText() argument
88 StringBuilder sb = new StringBuilder(minLen + 1000); in _generareMediumText()
89 Random rnd = new Random(minLen); in _generareMediumText()
105 } while (sb.length() < minLen); in _generareMediumText()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestStringByteConverter.java237 private static String getRandomString(int minLen, int maxLen, in getRandomString() argument
240 int len = random.nextInt(maxLen - minLen + 1) + minLen; in getRandomString()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DArchiveUtils.java159 final int minLen=length1 < length2 ? length1 : length2; in isEqual()
160 for (int i=0; i < minLen; i++){ in isEqual()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncParserNamesTest.java118 private String generateName(int minLen) in generateName() argument
122 while (sb.length() < minLen) { in generateName()
/external/lzma/C/
DLzFind.c581 #define GET_MATCHES_HEADER2(minLen, ret_op) \ argument
583 lenLimit = (unsigned)p->lenLimit; { if (lenLimit < minLen) { MatchFinder_MovePos(p); ret_op; }} \
586 #define GET_MATCHES_HEADER(minLen) GET_MATCHES_HEADER2(minLen, return 0) argument
587 #define SKIP_HEADER(minLen) GET_MATCHES_HEADER2(minLen, continue) argument
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DSerializedStringWriteTest.java168 private static String _generateLongName(int minLen) in _generateLongName() argument
172 while (sb.length() < minLen) { in _generateLongName()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DUnicodeMap.java770 int minLen = Math.min(last.length(), s.length());
771 for (int i = 0; i < minLen; ++i) {
774 return minLen;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DUnicodeMap.java773 int minLen = Math.min(last.length(), s.length());
774 for (int i = 0; i < minLen; ++i) {
777 return minLen;
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java802 int minLen = reverse.length(); in addSentenceToTable() local
803 if (minLen > sentence.length()) minLen = sentence.length(); in addSentenceToTable()
805 for (i = 0; i < minLen; ++i) { in addSentenceToTable()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DLongArray.java715 int minLen = otherUsedLen + words; in addShiftedByWords() local
716 if (minLen > m_ints.length) in addShiftedByWords()
718 m_ints = resizedInts(minLen); in addShiftedByWords()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DLongArray.java714 int minLen = otherUsedLen + words; in addShiftedByWords() local
715 if (minLen > m_ints.length) in addShiftedByWords()
717 m_ints = resizedInts(minLen); in addShiftedByWords()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/math/ec/
DLongArray.java715 int minLen = otherUsedLen + words; in addShiftedByWords() local
716 if (minLen > m_ints.length) in addShiftedByWords()
718 m_ints = resizedInts(minLen); in addShiftedByWords()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java268 private String getRandomString(String[] randomList, int minLen, int maxLen) { in getRandomString() argument
270 int len = random.nextInt(maxLen + 1 - minLen) + minLen; in getRandomString()
271 for (int i = minLen; i < len; ++ i) { in getRandomString()

12