Searched refs:utf8Start (Results 1 – 3 of 3) sorted by relevance
/external/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 656 const char* utf8Start, 867 const char* utf8Start = nullptr; in wrap() local 870 utf8Start = utf8End; in wrap() 886 while (utf8Start < utf8End) { // While there are still code points left in this item in wrap() 887 size_t utf8runLength = utf8End - utf8Start; in wrap() 890 utf8Start, utf8End, in wrap() 897 size_t modelStartCluster = utf8Start - utf8; in wrap() 917 if (!fLineBreakIterator->setText(utf8Start, utf8runLength)) { in wrap() 939 return ShapedRun(RunHandler::Range(utf8Start - utf8, breakIteratorCurrent), in wrap() 946 utf8Start, utf8Start + breakIteratorCurrent, in wrap() [all …]
|
D | SkShaper_coretext.cpp | 188 auto utf8Start = mapIndex(start); in mapRange() local 189 return {utf8Start, mapIndex(start + size) - utf8Start}; in mapRange()
|
/external/skqp/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 409 ShapedRun(const char* utf8Start, const char* utf8End, int numGlyphs, const SkFont& font, in ShapedRun() 411 : fUtf8Start(utf8Start), fUtf8End(utf8End), fNumGlyphs(numGlyphs), fFont(font) in ShapedRun() 598 const char* utf8Start = nullptr; in shape() local 601 utf8Start = utf8End; in shape() 610 hb_buffer_add_utf8(buffer, utf8, utf8Start - utf8, utf8Start - utf8, 0); in shape() 613 const char* utf8Current = utf8Start; in shape() 615 unsigned int cluster = utf8Current - utf8Start; in shape() 623 size_t utf8runLength = utf8End - utf8Start; in shape() 658 ShapedRun& run = runs.emplace_back(utf8Start, utf8End, len, runFont, bidi->currentLevel(), in shape() 681 int32_t clusterOffset = utf8Start - utf8; in shape()
|