Lines Matching refs:octets
37 bool IsReplacementCharacter(const uint8_t* octets, int length) {
40 if (length != 3 || octets[0] != 0xEF || octets[1] != 0xBF ||
41 octets[2] != 0xBD) {
47 bool DecodeOctets(const uint8_t* octets, int length,
50 base::uc32 value = unibrow::Utf8::ValueOf(octets, length, &cursor);
52 !IsReplacementCharacter(octets, length)) {
108 uint8_t octets[unibrow::Utf8::kMaxEncodedSize];
109 octets[0] = decoded;
123 octets[number_of_continuation_bytes] = continuation_byte;
126 if (!DecodeOctets(octets, number_of_continuation_bytes, buffer)) {