Searched refs:surrogate_pair (Results 1 – 1 of 1) sorted by relevance
62 uint32_t surrogate_pair = 0; in GetUtf16FromUtf8() local65 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()