/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | ShortestCanonicalForm.java | 38 if (nfc.codePointCount(0, nfc.length()) > 1) { 44 int nfdLen = nfd.codePointCount(0, nfd.length()); 56 && trailingString.codePointCount(0, trailingString.length()) > 1) { 163 int bestLength = nfc.codePointCount(0, nfc.length()); in getShortest() 167 final int currentLength = s.codePointCount(0, s.length()); in getShortest() 211 final int nfcLength = nfc.codePointCount(0, nfc.length()); in process() 220 int len = trial.codePointCount(0, trial.length()); in process()
|
/external/icu/icu4c/source/i18n/ |
D | numparse_affixes.cpp | 130 : codePointCount(0), codePointNumBatches(0) {} in CodePointMatcherWarehouse() 142 codePointCount(src.codePointCount), in CodePointMatcherWarehouse() 149 codePointCount = src.codePointCount; in operator =() 155 if (codePointCount < CODE_POINT_STACK_CAPACITY) { in nextCodePointMatcher() 156 return codePoints[codePointCount++] = {cp}; in nextCodePointMatcher() 159 if (codePointCount >= totalCapacity) { in nextCodePointMatcher() 168 …return codePointsOverflow[codePointNumBatches - 1][(codePointCount++ - CODE_POINT_STACK_CAPACITY) % in nextCodePointMatcher()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_stringbuilder.cpp | 143 assertEquals("Code point count of sb3", 1, sb3.codePointCount()); in testInsertAppendCodePoint() 250 assertEquals("Length is 0 on empty string", 0, nsb.codePointCount()); in testCodePoints() 258 assertEquals("Code point count is 1", 1, nsb.codePointCount()); in testCodePoints() 268 assertEquals("Code point count is 2", 2, nsb.codePointCount()); in testCodePoints() 274 …ntlTest::assertEquals("Code point counts should be the same", a.countChar32(), b.codePointCount()); in assertEqualsImpl()
|
D | numbertest_modifiers.cpp | 163 int32_t oldCount = sb.codePointCount(); in assertModifierEquals() 170 sb.codePointCount() - oldCount, mod.getCodePointCount()); in assertModifierEquals()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | ConstantAffixModifier.java | 71 … return prefix.codePointCount(0, prefix.length()) + suffix.codePointCount(0, suffix.length()); in getCodePointCount()
|
D | ConstantMultiFieldModifier.java | 70 return Character.codePointCount(prefixChars, 0, prefixChars.length) in getCodePointCount() 71 + Character.codePointCount(suffixChars, 0, suffixChars.length); in getCodePointCount()
|
D | SimpleModifier.java | 82 count += Character.codePointCount(compiledPattern, 2, 2 + prefixLength); in getCodePointCount() 86 … .codePointCount(compiledPattern, 1 + suffixOffset, 1 + suffixOffset + suffixLength); in getCodePointCount()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | ConstantAffixModifier.java | 69 … return prefix.codePointCount(0, prefix.length()) + suffix.codePointCount(0, suffix.length()); in getCodePointCount()
|
D | ConstantMultiFieldModifier.java | 68 return Character.codePointCount(prefixChars, 0, prefixChars.length) in getCodePointCount() 69 + Character.codePointCount(suffixChars, 0, suffixChars.length); in getCodePointCount()
|
D | SimpleModifier.java | 80 count += Character.codePointCount(compiledPattern, 2, 2 + prefixLength); in getCodePointCount() 84 … .codePointCount(compiledPattern, 1 + suffixOffset, 1 + suffixOffset + suffixLength); in getCodePointCount()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | UScriptRun.java | 354 int codePointCount = UTF16.getCharCount(ch); in next() local 358 textIndex += codePointCount; in next() 398 textIndex -= codePointCount; in next()
|
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
D | UScriptRun.java | 356 int codePointCount = UTF16.getCharCount(ch); in next() local 360 textIndex += codePointCount; in next() 400 textIndex -= codePointCount; in next()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberStringBuilderTest.java | 234 assertEquals("Length is 0 on empty string", 0, nsb.codePointCount()); in testCodePoints() 241 assertEquals("Code point count is 1", 1, nsb.codePointCount()); in testCodePoints() 250 assertEquals("Code point count is 2", 2, nsb.codePointCount()); in testCodePoints()
|
D | ModifierTest.java | 167 int oldCount = sb.codePointCount(); in assertModifierEquals() 173 sb.codePointCount() - oldCount, in assertModifierEquals()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberStringBuilderTest.java | 237 assertEquals("Length is 0 on empty string", 0, nsb.codePointCount()); in testCodePoints() 244 assertEquals("Code point count is 1", 1, nsb.codePointCount()); in testCodePoints() 253 assertEquals("Code point count is 2", 2, nsb.codePointCount()); in testCodePoints()
|
D | ModifierTest.java | 170 int oldCount = sb.codePointCount(); in assertModifierEquals() 176 sb.codePointCount() - oldCount, in assertModifierEquals()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberingSystem.java | 94 … if ( desc_in.codePointCount(0, desc_in.length()) != radix_in || !isValidDigitString(desc_in)) { in getInstance() 274 int numCodepoints = str.codePointCount(0, str.length()); in isValidDigitString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberingSystem.java | 100 … if ( desc_in.codePointCount(0, desc_in.length()) != radix_in || !isValidDigitString(desc_in)) { in getInstance() 286 int numCodepoints = str.codePointCount(0, str.length()); in isValidDigitString()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | VariantFolder.java | 36 int len1 = s1.codePointCount(0, s1.length()); 37 int len2 = s2.codePointCount(0, s2.length());
|
D | CharacterFallbacks.java | 37 if (value.codePointCount(0, value.length()) != 1) { in CharacterFallbacks()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UCharacterSurrogateTest.java | 244 int val1 = UCharacter.codePointCount(s.toCharArray(), start, in TestCodePointCount() 246 int val2 = UCharacter.codePointCount(s, start, limit); in TestCodePointCount() 260 UCharacter.codePointCount(s, start, limit); in TestCodePointCount()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterSurrogateTest.java | 241 int val1 = UCharacter.codePointCount(s.toCharArray(), start, in TestCodePointCount() 243 int val2 = UCharacter.codePointCount(s, start, limit); in TestCodePointCount() 257 UCharacter.codePointCount(s, start, limit); in TestCodePointCount()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CompareHanTransliterators.java | 58 } else if (UCharacter.codePointCount(source, 0, source.length()) == 1) { in handlePathValue()
|
D | CollectExemplars.java | 31 int len = s.codePointCount(0, s.length()); in main()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestScriptMetadata.java | 54 int codePointCount = UTF16.countCodePoint(info0.sampleChar); in TestScriptOfSample() local 55 assertEquals("Sample must be single character", 1, codePointCount); in TestScriptOfSample()
|