/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/libmpeg2/decoder/ |
impeg2d_vld.h | 25 UWORD16 maxLen); 29 UWORD16 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) {
|
/frameworks/av/media/libeffects/factory/ |
EffectsFactoryState.h | 51 int uuidToString(const effect_uuid_t *uuid, char *str, size_t 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);
|
/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...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
LzFind.c | 333 UInt32 *distances, UInt32 maxLen)
344 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
350 if (maxLen < len)
352 *distances++ = maxLen = len;
364 UInt32 *distances, UInt32 maxLen)
387 if (maxLen < len)
389 *distances++ = maxLen = len;
486 #define GET_MATCHES_FOOTER(offset, maxLen) \
488 distances + offset, maxLen) - distances); MOVE_POS_RET; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
LzFind.c | 333 UInt32 *distances, UInt32 maxLen)
344 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
350 if (maxLen < len)
352 *distances++ = maxLen = len;
364 UInt32 *distances, UInt32 maxLen)
387 if (maxLen < len)
389 *distances++ = maxLen = len;
486 #define GET_MATCHES_FOOTER(offset, maxLen) \
488 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);
|
/external/lzma/C/ |
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) - distances); MOVE_POS_RET; [all...] |
/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...] |
/system/nfc/halimpl/bcm2079x/adaptation/ |
StartupConfig.cpp | 114 const uint8_t maxLen = mBuffer[0]; 119 if (index > maxLen) break;
|
/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 | 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/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...] |