Home
last modified time | relevance | path

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

/art/test/ti-agent/
Dti_utf.h107 inline void ConvertUtf16ToModifiedUtf8(char* utf8_out, in ConvertUtf16ToModifiedUtf8() argument
115 *utf8_out++ = static_cast<char>(*p++); in ConvertUtf16ToModifiedUtf8()
124 *utf8_out++ = ch; in ConvertUtf16ToModifiedUtf8()
140 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8()
141 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
142 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
143 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
150 *utf8_out++ = (ch >> 12) | 0xe0; in ConvertUtf16ToModifiedUtf8()
151 *utf8_out++ = ((ch >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
152 *utf8_out++ = (ch & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
[all …]
/art/libdexfile/dex/
Dutf.cc124 void ConvertUtf16ToModifiedUtf8(char* utf8_out, size_t byte_count, in ConvertUtf16ToModifiedUtf8() argument
130 *utf8_out++ = dchecked_integral_cast<char>(*p++); in ConvertUtf16ToModifiedUtf8()
139 *utf8_out++ = ch; in ConvertUtf16ToModifiedUtf8()
155 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8()
156 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
157 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
158 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
165 *utf8_out++ = (ch >> 12) | 0xe0; in ConvertUtf16ToModifiedUtf8()
166 *utf8_out++ = ((ch >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
167 *utf8_out++ = (ch & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
[all …]
Dutf_test.cc266 static void ConvertUtf16ToModifiedUtf8_reference(char* utf8_out, const uint16_t* utf16_in, in ConvertUtf16ToModifiedUtf8_reference() argument
271 *utf8_out++ = ch; in ConvertUtf16ToModifiedUtf8_reference()
287 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8_reference()
288 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
289 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
290 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
297 *utf8_out++ = (ch >> 12) | 0xe0; in ConvertUtf16ToModifiedUtf8_reference()
298 *utf8_out++ = ((ch >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
299 *utf8_out++ = (ch & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
302 *utf8_out++ = (ch >> 6) | 0xc0; in ConvertUtf16ToModifiedUtf8_reference()
[all …]
Dutf.h73 void ConvertUtf16ToModifiedUtf8(char* utf8_out, size_t byte_count,