Home
last modified time | relevance | path

Searched refs:codePointBefore (Results 1 – 25 of 73) sorted by relevance

123

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCurrencySpacingEnabledModifier.java85 && beforeSuffixUnicodeSet.contains(output.codePointBefore(rightIndex))) { in apply()
130 int affixCp = (affix == PREFIX) ? output.codePointBefore(index) : output.codePointAt(index); in applyCurrencySpacingAffix()
135 … int numberCp = (affix == PREFIX) ? output.codePointAt(index) : output.codePointBefore(index); in applyCurrencySpacingAffix()
DNumberStringBuilder.java90 return Character.codePointBefore(chars, zero + length, zero);
97 public int codePointBefore(int index) {
98 return Character.codePointBefore(chars, zero + index, zero);
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCurrencySpacingEnabledModifier.java87 && beforeSuffixUnicodeSet.contains(output.codePointBefore(rightIndex))) { in apply()
132 int affixCp = (affix == PREFIX) ? output.codePointBefore(index) : output.codePointAt(index); in applyCurrencySpacingAffix()
137 … int numberCp = (affix == PREFIX) ? output.codePointAt(index) : output.codePointBefore(index); in applyCurrencySpacingAffix()
DNumberStringBuilder.java92 return Character.codePointBefore(chars, zero + length, zero);
99 public int codePointBefore(int index) {
100 return Character.codePointBefore(chars, zero + index, zero);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUTS46.java583 c=Character.codePointBefore(label, labelLimit); in checkLabelBiDi()
699 c=Character.codePointBefore(label, j); in isLabelOkContextJ()
711 c=Character.codePointBefore(label, j); in isLabelOkContextJ()
743 int c=Character.codePointBefore(label, i); in isLabelOkContextJ()
791 UScript.HEBREW==UScript.getScript(Character.codePointBefore(label, i)))) { in checkLabelContextO()
DNormalizer2Impl.java360 int c=str.codePointBefore(codePointStart); in previousCC()
1309 c = Character.codePointBefore(s, prevSrc); in compose()
1391 c = Character.codePointBefore(s, prevSrc); in composeQuickCheck()
2170 return start == p || hasCompBoundaryAfter(Character.codePointBefore(s, p), onlyContiguous); in hasCompBoundaryAfter()
2180 int c=Character.codePointBefore(s, p); in findPreviousCompBoundary()
2209 int c=Character.codePointBefore(s, p); in findPreviousFCDBoundary()
2240 return getFCD16(Character.codePointBefore(s, p)); in getPreviousTrailCC()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUTS46.java582 c=Character.codePointBefore(label, labelLimit); in checkLabelBiDi()
698 c=Character.codePointBefore(label, j); in isLabelOkContextJ()
710 c=Character.codePointBefore(label, j); in isLabelOkContextJ()
742 int c=Character.codePointBefore(label, i); in isLabelOkContextJ()
790 UScript.HEBREW==UScript.getScript(Character.codePointBefore(label, i)))) { in checkLabelContextO()
DNormalizer2Impl.java354 int c=str.codePointBefore(codePointStart); in previousCC()
1300 c = Character.codePointBefore(s, prevSrc); in compose()
1382 c = Character.codePointBefore(s, prevSrc); in composeQuickCheck()
2161 return start == p || hasCompBoundaryAfter(Character.codePointBefore(s, p), onlyContiguous); in hasCompBoundaryAfter()
2171 int c=Character.codePointBefore(s, p); in findPreviousCompBoundary()
2200 int c=Character.codePointBefore(s, p); in findPreviousFCDBoundary()
2231 return getFCD16(Character.codePointBefore(s, p)); in getPreviousTrailCC()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberStringBuilderTest.java240 assertEquals("Before 1st is q", 'q', nsb.codePointBefore(1)); in testCodePoints()
248 assertEquals("Before 1st is q", 'q', nsb.codePointBefore(1)); in testCodePoints()
249 assertEquals("Before 3rd is space ship", 128640, nsb.codePointBefore(3)); in testCodePoints()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberStringBuilderTest.java243 assertEquals("Before 1st is q", 'q', nsb.codePointBefore(1)); in testCodePoints()
251 assertEquals("Before 1st is q", 'q', nsb.codePointBefore(1)); in testCodePoints()
252 assertEquals("Before 3rd is space ship", 128640, nsb.codePointBefore(3)); in testCodePoints()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_stringbuilder.cpp257 assertEquals("Before 1st is q", u'q', nsb.codePointBefore(1)); in testCodePoints()
266 assertEquals("Before 1st is q", u'q', nsb.codePointBefore(1)); in testCodePoints()
267 assertEquals("Before 3rd is space ship", 128640, nsb.codePointBefore(3)); in testCodePoints()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterSurrogateTest.java193 if (UCharacter.codePointBefore(s, i + 1) != bvalues[i]) in TestCodePointAtBefore()
195 if (UCharacter.codePointBefore(c, i + 1) != bvalues[i]) in TestCodePointAtBefore()
197 if (UCharacter.codePointBefore(b, i + 1) != bvalues[i]) in TestCodePointAtBefore()
206 if (UCharacter.codePointBefore(c, i + 1, 0) != bvalues[i]) in TestCodePointAtBefore()
DUnicodeSetStringSpanTest.java292 c = s.codePointBefore(prev); in containsSpanBackUTF16()
303 c = s.codePointBefore(prev); in containsSpanBackUTF16()
320 c = s.codePointBefore(length); in containsSpanBackUTF16()
DUCharacterTest.java848 int b=dm.codePointBefore(dm.length()); in TestUnicodeData()
3370 if(UCharacter.codePointBefore(cases[i], 1) != result[i])
3374 UCharacter.codePointBefore(cases[i], 1));
3378 if(UCharacter.codePointBefore(cases[i].toCharArray(), 1) != result[i])
3382 UCharacter.codePointBefore(cases[i].toCharArray(), 1));
3386 if(UCharacter.codePointBefore(cases[i].toCharArray(), 1, 0) != result[i])
3390 UCharacter.codePointBefore(cases[i].toCharArray(), 1, 0));
3401 UCharacter.codePointBefore(dummy, 10000, negative_cases[i]);
3409 UCharacter.codePointBefore(dummy, index_cases[i], 101);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterSurrogateTest.java190 if (UCharacter.codePointBefore(s, i + 1) != bvalues[i]) in TestCodePointAtBefore()
192 if (UCharacter.codePointBefore(c, i + 1) != bvalues[i]) in TestCodePointAtBefore()
194 if (UCharacter.codePointBefore(b, i + 1) != bvalues[i]) in TestCodePointAtBefore()
203 if (UCharacter.codePointBefore(c, i + 1, 0) != bvalues[i]) in TestCodePointAtBefore()
DUnicodeSetStringSpanTest.java289 c = s.codePointBefore(prev); in containsSpanBackUTF16()
300 c = s.codePointBefore(prev); in containsSpanBackUTF16()
317 c = s.codePointBefore(length); in containsSpanBackUTF16()
DUCharacterTest.java845 int b=dm.codePointBefore(dm.length()); in TestUnicodeData()
3367 if(UCharacter.codePointBefore(cases[i], 1) != result[i])
3371 UCharacter.codePointBefore(cases[i], 1));
3375 if(UCharacter.codePointBefore(cases[i].toCharArray(), 1) != result[i])
3379 UCharacter.codePointBefore(cases[i].toCharArray(), 1));
3383 if(UCharacter.codePointBefore(cases[i].toCharArray(), 1, 0) != result[i])
3387 UCharacter.codePointBefore(cases[i].toCharArray(), 1, 0));
3398 UCharacter.codePointBefore(dummy, 10000, negative_cases[i]);
3406 UCharacter.codePointBefore(dummy, index_cases[i], 101);
/external/icu/icu4c/source/i18n/
Dnumber_modifiers.cpp389 fBeforeSuffixUnicodeSet.contains(output.codePointBefore(rightIndex))) { in apply()
430 int affixCp = (affix == PREFIX) ? output.codePointBefore(index) : output.codePointAt(index); in applyCurrencySpacingAffix()
435 int numberCp = (affix == PREFIX) ? output.codePointAt(index) : output.codePointBefore(index); in applyCurrencySpacingAffix()
Dnumber_stringbuilder.h66 UChar32 codePointBefore(int32_t index) const;
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DFCDUTF16CollationIterator.java344 int c = Character.codePointBefore(seq, p);
359 c = Character.codePointBefore(seq, p);
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DFCDUTF16CollationIterator.java342 int c = Character.codePointBefore(seq, p);
357 c = Character.codePointBefore(seq, p);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCodePointMap.java292 c = Character.codePointBefore(s, sIndex); in previous()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCodePointMap.java281 c = Character.codePointBefore(s, sIndex); in previous()
/external/caliper/examples/src/main/java/examples/
DStringBuilderBenchmark.java185 if (sb.codePointBefore(k) > MIN_SURROGATE) in codePointBeforeNoSurrogates()
/external/cldr/tools/java/org/unicode/cldr/util/
DEmoji.java89 …AN_WOMAN.contains(minimal.codePointAt(0)) && OBJECT.contains(minimal.codePointBefore(minimal.lengt…

123