Home
last modified time | relevance | path

Searched refs:utf8_buf (Results 1 – 3 of 3) 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/util/utf8/
Dunicodetext.cc179 UnicodeText UTF8ToUnicodeText(const char* utf8_buf, int len, bool do_copy) { in UTF8ToUnicodeText() argument
182 t.CopyUTF8(utf8_buf, len); in UTF8ToUnicodeText()
184 t.PointToUTF8(utf8_buf, len); in UTF8ToUnicodeText()
Dunicodetext.h190 UnicodeText UTF8ToUnicodeText(const char* utf8_buf, int len, bool do_copy);