Lines Matching refs:unibrow
24 unibrow::Utf8::State state = unibrow::Utf8::State::kAccept; in Utf8Decoder()
27 unibrow::uchar t = in Utf8Decoder()
28 unibrow::Utf8::ValueOfIncremental(&cursor, &state, &incomplete_char); in Utf8Decoder()
29 if (t != unibrow::Utf8::kIncomplete) { in Utf8Decoder()
30 is_one_byte = is_one_byte && t <= unibrow::Latin1::kMaxChar; in Utf8Decoder()
32 if (t > unibrow::Utf16::kMaxNonSurrogateCharCode) utf16_length_++; in Utf8Decoder()
36 unibrow::uchar t = unibrow::Utf8::ValueOfIncrementalFinish(&state); in Utf8Decoder()
37 if (t != unibrow::Utf8::kBufferEmpty) { in Utf8Decoder()
52 unibrow::Utf8::State state = unibrow::Utf8::State::kAccept; in Decode()
58 unibrow::uchar t = in Decode()
59 unibrow::Utf8::ValueOfIncremental(&cursor, &state, &incomplete_char); in Decode()
60 if (t != unibrow::Utf8::kIncomplete) { in Decode()
61 if (sizeof(Char) == 1 || t <= unibrow::Utf16::kMaxNonSurrogateCharCode) { in Decode()
64 *(out++) = unibrow::Utf16::LeadSurrogate(t); in Decode()
65 *(out++) = unibrow::Utf16::TrailSurrogate(t); in Decode()
70 unibrow::uchar t = unibrow::Utf8::ValueOfIncrementalFinish(&state); in Decode()
71 if (t != unibrow::Utf8::kBufferEmpty) *out = static_cast<Char>(t); in Decode()