Searched refs:or_insert_with (Results 1 – 14 of 14) sorted by relevance
402 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()
187 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()
98 .or_insert_with(VecDeque::new) in main()
453 .or_insert_with(|| Box::new(Cfg::current())) in deref()
109 cfg.entry(name).or_insert_with(Set::new).insert(value); in from_args()
27 .or_insert_with(Vec::new) in add_command_error()
34 .or_insert_with(Vec::new) in required_trivial_reasons()
162 pub fn or_insert_with<F: FnOnce() -> V>(self, default: F) -> &'a mut V { in or_insert_with() method
62 self.lines.entry(line_index).or_insert_with(|| Line { in render()
1186 .or_insert_with(Vec::new) in module_raw_line()1201 .or_insert_with(Vec::new) in module_raw_lines()
1332 used_params.entry(id).or_insert_with(|| { in find_used_template_parameters()2253 .or_insert_with(|| { in blocklisted_type_implements_trait()
1792 .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()
76 .or_insert_with(Vec::new) in write_data_structures()
35192 pub fn or_insert_with<F: FnOnce() -> V>(self, default: F) -> &'a mut V {