Lines Matching refs:captures
202 if response.captures.is_empty() { in print_list_capture_response()
212 Self::filter_captures(&mut response.captures, &patterns); in print_list_capture_response()
213 if response.captures.is_empty() { in print_list_capture_response()
234 (response.captures.iter().max_by_key(|x| x.device_name.len())) in print_list_capture_response()
241 (response.captures.iter().max_by_key(|x| x.records)) in print_list_capture_response()
249 (response.captures.iter().max_by_key(|x| x.size)) in print_list_capture_response()
277 for capture in &response.captures { in print_list_capture_response()
316 pub fn filter_captures(captures: &mut Vec<model::Capture>, keys: &[String]) { in filter_captures()
318 captures.retain(|capture| { in filter_captures()
333 let mut captures = all_test_captures(); in test_filter_captures_helper() localVariable
334 Command::filter_captures(&mut captures, &patterns); in test_filter_captures_helper()
335 assert_eq!(captures, expected_captures); in test_filter_captures_helper()