• Home
  • Raw
  • Download

Lines Matching full:utf8

131         virtual bool isControl(SkUnichar utf8) = 0;
132 virtual bool isWhitespace(SkUnichar utf8) = 0;
133 virtual bool isSpace(SkUnichar utf8) = 0;
134 virtual bool isTabulation(SkUnichar utf8) = 0;
135 virtual bool isHardBreak(SkUnichar utf8) = 0;
142 virtual bool isEmoji(SkUnichar utf8) = 0;
143 virtual bool isEmojiComponent(SkUnichar utf8) = 0;
144 virtual bool isEmojiModifierBase(SkUnichar utf8) = 0;
145 virtual bool isEmojiModifier(SkUnichar utf8) = 0;
146 virtual bool isRegionalIndicator(SkUnichar utf8) = 0;
147 virtual bool isIdeographic(SkUnichar utf8) = 0;
166 static bool isPunctuation(SkUnichar utf8);
167 static bool isEllipsis(SkUnichar utf8);
170 static bool extractBidi(const char utf8[],
174 virtual bool getBidiRegions(const char utf8[],
179 virtual bool getWords(const char utf8[], int utf8Units, const char* locale,
181 virtual bool getUtf8Words(const char utf8[],
185 virtual bool getSentences(const char utf8[],
191 char utf8[], int utf8Units, bool replaceTabs, const char locale[],
198 char utf8[], int utf8Units, bool replaceTabs,
207 static std::u16string convertUtf8ToUtf16(const char* utf8, int utf8Units);
208 static std::u16string convertUtf8ToUtf16(const SkString& utf8);
211 …static bool extractUtfConversionMapping(SkSpan<const char> utf8, Appender8&& appender8, Appender16… in extractUtfConversionMapping() argument
214 auto ptr = utf8.begin(); in extractUtfConversionMapping()
215 auto end = utf8.end(); in extractUtfConversionMapping()
218 size_t index = SkToSizeT(ptr - utf8.begin()); in extractUtfConversionMapping()
221 // All UTF8 code units refer to the same codepoint in extractUtfConversionMapping()
222 size_t next = SkToSizeT(ptr - utf8.begin()); in extractUtfConversionMapping()
250 appender8(utf8.size()); in extractUtfConversionMapping()
257 void forEachCodepoint(const char* utf8, int32_t utf8Units, Callback&& callback) { in forEachCodepoint() argument
258 const char* current = utf8; in forEachCodepoint()
259 const char* end = utf8 + utf8Units; in forEachCodepoint()
261 auto before = current - utf8; in forEachCodepoint()
264 auto after = current - utf8; in forEachCodepoint()