Home
last modified time | relevance | path

Searched refs:code_point (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dutf-inl.h59 const uint32_t code_point = ((one & 0x0f) << 18) | ((two & 0x3f) << 12) in GetUtf16FromUtf8() local
65 surrogate_pair |= ((code_point >> 10) + 0xd7c0) & 0xffff; in GetUtf16FromUtf8()
67 surrogate_pair |= ((code_point & 0x03ff) + 0xdc00) << 16; in GetUtf16FromUtf8()
Dutf_test.cc284 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8_reference() local
285 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8_reference()
286 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
287 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
288 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
309 static void codePointToSurrogatePair(uint32_t code_point, uint16_t &first, uint16_t &second) { in codePointToSurrogatePair() argument
310 first = (code_point >> 10) + 0xd7c0; in codePointToSurrogatePair()
311 second = (code_point & 0x03ff) + 0xdc00; in codePointToSurrogatePair()
Dutf.cc150 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8() local
151 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8()
152 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
153 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
154 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()