HomeSort by relevance Sort by last modified time
    Searched defs:maxLen (Results 1 - 25 of 46) sorted by null

1 2

  /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/icu4c/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 148 const UINT8 maxLen = mBuffer[0];
154 if (index > maxLen)
  /dalvik/vm/jdwp/
ExpandBuf.cpp 33 int maxLen;
48 newBuf->maxLen = kInitialStorage;
90 if (pBuf->curLen + newCount <= pBuf->maxLen)
93 while (pBuf->curLen + newCount > pBuf->maxLen)
94 pBuf->maxLen *= 2;
96 newPtr = (u1*) realloc(pBuf->storage, pBuf->maxLen);
98 ALOGE("realloc(%d) failed", pBuf->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/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/icu4c/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 714 size_t maxLen = 0;
718 if (len > maxLen) {
719 maxLen = len;
722 return maxLen;
  /packages/apps/Stk/src/com/android/stk/
StkInputActivity.java 294 int maxLen = mStkInput.maxLen;
297 maxLen)});
301 if (maxLen != minLen) {
302 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...]

Completed in 945 milliseconds

1 2