Home
last modified time | relevance | path

Searched refs:is_char_boundary (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/rayon/src/
Dstr.rs23 fn is_char_boundary(b: u8) -> bool { in is_char_boundary() function
37 match right.iter().cloned().position(is_char_boundary) { in find_char_midpoint()
42 .rposition(is_char_boundary) in find_char_midpoint()
/external/rust/crates/codespan-reporting/tests/
Dterm.rs899 assert_eq!(moon_phases.is_char_boundary(invalid_start), false);
900 assert_eq!(moon_phases.is_char_boundary(invalid_end), false);
/external/rust/crates/codespan-reporting/src/
Dfiles.rs210 .filter(|byte_index| source.is_char_boundary(byte_index + 1)) in column_index()
/external/rust/crates/criterion/src/
Dreport.rs74 while !s.is_char_boundary(boundary) { in truncate_to_character_boundary()
/external/rust/crates/proc-macro2/src/
Dparse.rs506 if !input.chars().as_str().is_char_boundary(offset) { in byte()