/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))
|
/system/core/adb/ |
get_my_path_darwin.cpp | 22 void get_my_path(char *s, size_t maxLen) 29 CFStringGetFileSystemRepresentation(executablePathString, s, maxLen);
|
get_my_path_linux.cpp | 24 void get_my_path(char *exe, size_t maxLen) 28 int err = readlink(proc, exe, maxLen - 1);
|
/external/libmpeg2/decoder/ |
impeg2d_vld.h | 25 UWORD16 maxLen); 29 UWORD16 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) {
|
/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/lzma/C/ |
LzFind.c | 326 UInt32 *distances, UInt32 maxLen)
337 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
343 if (maxLen < len)
345 *distances++ = maxLen = len;
357 UInt32 *distances, UInt32 maxLen)
380 if (maxLen < len)
382 *distances++ = maxLen = len;
479 #define GET_MATCHES_FOOTER(offset, maxLen) \
481 distances + offset, maxLen) - distances); MOVE_POS_RET; [all...] |
/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";
|
/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);
|
/external/webrtc/webrtc/common_audio/resampler/ |
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 < (lengthIn * 12)) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnEngine.java | 58 * @param maxLen The maximum length of a word to predict (-1 : no limit) 61 public int predict(ComposingText text, int minLen, int maxLen);
|
/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/bzip2/ |
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; i++ [all...] |
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
StartupConfig.cpp | 126 const UINT8 maxLen = mBuffer[0]; 132 if (index > 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;
|
/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/deqp/modules/gles2/functional/ |
es2fDebugMarkerTests.cpp | 75 void getSimpleRndString (vector<char>& dst, de::Random& rnd, int maxLen) 79 dst.resize(rnd.getInt(0, (int)maxLen)); 85 void getComplexRndString (vector<char>& dst, de::Random& rnd, int maxLen) 87 dst.resize(rnd.getInt(0, (int)maxLen));
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
NameUnicodeTransliterator.java | 50 int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing space 52 StringBuffer name = new StringBuffer(maxLen); 98 // If we are too long then abort. maxLen includes 100 if (name.length() > maxLen) { 145 // maxLen includes temporary trailing space, so use '>='. 146 if (name.length() >= maxLen) {
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
NameUnicodeTransliterator.java | 49 int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing space 51 StringBuffer name = new StringBuffer(maxLen); 97 // If we are too long then abort. maxLen includes 99 if (name.length() > maxLen) { 144 // maxLen includes temporary trailing space, so use '>='. 145 if (name.length() >= maxLen) {
|
/external/lzma/CS/7zip/Common/ |
CommandLineParser.cs | 23 public int MaxLen;
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;
[all...] |
/external/webrtc/webrtc/common_audio/resampler/include/ |
resampler.h | 42 size_t maxLen, size_t &outLen);
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/compression/lz/ |
BinTree.java | 107 int maxLen = kStartMaxLen; // to avoid items for len < hashSize;
126 distances[offset++] = maxLen = 2;
131 distances[offset++] = maxLen = 3;
137 maxLen = kStartMaxLen;
152 distances[offset++] = maxLen = kNumHashDirectBytes;
174 if (maxLen < len) {
175 distances[offset++] = maxLen = len;
|