/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StringTest.java | 297 * @tests java.lang.String.offsetByCodePoints(int, int)' 300 int result = new String("a\uD800\uDC00b").offsetByCodePoints(0, 2); 303 result = new String("abcd").offsetByCodePoints(3, -1); 306 result = new String("a\uD800\uDC00b").offsetByCodePoints(0, 3); 309 result = new String("a\uD800\uDC00b").offsetByCodePoints(3, -1); 312 result = new String("a\uD800\uDC00b").offsetByCodePoints(3, 0); 315 result = new String("\uD800\uDC00bc").offsetByCodePoints(3, 0); 318 result = new String("a\uDC00bc").offsetByCodePoints(3, -1); 321 result = new String("a\uD800bc").offsetByCodePoints(3, -1); 325 .offsetByCodePoints(0, 2) [all...] |
StringBufferTest.java | 466 * @tests java.lang.StringBuffer.offsetByCodePoints(int, int)' 469 int result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(0, 2); 472 result = new StringBuffer("abcd").offsetByCodePoints(3, -1); 475 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(0, 3); 478 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(3, -1); 481 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(3, 0); 484 result = new StringBuffer("\uD800\uDC00bc").offsetByCodePoints(3, 0); 487 result = new StringBuffer("a\uDC00bc").offsetByCodePoints(3, -1); 490 result = new StringBuffer("a\uD800bc").offsetByCodePoints(3, -1); 495 sb.offsetByCodePoints(-1, 1) [all...] |
CharacterTest.java | 409 int result = Character.offsetByCodePoints("a\uD800\uDC00b", 0, 2); 412 result = Character.offsetByCodePoints("abcd", 3, -1); 415 result = Character.offsetByCodePoints("a\uD800\uDC00b", 0, 3); 418 result = Character.offsetByCodePoints("a\uD800\uDC00b", 3, -1); 421 result = Character.offsetByCodePoints("a\uD800\uDC00b", 3, 0); 424 result = Character.offsetByCodePoints("\uD800\uDC00bc", 3, 0); 427 result = Character.offsetByCodePoints("a\uDC00bc", 3, -1); 430 result = Character.offsetByCodePoints("a\uD800bc", 3, -1); 434 Character.offsetByCodePoints((CharSequence) null, 0, 1); 440 Character.offsetByCodePoints("abc", -1, 1) [all...] |
StringBuilderTest.java | [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
StringUtils.java | 143 final int cutoff = s.offsetByCodePoints(0, 1); 159 final int cutoff = s.offsetByCodePoints(0, 1); 172 for (int index = 0; index < length; index = string.offsetByCodePoints(index, 1)) { 185 for (; index < len; index = text.offsetByCodePoints(index, 1)) { 196 for (index = text.offsetByCodePoints(index, 1); index < len; 197 index = text.offsetByCodePoints(index, 1)) { 271 for (int i = 0; i < len; i = text.offsetByCodePoints(i, 1)) { 292 for (int i = 0; i < len; i = text.offsetByCodePoints(i, 1)) { 293 final String nextChar = text.substring(i, text.offsetByCodePoints(i, 1)); 357 i = Character.offsetByCodePoints(text, i, -1) [all...] |
LatinImeLoggerUtils.java | 43 for (int i = 0; i < length; i = Character.offsetByCodePoints(separator, i, 1)) {
|
RecapitalizeStatus.java | 154 nonWhitespaceStart = mStringBefore.offsetByCodePoints(nonWhitespaceStart, 1)) { 160 nonWhitespaceEnd = mStringBefore.offsetByCodePoints(nonWhitespaceEnd, -1)) {
|
DictionaryInfoUtils.java | 112 for (int i = 0; i < nameLength; i = name.offsetByCodePoints(i, 1)) { 144 for (int i = 0; i < fnameLength; i = fname.offsetByCodePoints(i, 1)) {
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/ |
FusionDictionaryTest.java | 82 for (int i = 0; i < word.length(); i = word.offsetByCodePoints(i, 1)) {
|
/frameworks/base/core/java/android/emoji/ |
EmojiFactory.java | 191 for (int i = 0; i < len; i = vspString.offsetByCodePoints(i, 1), new_len++) { 225 for (int i = 0; i < len; i = puaString.offsetByCodePoints(i, 1), new_len++) {
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardUtils.java | 462 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 510 for (int i = 0; i < length; i = str.offsetByCodePoints(i, 1)) { 539 for (int i = 0; i < length; i = str.offsetByCodePoints(i, 1)) { 564 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 612 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 640 for (int i = 0; i < length; i = orgString.offsetByCodePoints(i, 1)) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WordComposer.java | 260 for (int i = 0; i < length; i = Character.offsetByCodePoints(word, i, 1)) { 291 for (int i = 0; i < length; i = Character.offsetByCodePoints(word, i, 1)) { 329 i = mTypedWord.offsetByCodePoints(i, -1);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
AndroidWordLevelSpellCheckerSession.java | 196 for (int i = 0; i < length; i = text.offsetByCodePoints(i, 1)) { 316 for (int i = 0; i < length; i = text.offsetByCodePoints(i, 1)) {
|
/libcore/luni/src/main/java/java/lang/ |
AbstractStringBuilder.java | 895 * @see Character#offsetByCodePoints(char[], int, int, int, int) 898 public int offsetByCodePoints(int index, int codePointOffset) { 899 return Character.offsetByCodePoints(value, 0, count, index,
|
StringBuffer.java | 661 public synchronized int offsetByCodePoints(int index, int codePointOffset) { 662 return super.offsetByCodePoints(index, codePointOffset);
|
Character.java | [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
BinaryDictIOUtils.java | 196 for (int p = 0, j = word.offsetByCodePoints(0, wordPos); 198 ++p, j = word.offsetByCodePoints(j, 1)) { 315 for (int i = 0; i < length; i = word.offsetByCodePoints(i, 1)) {
|
BinaryDictDecoderUtils.java | 207 for (int i = 0; i < length; i = word.offsetByCodePoints(i, 1)) { 231 for (int i = 0; i < length; i = word.offsetByCodePoints(i, 1)) {
|
BinaryDictEncoderUtils.java | 97 for (int i = 0; i < length; i = word.offsetByCodePoints(i, 1)) { [all...] |
/art/test/100-reflect2/ |
expected.txt | 39 [void java.lang.String._getChars(int,int,char[],int), public char java.lang.String.charAt(int), public int java.lang.String.codePointAt(int), public int java.lang.String.codePointBefore(int), public int java.lang.String.codePointCount(int,int), public volatile int java.lang.String.compareTo(java.lang.Object), public native int java.lang.String.compareTo(java.lang.String), public int java.lang.String.compareToIgnoreCase(java.lang.String), public java.lang.String java.lang.String.concat(java.lang.String), public boolean java.lang.String.contains(java.lang.CharSequence), public boolean java.lang.String.contentEquals(java.lang.CharSequence), public boolean java.lang.String.contentEquals(java.lang.StringBuffer), public boolean java.lang.String.endsWith(java.lang.String), public boolean java.lang.String.equals(java.lang.Object), public boolean java.lang.String.equalsIgnoreCase(java.lang.String), public void java.lang.String.getBytes(int,int,byte[],int), public [B java.lang.String.getBytes(), public [B java.lang.String.getBytes(java.lang.String) throws java.io.UnsupportedEncodingException, public [B java.lang.String.getBytes(java.nio.charset.Charset), public void java.lang.String.getChars(int,int,char[],int), public int java.lang.String.hashCode(), public int java.lang.String.indexOf(int), public int java.lang.String.indexOf(int,int), public int java.lang.String.indexOf(java.lang.String), public int java.lang.String.indexOf(java.lang.String,int), public native java.lang.String java.lang.String.intern(), public boolean java.lang.String.isEmpty(), public int java.lang.String.lastIndexOf(int), public int java.lang.String.lastIndexOf(int,int), public int java.lang.String.lastIndexOf(java.lang.String), public int java.lang.String.lastIndexOf(java.lang.String,int), public int java.lang.String.length(), public boolean java.lang.String.matches(java.lang.String), public int java.lang.String.offsetByCodePoints(int,int), public boolean java.lang.String.regionMatches(int,java.lang.String,int,int), public boolean java.lang.String.regionMatches(boolean,int,java.lang.String,int,int), public java.lang.String java.lang.String.replace(char,char), public java.lang.String java.lang.String.replace(java.lang.CharSequence,java.lang.CharSequence), public java.lang.String java.lang.String.replaceAll(java.lang.String,java.lang.String), public java.lang.String java.lang.String.replaceFirst(java.lang.String,java.lang.String), public [Ljava.lang.String; java.lang.String.split(java.lang.String), public [Ljava.lang.String; java.lang.String.split(java.lang.String,int), public boolean java.lang.String.startsWith(java.lang.String), public boolean java.lang.String.startsWith(java.lang.String,int), public java.lang.CharSequence java.lang.String.subSequence(int,int), public java.lang.String java.lang.String.substring(int), public java.lang.String java.lang.String.substring(int,int), public [C java.lang.String.toCharArray(), public java.lang.String java.lang.String.toLowerCase(), public java.lang.String java.lang.String.toLowerCase(java.util.Locale), public java.lang.String java.lang.String.toString(), public java.lang.String java.lang.String.toUpperCase(), public java.lang.String java.lang.String.toUpperCase(java.util.Locale), public java.lang.String java.lang.String.trim(), public static java.lang.String java.lang.String.copyValueOf(char[]), public static java.lang.String java.lang.String.copyValueOf(char[],int,int), private java.lang.StringIndexOutOfBoundsException java.lang.String.failedBoundsCheck(int,int,int), private native int java.lang.String.fastIndexOf(int,int), private char java.lang.String.foldCase(char), public static transient java.lang.String java.lang.String.format(java.lang.String,java.lang.Object[]), public static transient java.lang.String java.lang.String.format(java.util.Locale,java.lang.String,java.lang.Object[]), private java.lang.StringIndexOutOfBoundsException java.lang.String.indexAndLength(int), private static int java.lang.String.indexOf(java.lang.String,java.lang.String,int,int,char), private int java.lang.String.indexOfSupplementary(int,int), private int java.lang.String.lastIndexOfSupplementary(int,int), private java.lang.StringIndexOutOfBoundsException java.lang.String.startEndAndLength(int,int), public static java.lang.String java.lang.String.valueOf(char), public static java.lang.String java.lang.String.valueOf(double), public static java.lang.String java.lang.String.valueOf(float), public static java.lang.String java.lang.String.valueOf(int), public static java.lang.String java.lang.String.valueOf(long), public static java.lang.String java.lang.String.valueOf(java.lang.Object), public static java.lang.String java.lang.String.valueOf(boolean), public static java.lang.String java.lang.String.valueOf(char[]), public static java.lang.String java.lang.String.valueOf(char[],int,int)]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputTestsBase.java | 222 for (int i = 0; i < stringToType.length(); i = stringToType.offsetByCodePoints(i, 1)) {
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 521 int splitOffset = text.offsetByCodePoints(text.length() / 2, -1); 549 int splitOffset = text.offsetByCodePoints(text.length() / 2, -1);
|
/libcore/libart/src/main/java/java/lang/ |
String.java | [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
ResearchLogger.java | [all...] |
/libcore/libdvm/src/main/java/java/lang/ |
String.java | [all...] |