Home
last modified time | relevance | path

Searched refs:maxLen (Results 1 – 25 of 51) sorted by relevance

123

/external/lzma/C/
DLzFind.c326 UInt32 *distances, UInt32 maxLen) in Hc_GetMatchesSpec() argument
337 if (pb[maxLen] == cur[maxLen] && *pb == *cur) in Hc_GetMatchesSpec()
343 if (maxLen < len) in Hc_GetMatchesSpec()
345 *distances++ = maxLen = len; in Hc_GetMatchesSpec()
357 UInt32 *distances, UInt32 maxLen) in GetMatchesSpec1() argument
380 if (maxLen < len) in GetMatchesSpec1()
382 *distances++ = maxLen = len; in GetMatchesSpec1()
479 #define GET_MATCHES_FOOTER(offset, maxLen) \ argument
481 distances + offset, maxLen) - distances); MOVE_POS_RET;
510 UInt32 hash2Value, delta2, maxLen, offset; in Bt3_MatchFinder_GetMatches() local
[all …]
/external/webrtc/webrtc/common_audio/resampler/
Dresampler.cc405 int16_t* samplesOut, size_t maxLen, size_t &outLen) in Push() argument
412 int16_t* out_left = (int16_t*)malloc(maxLen / 2 * sizeof(int16_t)); in Push()
414 (int16_t*)malloc(maxLen / 2 * sizeof(int16_t)); in Push()
428 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left); in Push()
429 res |= slave_right_->Push(right, lengthIn, out_right, maxLen / 2, actualOutLen_right); in Push()
468 if (maxLen < (lengthIn * 2)) in Push()
483 if (maxLen < (lengthIn * 3)) in Push()
499 if (maxLen < (lengthIn * 4)) in Push()
519 if (maxLen < (lengthIn * 6)) in Push()
549 if (maxLen < (lengthIn * 12)) { in Push()
[all …]
/external/icu/icu4c/source/i18n/
Dname2uni.cpp114 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local
115 if (maxLen == 0) { in handleTransliterate()
121 ++maxLen; // allow for temporary trailing space in handleTransliterate()
122 char* cbuf = (char*) uprv_malloc(maxLen); in handleTransliterate()
174 if (name.length() > maxLen) { in handleTransliterate()
191 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate()
228 if (name.length() >= maxLen) { in handleTransliterate()
Duni2name.cpp76 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local
77 if (maxLen == 0) { in handleTransliterate()
83 char* buf = (char*) uprv_malloc(maxLen); in handleTransliterate()
100 … if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) { in handleTransliterate()
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
DAbbreviatorTest.java106 int maxLen = rh.nextInt(MAX_RANDOM_MAX_LEN) + fixedLen; in testTheories() local
107 if (maxLen <= 1) { in testTheories()
111 int targetLen = (maxLen / 2) + rh.nextInt(maxLen / 2) + 1; in testTheories()
113 if (targetLen > maxLen) { in testTheories()
114 targetLen = maxLen; in testTheories()
116 String filename = rh.buildRandomFileName(averageLen, maxLen); in testTheories()
/external/bzip2/
Dhuffman.c66 Int32 maxLen ) in BZ2_hbMakeCodeLengths() argument
120 if (j > maxLen) tooLong = True; in BZ2_hbMakeCodeLengths()
155 Int32 maxLen, in BZ2_hbAssignCodes() argument
161 for (n = minLen; n <= maxLen; n++) { in BZ2_hbAssignCodes()
175 Int32 maxLen, 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
483 maxLen = 0; in sendMTFValues()
485 if (s->len[t][i] > maxLen) maxLen = s->len[t][i]; in sendMTFValues()
488 AssertH ( !(maxLen > 17 /*20*/ ), 3004 ); in sendMTFValues()
491 minLen, maxLen, alphaSize ); in sendMTFValues()
Ddecompress.c110 Int32 minLen, maxLen; in BZ2_decompress() local
334 maxLen = 0; in BZ2_decompress()
336 if (s->len[t][i] > maxLen) maxLen = s->len[t][i]; in BZ2_decompress()
344 minLen, maxLen, alphaSize in BZ2_decompress()
/external/lzma/CS/7zip/Common/
DCommandLineParser.cs27 int minLen, int maxLen, string postCharSet) in SwitchForm() argument
33 MaxLen = maxLen; in SwitchForm()
84 int maxLen = kNoLen; in ParseString()
88 if (switchLen <= maxLen || pos + switchLen > len) in ParseString()
94 maxLen = switchLen; in ParseString()
97 if (maxLen == kNoLen) in ParseString()
104 pos += maxLen; in ParseString()
/external/lzma/CPP/Common/
DCommandLineParser.cpp91 int maxLen = -1; in ParseString() local
97 if ((int)switchLen <= maxLen || pos + switchLen > s.Len()) in ParseString()
102 maxLen = switchLen; in ParseString()
106 if (maxLen < 0) in ParseString()
112 pos += maxLen; in ParseString()
/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()
253 if(length[ii] > maxLen) maxLen = length[ii]; in read_block_header()
274 hufGroup->maxLen = maxLen; 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()
304 limit[maxLen] = pp+temp[maxLen]-1; in read_block_header()
305 limit[maxLen+1] = INT_MAX; in read_block_header()
374 if (ii > hufGroup->maxLen || (unsigned)jj >= MAX_SYMBOLS) in read_huffman_data()
/external/boringssl/src/ssl/test/runner/
Ddtls.go130 maxLen := c.config.Bugs.MaxHandshakeRecordLength
131 if maxLen <= 0 {
132 maxLen = 1024
159 if fragLen > maxLen {
160 fragLen = maxLen
181 if fragLen > (maxLen+1)/2 {
183 fragLen = (maxLen + 1) / 2
270 maxLen := c.config.Bugs.MaxHandshakeRecordLength
271 if maxLen <= 0 {
272 maxLen = 1024
/external/deqp/execserver/
DxsExecutionServer.cpp344 size_t maxLen = de::min(m_sendRecvTmpBuf.size(), (size_t)m_bufferIn.getNumFree()); in receive() local
346 if (maxLen > 0) in receive()
349 deSocketResult result = m_socket->receive(&m_sendRecvTmpBuf[0], maxLen, &numRecv); in receive()
375 size_t maxLen = de::min(m_sendRecvTmpBuf.size(), (size_t)m_bufferOut.getNumElements()); in send() local
377 if (maxLen > 0) in send()
379 m_bufferOut.peekBack(&m_sendRecvTmpBuf[0], (int)maxLen); in send()
382 deSocketResult result = m_socket->send(&m_sendRecvTmpBuf[0], maxLen, &numSent); in send()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/compression/lz/
DBinTree.java107 int maxLen = kStartMaxLen; // to avoid items for len < hashSize; in GetMatches() local
126 distances[offset++] = maxLen = 2; in GetMatches()
131 distances[offset++] = maxLen = 3; in GetMatches()
137 maxLen = kStartMaxLen; in GetMatches()
152 distances[offset++] = maxLen = kNumHashDirectBytes; in GetMatches()
174 if (maxLen < len) { in GetMatches()
175 distances[offset++] = maxLen = len; in GetMatches()
/external/lzma/Java/SevenZip/Compression/LZ/
DBinTree.java136 int maxLen = kStartMaxLen; // to avoid items for len < hashSize; in GetMatches() local
160 distances[offset++] = maxLen = 2; in GetMatches()
168 distances[offset++] = maxLen = 3; in GetMatches()
175 maxLen = kStartMaxLen; in GetMatches()
194 distances[offset++] = maxLen = kNumHashDirectBytes; in GetMatches()
221 if (maxLen < len) in GetMatches()
223 distances[offset++] = maxLen = len; in GetMatches()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNameUnicodeTransliterator.java50 …int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing s… in handleTransliterate() local
52 StringBuffer name = new StringBuffer(maxLen); in handleTransliterate()
100 if (name.length() > maxLen) { in handleTransliterate()
146 if (name.length() >= maxLen) { in handleTransliterate()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DNameUnicodeTransliterator.java49 …int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing s… in handleTransliterate() local
51 StringBuffer name = new StringBuffer(maxLen); in handleTransliterate()
99 if (name.length() > maxLen) { in handleTransliterate()
145 if (name.length() >= maxLen) { in handleTransliterate()
/external/lzma/CS/7zip/Compress/LZ/
DLzBinTree.cs136 UInt32 maxLen = kStartMaxLen; // to avoid items for len < hashSize; in GetMatches()
160 distances[offset++] = maxLen = 2; in GetMatches()
168 distances[offset++] = maxLen = 3; in GetMatches()
175 maxLen = kStartMaxLen; in GetMatches()
194 distances[offset++] = maxLen = kNumHashDirectBytes; in GetMatches()
221 if (maxLen < len) in GetMatches()
223 distances[offset++] = maxLen = len; in GetMatches()
/external/deqp/modules/gles2/functional/
Des2fDebugMarkerTests.cpp75 void getSimpleRndString (vector<char>& dst, de::Random& rnd, int maxLen) in getSimpleRndString() argument
79 dst.resize(rnd.getInt(0, (int)maxLen)); in getSimpleRndString()
85 void getComplexRndString (vector<char>& dst, de::Random& rnd, int maxLen) in getComplexRndString() argument
87 dst.resize(rnd.getInt(0, (int)maxLen)); in getComplexRndString()
/external/libmpeg2/decoder/
Dimpeg2d_vld.h25 UWORD16 maxLen);
29 UWORD16 maxLen);
Dimpeg2d_vld.c509 WORD32 maxLen; in impeg2d_vld_decode() local
513 maxLen = MPEG2_DCT_DC_SIZE_LEN; in impeg2d_vld_decode()
517 maxLen += 1; in impeg2d_vld_decode()
524 UWORD32 maxLen_tmp = maxLen; in impeg2d_vld_decode()
529 IBITS_NXT(u4_buf,u4_buf_nxt,u4_offset,u4_bits,maxLen) in impeg2d_vld_decode()
542 FLUSH_BITS(u4_offset,u4_buf,u4_buf_nxt,(maxLen - maxLen_tmp),pu4_buf_aligned) in impeg2d_vld_decode()
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DStartupConfig.cpp126 const UINT8 maxLen = mBuffer[0]; in disableSecureElement() local
132 if (index > maxLen) in disableSecureElement()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DUnicodeSetCloseOver.java290 int maxLen = 0; // Maximum encoded length of any class, including zeros in generateCaseData() local
319 if (len > maxLen) maxLen = len; in generateCaseData()
324 if (maxLen > 8) { in generateCaseData()
325 … throw new RuntimeException("Must adjust CaseEquivClass to accomodate " + maxLen + " UChars"); in generateCaseData()
/external/clang/utils/TableGen/
DClangSACheckersEmitter.cpp259 unsigned maxLen = 0; in EmitClangSACheckers() local
262 maxLen = std::max(maxLen, (unsigned)I->first.size()); in EmitClangSACheckers()
303 << std::string(maxLen-I->first.size()+1, ' '); in EmitClangSACheckers()
/external/icu/icu4c/source/common/
Duniset.cpp679 int32_t maxLen = forward ? limit-offset : offset-limit; in matches() local
680 if (matchLen == maxLen) { in matches()
736 int32_t maxLen; in matchRest() local
739 maxLen = limit - start; in matchRest()
740 if (maxLen > slen) maxLen = slen; in matchRest()
741 for (i = 1; i < maxLen; ++i) { in matchRest()
745 maxLen = start - limit; in matchRest()
746 if (maxLen > slen) maxLen = slen; in matchRest()
748 for (i = 1; i < maxLen; ++i) { in matchRest()
752 return maxLen; in matchRest()

123