Searched refs:TAG_TWO (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/regex/src/ |
D | utf8.rs | 17 const TAG_TWO: u8 = 0b1100_0000; constant 66 let cp = ((b0 & !TAG_TWO) as u32) << 6 | ((b1 & !TAG_CONT) as u32); in decode_utf8() 153 decode_last_utf8, decode_utf8, TAG_CONT, TAG_FOUR, TAG_THREE, TAG_TWO, 233 assert_eq!(decode_utf8(&[TAG_TWO, TAG_CONT | b'a']), None); in reject_invalid() 252 assert_eq!(decode_last_utf8(&[TAG_TWO, TAG_CONT | b'a']), None); in reject_invalid_last()
|