/external/icu/icu4c/source/i18n/ |
H A D | uni2name.cpp | 78 int32_t maxLen = uprv_getMaxCharNameLength(); local 79 if (maxLen == 0) { 85 char* buf = (char*) uprv_malloc(maxLen); 102 if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) {
|
H A D | name2uni.cpp | 116 int32_t maxLen = uprv_getMaxCharNameLength(); local 117 if (maxLen == 0) { 123 ++maxLen; // allow for temporary trailing space 124 char* cbuf = (char*) uprv_malloc(maxLen); 174 // If we are too long then abort. maxLen includes 176 if (name.length() > maxLen) { 193 name.extract(0, len, cbuf, maxLen, US_INV); 229 // maxLen includes temporary trailing space, so use '>='. 230 if (name.length() >= maxLen) {
|
H A D | tzgnames.cpp | 1022 int32_t maxLen = 0; local 1023 UVector *results = handler.getMatches(maxLen); 1024 if (results != NULL && ((maxLen == (text.length() - start)) || fGNamesTrieFullyLoaded)) { 1076 results = handler.getMatches(maxLen); 1077 if (results != NULL && maxLen > 0) {
|
H A D | tznames_impl.cpp | 1398 int32_t maxLen = 0; local 1399 TimeZoneNames::MatchInfoCollection* matches = handler.getMatches(maxLen); 1400 if (matches != NULL && ((maxLen == (text.length() - start)) || fNamesTrieFullyLoaded)) { 2228 int32_t maxLen = 0; local 2229 return handler.getMatches(maxLen);
|
/external/bzip2/ |
H A D | huffman.c | 66 Int32 maxLen ) 120 if (j > maxLen) tooLong = True; 130 maxLen, which up to and including version 1.0.2 was 20 bits, 131 which is extremely unlikely. In version 1.0.3 maxLen was 155 Int32 maxLen, 161 for (n = minLen; n <= maxLen; n++) { 175 Int32 maxLen, 181 for (i = minLen; i <= maxLen; i++) 193 for (i = minLen; i <= maxLen; i++) { 198 for (i = minLen + 1; i <= maxLen; 152 BZ2_hbAssignCodes( Int32 *code, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument 170 BZ2_hbCreateDecodeTables( Int32 *limit, Int32 *base, Int32 *perm, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument [all...] |
H A D | compress.c | 242 Int32 nSelectors, alphaSize, minLen, maxLen, selCtr; local 447 /* maxLen was changed from 20 to 17 in bzip2-1.0.3. See 483 maxLen = 0; 485 if (s->len[t][i] > maxLen) maxLen = s->len[t][i]; 488 AssertH ( !(maxLen > 17 /*20*/ ), 3004 ); 491 minLen, maxLen, alphaSize );
|
H A D | decompress.c | 110 Int32 minLen, maxLen; local 334 maxLen = 0; 336 if (s->len[t][i] > maxLen) maxLen = s->len[t][i]; 344 minLen, maxLen, alphaSize
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fDebugMarkerTests.cpp | 75 void getSimpleRndString (vector<char>& dst, de::Random& rnd, int maxLen) argument 79 dst.resize(rnd.getInt(0, (int)maxLen)); 85 void getComplexRndString (vector<char>& dst, de::Random& rnd, int maxLen) argument 87 dst.resize(rnd.getInt(0, (int)maxLen));
|
/external/lzma/CPP/Common/ |
H A D | CommandLineParser.cpp | 91 int maxLen = -1;
local 97 if ((int)switchLen <= maxLen || pos + switchLen > s.Len())
102 maxLen = switchLen;
106 if (maxLen < 0)
112 pos += maxLen;
|
H A D | MyString.h | 268 void ReleaseBuf_CalcLen(unsigned maxLen)
argument 271 chars[maxLen] = 0;
503 void ReleaseBuf_CalcLen(unsigned maxLen)
argument 506 chars[maxLen] = 0;
|
/external/webrtc/webrtc/common_audio/resampler/ |
H A D | resampler.cc | 405 int16_t* samplesOut, size_t maxLen, size_t &outLen) 412 int16_t* out_left = (int16_t*)malloc(maxLen / 2 * sizeof(int16_t)); 414 (int16_t*)malloc(maxLen / 2 * sizeof(int16_t)); 428 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left); 429 res |= slave_right_->Push(right, lengthIn, out_right, maxLen / 2, actualOutLen_right); 468 if (maxLen < (lengthIn * 2)) 483 if (maxLen < (lengthIn * 3)) 499 if (maxLen < (lengthIn * 4)) 519 if (maxLen < (lengthIn * 6)) 549 if (maxLen < (lengthI 404 Push(const int16_t * samplesIn, size_t lengthIn, int16_t* samplesOut, size_t maxLen, size_t &outLen) argument [all...] |
/external/clang/utils/TableGen/ |
H A D | ClangSACheckersEmitter.cpp | 259 unsigned maxLen = 0; local 262 maxLen = std::max(maxLen, (unsigned)I->first.size()); 303 << std::string(maxLen-I->first.size()+1, ' ');
|
/external/deqp/execserver/ |
H A D | xsExecutionServer.cpp | 344 size_t maxLen = de::min(m_sendRecvTmpBuf.size(), (size_t)m_bufferIn.getNumFree()); local 346 if (maxLen > 0) 349 deSocketResult result = m_socket->receive(&m_sendRecvTmpBuf[0], maxLen, &numRecv); 375 size_t maxLen = de::min(m_sendRecvTmpBuf.size(), (size_t)m_bufferOut.getNumElements()); local 377 if (maxLen > 0) 379 m_bufferOut.peekBack(&m_sendRecvTmpBuf[0], (int)maxLen); 382 deSocketResult result = m_socket->send(&m_sendRecvTmpBuf[0], maxLen, &numSent);
|
/external/lzma/CS/7zip/Common/ |
H A D | CommandLineParser.cs | 27 int minLen, int maxLen, string postCharSet)
33 MaxLen = maxLen;
84 int maxLen = kNoLen;
88 if (switchLen <= maxLen || pos + switchLen > len)
94 maxLen = switchLen;
97 if (maxLen == kNoLen)
98 throw new Exception("maxLen == kNoLen");
104 pos += maxLen;
26 SwitchForm(string idString, SwitchType type, bool multi, int minLen, int maxLen, string postCharSet) argument
|
/external/icu/icu4c/source/common/ |
H A D | uniset.cpp | 681 int32_t maxLen = forward ? limit-offset : offset-limit; local 682 if (matchLen == maxLen) { 738 int32_t maxLen; 741 maxLen = limit - start; 742 if (maxLen > slen) maxLen = slen; 743 for (i = 1; i < maxLen; ++i) { 747 maxLen = start - limit; 748 if (maxLen > slen) maxLen [all...] |
H A D | uloc.cpp | 2477 int32_t maxLen=0; local 2514 if(len>maxLen) { 2515 maxLen = len; 2527 for(maxLen--;maxLen>0;maxLen--) { 2529 if(fallbackList[i] && ((int32_t)uprv_strlen(fallbackList[i])==maxLen)) {
|
/external/libmpeg2/decoder/ |
H A D | impeg2d_vld.c | 55 * maxLen : Maximum Length of the decoded symbol in bits 92 * maxLen : Maximum Length of the decoded symbol in bits 509 WORD32 maxLen; local 513 maxLen = MPEG2_DCT_DC_SIZE_LEN; 517 maxLen += 1; 524 UWORD32 maxLen_tmp = maxLen; 529 IBITS_NXT(u4_buf,u4_buf_nxt,u4_offset,u4_bits,maxLen) 542 FLUSH_BITS(u4_offset,u4_buf,u4_buf_nxt,(maxLen - maxLen_tmp),pu4_buf_aligned)
|
/external/lzma/C/ |
H A D | LzFind.c | 359 UInt32 *distances, UInt32 maxLen)
370 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
376 if (maxLen < len)
378 *distances++ = maxLen = len;
390 UInt32 *distances, UInt32 maxLen)
413 if (maxLen < len)
415 *distances++ = maxLen = len;
512 #define GET_MATCHES_FOOTER(offset, maxLen) \
514 distances + offset, maxLen) 357 Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument 388 GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument 550 UInt32 h2, d2, maxLen, offset, pos; local 587 UInt32 h2, h3, d2, d3, maxLen, offset, pos; local 719 UInt32 h2, h3, d2, d3, maxLen, offset, pos; local [all...] |
H A D | LzFindMt.c | 249 UInt32 maxLen = _maxLen;
local 268 if (maxLen < len)
270 *distances++ = maxLen = len;
|
/external/toybox/toys/other/ |
H A D | bzcat.c | 66 char minLen, maxLen; member in struct:group_data 229 int minLen, maxLen, pp; local 251 minLen = maxLen = length[0]; 253 if(length[ii] > maxLen) maxLen = length[ii]; 274 hufGroup->maxLen = maxLen; 284 for (ii = minLen; ii <= maxLen; ii++) { 298 for (ii = minLen; ii < maxLen; ii++) { 304 limit[maxLen] [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | DateTimeGeneratorTest.java | 271 private String getRandomString(String[] randomList, int minLen, int maxLen) { argument 273 int len = random.nextInt(maxLen + 1 - minLen) + minLen;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DateTimeGeneratorTest.java | 268 private String getRandomString(String[] randomList, int minLen, int maxLen) { argument 270 int len = random.nextInt(maxLen + 1 - minLen) + minLen;
|
/external/pdfium/core/fxcrt/ |
H A D | widestring.cpp | 320 int maxLen = vswprintf(nullptr, 0, format, argListCopy); local 323 if (maxLen <= 0) { 330 maxLen = pdfium::base::checked_cast<int>(guess.value()); 333 while (maxLen < 32 * 1024) { 336 TryVSWPrintf(static_cast<size_t>(maxLen), format, argListCopy); 341 maxLen *= 2;
|
/external/icu/icu4c/source/test/perf/collationperf/ |
H A D | collperf.cpp | 785 int maxLen = 0; local 789 if (gFileLines[i].len > maxLen) maxLen = gFileLines[i].len; 793 int *accumulatedLen = new int[maxLen+1]; 794 int *numKeysOfSize = new int[maxLen+1]; 795 for (i=0; i<=maxLen; i++) { 809 for (i=1; i<=maxLen; i++) {
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fSRGBDecodeTests.cpp | 640 glw::GLint activeUniforms, maxLen; local 644 gl.getProgramiv(this->getHandle(), GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLen); 647 std::vector<glw::GLchar> uniformName(static_cast<int>(maxLen)); 650 gl.getActiveUniform(this->getHandle(), idx, maxLen, NULL, &size, &type, &uniformName[0]);
|