Home
last modified time | relevance | path

Searched refs:minLen (Results 1 – 25 of 33) 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/syzkaller/prog/
Dmutation.go247 minLen, maxLen := uint64(0), maxBlobLen
249 minLen, maxLen = t.RangeBegin, t.RangeEnd
251 a.data = mutateData(r, data, minLen, maxLen)
255 minLen, maxLen := uint64(0), maxBlobLen
257 minLen, maxLen = t.TypeSize, t.TypeSize
259 a.data = mutateData(r, data, minLen, maxLen)
417 func mutateData(r *randGen, data []byte, minLen, maxLen uint64) []byte { argument
420 data, stop = f(r, data, minLen, maxLen)
427 var mutateDataFuncs = [...]func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool){
430 func(r *randGen, data []byte, minLen, maxLen uint64) ([]byte, bool) {
[all …]
Dminimization.go217 minLen := int(typ.RangeBegin)
218 for step := len(a.Data()) - minLen; len(a.Data()) > minLen && step > 0; {
219 if len(a.Data())-step >= minLen {
/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/u-boot/lib/bzip2/
Dbzlib_huffman.c178 Int32 minLen, in BZ2_hbAssignCodes() argument
185 for (n = minLen; n <= maxLen; n++) { in BZ2_hbAssignCodes()
198 Int32 minLen, in BZ2_hbCreateDecodeTables() argument
205 for (i = minLen; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
217 for (i = minLen; i <= maxLen; i++) { in BZ2_hbCreateDecodeTables()
222 for (i = minLen + 1; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
Dbzlib_compress.c282 Int32 nSelectors, alphaSize, minLen, maxLen, selCtr; in sendMTFValues() local
523 minLen = 32; in sendMTFValues()
527 if (s->len[t][i] < minLen) minLen = s->len[t][i]; in sendMTFValues()
530 AssertH ( !(minLen < 1), 3005 ); in sendMTFValues()
532 minLen, maxLen, alphaSize ); in sendMTFValues()
Dbzlib_decompress.c153 Int32 minLen, maxLen; in BZ2_decompress() local
376 minLen = 32; in BZ2_decompress()
380 if (s->len[t][i] < minLen) minLen = s->len[t][i]; in BZ2_decompress()
387 minLen, maxLen, alphaSize in BZ2_decompress()
389 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.java241 int minLen = o1.length;
242 if (minLen > o2.length) {
243 minLen = o2.length;
245 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/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/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/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/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/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java271 private String getRandomString(String[] randomList, int minLen, int maxLen) { in getRandomString() argument
273 int len = random.nextInt(maxLen + 1 - minLen) + minLen; in getRandomString()
274 for (int i = minLen; i < len; ++ i) { in getRandomString()
/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()
/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()

12