/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CharsDictionaryMatcher.java | 33 // TODO: should numChars count Character.charCount? 34 int numChars = 1; 42 lengths[count] = numChars; 53 if (numChars >= maxLength) { 60 ++numChars; 64 return numChars;
|
BytesDictionaryMatcher.java | 54 // TODO: should numChars count Character.charCount() ? 55 int numChars = 1; 63 lengths[count] = numChars; 73 if (numChars >= maxLength) { 81 ++numChars; 85 return numChars;
|
CjkBreakEngine.java | 106 int numChars = 0; 114 numChars++; 115 charPositions[numChars] = index; 126 numChars++; 128 charPositions[numChars] = index; 134 int[] bestSnlp = new int[numChars + 1]; 136 for (int i = 1; i <= numChars; i++) { 140 int[] prev = new int[numChars + 1]; 141 for (int i = 0; i <= numChars; i++) { 146 int values[] = new int[numChars]; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CharsDictionaryMatcher.java | 32 // TODO: should numChars count Character.charCount? 33 int numChars = 1; 41 lengths[count] = numChars; 52 if (numChars >= maxLength) { 59 ++numChars; 63 return numChars;
|
BytesDictionaryMatcher.java | 53 // TODO: should numChars count Character.charCount() ? 54 int numChars = 1; 62 lengths[count] = numChars; 72 if (numChars >= maxLength) { 80 ++numChars; 84 return numChars;
|
CjkBreakEngine.java | 105 int numChars = 0; 113 numChars++; 114 charPositions[numChars] = index; 125 numChars++; 127 charPositions[numChars] = index; 133 int[] bestSnlp = new int[numChars + 1]; 135 for (int i = 1; i <= numChars; i++) { 139 int[] prev = new int[numChars + 1]; 140 for (int i = 0; i <= numChars; i++) { 145 int values[] = new int[numChars]; [all...] |
/external/skia/gm/ |
verttext.cpp | 73 int numChars = paint.getTextWidths(gText, gLen, adv, nullptr); 74 for (int i = 0; i < numChars; ++i) {
|
/libcore/ojluni/src/main/java/java/net/ |
URLDecoder.java | 137 int numChars = s.length(); 138 StringBuffer sb = new StringBuffer(numChars > 500 ? numChars / 2 : numChars); 147 while (i < numChars) { 167 // (numChars-i)/3 is an upper bound for the number 170 bytes = new byte[(numChars-i)/3]; 173 while ( ((i+2) < numChars) && 187 if (i < numChars) 194 if ((i < numChars) && (c=='%') [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GlyphCacheActivity.java | 61 int numChars = 5 + (int) (Math.random() * 10); 62 mTotalChars += numChars; 63 textview.setText(createString(numChars));
|
/art/tools/ahat/src/heapdump/ |
AhatArrayInstance.java | 159 int numChars = mCharArray.length; 165 if (offset >= 0 && offset < numChars && end >= 0 && end < numChars) { 183 int numChars = mByteArray.length; 189 if (offset >= 0 && offset < numChars && end >= 0 && end < numChars) {
|
AhatClassInstance.java | 131 int numChars = chars.getLength(); 132 int count = getIntField("count", numChars);
|
/frameworks/base/core/jni/ |
android_view_KeyCharacterMap.cpp | 147 jsize numChars = env->GetArrayLength(charsArray); 154 keyCode, reinterpret_cast<char16_t*>(chars), size_t(numChars), 179 jsize numChars = env->GetArrayLength(charsArray); 185 size_t(numChars), events)) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
EventLogLogger.java | 71 int numChars = suggestionCursor.getUserQuery().length(); 72 EventLogTags.writeQsbClick(id, suggestions, null, numChars, 77 public void logSearch(int startMethod, int numChars) { 78 EventLogTags.writeQsbSearch(null, startMethod, numChars); 87 public void logExit(SuggestionCursor suggestionCursor, int numChars) { 89 EventLogTags.writeQsbExit(suggestions, numChars);
|
/developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
NetworkFragment.java | 271 int numChars = 0; 273 while (numChars < maxLength && readSize != -1) { 274 numChars += readSize; 275 int pct = (100 * numChars) / maxLength; 277 readSize = reader.read(buffer, numChars, buffer.length - numChars); 279 if (numChars != -1) { 283 numChars = Math.min(numChars, maxLength); 284 result = new String(buffer, 0, numChars); [all...] |
/developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
NetworkFragment.java | 271 int numChars = 0; 273 while (numChars < maxLength && readSize != -1) { 274 numChars += readSize; 275 int pct = (100 * numChars) / maxLength; 277 readSize = reader.read(buffer, numChars, buffer.length - numChars); 279 if (numChars != -1) { 283 numChars = Math.min(numChars, maxLength); 284 result = new String(buffer, 0, numChars); [all...] |
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
NetworkFragment.java | 271 int numChars = 0; 273 while (numChars < maxLength && readSize != -1) { 274 numChars += readSize; 275 int pct = (100 * numChars) / maxLength; 277 readSize = reader.read(buffer, numChars, buffer.length - numChars); 279 if (numChars != -1) { 283 numChars = Math.min(numChars, maxLength); 284 result = new String(buffer, 0, numChars); [all...] |
/external/lzma/CPP/Windows/ |
Registry.cpp | 339 size_t numChars = 0;
344 numChars += strings[i].Len() + 1;
346 CObjArray<wchar_t> buffer(numChars);
356 return SetValue(valueName, buffer, (UInt32)numChars * sizeof(wchar_t));
373 size_t numChars = dataSize / sizeof(wchar_t);
377 for (size_t i = 0; i < numChars; i++)
|
/frameworks/base/cmds/app_process/ |
app_main.cpp | 159 const int numChars = snprintf(dalvikCacheDir, PATH_MAX, 161 LOG_ALWAYS_FATAL_IF((numChars >= PATH_MAX || numChars < 0),
|
/packages/apps/Launcher3/src/com/android/launcher3/badge/ |
BadgeRenderer.java | 105 int numChars = notificationCount.length(); 106 int width = DOTS_ONLY ? mSize : mSize + mCharSize * (numChars - 1); 108 Bitmap backgroundWithShadow = mBackgroundsWithShadow.get(numChars); 112 mBackgroundsWithShadow.put(numChars, backgroundWithShadow);
|
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
dicttrieperf.cpp | 362 int32_t numChars=1; 368 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. 376 if(numChars>=textLimit) { 387 ++numChars; 403 return numChars; 556 int32_t numChars=1; 562 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. 570 if(numChars>=textLimit) { 577 ++numChars; 580 return numChars; [all...] |
/external/lzma/C/Util/7z/ |
7zMain.c | 166 unsigned numChars = 0;
167 numChars = WideCharToMultiByte(codePage, 0, s, len, (char *)buf->data, size, &defaultChar, &defUsed);
168 if (numChars == 0 || numChars >= size)
170 buf->data[numChars] = 0;
|
/external/lzma/CPP/Common/ |
MyString.cpp | 111 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0);
112 if (numChars == 0 || numChars > kBufSize)
114 s[numChars] = 0;
116 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1);
128 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0);
129 if (numChars == 0 || numChars > kBufSize)
131 s[numChars] = 0;
133 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 471 int numChars = 128 - tableIndex.length; 472 int numSeptets = numChars * 2; // two septets per extended char
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
TestUtils.java | 209 int numChars = Math.min(remaining, CHARS.length); 210 System.arraycopy(CHARS, 0, msg, msgIndex, numChars); 211 msgIndex += numChars;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UCharacterProperty.java | [all...] |