Searched refs:utf8_bytes (Results 1 – 6 of 6) sorted by relevance
182 std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, in fill_buffer()190 utf8_bytes[0] = std::char_traits<char>::eof(); in fill_buffer()201 utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(wc); in fill_buffer()206 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xC0u | ((static_cast<unsigned int>(… in fill_buffer()207 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()212 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xE0u | ((static_cast<unsigned int>(… in fill_buffer()213 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(… in fill_buffer()214 …utf8_bytes[2] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()219 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xF0u | ((static_cast<unsigned int>(… in fill_buffer()220 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(… in fill_buffer()[all …]
799 int utf8_bytes = 0; in ToCString() local803 utf8_bytes += unibrow::Utf8::Length(character, last); in ToCString()808 *length_return = utf8_bytes; in ToCString()811 char* result = NewArray<char>(utf8_bytes + 1); in ToCString()
1570 base::Vector<const uint8_t> utf8_bytes; in ReadUtf8String() local1571 if (!ReadRawBytes(utf8_length).To(&utf8_bytes)) return {}; in ReadUtf8String()1573 base::Vector<const char>::cast(utf8_bytes), allocation); in ReadUtf8String()
5379 std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, in fill_buffer()5387 utf8_bytes[0] = std::char_traits<char>::eof(); in fill_buffer()5398 utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(wc); in fill_buffer()5403 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xC0u | ((static_cast<unsigned int>(… in fill_buffer()5404 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()5409 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xE0u | ((static_cast<unsigned int>(… in fill_buffer()5410 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(… in fill_buffer()5411 …utf8_bytes[2] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()5416 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xF0u | ((static_cast<unsigned int>(… in fill_buffer()5417 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(… in fill_buffer()[all …]
6251 std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, in fill_buffer()6259 utf8_bytes[0] = std::char_traits<char>::eof(); in fill_buffer()6270 utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(wc); in fill_buffer()6275 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xC0u | ((static_cast<unsigned int>(… in fill_buffer()6276 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()6281 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xE0u | ((static_cast<unsigned int>(… in fill_buffer()6282 …utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(… in fill_buffer()6283 …utf8_bytes[2] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(w… in fill_buffer()6288 …utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xF0u | ((static_cast<unsigned int>(… in fill_buffer()6289 …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