/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) {
|
/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/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/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 | 126 const UINT8 maxLen = mBuffer[0]; 132 if (index > maxLen)
|
/external/deqp/execserver/ |
xsExecutionServer.cpp | 344 int maxLen = de::min<int>((int)m_sendRecvTmpBuf.size(), m_bufferIn.getNumFree()); 346 if (maxLen > 0) 349 deSocketResult result = m_socket->receive(&m_sendRecvTmpBuf[0], maxLen, &numRecv); 375 int maxLen = de::min<int>((int)m_sendRecvTmpBuf.size(), m_bufferOut.getNumElements()); 377 if (maxLen > 0) 379 m_bufferOut.peekBack(&m_sendRecvTmpBuf[0], maxLen); 382 deSocketResult result = m_socket->send(&m_sendRecvTmpBuf[0], maxLen, &numSent);
|
/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/chromium_org/third_party/webrtc/common_audio/resampler/ |
resampler.cc | 432 int maxLen, int &outLen) 448 int16_t* out_left = (int16_t*)malloc(maxLen / 2 * sizeof(int16_t)); 450 (int16_t*)malloc(maxLen / 2 * sizeof(int16_t)); 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/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/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/ |
MatlabPlot.h | 38 MatlabLine(int maxLen = -1, const char *plotAttrib = NULL, const char *name = NULL); 42 void SetMaxLen(int maxLen); 97 int AddLine(int maxLen = -1, const char *plotAttrib = NULL, const char *name = NULL); 98 int AddTimeLine(int maxLen = -1, const char *plotAttrib = NULL, const char *name = NULL,
|
MatlabPlot.cc | 33 MatlabLine::MatlabLine(int maxLen /*= -1*/, const char *plotAttrib /*= NULL*/, const char *name /*= NULL*/) 37 _maxLen(maxLen), 100 void MatlabLine::SetMaxLen(int maxLen) 102 if (maxLen <= 0) 104 // means no maxLen 109 _maxLen = maxLen; 119 maxLen = ((unsigned int)maxLen <= _xData.size()) ? maxLen : (int)_xData.size(); 120 _xData.resize(maxLen); [all...] |
/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/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/chromium_org/third_party/webrtc/common_audio/resampler/include/ |
resampler.h | 81 int maxLen, int &outLen);
|