Home
last modified time | relevance | path

Searched refs:utf8_buf (Results 1 – 4 of 4) sorted by relevance

/external/unicode/
Dharness.c153 UTF8 utf8_buf[8]; in test02() local
165 for (n = 0; n < 8; n++) utf8_buf[n] = 0; in test02()
169 utf8TargetStart = utf8SourceStart = utf8_buf; in test02()
203 …const UTF16 **) &utf16SourceStart, &(utf16_buf[2]), &utf8TargetStart, &(utf8_buf[7]), strictConver… in test02()
213 i, utf32_buf[0], utf16_buf[0], utf16_buf[1], utf8_buf, result); in test02()
229 i, utf32_buf[0], utf16_buf[0], utf16_buf[1], utf8_buf, result); in test02()
241 utf8TargetStart = utf8SourceStart = utf8_buf; in test02()
246 …= ConvertUTF8toUTF16((const UTF8 **) &utf8SourceStart, &(utf8_buf[trailingBytesForUTF8[utf8_buf[0]… in test02()
256 i, utf32_buf[0], utf8_buf, utf16_buf[0], utf16_buf[1], result); in test02()
314 UTF8 utf8_buf[8]; in test03() local
[all …]
/external/libtextclassifier/native/utils/utf8/
Dunicodetext.cc318 UnicodeText UTF8ToUnicodeText(const char* utf8_buf, int len, bool do_copy) { in UTF8ToUnicodeText() argument
321 t.CopyUTF8(utf8_buf, len); in UTF8ToUnicodeText()
323 t.PointToUTF8(utf8_buf, len); in UTF8ToUnicodeText()
328 UnicodeText UTF8ToUnicodeText(const char* utf8_buf, bool do_copy) { in UTF8ToUnicodeText() argument
329 return UTF8ToUnicodeText(utf8_buf, strlen(utf8_buf), do_copy); in UTF8ToUnicodeText()
Dunicodetext.h236 UnicodeText UTF8ToUnicodeText(const char* utf8_buf, int len,
238 UnicodeText UTF8ToUnicodeText(const char* utf8_buf, bool do_copy = true);
/external/skia/modules/svg/src/
DSkSVGText.cpp212 char utf8_buf[SkUTF::kMaxBytesInUTF8Sequence]; in append() local
213 const auto utf8_len = SkToInt(SkUTF::ToUTF8(ch, utf8_buf)); in append()
214 fUtf8 .push_back_n(utf8_len, utf8_buf); in append()