HomeSort by relevance Sort by last modified time
    Searched defs:codePointCount (Results 1 - 23 of 23) sorted by null

  /libcore/luni/src/test/java/libcore/java/lang/
OldCharacterTest.java 25 assertEquals(1, Character.codePointCount("\uD800\uDC00".toCharArray(),
27 assertEquals(3, Character.codePointCount("a\uD800\uDC00b".toCharArray(),
29 assertEquals(4, Character.codePointCount("a\uD800\uDC00b\uD800".toCharArray(),
31 assertEquals(4, Character.codePointCount("ab\uD800\uDC00b\uD800".toCharArray(),
35 Character.codePointCount((char[]) null, 0, 1);
41 Character.codePointCount("abc".toCharArray(), -1, 1);
47 Character.codePointCount("abc".toCharArray(), 0, 4);
53 Character.codePointCount("abc".toCharArray(), 1, 3);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
bigram_dictionary.cpp 122 const int codePointCount = mDictionaryStructurePolicy->
125 if (codePointCount <= 0) {
135 addWordBigram(bigramBuffer, codePointCount, probability, outBigramProbability,
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
dynamic_patricia_trie_policy.cpp 110 const int codePointCount = readingHelper.getTotalCodePointCount();
111 for (int i = 0; i < codePointCount; ++i) {
112 outCodePoints[i] = reverseCodePoints[codePointCount - i - 1];
114 return codePointCount;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
CharacterTest.java 375 assertEquals(1, Character.codePointCount("\uD800\uDC00", 0, 2));
376 assertEquals(1, Character.codePointCount("\uD800\uDC01", 0, 2));
377 assertEquals(1, Character.codePointCount("\uD801\uDC01", 0, 2));
378 assertEquals(1, Character.codePointCount("\uDBFF\uDFFF", 0, 2));
380 assertEquals(3, Character.codePointCount("a\uD800\uDC00b", 0, 4));
381 assertEquals(4, Character.codePointCount("a\uD800\uDC00b\uD800", 0, 5));
384 Character.codePointCount((CharSequence) null, 0, 1);
390 Character.codePointCount("abc", -1, 1);
396 Character.codePointCount("abc", 0, 4);
402 Character.codePointCount("abc", 2, 1)
    [all...]
  /libcore/luni/src/main/java/java/lang/
StringBuffer.java 360 public synchronized int codePointCount(int beginIndex, int endIndex) {
361 return super.codePointCount(beginIndex, endIndex);
AbstractStringBuilder.java 869 * @see Character#codePointCount(char[], int, int)
872 public int codePointCount(int start, int end) {
876 return Character.codePointCount(value, start, end - start);
Character.java     [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SuggestedWords.java 221 mCodePointCount = StringUtils.codePointCount(mWord);
239 public int codePointCount() {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
StringUtils.java 46 public static int codePointCount(final String text) {
48 return text.codePointCount(0, text.length());
170 final int[] codePoints = new int[string.codePointCount(0, length)];
371 final int N = codePointCount(s);
  /libcore/libart/src/main/java/java/lang/
String.java     [all...]
  /libcore/libdvm/src/main/java/java/lang/
String.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/misc/common/icu4j/
icu4j.jar 

Completed in 1214 milliseconds