Lines Matching refs:MASK_6BIT
134 …atic_cast<uint8_t>(UTF8_3B_SECOND | (static_cast<uint8_t>(d0 >> UtfOffset::SIX) & utf::MASK_6BIT)); in ConvertUtf16ToUtf8()
135 auto ch2 = static_cast<uint8_t>(UTF8_3B_THIRD | (d0 & utf::MASK_6BIT)); in ConvertUtf16ToUtf8()
155 auto ch1 = static_cast<uint8_t>(UTF8_2B_SECOND | (d0 & utf::MASK_6BIT)); in ConvertUtf16ToUtf8()
160 …atic_cast<uint8_t>(UTF8_3B_SECOND | (static_cast<uint8_t>(d0 >> UtfOffset::SIX) & utf::MASK_6BIT)); in ConvertUtf16ToUtf8()
161 auto ch2 = static_cast<uint8_t>(UTF8_3B_THIRD | (d0 & utf::MASK_6BIT)); in ConvertUtf16ToUtf8()
173 … auto ch1 = static_cast<uint8_t>(((codePoint >> UtfOffset::TWELVE) & utf::MASK_6BIT) | utf::MASK1); in ConvertUtf16ToUtf8()
174 auto ch2 = static_cast<uint8_t>(((codePoint >> UtfOffset::SIX) & utf::MASK_6BIT) | utf::MASK1); in ConvertUtf16ToUtf8()
175 auto ch3 = static_cast<uint8_t>((codePoint & utf::MASK_6BIT) | utf::MASK1); in ConvertUtf16ToUtf8()
252 return {((d0 & utf::MASK_5BIT) << utf::DATA_WIDTH) | (d1 & utf::MASK_6BIT), UtfLength::TWO}; in ConvertUtf8ToUtf16Pair()
257 …return {((d0 & utf::MASK_4BIT) << UtfOffset::TWELVE) | ((d1 & utf::MASK_6BIT) << utf::DATA_WIDTH) | in ConvertUtf8ToUtf16Pair()
258 (d2 & utf::MASK_6BIT), in ConvertUtf8ToUtf16Pair()
263 …uint32_t codePoint = ((d0 & utf::MASK_4BIT) << UtfOffset::EIGHTEEN) | ((d1 & utf::MASK_6BIT) << Ut… in ConvertUtf8ToUtf16Pair()
264 ((d2 & utf::MASK_6BIT) << utf::DATA_WIDTH) | (d3 & utf::MASK_6BIT); in ConvertUtf8ToUtf16Pair()