Searched refs:count_matching (Results 1 – 1 of 1) sorted by relevance
267 fn count_matching<F: Fn(char) -> bool>(&self, f: F) -> (u32, Self) { in count_matching() method445 let (slashes_count, remaining) = input.count_matching(|c| matches!(c, '/' | '\\')); in parse_with_scheme()760 let (slashes_count, remaining) = input.count_matching(|c| matches!(c, '/' | '\\')); in parse_relative()