Home
last modified time | relevance | path

Searched refs:utf16Units (Results 1 – 2 of 2) sorted by relevance

/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp147 int32_t utf16Units; in Make() local
148 u_strFromUTF8(nullptr, 0, &utf16Units, utf8, utf8Bytes, &status); in Make()
150 std::unique_ptr<UChar[]> utf16(new UChar[utf16Units]); in Make()
151 u_strFromUTF8(utf16.get(), utf16Units, nullptr, utf8, utf8Bytes, &status); in Make()
157 ICUBiDi bidi(ubidi_openSized(utf16Units, 0, &status)); in Make()
166 ubidi_setPara(bidi.get(), utf16.get(), utf16Units, level, nullptr, &status); in Make()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp355 int32_t utf16Units; in Make() local
356 u_strFromUTF8(nullptr, 0, &utf16Units, utf8, utf8Bytes, &status); in Make()
358 std::unique_ptr<UChar[]> utf16(new UChar[utf16Units]); in Make()
359 u_strFromUTF8(utf16.get(), utf16Units, nullptr, utf8, utf8Bytes, &status); in Make()
365 ICUBiDi bidi(ubidi_openSized(utf16Units, 0, &status)); in Make()
374 ubidi_setPara(bidi.get(), utf16.get(), utf16Units, level, nullptr, &status); in Make()