Lines Matching refs:utf8
141 static bool isIdeographic(SkUnichar utf8);
142 static bool extractBidi(const char utf8[],
146 virtual bool getBidiRegions(const char utf8[],
150 virtual bool getWords(const char utf8[], int utf8Units, const char* locale,
153 char utf8[], int utf8Units, bool replaceTabs,
161 static std::u16string convertUtf8ToUtf16(const char* utf8, int utf8Units);
162 static std::u16string convertUtf8ToUtf16(const SkString& utf8);
165 static bool extractUtfConversionMapping(SkSpan<const char> utf8, Appender8&& appender8, Appender16&& appender16) {
168 auto ptr = utf8.begin();
169 auto end = utf8.end();
172 size_t index = SkToSizeT(ptr - utf8.begin());
176 size_t next = SkToSizeT(ptr - utf8.begin());
204 appender8(utf8.size());
211 void forEachCodepoint(const char* utf8, int32_t utf8Units, Callback&& callback) {
212 const char* current = utf8;
213 const char* end = utf8 + utf8Units;
215 auto before = current - utf8;
218 auto after = current - utf8;