Searched refs:TAG_CONT (Results 1 – 3 of 3) sorted by relevance
16 const TAG_CONT: u8 = 0b1000_0000; constant63 if 0b11_000000 & b1 != TAG_CONT { in decode_utf8()66 let cp = ((b0 & !TAG_TWO) as u32) << 6 | ((b1 & !TAG_CONT) as u32); in decode_utf8()77 if 0b11_000000 & b1 != TAG_CONT { in decode_utf8()80 if 0b11_000000 & b2 != TAG_CONT { in decode_utf8()84 | ((b1 & !TAG_CONT) as u32) << 6 in decode_utf8()85 | ((b2 & !TAG_CONT) as u32); in decode_utf8()97 if 0b11_000000 & b1 != TAG_CONT { in decode_utf8()100 if 0b11_000000 & b2 != TAG_CONT { in decode_utf8()103 if 0b11_000000 & b3 != TAG_CONT { in decode_utf8()[all …]
3 const TAG_CONT: u8 = 0b1000_0000; constant20 buf[3] = (code & 0x3F) as u8 | TAG_CONT; in encode()24 buf[2] = (code >> 6 & 0x3F) as u8 | TAG_CONT; in encode()25 buf[3] = (code & 0x3F) as u8 | TAG_CONT; in encode()29 buf[1] = (code >> 12 & 0x3F) as u8 | TAG_CONT; in encode()30 buf[2] = (code >> 6 & 0x3F) as u8 | TAG_CONT; in encode()31 buf[3] = (code & 0x3F) as u8 | TAG_CONT; in encode()
577 const TAG_CONT: u8 = 0b1000_0000; constant583 dst[1] = (cp >> 6 & 0x3F) as u8 | TAG_CONT;584 dst[2] = (cp & 0x3F) as u8 | TAG_CONT;