Home
last modified time | relevance | path

Searched refs:utf8End (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/utils/
DSkShaperJSONWriter.cpp35 static bool is_one_to_one(const char utf8[], size_t utf8Begin, size_t utf8End, in is_one_to_one() argument
37 size_t lastUtf8Index = utf8End; in is_one_to_one()
130 void SkShaperJSONWriter::BreakupClusters(size_t utf8Begin, size_t utf8End, in BreakupClusters() argument
147 processMToN(glyphStartIndex, clusters.size(), clusters[glyphStartIndex], utf8End); in BreakupClusters()
153 uint32_t utf8EndIndex = utf8End; in BreakupClusters()
168 void SkShaperJSONWriter::VisualizeClusters(const char* utf8, size_t utf8Begin, size_t utf8End, in VisualizeClusters() argument
217 BreakupClusters(utf8Begin, utf8End, clusters, gatherRuns); in VisualizeClusters()
DSkShaperJSONWriter.h40 static void BreakupClusters(size_t utf8Begin, size_t utf8End,
50 size_t utf8Begin, size_t utf8End,
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp657 const char* utf8End,
868 const char* utf8End = utf8; in wrap() local
870 utf8Start = utf8End; in wrap()
871 utf8End = utf8 + runSegmenter.endOfCurrentRun(); 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()
900 … SkASSERT( model.fGlyphs[i].fCluster < (size_t)(utf8End - utf8)); in wrap()
986 if (utf8Start != utf8End) { in wrap()
1019 const char* utf8End = utf8; in wrap() local
[all …]
DSkShaper_coretext.cpp172 auto utf8Begin = utf8, utf8End = utf8 + size; in setUTF8() local
173 while (utf8Begin < utf8End) { in setUTF8()
175 utf16 += SkUTF::ToUTF16(SkUTF::NextUTF8(&utf8Begin, utf8End), nullptr); in setUTF8()
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp409 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()
599 const char* utf8End = utf8; in shape() local
601 utf8Start = utf8End; in shape()
602 utf8End = runSegmenter.endOfCurrentRun(); in shape()
614 while (utf8Current < utf8End) { in shape()
616 hb_codepoint_t u = utf8_next(&utf8Current, utf8End); in shape()
623 size_t utf8runLength = utf8End - utf8Start; in shape()
658 ShapedRun& run = runs.emplace_back(utf8Start, utf8End, len, runFont, bidi->currentLevel(), in shape()