Home
last modified time | relevance | path

Searched refs:utf16Index (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DTextLine.cpp1160 auto utf16Index = fOwner->getUTF16Index(this->fTextExcludingSpaces.end); in getGlyphPositionAtCoordinate() local
1161 return { SkToS32(utf16Index) , kDownstream }; in getGlyphPositionAtCoordinate()
1190 … auto utf16Index = fOwner->getUTF16Index(context.run->globalClusterIndex(context.pos)); in getGlyphPositionAtCoordinate() local
1192 result = { SkToS32(utf16Index), kDownstream }; in getGlyphPositionAtCoordinate()
1194 result = { SkToS32(utf16Index + 1), kUpstream }; in getGlyphPositionAtCoordinate()
1202 …auto utf16Index = fOwner->getUTF16Index(context.run->globalClusterIndex(context.pos + context.size… in getGlyphPositionAtCoordinate() local
1204 result = {SkToS32(utf16Index), kUpstream}; in getGlyphPositionAtCoordinate()
1206 result = {SkToS32(utf16Index), kDownstream}; in getGlyphPositionAtCoordinate()
1237 size_t utf16Index = fOwner->getUTF16Index(clusterIndex8); in getGlyphPositionAtCoordinate() local
1238 result = { SkToS32(utf16Index), kDownstream }; in getGlyphPositionAtCoordinate()
[all …]
/third_party/skia/experimental/sktext/src/
DText.cpp231 size_t utf16Index = 0; in shape() local
234 UTF16FromUTF8.push_back_n(text8.size() + 1, utf16Index); in shape()
235 UTF8FromUTF16.push_back_n(text16.size() + 1, utf16Index); in shape()
240 UTF16FromUTF8[i] = utf16Index; in shape()
244 UTF8FromUTF16[utf16Index++] = start; in shape()
/third_party/icu/icu4c/source/test/intltest/
Drbbitst.cpp476 int32_t utf16Index = 0; in setUTF8() local
478 textMap->addElement(utf16Index, status); in setUTF8()
483 utf16Index += U16_LENGTH(c32); in setUTF8()