Lines Matching refs:utf8
17 SkShaperJSONWriter::SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size)
19 , fUTF8{utf8, size} {}
35 static bool is_one_to_one(const char utf8[], size_t utf8Begin, size_t utf8End,
44 if (SkUTF::CountUTF8(&utf8[clusters[clusterIndex]], utf8ClusterSize) != 1) {
86 std::string utf8{&fUTF8[info.utf8Range.begin()], info.utf8Range.size()};
87 fJSONWriter->appendString("UTF8", utf8.c_str());
168 void SkShaperJSONWriter::VisualizeClusters(const char* utf8, size_t utf8Begin, size_t utf8End,
186 SkSpan<const char> utf8Span{&utf8[utf8RangeStart], utf8RangeEnd - utf8RangeStart};
197 int possibleCount = SkUTF::CountUTF8(&utf8[utf8StartIndex], utf8EndIndex - utf8StartIndex);
208 SkSpan<const char> utf8Span{&utf8[utf8StartIndex], utf8EndIndex - utf8StartIndex};
222 SkSpan<const char> utf8,
228 std::string utf8String{utf8.data(), utf8.size()};