/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringTest.java | 281 int result = new String("a\uD800\uDC00b").offsetByCodePoints(0, 2); in test_offsetByCodePoints_II() 284 result = new String("abcd").offsetByCodePoints(3, -1); in test_offsetByCodePoints_II() 287 result = new String("a\uD800\uDC00b").offsetByCodePoints(0, 3); in test_offsetByCodePoints_II() 290 result = new String("a\uD800\uDC00b").offsetByCodePoints(3, -1); in test_offsetByCodePoints_II() 293 result = new String("a\uD800\uDC00b").offsetByCodePoints(3, 0); in test_offsetByCodePoints_II() 296 result = new String("\uD800\uDC00bc").offsetByCodePoints(3, 0); in test_offsetByCodePoints_II() 299 result = new String("a\uDC00bc").offsetByCodePoints(3, -1); in test_offsetByCodePoints_II() 302 result = new String("a\uD800bc").offsetByCodePoints(3, -1); in test_offsetByCodePoints_II() 306 .offsetByCodePoints(0, 2); in test_offsetByCodePoints_II() 309 result = newString(2, 4, "__abcd__".toCharArray()).offsetByCodePoints( in test_offsetByCodePoints_II() [all …]
|
D | StringBufferTest.java | 470 int result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(0, 2); in test_offsetByCodePointsII() 473 result = new StringBuffer("abcd").offsetByCodePoints(3, -1); in test_offsetByCodePointsII() 476 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(0, 3); in test_offsetByCodePointsII() 479 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(3, -1); in test_offsetByCodePointsII() 482 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(3, 0); in test_offsetByCodePointsII() 485 result = new StringBuffer("\uD800\uDC00bc").offsetByCodePoints(3, 0); in test_offsetByCodePointsII() 488 result = new StringBuffer("a\uDC00bc").offsetByCodePoints(3, -1); in test_offsetByCodePointsII() 491 result = new StringBuffer("a\uD800bc").offsetByCodePoints(3, -1); in test_offsetByCodePointsII() 496 sb.offsetByCodePoints(-1, 1); in test_offsetByCodePointsII() 503 sb.offsetByCodePoints(0, 4); in test_offsetByCodePointsII() [all …]
|
D | CharacterTest.java | 384 int result = Character.offsetByCodePoints("a\uD800\uDC00b", 0, 2); in test_offsetByCodePointsLjava_lang_CharSequenceII() 387 result = Character.offsetByCodePoints("abcd", 3, -1); in test_offsetByCodePointsLjava_lang_CharSequenceII() 390 result = Character.offsetByCodePoints("a\uD800\uDC00b", 0, 3); in test_offsetByCodePointsLjava_lang_CharSequenceII() 393 result = Character.offsetByCodePoints("a\uD800\uDC00b", 3, -1); in test_offsetByCodePointsLjava_lang_CharSequenceII() 396 result = Character.offsetByCodePoints("a\uD800\uDC00b", 3, 0); in test_offsetByCodePointsLjava_lang_CharSequenceII() 399 result = Character.offsetByCodePoints("\uD800\uDC00bc", 3, 0); in test_offsetByCodePointsLjava_lang_CharSequenceII() 402 result = Character.offsetByCodePoints("a\uDC00bc", 3, -1); in test_offsetByCodePointsLjava_lang_CharSequenceII() 405 result = Character.offsetByCodePoints("a\uD800bc", 3, -1); in test_offsetByCodePointsLjava_lang_CharSequenceII() 409 Character.offsetByCodePoints(null, 0, 1); in test_offsetByCodePointsLjava_lang_CharSequenceII() 415 Character.offsetByCodePoints("abc", -1, 1); in test_offsetByCodePointsLjava_lang_CharSequenceII() [all …]
|
D | StringBuilderTest.java | 1440 int result = new StringBuilder("a\uD800\uDC00b").offsetByCodePoints(0, 2); in test_offsetByCodePointsII() 1443 result = new StringBuilder("abcd").offsetByCodePoints(3, -1); in test_offsetByCodePointsII() 1446 result = new StringBuilder("a\uD800\uDC00b").offsetByCodePoints(0, 3); in test_offsetByCodePointsII() 1449 result = new StringBuilder("a\uD800\uDC00b").offsetByCodePoints(3, -1); in test_offsetByCodePointsII() 1452 result = new StringBuilder("a\uD800\uDC00b").offsetByCodePoints(3, 0); in test_offsetByCodePointsII() 1455 result = new StringBuilder("\uD800\uDC00bc").offsetByCodePoints(3, 0); in test_offsetByCodePointsII() 1458 result = new StringBuilder("a\uDC00bc").offsetByCodePoints(3, -1); in test_offsetByCodePointsII() 1461 result = new StringBuilder("a\uD800bc").offsetByCodePoints(3, -1); in test_offsetByCodePointsII() 1467 sb.offsetByCodePoints(-1, 1); in test_offsetByCodePointsII() 1474 sb.offsetByCodePoints(0, 4); in test_offsetByCodePointsII() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringBuffer.java | 234 public synchronized int offsetByCodePoints(int index, int codePointOffset) { in offsetByCodePoints() method in StringBuffer 235 return super.offsetByCodePoints(index, codePointOffset); in offsetByCodePoints()
|
D | String.java | 731 public int offsetByCodePoints(int index, int codePointOffset) { in offsetByCodePoints() method in String 736 return Character.offsetByCodePoints(this, index, codePointOffset); in offsetByCodePoints()
|
D | AbstractStringBuilder.java | 344 public int offsetByCodePoints(int index, int codePointOffset) { in offsetByCodePoints() method in AbstractStringBuilder
|
D | Character.java | 5317 public static int offsetByCodePoints(CharSequence seq, int index, in offsetByCodePoints() method in Character 5384 public static int offsetByCodePoints(char[] a, int start, int count, in offsetByCodePoints() method in Character
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | AbstractStringBuilder.java | 89 public int offsetByCodePoints(int index, int codePointOffset) { in offsetByCodePoints() method in AbstractStringBuilder
|
D | String.java | 129 public int offsetByCodePoints(int index, int codePointOffset) { in offsetByCodePoints() method in String
|
D | Character.java | 167 public static int offsetByCodePoints( in offsetByCodePoints() method in Character 172 public static int offsetByCodePoints( in offsetByCodePoints() method in Character
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | StringBuffer.annotated.java | 59 public synchronized int offsetByCodePoints(int index, int codePointOffset) { throw new RuntimeExcep… in offsetByCodePoints() method in StringBuffer
|
D | StringBuilder.annotated.java | 140 public int offsetByCodePoints(int index, int codePointOffset) { throw new RuntimeException("Stub!")… in offsetByCodePoints() method in StringBuilder
|
D | String.annotated.java | 84 public int offsetByCodePoints(int index, int codePointOffset) { throw new RuntimeException("Stub!")… in offsetByCodePoints() method in String
|
D | Character.annotated.java | 93 public static int offsetByCodePoints(@libcore.util.NonNull java.lang.CharSequence seq, int index, i… in offsetByCodePoints() method in Character 95 public static int offsetByCodePoints(char[] a, int start, int count, int index, int codePointOffset… in offsetByCodePoints() method in Character
|