/frameworks/native/opengl/tools/glgen/ |
convert_to_java.py | 24 maxLen = 0 28 maxLen = max(maxLen, len(defineValuePair[0])) 31 print(' public static final int {0[0]:<{1}} = {0[1]};'.format(define, maxLen))
|
/external/icu/icu4c/source/i18n/ |
uni2name.cpp | 78 int32_t maxLen = uprv_getMaxCharNameLength(); 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)) {
|
name2uni.cpp | 116 int32_t maxLen = uprv_getMaxCharNameLength(); 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) {
|
/system/nfc/halimpl/bcm2079x/adaptation/ |
StartupConfig.cpp | 114 const uint8_t maxLen = mBuffer[0]; 119 if (index > maxLen) break;
|
/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";
|
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
Conversations.java | 114 int maxLen = MESSAGES.length; 117 messages.add(MESSAGES[ThreadLocalRandom.current().nextInt(0, maxLen)]);
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
Conversations.java | 114 int maxLen = MESSAGES.length; 117 messages.add(MESSAGES[ThreadLocalRandom.current().nextInt(0, maxLen)]);
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
Conversations.java | 114 int maxLen = MESSAGES.length; 117 messages.add(MESSAGES[ThreadLocalRandom.current().nextInt(0, maxLen)]);
|
/external/lzma/CPP/Common/ |
CommandLineParser.cpp | 91 int maxLen = -1;
97 if ((int)switchLen <= maxLen || pos + switchLen > s.Len())
102 maxLen = switchLen;
106 if (maxLen < 0)
112 pos += maxLen;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
Input.java | 32 public int maxLen; 47 maxLen = 1; 63 maxLen = in.readInt(); 85 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 size_t maxLen = de::min(m_sendRecvTmpBuf.size(), (size_t)m_bufferIn.getNumFree()); 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()); 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/icu/android_icu4j/src/main/java/android/icu/text/ |
NameUnicodeTransliterator.java | 54 int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing space 56 StringBuffer name = new StringBuffer(maxLen); 102 // If we are too long then abort. maxLen includes 104 if (name.length() > maxLen) { 149 // maxLen includes temporary trailing space, so use '>='. 150 if (name.length() >= maxLen) {
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
NameUnicodeTransliterator.java | 53 int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing space 55 StringBuffer name = new StringBuffer(maxLen); 101 // If we are too long then abort. maxLen includes 103 if (name.length() > maxLen) { 148 // maxLen includes temporary trailing space, so use '>='. 149 if (name.length() >= maxLen) {
|
/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/icu/icu4c/source/common/ |
uniset.cpp | 681 int32_t maxLen = forward ? limit-offset : offset-limit; 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 = slen [all...] |
/external/libmpeg2/decoder/ |
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; 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) [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;
|
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/ |
AbbreviatorTest.java | 106 int maxLen = rh.nextInt(MAX_RANDOM_MAX_LEN) + fixedLen; 107 if (maxLen <= 1) { 110 // System.out.println("maxLen="+maxLen); 111 int targetLen = (maxLen / 2) + rh.nextInt(maxLen / 2) + 1; 113 if (targetLen > maxLen) { 114 targetLen = maxLen; 116 String filename = rh.buildRandomFileName(averageLen, maxLen);
|
/frameworks/base/libs/androidfw/ |
Asset.cpp | 489 size_t maxLen; 506 maxLen = mLength - mOffset; 507 if (count > maxLen) 508 count = maxLen; 814 size_t maxLen; 830 maxLen = mUncompressedLen - mOffset; 831 if (count > maxLen) 832 count = maxLen;
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
UnicodeSetCloseOver.java | 292 int maxLen = 0; // Maximum encoded length of any class, including zeros 321 if (len > maxLen) maxLen = len; 326 if (maxLen > 8) { 327 throw new RuntimeException("Must adjust CaseEquivClass to accomodate " + maxLen + " UChars"); 332 // keep it here, adjacent to the maxLen check. We use one
|
/frameworks/native/cmds/flatland/ |
Main.cpp | 714 size_t maxLen = 0; 718 if (len > maxLen) { 719 maxLen = len; 722 return maxLen;
|
/dalvik/tools/hprof-conv/ |
HprofConv.c | 115 size_t maxLen; 130 newBuf->maxLen = kInitialSize; 180 if (pBuf->curLen + size > pBuf->maxLen) { 189 pBuf->maxLen = newSize; 192 assert(pBuf->curLen + size <= pBuf->maxLen); 253 assert(pBuf->curLen <= pBuf->maxLen); 266 assert(pBuf->curLen <= pBuf->maxLen);
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
LzFind.c | 314 UInt32 *distances, UInt32 maxLen)
325 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
331 if (maxLen < len)
333 *distances++ = maxLen = len;
345 UInt32 *distances, UInt32 maxLen)
368 if (maxLen < len)
370 *distances++ = maxLen = len;
467 #define GET_MATCHES_FOOTER(offset, maxLen) \
469 distances + offset, maxLen) - distances); MOVE_POS_RET; [all...] |