Lines Matching full:utf8
144 static bool isIdeographic(SkUnichar utf8);
145 static bool extractBidi(const char utf8[],
149 virtual bool getBidiRegions(const char utf8[],
153 virtual bool getWords(const char utf8[], int utf8Units, const char* locale,
156 char utf8[], int utf8Units, bool replaceTabs,
164 static std::u16string convertUtf8ToUtf16(const char* utf8, int utf8Units);
165 static std::u16string convertUtf8ToUtf16(const SkString& utf8);
168 …static bool extractUtfConversionMapping(SkSpan<const char> utf8, Appender8&& appender8, Appender16… in extractUtfConversionMapping() argument
171 auto ptr = utf8.begin(); in extractUtfConversionMapping()
172 auto end = utf8.end(); in extractUtfConversionMapping()
175 size_t index = SkToSizeT(ptr - utf8.begin()); in extractUtfConversionMapping()
178 // All UTF8 code units refer to the same codepoint in extractUtfConversionMapping()
179 size_t next = SkToSizeT(ptr - utf8.begin()); in extractUtfConversionMapping()
207 appender8(utf8.size()); in extractUtfConversionMapping()
214 void forEachCodepoint(const char* utf8, int32_t utf8Units, Callback&& callback) { in forEachCodepoint() argument
215 const char* current = utf8; in forEachCodepoint()
216 const char* end = utf8 + utf8Units; in forEachCodepoint()
218 auto before = current - utf8; in forEachCodepoint()
221 auto after = current - utf8; in forEachCodepoint()