Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dutf-inl.h62 uint32_t surrogate_pair = 0; in GetUtf16FromUtf8() local
65 surrogate_pair |= ((code_point >> 10) + 0xd7c0) & 0xffff; in GetUtf16FromUtf8()
67 surrogate_pair |= ((code_point & 0x03ff) + 0xdc00) << 16; in GetUtf16FromUtf8()
69 return surrogate_pair; in GetUtf16FromUtf8()
/art/test/ti-agent/
Dti_utf.h97 uint32_t surrogate_pair = 0; in GetUtf16FromUtf8() local
100 surrogate_pair |= ((code_point >> 10) + 0xd7c0) & 0xffff; in GetUtf16FromUtf8()
102 surrogate_pair |= ((code_point & 0x03ff) + 0xdc00) << 16; in GetUtf16FromUtf8()
104 return surrogate_pair; in GetUtf16FromUtf8()