Home
last modified time | relevance | path

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

123

/external/lzma/C/
DLzFind.c391 UInt32 *distances, unsigned maxLen) in Hc_GetMatchesSpec() argument
433 if (cur[maxLen] == cur[maxLen + diff]) in Hc_GetMatchesSpec()
447 if (maxLen < len) in Hc_GetMatchesSpec()
449 maxLen = len; in Hc_GetMatchesSpec()
467 UInt32 *distances, UInt32 maxLen) in GetMatchesSpec1() argument
491 if (maxLen < len) in GetMatchesSpec1()
493 maxLen = (UInt32)len; in GetMatchesSpec1()
591 #define GET_MATCHES_FOOTER(offset, maxLen) \ argument
593 distances + offset, (UInt32)maxLen) - distances); MOVE_POS_RET;
600 const Byte *c = cur + maxLen; \
[all …]
/external/webrtc/common_audio/resampler/
Dresampler.cc401 size_t maxLen, in Push() argument
410 static_cast<int16_t*>(malloc(maxLen / 2 * sizeof(int16_t))); in Push()
412 static_cast<int16_t*>(malloc(maxLen / 2 * sizeof(int16_t))); in Push()
425 res |= helper_left_->Push(left, lengthIn, out_left, maxLen / 2, in Push()
427 res |= helper_right_->Push(right, lengthIn, out_right, maxLen / 2, in Push()
464 if (maxLen < (lengthIn * 2)) { in Push()
478 if (maxLen < (lengthIn * 3)) { in Push()
492 if (maxLen < (lengthIn * 4)) { in Push()
512 if (maxLen < (lengthIn * 6)) { in Push()
541 if (maxLen < (lengthIn * 12)) { in Push()
[all …]
/external/fastrpc/src/
Dfastrpc_perf.c78 int maxLen; member
112 VERIFY(pdsp->maxLen < PERF_KEY_STR_MAX); in get_perf_adsp()
153 int numKeys = 0, maxLen = 0; in perf_dsp_enable() local
161 VERIFY(0 == adsp_perf_get_keys(keys, PERF_KEY_STR_MAX, &maxLen, &numKeys)); in perf_dsp_enable()
162 VERIFY(maxLen < PERF_KEY_STR_MAX); in perf_dsp_enable()
163 gperf.dsp.maxLen = maxLen; in perf_dsp_enable()
171 FARF(HIGH, "keys enable done maxLen %d numKeys %d", maxLen, numKeys); in perf_dsp_enable()
/external/icu/icu4c/source/i18n/
Dname2uni.cpp116 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local
117 if (maxLen == 0) { in handleTransliterate()
123 ++maxLen; // allow for temporary trailing space in handleTransliterate()
124 char* cbuf = (char*) uprv_malloc(maxLen); in handleTransliterate()
176 if (name.length() > maxLen) { in handleTransliterate()
194 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate()
231 if (name.length() >= maxLen) { in handleTransliterate()
Duni2name.cpp78 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local
79 if (maxLen == 0) { in handleTransliterate()
85 char* buf = (char*) uprv_malloc(maxLen); in handleTransliterate()
102 … 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()
/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.cpp76 int maxLen = -1; in ParseString() local
82 if ((int)switchLen <= maxLen || pos + switchLen > s.Len()) in ParseString()
87 maxLen = switchLen; in ParseString()
91 if (maxLen < 0) in ParseString()
97 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/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/boringssl/src/ssl/test/runner/
Ddtls.go191 maxLen := c.config.Bugs.MaxHandshakeRecordLength
192 if maxLen <= 0 {
193 maxLen = 1024
220 if fragLen > maxLen {
221 fragLen = maxLen
242 if fragLen > (maxLen+1)/2 {
244 fragLen = (maxLen + 1) / 2
335 maxLen := c.config.Bugs.MaxHandshakeRecordLength
336 if maxLen <= 0 {
337 maxLen = 1024
/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.java54 …int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing s… in handleTransliterate() local
56 StringBuffer name = new StringBuffer(maxLen); in handleTransliterate()
104 if (name.length() > maxLen) { in handleTransliterate()
150 if (name.length() >= maxLen) { in handleTransliterate()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DNameUnicodeTransliterator.java53 …int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing s… in handleTransliterate() local
55 StringBuffer name = new StringBuffer(maxLen); in handleTransliterate()
103 if (name.length() > maxLen) { in handleTransliterate()
149 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/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAsset.java741 int maxLen; in read() local
758 maxLen = toIntExact(mLength - mOffset); in read()
759 if (count > maxLen) in read()
760 count = maxLen; in read()
1232 int maxLen;
1248 maxLen = toIntExact(mUncompressedLen - mOffset);
1249 if (count > maxLen)
1250 count = maxLen;
/external/angle/util/windows/win32/
Dtest_utils_win32.cpp45 size_t maxLen = _TRUNCATE; in OnCallstackEntry() local
62 _snprintf_s(buffer, maxLen, " %s - %p (%s): %s\n", entry.name, in OnCallstackEntry()
67 _snprintf_s(buffer, maxLen, " %s (%s:%d)\n", entry.name, entry.lineFileName, in OnCallstackEntry()
/external/libmpeg2/decoder/
Dimpeg2d_vld.h25 UWORD16 maxLen);
29 UWORD16 maxLen);
/external/angle/util/windows/third_party/StackWalker/src/
DStackWalker.cpp230 #define strncpy_s(dst, len, src, maxLen) strncpy(dst, len, src) argument
1363 size_t maxLen = STACKWALK_MAX_NAMELEN; in OnLoadModule() local
1365 maxLen = _TRUNCATE; in OnLoadModule()
1368 _snprintf_s(buffer, maxLen, "%s:%s (%p), size: %d (result: %d), SymType: '%s', PDB: '%s'\n", in OnLoadModule()
1377 buffer, maxLen, in OnLoadModule()
1388 size_t maxLen = STACKWALK_MAX_NAMELEN; in OnCallstackEntry() local
1390 maxLen = _TRUNCATE; in OnCallstackEntry()
1405 _snprintf_s(buffer, maxLen, "%p (%s): %s: %s\n", (LPVOID)entry.offset, entry.moduleName, in OnCallstackEntry()
1409 _snprintf_s(buffer, maxLen, "%s (%d): %s\n", entry.lineFileName, entry.lineNumber, in OnCallstackEntry()
1419 size_t maxLen = STACKWALK_MAX_NAMELEN; in OnDbgHelpErr() local
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonLocation.java204 int maxLen = Math.min(b.length, MAX_CONTENT_SNIPPET); in _appendSourceDesc() local
205 _append(sb, new String(b, 0, maxLen, Charset.forName("UTF-8"))); in _appendSourceDesc()
206 len = b.length - maxLen; in _appendSourceDesc()
/external/angle/util/
Dtest_utils.cpp40 bool ReadEntireFileToString(const char *filePath, char *contentsOut, uint32_t maxLen) in ReadEntireFileToString() argument
56 strncpy(contentsOut, contents.c_str(), maxLen); in ReadEntireFileToString()
/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++) {
560 int maxLen = 0;
564 if (lent > maxLen) {
565 maxLen = lent;
572 maxLen, alphaSize);
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DUnicodeSetCloseOver.java292 int maxLen = 0; // Maximum encoded length of any class, including zeros in generateCaseData() local
321 if (len > maxLen) maxLen = len; in generateCaseData()
326 if (maxLen > 8) { in generateCaseData()
327 … throw new RuntimeException("Must adjust CaseEquivClass to accomodate " + maxLen + " UChars"); in generateCaseData()

123