Searched refs:utf8_bytes (Results 1 – 3 of 3) sorted by relevance
167 std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, in fill_buffer()175 utf8_bytes[0] = std::char_traits<char>::eof(); in fill_buffer()186 utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(wc); in fill_buffer()191 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xC0u | ((static_cast<unsigned int>(… in fill_buffer()192 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()197 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xE0u | ((static_cast<unsigned int>(… in fill_buffer()198 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(… in fill_buffer()199 …utf8_bytes[2] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()204 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xF0u | ((static_cast<unsigned int>(… in fill_buffer()205 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(… in fill_buffer()[all …]
4888 std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, in fill_buffer()4896 utf8_bytes[0] = std::char_traits<char>::eof(); in fill_buffer()4907 utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(wc); in fill_buffer()4912 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xC0u | ((static_cast<unsigned int>(… in fill_buffer()4913 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()4918 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xE0u | ((static_cast<unsigned int>(… in fill_buffer()4919 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(… in fill_buffer()4920 …utf8_bytes[2] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()4925 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xF0u | ((static_cast<unsigned int>(… in fill_buffer()4926 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(… in fill_buffer()[all …]
868 utf8_bytes = u'Тест'.encode('utf-8')869 proto.optional_string = utf8_bytes