/external/skia/src/utils/ |
D | SkShaperJSONWriter.cpp | 105 [this](size_t codePointCount, SkSpan<const char> utf1to1, in commitRunBuffer() 107 this->displayMToN(codePointCount, utf1to1, glyph1to1); in commitRunBuffer() 199 size_t codePointCount = SkTo<size_t>(possibleCount); in VisualizeClusters() local 200 if (codePointCount == 1 && glyphEndIndex - glyphStartIndex == 1) { in VisualizeClusters() 212 processMToN(codePointCount, utf8Span, glyphSpan); in VisualizeClusters() 221 void SkShaperJSONWriter::displayMToN(size_t codePointCount, in displayMToN() argument 224 std::string nString = std::to_string(codePointCount); in displayMToN()
|
D | SkShaperJSONWriter.h | 56 void displayMToN(size_t codePointCount,
|
/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) { 166 int bestLength = nfc.codePointCount(0, nfc.length()); in getShortest() 170 final int currentLength = s.codePointCount(0, s.length()); in getShortest() 214 final int nfcLength = nfc.codePointCount(0, nfc.length()); in process() 223 int len = trial.codePointCount(0, trial.length()); in process()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | ConstantAffixModifier.java | 71 … return prefix.codePointCount(0, prefix.length()) + suffix.codePointCount(0, suffix.length()); in getCodePointCount()
|
D | ConstantMultiFieldModifier.java | 69 return Character.codePointCount(prefixChars, 0, prefixChars.length) in getCodePointCount() 70 + Character.codePointCount(suffixChars, 0, suffixChars.length); in getCodePointCount()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | ConstantAffixModifier.java | 73 … return prefix.codePointCount(0, prefix.length()) + suffix.codePointCount(0, suffix.length()); in getCodePointCount()
|
D | ConstantMultiFieldModifier.java | 71 return Character.codePointCount(prefixChars, 0, prefixChars.length) in getCodePointCount() 72 + Character.codePointCount(suffixChars, 0, suffixChars.length); in getCodePointCount()
|
/external/icu/icu4c/source/test/intltest/ |
D | formatted_string_builder_test.cpp | 163 assertEquals("Code point count of sb3", 1, sb3.codePointCount()); in testInsertAppendCodePoint() 290 assertEquals("Length is 0 on empty string", 0, nsb.codePointCount()); in testCodePoints() 298 assertEquals("Code point count is 1", 1, nsb.codePointCount()); in testCodePoints() 308 assertEquals("Code point count is 2", 2, nsb.codePointCount()); in testCodePoints() 314 …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/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/okio/samples/src/jvmMain/kotlin/okio/samples/ |
D | ExploreCharsets.kt | 26 println("String.codePointCount: " + s.codePointCount(0, s.length)) in dumpStringData()
|
/external/skia/modules/skplaintexteditor/src/ |
D | shape.cpp | 236 int codePointCount = SkUTF::CountUTF8(utf8Text + textBegin, textCount); in set_character_bounds() local 237 if (codePointCount == 1) { // single codepoint, fast path. in set_character_bounds() 242 float width = clusterBox.width() / codePointCount; in set_character_bounds()
|
/external/okio/samples/src/jvmMain/java/okio/samples/ |
D | ExploreCharsets.java | 31 System.out.println("String.codePointCount: " + s.codePointCount(0, s.length())); in dumpStringData()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | ModifierTest.java | 170 int oldCount = sb.codePointCount(); in assertModifierEquals() 176 sb.codePointCount() - oldCount, in assertModifierEquals()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | ModifierTest.java | 167 int oldCount = sb.codePointCount(); in assertModifierEquals() 173 sb.codePointCount() - oldCount, in assertModifierEquals()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | FormattedStringBuilderTest.java | 245 assertEquals("Length is 0 on empty string", 0, nsb.codePointCount()); in testCodePoints() 252 assertEquals("Code point count is 1", 1, nsb.codePointCount()); in testCodePoints() 261 assertEquals("Code point count is 2", 2, nsb.codePointCount()); in testCodePoints()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | FormattedStringBuilderTest.java | 248 assertEquals("Length is 0 on empty string", 0, nsb.codePointCount()); in testCodePoints() 255 assertEquals("Code point count is 1", 1, nsb.codePointCount()); in testCodePoints() 264 assertEquals("Code point count is 2", 2, nsb.codePointCount()); in testCodePoints()
|
/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() 289 int numCodepoints = str.codePointCount(0, str.length()); in isValidDigitString()
|
/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() 277 int numCodepoints = str.codePointCount(0, str.length()); in isValidDigitString()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CharacterFallbacks.java | 36 if (value.codePointCount(0, value.length()) != 1) { in CharacterFallbacks()
|
D | VariantFolder.java | 37 int len1 = s1.codePointCount(0, s1.length()); 38 int len2 = s2.codePointCount(0, s2.length());
|
/external/okio/okio/src/commonMain/kotlin/okio/internal/ |
D | ByteString.kt | 327 private fun codePointIndexToCharIndex(s: ByteArray, codePointCount: Int): Int { in codePointIndexToCharIndex() 331 if (j++ == codePointCount) { in codePointIndexToCharIndex()
|
/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()
|