/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UCharacterSurrogateTest.java | 306 int val1 = UCharacter.offsetByCodePoints(chars, start, count, in TestOffsetByCodePoints() 308 int val2 = UCharacter.offsetByCodePoints(string, index - start, in TestOffsetByCodePoints() 324 val1 = UCharacter.offsetByCodePoints(chars, start, count, in TestOffsetByCodePoints() 326 val2 = UCharacter.offsetByCodePoints(string, expected in TestOffsetByCodePoints() 347 UCharacter.offsetByCodePoints(text, start, count, index, in TestOffsetByCodePoints() 362 UCharacter.offsetByCodePoints(text, index, offset); in TestOffsetByCodePoints()
|
D | UnicodeSetStringSpanTest.java | 194 start = s.offsetByCodePoints(start, 1); in containsSpanUTF16() 205 next = s.offsetByCodePoints(next, 1); in containsSpanUTF16() 223 next = s.offsetByCodePoints(next, 1); in containsSpanUTF16() 296 prev = s.offsetByCodePoints(prev, -1); in containsSpanBackUTF16() 313 prev = s.offsetByCodePoints(prev, -1); in containsSpanBackUTF16() 321 length = s.offsetByCodePoints(length, -1); in containsSpanBackUTF16()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterSurrogateTest.java | 303 int val1 = UCharacter.offsetByCodePoints(chars, start, count, in TestOffsetByCodePoints() 305 int val2 = UCharacter.offsetByCodePoints(string, index - start, in TestOffsetByCodePoints() 321 val1 = UCharacter.offsetByCodePoints(chars, start, count, in TestOffsetByCodePoints() 323 val2 = UCharacter.offsetByCodePoints(string, expected in TestOffsetByCodePoints() 344 UCharacter.offsetByCodePoints(text, start, count, index, in TestOffsetByCodePoints() 359 UCharacter.offsetByCodePoints(text, index, offset); in TestOffsetByCodePoints()
|
D | UnicodeSetStringSpanTest.java | 191 start = s.offsetByCodePoints(start, 1); in containsSpanUTF16() 202 next = s.offsetByCodePoints(next, 1); in containsSpanUTF16() 220 next = s.offsetByCodePoints(next, 1); in containsSpanUTF16() 293 prev = s.offsetByCodePoints(prev, -1); in containsSpanBackUTF16() 310 prev = s.offsetByCodePoints(prev, -1); in containsSpanBackUTF16() 318 length = s.offsetByCodePoints(length, -1); in containsSpanBackUTF16()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBIMonkeyTest.java | 588 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set() 634 int updatedStrIdx = fString.offsetByCodePoints(matchEnd, -1); in set() 685 start = fString.offsetByCodePoints(around, -30); in dump() 690 end = fString.offsetByCodePoints(around, +30); in dump() 696 … for (int charIdx = start; charIdx < end; charIdx=fString.offsetByCodePoints(charIdx, 1)) { in dump()
|
D | RBBITestExtended.java | 362 charIdx = testString.offsetByCodePoints(charIdx, 1); in TestExtended()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBIMonkeyTest.java | 585 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set() 631 int updatedStrIdx = fString.offsetByCodePoints(matchEnd, -1); in set() 682 start = fString.offsetByCodePoints(around, -30); in dump() 687 end = fString.offsetByCodePoints(around, +30); in dump() 693 … for (int charIdx = start; charIdx < end; charIdx=fString.offsetByCodePoints(charIdx, 1)) { in dump()
|
D | RBBITestExtended.java | 359 charIdx = testString.offsetByCodePoints(charIdx, 1); in TestExtended()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UnicodeSetStringSpan.java | 416 … overlap = string.offsetByCodePoints(overlap, -1); // Length of the string minus the last code in spanWithStrings() 687 len1 = string.offsetByCodePoints(0, 1); in spanBack()
|
D | Punycode.java | 411 … codeUnitIndex=dest.offsetByCodePoints(firstSupplementaryIndex, i-firstSupplementaryIndex); in decode()
|
D | Normalizer2Impl.java | 353 codePointStart=str.offsetByCodePoints(codePointStart, -1); in skipPrevious()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Punycode.java | 409 … codeUnitIndex=dest.offsetByCodePoints(firstSupplementaryIndex, i-firstSupplementaryIndex); in decode()
|
D | UnicodeSetStringSpan.java | 412 … overlap = string.offsetByCodePoints(overlap, -1); // Length of the string minus the last code in spanWithStrings() 683 len1 = string.offsetByCodePoints(0, 1); in spanBack()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationIterator.java | 125 pos = oldBuffer.offsetByCodePoints(length, beyond - n); in backwardNumCodePoints() 130 pos = oldBuffer.offsetByCodePoints(pos, -n); in backwardNumCodePoints()
|
D | CollationDataBuilder.java | 1287 pos = Character.offsetByCodePoints(s, pos, num); in forwardNumCodePoints() 1292 pos = Character.offsetByCodePoints(s, pos, -num); in backwardNumCodePoints()
|
D | CollationBuilder.java | 966 int lastStarterLength = Character.offsetByCodePoints(decomp, 0, 1);
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationIterator.java | 123 pos = oldBuffer.offsetByCodePoints(length, beyond - n); in backwardNumCodePoints() 128 pos = oldBuffer.offsetByCodePoints(pos, -n); in backwardNumCodePoints()
|
D | CollationDataBuilder.java | 1286 pos = Character.offsetByCodePoints(s, pos, num); in forwardNumCodePoints() 1291 pos = Character.offsetByCodePoints(s, pos, -num); in backwardNumCodePoints()
|
D | CollationBuilder.java | 962 int lastStarterLength = Character.offsetByCodePoints(decomp, 0, 1);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SpoofChecker.java | 1292 i = Character.offsetByCodePoints(text, i, 1); 1314 i = Character.offsetByCodePoints(nfdText, i, 1);
|
D | RBBIRuleScanner.java | 703 for (int idx = 0; idx < rulesLength; idx = rules.offsetByCodePoints(idx, 1)) { in stripRules()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SpoofChecker.java | 1352 i = Character.offsetByCodePoints(text, i, 1); 1374 i = Character.offsetByCodePoints(nfdText, i, 1);
|
D | RBBIRuleScanner.java | 702 for (int idx = 0; idx < rulesLength; idx = rules.offsetByCodePoints(idx, 1)) { in stripRules()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | UCharacter.java | 6342 public static int offsetByCodePoints(CharSequence text, int index, int codePointOffset) { in offsetByCodePoints() method in UCharacter 6390 public static int offsetByCodePoints(char[] text, int start, int count, int index, in offsetByCodePoints() method in UCharacter
|
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
D | UCharacter.java | 5674 public static int offsetByCodePoints(CharSequence text, int index, int codePointOffset) { in offsetByCodePoints() method in UCharacter 5721 public static int offsetByCodePoints(char[] text, int start, int count, int index, in offsetByCodePoints() method in UCharacter
|