9#if defined(SK_UNICODE_ICU_IMPLEMENTATION)
13#if defined(SK_UNICODE_LIBGRAPHEME_IMPLEMENTATION)
17#if defined(SK_UNICODE_ICU4X_IMPLEMENTATION)
23#if defined(SK_UNICODE_ICU_IMPLEMENTATION)
28#if defined(SK_UNICODE_LIBGRAPHEME_IMPLEMENTATION)
33#if defined(SK_UNICODE_ICU4X_IMPLEMENTATION)
48 std::vector<SkUnicode::Position> positions;
49 if (!
unicode->getWords(
begin, byteCount, locale, &positions) || byteCount == 0) {
54 for (
auto&
pos : positions) {
#define SkDEBUGFAIL(message)
sk_sp< SkUnicode > get_unicode()
static const char * begin(const StringSlice &s)
SKUNICODE_API sk_sp< SkUnicode > Make()
SKUNICODE_API sk_sp< SkUnicode > Make()
SKUNICODE_API sk_sp< SkUnicode > Make()
std::vector< bool > GetUtf8WordBoundaries(const char *begin, size_t byteCount, const char *locale)