Lines Matching refs:utf8
57 std::unique_ptr<SkBidiIterator> SkUnicode::makeBidiIterator(const char utf8[],
60 // Convert utf8 into utf16 since ubidi only accepts utf16
67 int utf16Units = SkUTF::UTF8ToUTF16(nullptr, 0, utf8, utf8Units);
69 SkDEBUGF("Bidi error: Invalid utf8 input");
73 SkDEBUGCODE(int dstLen =) SkUTF::UTF8ToUTF16(utf16.get(), utf16Units, utf8, utf8Units);
85 bool SkUnicode::extractBidi(const char utf8[],
90 auto utf16 = SkUnicode::convertUtf8ToUtf16(utf8, utf8Units);
110 // Iterate through bidi regions and the result positions into utf8
111 const char* start8 = utf8;
112 const char* end8 = utf8 + utf8Units;
133 Position end = start8 - utf8;
141 Position end = start8 - utf8;