/system/core/adb/ |
get_my_path_darwin.c | 20 void get_my_path(char *s, size_t maxLen) 28 CFStringGetCString(value, s, maxLen, kCFStringEncodingUTF8);
|
get_my_path_freebsd.c | 26 get_my_path(char *exe, size_t maxLen) 32 int err = readlink(proc, exe, maxLen - 1);
|
get_my_path_linux.c | 22 void get_my_path(char *exe, size_t maxLen) 26 int err = readlink(proc, exe, maxLen - 1);
|
get_my_path_windows.c | 21 void get_my_path(char *exe, size_t maxLen) 26 if (GetModuleFileName(NULL, exe, maxLen) > 0) {
|
/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);
|
/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) {
|
/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/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...] |
/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";
|
/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/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 | 148 const UINT8 maxLen = mBuffer[0]; 154 if (index > maxLen)
|
/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/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/src/common_audio/resampler/ |
resampler.cc | 432 int maxLen, int &outLen) 448 WebRtc_Word16* out_left = (WebRtc_Word16*)malloc(maxLen / 2 * sizeof(WebRtc_Word16)); 450 (WebRtc_Word16*)malloc(maxLen / 2 * sizeof(WebRtc_Word16)); 464 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left); 465 res |= slave_right_->Push(right, lengthIn, out_right, maxLen / 2, actualOutLen_right); 504 if (maxLen < (lengthIn * 2)) 519 if (maxLen < (lengthIn * 3)) 535 if (maxLen < (lengthIn * 4)) 555 if (maxLen < (lengthIn * 6)) 585 if (maxLen < (lengthIn * 12)) [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/webrtc/src/common_audio/resampler/include/ |
resampler.h | 81 int maxLen, int &outLen);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/Public/ |
MobiCoreRegistry.h | 139 * @param maxLen Maximum size (in bytes) of the destination buffer (so). 147 uint32_t 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);
|
/packages/apps/Stk/src/com/android/stk/ |
StkInputActivity.java | 294 int maxLen = mStkInput.maxLen; 297 maxLen)}); 301 if (maxLen != minLen) { 302 lengthLimit = minLen + " - " + maxLen;
|