HomeSort by relevance Sort by last modified time
    Searched refs:maxLen (Results 1 - 25 of 45) sorted by null

1 2

  /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) {
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/
LineUtil.java 33 final int maxLen = 78;
38 if (n <= maxLen && (cr == -1 || cr == n - 1)) {
44 if (prefixSize > 0 && prefixSize < maxLen) {
59 if (n <= maxLen && (cr == -1 || cr == n - 1)) {
66 int posNext = maxLen;
85 if (posNext == 0 || (posNext >= n && maxLen < n)) {
87 posNext = maxLen;
  /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 LOGE("realloc(%d) failed", pBuf->maxLen);
  /external/webkit/Source/WebCore/css/
makevalues.pl 114 my $maxLen = 0;
120 if (length($name) > $maxLen) {
121 $maxLen = length($name);
125 print HEADER "const size_t maxCSSValueKeywordLength = " . $maxLen . ";\n";
makeprop.pl 105 my $maxLen = 0;
111 if (length($name) > $maxLen) {
112 $maxLen = length($name);
120 print HEADER "const size_t maxCSSPropertyNameLength = $maxLen;\n";
  /external/icu4c/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) {
  /frameworks/base/telephony/java/com/android/internal/telephony/cat/
Input.java 32 public int maxLen;
46 maxLen = 1;
61 maxLen = in.readInt();
80 dest.writeInt(maxLen);
  /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/webrtc/src/common_audio/resampler/main/source/
resampler.cc 402 int maxLen, int &outLen)
418 WebRtc_Word16* out_left = (WebRtc_Word16*)malloc(maxLen / 2 * sizeof(WebRtc_Word16));
420 (WebRtc_Word16*)malloc(maxLen / 2 * sizeof(WebRtc_Word16));
434 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left);
435 res |= slave_right_->Push(right, lengthIn, out_right, maxLen / 2, actualOutLen_right);
473 if (maxLen < (lengthIn * 2))
488 if (maxLen < (lengthIn * 3))
504 if (maxLen < (lengthIn * 4))
524 if (maxLen < (lengthIn * 6))
549 if (maxLen < (lengthIn * 3 / 2)
    [all...]
  /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...]
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 );
  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/
ShaderLang.cpp 24 TString::size_type maxLen = 0;
28 maxLen = std::max(maxLen, i->name.size());
31 return static_cast<int>(maxLen) + 1;
  /external/webrtc/src/common_audio/resampler/main/interface/
resampler.h 75 int maxLen, int &outLen);
  /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 288 int maxLen = mStkInput.maxLen;
291 maxLen)});
295 if (maxLen != minLen) {
296 lengthLimit = minLen + " - " + maxLen;
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
OpenWnnEngineJAJP.java 311 * @param maxLen Maximum length to convert
314 private int setSearchKey(ComposingText text, int maxLen) {
316 if (0 <= maxLen && maxLen <= input.length()) {
317 input = input.substring(0, maxLen);
375 public int predict(ComposingText text, int minLen, int maxLen) {
380 int len = setSearchKey(text, maxLen);
  /frameworks/base/libs/utils/
Asset.cpp 438 size_t maxLen;
455 maxLen = mLength - mOffset;
456 if (count > maxLen)
457 count = maxLen;
762 size_t maxLen;
778 maxLen = mUncompressedLen - mOffset;
779 if (count > maxLen)
780 count = maxLen;
  /external/icu4c/samples/legacy/
legacy.cpp 25 extern "C" void test_current(UChar data[][5], uint32_t size, uint32_t maxLen, uint8_t keys[][32]);
26 extern "C" void test_legacy(UChar data[][5], uint32_t size, uint32_t maxlen, uint8_t keys[][32]);
  /external/llvm/utils/TableGen/
ClangSACheckersEmitter.cpp 257 unsigned maxLen = 0;
260 maxLen = std::max(maxLen, (unsigned)I->first.size());
301 << std::string(maxLen-I->first.size()+1, ' ');
  /external/icu4c/common/
uniset.cpp 677 int32_t maxLen = forward ? limit-offset : offset-limit;
678 if (matchLen == maxLen) {
734 int32_t maxLen;
737 maxLen = limit - start;
738 if (maxLen > slen) maxLen = slen;
739 for (i = 1; i < maxLen; ++i) {
743 maxLen = start - limit;
744 if (maxLen > slen) maxLen = slen
    [all...]
  /frameworks/base/include/media/
AudioEffect.h 390 static status_t guidToString(const effect_uuid_t *guid, char *str, size_t maxLen);

Completed in 893 milliseconds

1 2