Searched refs:cu1 (Results 1 – 3 of 3) sorted by relevance
48 char32_t cu1 = ((cp - Constants::CELESTIAL_OFFSET) >> OFFSET) | Constants::SURROGATE_HIGH_MIN; in EncodeSurrogate() local51 return {cu1, cu2}; in EncodeSurrogate()
345 char32_t cu1 = static_cast<uint8_t>(*iterNext++); in DecodeCP() local346 …res = ((cu0 & Constants::UTF8_2BYTE_MASK) << Constants::UTF8_2BYTE_SHIFT) | (cu1 & Constants::UTF8… in DecodeCP()352 char32_t cu1 = static_cast<uint8_t>(*iterNext++); in DecodeCP() local355 …((cu1 & Constants::UTF8_CONT_MASK) << Constants::UTF8_2BYTE_SHIFT) | (cu2 & Constants::UTF8_CONT_M… in DecodeCP()362 char32_t cu1 = static_cast<uint8_t>(*iterNext++); in DecodeCP() local366 ((cu1 & Constants::UTF8_CONT_MASK) << Constants::UTF8_3BYTE_SHIFT) | in DecodeCP()485 auto [cu1, cu2] = EncodeSurrogate(cu); in Mutf8Encode()486 Mutf8Encode(str, cu1); in Mutf8Encode()
157 uint16_t cu1 = in FromCodePoint() local161 std::u16string nextU16str1 = base::StringHelper::Utf16ToU16String(&cu1, 1); in FromCodePoint()