/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
H A D | StringTest.java | 377 * @tests java.lang.String.offsetByCodePoints(int, int)' 382 method = "offsetByCodePoints", 386 int result = new String("a\uD800\uDC00b").offsetByCodePoints(0, 2); 389 result = new String("abcd").offsetByCodePoints(3, -1); 392 result = new String("a\uD800\uDC00b").offsetByCodePoints(0, 3); 395 result = new String("a\uD800\uDC00b").offsetByCodePoints(3, -1); 398 result = new String("a\uD800\uDC00b").offsetByCodePoints(3, 0); 401 result = new String("\uD800\uDC00bc").offsetByCodePoints(3, 0); 404 result = new String("a\uDC00bc").offsetByCodePoints(3, -1); 407 result = new String("a\uD800bc").offsetByCodePoints( [all...] |
H A D | StringBufferTest.java | 532 * @tests java.lang.StringBuffer.offsetByCodePoints(int, int)' 537 method = "offsetByCodePoints", 541 int result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(0, 2); 544 result = new StringBuffer("abcd").offsetByCodePoints(3, -1); 547 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(0, 3); 550 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(3, -1); 553 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(3, 0); 556 result = new StringBuffer("\uD800\uDC00bc").offsetByCodePoints(3, 0); 559 result = new StringBuffer("a\uDC00bc").offsetByCodePoints(3, -1); 562 result = new StringBuffer("a\uD800bc").offsetByCodePoints( [all...] |
H A D | CharacterTest.java | 637 method = "offsetByCodePoints", 641 int result = Character.offsetByCodePoints("a\uD800\uDC00b", 0, 2); 644 result = Character.offsetByCodePoints("abcd", 3, -1); 647 result = Character.offsetByCodePoints("a\uD800\uDC00b", 0, 3); 650 result = Character.offsetByCodePoints("a\uD800\uDC00b", 3, -1); 653 result = Character.offsetByCodePoints("a\uD800\uDC00b", 3, 0); 656 result = Character.offsetByCodePoints("\uD800\uDC00bc", 3, 0); 659 result = Character.offsetByCodePoints("a\uDC00bc", 3, -1); 662 result = Character.offsetByCodePoints("a\uD800bc", 3, -1); 666 Character.offsetByCodePoints((CharSequenc [all...] |
H A D | StringBuilderTest.java | 1725 * @tests java.lang.StringBuilder.offsetByCodePoints(int, int)' 1730 method = "offsetByCodePoints", 1734 int result = new StringBuilder("a\uD800\uDC00b").offsetByCodePoints(0, 2); 1737 result = new StringBuilder("abcd").offsetByCodePoints(3, -1); 1740 result = new StringBuilder("a\uD800\uDC00b").offsetByCodePoints(0, 3); 1743 result = new StringBuilder("a\uD800\uDC00b").offsetByCodePoints(3, -1); 1746 result = new StringBuilder("a\uD800\uDC00b").offsetByCodePoints(3, 0); 1749 result = new StringBuilder("\uD800\uDC00bc").offsetByCodePoints(3, 0); 1752 result = new StringBuilder("a\uDC00bc").offsetByCodePoints(3, -1); 1755 result = new StringBuilder("a\uD800bc").offsetByCodePoints( [all...] |
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | StringBuffer.java | 658 public synchronized int offsetByCodePoints(int index, int codePointOffset) { method in class:StringBuffer 659 return super.offsetByCodePoints(index, codePointOffset);
|
H A D | AbstractStringBuilder.java | 913 * @see Character#offsetByCodePoints(char[], int, int, int, int) 916 public int offsetByCodePoints(int index, int codePointOffset) { method in class:AbstractStringBuilder 917 return Character.offsetByCodePoints(value, 0, count, index,
|
H A D | Character.java | 2112 public static int offsetByCodePoints(CharSequence seq, int index, method in class:Character 2196 public static int offsetByCodePoints(char[] seq, int start, int count, method in class:Character
|
H A D | String.java | 2187 public int offsetByCodePoints(int index, int codePointOffset) { method in class:String 2189 int r = Character.offsetByCodePoints(value, offset, count, s,
|