Searched refs:first_non_ascii_byte (Results 1 – 3 of 3) sorted by relevance
44 pub fn first_non_ascii_byte(slice: &[u8]) -> usize { in first_non_ascii_byte() function
2827 ascii::first_non_ascii_byte(self.as_bytes()) == self.as_bytes().len() in is_ascii()2897 let index = ascii::first_non_ascii_byte(self.as_bytes()); in find_non_ascii_byte()
489 i += ascii::first_non_ascii_byte(&slice[i..]); in validate()