/third_party/rust/crates/nom/examples/ |
H A D | json_iterator.rs | 307 .filter_map(|(_, v)| v.object()) in hash() 309 .filter_map(|(user, v)| v.object().map(|o| (user, o))) in hash() 312 .filter_map(move |(_, v)| v.string().map(|s| (user, s))) in hash()
|
/third_party/ltp/testcases/kernel/mem/tunable/ |
H A D | max_map_count.c | 59 static bool filter_map(const char *line) in filter_map() function 110 if (filter_map(line)) in count_maps()
|
/third_party/rust/crates/clang-sys/build/ |
H A D | common.rs | 206 .filter_map(Result::ok) in search_directory() 208 .filter_map(|p| { in search_directory() 312 for directory in directories.filter_map(Result::ok).filter(|p| p.is_dir()) { in search_libclang_directories()
|
H A D | static.rs | 49 .filter_map(|p| { in get_llvm_libraries() 72 .filter_map(|l| l.ok().and_then(|l| get_library_name(&l))) in get_clang_libraries()
|
/third_party/rust/crates/which-rs/src/ |
H A D | finder.rs | 167 .filter_map(|s| { in append_extension() 217 for e in iter.filter_map(std::result::Result::ok) { in correct_casing()
|
/third_party/rust/crates/bindgen/bindgen/ |
H A D | regex_set.rs | 53 self.items.iter().enumerate().filter_map(move |(i, item)| { in unmatched_items()
|
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | bound.rs | 49 .filter_map(|field| from_field(&field.attrs)) in with_where_predicates_from_fields() 71 .filter_map(|variant| from_variant(&variant.attrs)) in with_where_predicates_from_variants()
|
H A D | pretend.rs | 117 .filter_map(|variant| match variant.style { in pretend_fields_used_enum()
|
/third_party/rust/crates/clap/src/output/ |
H A D | help_template.rs | 355 .filter_map(|arg| arg.get_help_heading()) 624 .filter_map(|f| f.get_visible_quoted_name().map(|name| display_width(&name))) in help() 629 .filter_map(|f| f.get_visible_help().map(|h| h.display_width())) in help() 796 .filter_map(PossibleValue::get_visible_quoted_name) in spec_vals()
|
/third_party/rust/crates/clap/clap_derive/src/utils/ |
H A D | doc_comments.rs | 16 .filter_map(|attr| { in extract_doc_comment()
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | fish.rs | 168 .filter_map(|value| if value.is_hide_set() { in value_completion()
|
/third_party/rust/crates/syn/codegen/src/ |
H A D | snapshot.rs | 102 .filter_map(|(i, ty)| { in format_field() 198 let fields = fields.iter().enumerate().filter_map(|(i, ty)| { in expand_impl_body() 229 let fields = fields.iter().filter_map(|(f, ty)| { in expand_impl_body()
|
H A D | hash.rs | 96 .filter_map(|(f, ty)| { in expand_impl_body()
|
H A D | parse.rs | 98 .filter_map(|variant| { in introspect_enum()
|
/third_party/rust/crates/clap/src/builder/ |
H A D | debug_asserts.rs | 448 slice.windows(2).filter_map(|w| { in find_duplicates() 509 .filter_map(|x| { in _verify_positionals() 645 for p in (1..=num_p).rev().filter_map(|n| cmd.get_keymap().get(&n)) { in _verify_positionals() 810 .filter_map(|(_, _, default)| default.as_ref()), in assert_arg()
|
H A D | arg.rs | 3748 .filter_map(|(c, v)| if *v { Some(c) } else { None }) in get_visible_short_aliases() 3793 .filter_map(|(s, v)| if *v { Some(s.as_str()) } else { None }) in get_visible_aliases()
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
H A D | impl_debug.rs | 24 let processed_fields = fields.iter().filter_map(|f| match f { in gen_debug_impl()
|
H A D | mod.rs | 214 .filter_map(|&(flag, derive)| { in from() 1009 .filter_map(|p| p.as_template_param(ctx, &())) in codegen() 1123 .filter_map(|m| { in codegen() 2239 .filter_map(|field| match *field { in codegen()
|
/third_party/rust/crates/clap/clap_derive/src/derives/ |
H A D | subcommand.rs | 357 .filter_map(|(variant, item)| { in gen_has_subcommand() 577 .filter_map(|(variant, item)| { in gen_update_from_arg_matches()
|
H A D | args.rs | 374 .filter_map(|(_field, item)| { in gen_augment()
|
/third_party/rust/crates/clang-sys/src/ |
H A D | support.rs | 147 if let Some(path) = glob::glob(&pattern).ok()?.filter_map(|p| p.ok()).next() { in find()
|
/third_party/rust/crates/rust-cexpr/tests/ |
H A D | clang.rs | 269 .filter_map(|t| { in file_visit_macros()
|
/third_party/rust/crates/clap/src/parser/ |
H A D | validator.rs | 132 .filter_map(|(id, _)| { in validate_exclusive() 173 .filter_map(|c_id| { in build_conflict_err() 209 .filter_map(|key| self.cmd.find(key)) in build_conflict_err_usage()
|
/third_party/rust/crates/clap/clap_complete/src/ |
H A D | dynamic.rs | 390 .filter_map(|f| { in complete_arg() 440 values.extend(possible_values.into_iter().filter_map(|p| { in complete_arg_value() 511 .filter_map(Result::ok) in complete_path()
|
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
H A D | derive.rs | 730 .filter_map(|(k, v)| if v != CanDerive::Yes { Some(k) } else { None }) in as_cannot_derive_set()
|