| /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...] |
| /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 | 456 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 504 for (int i = 0; i < length; i = str.offsetByCodePoints(i, 1)) { 533 for (int i = 0; i < length; i = str.offsetByCodePoints(i, 1)) { 558 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 606 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 634 for (int i = 0; i < length; i = orgString.offsetByCodePoints(i, 1)) {
|
| /libcore/luni/src/main/java/java/lang/ |
| StringBuffer.java | 661 public synchronized int offsetByCodePoints(int index, int codePointOffset) { 662 return super.offsetByCodePoints(index, codePointOffset);
|
| 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,
|
| Character.java | [all...] |
| String.java | [all...] |
| /packages/apps/Email/emailcommon/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);
|
| /prebuilt/sdk/10/ |
| android.jar | |
| /prebuilt/sdk/11/ |
| android.jar | |
| /prebuilt/sdk/13/ |
| android.jar | |
| /prebuilt/sdk/9/ |
| android.jar | |
| /prebuilt/sdk/5/ |
| android.jar | |
| /prebuilt/sdk/6/ |
| android.jar | |
| /prebuilt/sdk/7/ |
| android.jar | |
| /prebuilt/sdk/8/ |
| android.jar | |