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
2956 ascii::first_non_ascii_byte(self.as_bytes()) == self.as_bytes().len() in is_ascii()3026 let index = ascii::first_non_ascii_byte(self.as_bytes()); in find_non_ascii_byte()
485 i += ascii::first_non_ascii_byte(&slice[i..]); in validate()