Home
last modified time | relevance | path

Searched refs:or_insert_with (Results 1 – 14 of 14) sorted by relevance

/third_party/rust/crates/bindgen/bindgen/ir/analysis/
Dtemplate_params.rs402 dependencies.entry(item).or_insert_with(Vec::new); in new()
403 used.entry(item).or_insert_with(|| Some(ItemSet::new())); in new()
412 .or_insert_with(|| Some(ItemSet::new())); in new()
415 .or_insert_with(Vec::new) in new()
451 used.entry(arg).or_insert_with(|| Some(ItemSet::new())); in new()
452 used.entry(param).or_insert_with(|| Some(ItemSet::new())); in new()
456 .or_insert_with(Vec::new) in new()
Dmod.rs187 dependencies.entry(item).or_insert_with(Vec::new); in generate_dependencies()
200 .or_insert_with(Vec::new) in generate_dependencies()
284 reversed.0.entry(*node).or_insert_with(Vec::new); in reverse()
289 .or_insert_with(Vec::new) in reverse()
335 .or_insert_with(HashSet::default) in constrain()
344 .or_insert_with(HashSet::default) in constrain()
/third_party/rust/crates/unicode-ident/generate/src/
Dmain.rs98 .or_insert_with(VecDeque::new) in main()
/third_party/rust/crates/cxx/gen/build/src/
Dcfg.rs453 .or_insert_with(|| Box::new(Cfg::current())) in deref()
/third_party/rust/crates/cxx/gen/cmd/src/
Dapp.rs109 cfg.entry(name).or_insert_with(Set::new).insert(value); in from_args()
/third_party/rust/crates/clang-sys/build/
Dcommon.rs27 .or_insert_with(Vec::new) in add_command_error()
/third_party/rust/crates/cxx/syntax/
Dtrivial.rs34 .or_insert_with(Vec::new) in required_trivial_reasons()
/third_party/rust/crates/clap/src/util/
Dflat_map.rs162 pub fn or_insert_with<F: FnOnce() -> V>(self, default: F) -> &'a mut V { in or_insert_with() method
/third_party/rust/crates/codespan/codespan-reporting/src/term/
Dviews.rs62 self.lines.entry(line_index).or_insert_with(|| Line { in render()
/third_party/rust/crates/bindgen/bindgen/
Dlib.rs1186 .or_insert_with(Vec::new) in module_raw_line()
1201 .or_insert_with(Vec::new) in module_raw_lines()
/third_party/rust/crates/bindgen/bindgen/ir/
Dcontext.rs1332 used_params.entry(id).or_insert_with(|| { in find_used_template_parameters()
2253 .or_insert_with(|| { in blocklisted_type_implements_trait()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dmod.rs1792 .or_insert_with(|| SslContext::new_ex_index::<T>().unwrap().as_raw()); in cached_ex_index()
2242 .or_insert_with(|| Ssl::new_ex_index::<T>().unwrap().as_raw()); in cached_ex_index()
/third_party/rust/crates/cxx/gen/src/
Dwrite.rs76 .or_insert_with(Vec::new) in write_data_structures()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs35192 pub fn or_insert_with<F: FnOnce() -> V>(self, default: F) -> &'a mut V {