/external/chromium_org/third_party/icu/source/i18n/ |
uni2name.cpp | 75 int32_t maxLen = uprv_getMaxCharNameLength(); 76 if (maxLen == 0) { 82 char* buf = (char*) uprv_malloc(maxLen); 99 if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) {
|
name2uni.cpp | 112 int32_t maxLen = uprv_getMaxCharNameLength(); 113 if (maxLen == 0) { 119 ++maxLen; // allow for temporary trailing space 120 char* cbuf = (char*) uprv_malloc(maxLen); 170 // If we are too long then abort. maxLen includes 172 if (name.length() > maxLen) { 189 name.extract(0, len, cbuf, maxLen, US_INV); 225 // maxLen includes temporary trailing space, so use '>='. 226 if (name.length() >= maxLen) {
|
/external/icu/icu4c/source/i18n/ |
uni2name.cpp | 76 int32_t maxLen = uprv_getMaxCharNameLength(); 77 if (maxLen == 0) { 83 char* buf = (char*) uprv_malloc(maxLen); 100 if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) {
|
name2uni.cpp | 114 int32_t maxLen = uprv_getMaxCharNameLength(); 115 if (maxLen == 0) { 121 ++maxLen; // allow for temporary trailing space 122 char* cbuf = (char*) uprv_malloc(maxLen); 172 // If we are too long then abort. maxLen includes 174 if (name.length() > maxLen) { 191 name.extract(0, len, cbuf, maxLen, US_INV); 227 // maxLen includes temporary trailing space, so use '>='. 228 if (name.length() >= maxLen) {
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
StartupConfig.cpp | 126 const UINT8 maxLen = mBuffer[0]; 132 if (index > maxLen)
|
/art/runtime/jdwp/ |
jdwp_expand_buf.cc | 40 int maxLen; 52 newBuf->maxLen = kInitialStorage; 87 if (pBuf->curLen + newCount <= pBuf->maxLen) { 91 while (pBuf->curLen + newCount > pBuf->maxLen) { 92 pBuf->maxLen *= 2; 95 uint8_t* newPtr = reinterpret_cast<uint8_t*>(realloc(pBuf->storage, pBuf->maxLen)); 97 LOG(FATAL) << "realloc(" << pBuf->maxLen << ") failed";
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
Input.java | 32 public int maxLen; 46 maxLen = 1; 61 maxLen = in.readInt(); 82 dest.writeInt(maxLen);
|
/external/clang/utils/TableGen/ |
ClangSACheckersEmitter.cpp | 259 unsigned maxLen = 0; 262 maxLen = std::max(maxLen, (unsigned)I->first.size()); 303 << std::string(maxLen-I->first.size()+1, ' ');
|
/external/deqp/execserver/ |
xsExecutionServer.cpp | 344 int maxLen = de::min<int>((int)m_sendRecvTmpBuf.size(), m_bufferIn.getNumFree()); 346 if (maxLen > 0) 349 deSocketResult result = m_socket->receive(&m_sendRecvTmpBuf[0], maxLen, &numRecv); 375 int maxLen = de::min<int>((int)m_sendRecvTmpBuf.size(), m_bufferOut.getNumElements()); 377 if (maxLen > 0) 379 m_bufferOut.peekBack(&m_sendRecvTmpBuf[0], maxLen); 382 deSocketResult result = m_socket->send(&m_sendRecvTmpBuf[0], maxLen, &numSent);
|
/external/lzma/CPP/Common/ |
CommandLineParser.cpp | 105 int maxLen = kNoLen;
109 if (switchLen <= maxLen || pos + switchLen > len)
118 maxLen = switchLen;
121 if (maxLen == kNoLen)
122 throw "maxLen == kNoLen";
128 pos += maxLen;
177 int maxLen = switchForm.MaxLen;
180 for (int i = minLen; i < maxLen && pos < len; i++, pos++)
|
/external/bzip2/ |
compress.c | 242 Int32 nSelectors, alphaSize, minLen, maxLen, selCtr; 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 );
|
decompress.c | 110 Int32 minLen, maxLen; 334 maxLen = 0; 336 if (s->len[t][i] > maxLen) maxLen = s->len[t][i]; 344 minLen, maxLen, alphaSize
|
/external/chromium_org/third_party/icu/source/common/ |
uniset.cpp | 677 int32_t maxLen = forward ? limit-offset : offset-limit; 678 if (matchLen == maxLen) { 734 int32_t maxLen; 737 maxLen = limit - start; 738 if (maxLen > slen) maxLen = slen; 739 for (i = 1; i < maxLen; ++i) { 743 maxLen = start - limit; 744 if (maxLen > slen) maxLen = slen [all...] |
/external/icu/icu4c/source/common/ |
uniset.cpp | 679 int32_t maxLen = forward ? limit-offset : offset-limit; 680 if (matchLen == maxLen) { 736 int32_t maxLen; 739 maxLen = limit - start; 740 if (maxLen > slen) maxLen = slen; 741 for (i = 1; i < maxLen; ++i) { 745 maxLen = start - limit; 746 if (maxLen > slen) maxLen = slen [all...] |
uloc.cpp | [all...] |
/external/lzma/Java/SevenZip/Compression/LZ/ |
BinTree.java | 136 int maxLen = kStartMaxLen; // to avoid items for len < hashSize;
160 distances[offset++] = maxLen = 2;
168 distances[offset++] = maxLen = 3;
175 maxLen = kStartMaxLen;
194 distances[offset++] = maxLen = kNumHashDirectBytes;
221 if (maxLen < len)
223 distances[offset++] = maxLen = len;
|
/frameworks/base/libs/androidfw/ |
Asset.cpp | 438 size_t maxLen; 455 maxLen = mLength - mOffset; 456 if (count > maxLen) 457 count = maxLen; 762 size_t maxLen; 778 maxLen = mUncompressedLen - mOffset; 779 if (count > maxLen) 780 count = maxLen;
|
/frameworks/native/cmds/flatland/ |
Main.cpp | 715 size_t maxLen = 0; 719 if (len > maxLen) { 720 maxLen = len; 723 return maxLen;
|
/packages/apps/Stk/src/com/android/stk/ |
StkInputActivity.java | 293 int maxLen = mStkInput.maxLen; 296 maxLen)}); 300 if (maxLen != minLen) { 301 lengthLimit = minLen + " - " + maxLen;
|
/dalvik/tools/hprof-conv/ |
HprofConv.c | 101 size_t maxLen; 116 newBuf->maxLen = kInitialSize; 166 if (pBuf->curLen + size > pBuf->maxLen) { 175 pBuf->maxLen = newSize; 178 assert(pBuf->curLen + size <= pBuf->maxLen); 239 assert(pBuf->curLen <= pBuf->maxLen); 252 assert(pBuf->curLen <= pBuf->maxLen);
|
/external/chromium_org/third_party/lzma_sdk/ |
LzFind.c | 324 UInt32 *distances, UInt32 maxLen) 335 if (pb[maxLen] == cur[maxLen] && *pb == *cur) 341 if (maxLen < len) 343 *distances++ = maxLen = len; 355 UInt32 *distances, UInt32 maxLen) 378 if (maxLen < len) 380 *distances++ = maxLen = len; 477 #define GET_MATCHES_FOOTER(offset, maxLen) \ 479 distances + offset, maxLen) - distances); MOVE_POS_RET [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzFind.c | 325 UInt32 *distances, UInt32 maxLen) 336 if (pb[maxLen] == cur[maxLen] && *pb == *cur) 342 if (maxLen < len) 344 *distances++ = maxLen = len; 356 UInt32 *distances, UInt32 maxLen) 379 if (maxLen < len) 381 *distances++ = maxLen = len; 478 #define GET_MATCHES_FOOTER(offset, maxLen) \ 480 distances + offset, maxLen) - distances); MOVE_POS_RET [all...] |
/external/lzma/C/ |
LzFind.c | 324 UInt32 *distances, UInt32 maxLen)
335 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
341 if (maxLen < len)
343 *distances++ = maxLen = len;
355 UInt32 *distances, UInt32 maxLen)
378 if (maxLen < len)
380 *distances++ = maxLen = len;
477 #define GET_MATCHES_FOOTER(offset, maxLen) \
479 distances + offset, maxLen) - distances); MOVE_POS_RET; [all...] |
LzFindMt.c | 247 UInt32 maxLen = _maxLen;
266 if (maxLen < len)
268 *distances++ = maxLen = len;
|
/external/chromium_org/third_party/icu/source/test/perf/collationperf/ |
collperf.cpp | 781 int maxLen = 0; 785 if (gFileLines[i].len > maxLen) maxLen = gFileLines[i].len; 789 int *accumulatedLen = new int[maxLen+1]; 790 int *numKeysOfSize = new int[maxLen+1]; 791 for (i=0; i<=maxLen; i++) { 805 for (i=1; i<=maxLen; i++) { [all...] |