Searched refs:utf8Units (Results 1 – 2 of 2) sorted by relevance
/external/skia/modules/skshaper/src/ |
D | SkUnicode_icu.cpp | 91 …static std::unique_ptr<SkBidiIterator> makeBidiIterator(const char utf8[], int utf8Units, Directio… in makeBidiIterator() argument 93 if (!SkTFitsIn<int32_t>(utf8Units)) { in makeBidiIterator() 99 int utf16Units = SkUTF::UTF8ToUTF16(nullptr, 0, utf8, utf8Units); in makeBidiIterator() 105 SkDEBUGCODE(int dstLen =) SkUTF::UTF8ToUTF16(utf16.get(), utf16Units, utf8, utf8Units); in makeBidiIterator() 113 static std::vector<Region> getBidiRegions(const char utf8[], int utf8Units, Direction dir) { in getBidiRegions() argument 115 auto bidiIterator = makeBidiIterator(utf8, utf8Units, dir); in getBidiRegions() 118 const char* end8 = utf8 + utf8Units; in getBidiRegions() 169 bool setText(const char utftext8[], int utf8Units) override { in setText() argument 171 ICUUText text(utext_openUTF8(nullptr, &utftext8[0], utf8Units, &status)); in setText() 245 int utf8Units, in extractBidi() argument [all …]
|
D | SkUnicode.h | 68 virtual bool setText(const char utftext8[], int utf8Units) = 0; 130 … (const char utf8[], int utf8Units, TextDirection dir, std::vector<BidiRegion>* results) = 0; 132 (const char utf8[], int utf8Units, std::vector<LineBreakBefore>* results) = 0; 134 (const char utf8[], int utf8Units, std::vector<Position>* results) = 0; 136 (const char utf8[], int utf8Units, std::vector<Position>* results) = 0; 139 void forEachCodepoint(const char* utf8, int32_t utf8Units, Callback&& callback) { in forEachCodepoint() argument 141 const char* end = utf8 + utf8Units; in forEachCodepoint()
|