Home
last modified time | relevance | path

Searched refs:codePointCount (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/skia/src/utils/
DSkShaperJSONWriter.cpp105 [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()
DSkShaperJSONWriter.h56 void displayMToN(size_t codePointCount,
/third_party/flutter/skia/src/utils/
DSkShaperJSONWriter.cpp105 [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()
DSkShaperJSONWriter.h56 void displayMToN(size_t codePointCount,
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_affixes.cpp130 : 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DConstantAffixModifier.java73 … return prefix.codePointCount(0, prefix.length()) + suffix.codePointCount(0, suffix.length()); in getCodePointCount()
DConstantMultiFieldModifier.java71 return Character.codePointCount(prefixChars, 0, prefixChars.length) in getCodePointCount()
72 + Character.codePointCount(suffixChars, 0, suffixChars.length); in getCodePointCount()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DConstantAffixModifier.java71 … return prefix.codePointCount(0, prefix.length()) + suffix.codePointCount(0, suffix.length()); in getCodePointCount()
DConstantMultiFieldModifier.java69 return Character.codePointCount(prefixChars, 0, prefixChars.length) in getCodePointCount()
70 + Character.codePointCount(suffixChars, 0, suffixChars.length); in getCodePointCount()
/third_party/icu/icu4c/source/test/intltest/
Dformatted_string_builder_test.cpp163 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()
Dnumbertest_modifiers.cpp163 int32_t oldCount = sb.codePointCount(); in assertModifierEquals()
170 sb.codePointCount() - oldCount, mod.getCodePointCount()); in assertModifierEquals()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/
DUScriptRun.java356 int codePointCount = UTF16.getCharCount(ch); in next() local
360 textIndex += codePointCount; in next()
400 textIndex -= codePointCount; in next()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUScriptRun.java354 int codePointCount = UTF16.getCharCount(ch); in next() local
358 textIndex += codePointCount; in next()
398 textIndex -= codePointCount; in next()
/third_party/flutter/skia/experimental/editor/
Dshape.cpp237 int codePointCount = SkUTF::CountUTF8(utf8Text + textBegin, textCount); in set_character_bounds() local
238 if (codePointCount == 1) { // single codepoint, fast path. in set_character_bounds()
243 float width = clusterBox.width() / codePointCount; in set_character_bounds()
/third_party/skia/modules/skplaintexteditor/src/
Dshape.cpp236 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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DModifierTest.java170 int oldCount = sb.codePointCount(); in assertModifierEquals()
176 sb.codePointCount() - oldCount, in assertModifierEquals()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DModifierTest.java167 int oldCount = sb.codePointCount(); in assertModifierEquals()
173 sb.codePointCount() - oldCount, in assertModifierEquals()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DFormattedStringBuilderTest.java245 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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DFormattedStringBuilderTest.java248 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberingSystem.java100 … 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNumberingSystem.java94 … 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()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterSurrogateTest.java241 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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUCharacterSurrogateTest.java244 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()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_padding.cpp66 int32_t requiredPadding = fWidth - modLength - string.codePointCount(); in padAndApply()
/third_party/icu/icu4c/source/i18n/
Dnumber_padding.cpp66 int32_t requiredPadding = fWidth - modLength - string.codePointCount(); in padAndApply()

1234