Home
last modified time | relevance | path

Searched refs:Vacant (Results 1 – 25 of 55) sorted by relevance

123

/external/rust/crates/hashbrown/src/
Drustc_entry.rs48 RustcEntry::Vacant(RustcVacantEntry { in rustc_entry()
71 Vacant(RustcVacantEntry<'a, K, V, A>), enumerator
77 Vacant(ref v) => f.debug_tuple("Entry").field(v).finish(), in fmt()
154 Vacant(entry) => entry.insert_entry(value), in insert()
185 Vacant(entry) => entry.insert(default), in or_insert()
211 Vacant(entry) => entry.insert(default()), in or_insert_with()
229 Vacant(ref entry) => entry.key(), in key()
263 Vacant(entry) => Vacant(entry), in and_modify()
291 Vacant(entry) => entry.insert(Default::default()), in or_default()
Dmap.rs1149 Entry::Vacant(VacantEntry { in entry()
1189 EntryRef::Vacant(VacantEntryRef { in entry_ref()
1780 Entry::Vacant(entry) => Ok(entry.insert(value)), in try_insert()
2910 Vacant(RawVacantEntryMut<'a, K, V, S, A>), enumerator
3189 None => RawEntryMut::Vacant(RawVacantEntryMut { in search()
3316 RawEntryMut::Vacant(entry) => entry.insert_entry(key, value), in insert()
3344 RawEntryMut::Vacant(entry) => entry.insert(default_key, default_val), in or_insert()
3373 RawEntryMut::Vacant(entry) => { in or_insert_with()
3415 RawEntryMut::Vacant(entry) => RawEntryMut::Vacant(entry), in and_modify()
3481 RawEntryMut::Vacant(_) => self, in and_replace_entry_with()
[all …]
Dset.rs942 map::Entry::Vacant(entry) => Entry::Vacant(VacantEntry { inner: entry }), in entry()
1078 map::Entry::Vacant(vacant) => { in replace()
1958 Vacant(VacantEntry<'a, T, S, A>), enumerator
1964 Entry::Vacant(ref v) => f.debug_tuple("Entry").field(v).finish(), in fmt()
2075 Entry::Vacant(entry) => entry.insert_entry(), in insert()
2103 if let Entry::Vacant(entry) = self { in or_insert()
2126 Entry::Vacant(ref entry) => entry.get(), in get()
/external/rust/crates/slab/src/
Dbuilder.rs22 if let Entry::Vacant(_) = slab.entries[key] { in pair()
38 slab.entries.push(Entry::Vacant(next)); in pair()
55 Entry::Vacant(n) => *n = next, in build()
Dlib.rs214 Vacant(usize), enumerator
418 while let Some(&Entry::Vacant(_)) = self.entries.last() { in shrink_to_fit()
453 if let Entry::Vacant(ref mut next) = *entry { in recreate_vacant_list()
1016 Some(&Entry::Vacant(next)) => next, in insert_at()
1043 let prev = mem::replace(entry, Entry::Vacant(self.next)); in try_remove()
/external/rust/crates/hashlink/src/
Dlinked_hash_map.rs283 RawEntryMut::Vacant(vacant) => Entry::Vacant(VacantEntry { in entry()
325 RawEntryMut::Vacant(_) => None, in get_mut()
340 RawEntryMut::Vacant(vacant) => { in insert()
355 RawEntryMut::Vacant(vacant) => { in replace()
370 RawEntryMut::Vacant(_) => None, in remove()
382 RawEntryMut::Vacant(_) => None, in remove_entry()
400 hash_map::RawEntryMut::Vacant(_) => None, in pop_front()
421 hash_map::RawEntryMut::Vacant(_) => None, in pop_back()
439 RawEntryMut::Vacant(_) => None, in to_front()
456 RawEntryMut::Vacant(_) => None, in to_back()
[all …]
Dlinked_hash_set.rs223 linked_hash_map::Entry::Vacant(vacant) => { in replace()
247 linked_hash_map::RawEntryMut::Vacant(_) => None, in take()
282 linked_hash_map::RawEntryMut::Vacant(_) => false, in to_front()
297 linked_hash_map::RawEntryMut::Vacant(_) => false, in to_back()
/external/rust/crates/indexmap/src/map/
Dcore.rs496 Vacant(VacantEntry<'a, K, V>), enumerator
507 Entry::Vacant(entry) => entry.insert(default), in or_insert()
521 Entry::Vacant(entry) => entry.insert(call()), in or_insert_with()
536 Entry::Vacant(entry) => { in or_insert_with_key()
548 Entry::Vacant(ref entry) => entry.key(), in key()
556 Entry::Vacant(ref entry) => entry.index(), in index()
584 Entry::Vacant(entry) => entry.insert(V::default()), in or_default()
592 Entry::Vacant(ref v) => f.debug_tuple(stringify!(Entry)).field(v).finish(), in fmt()
/external/rust/crates/serde_json/src/
Dmap.rs218 EntryImpl::Vacant(vacant) => Entry::Vacant(VacantEntry { vacant }), in entry()
498 Vacant(VacantEntry<'a>), enumerator
538 Entry::Vacant(e) => e.key(), in key()
558 Entry::Vacant(entry) => entry.insert(default), in or_insert()
582 Entry::Vacant(entry) => entry.insert(default()), in or_insert_with()
617 Entry::Vacant(entry) => Entry::Vacant(entry), in and_modify()
/external/rust/crates/clap/src/util/
Dflat_map.rs88 Entry::Vacant(VacantEntry { v: self, key }) in entry()
146 Vacant(VacantEntry<'a, K, V>), enumerator
154 Entry::Vacant(entry) => { in or_insert()
165 Entry::Vacant(entry) => { in or_insert_with()
/external/rust/crates/weak-table/src/
Dweak_value_hash_map.rs13 Vacant(VacantEntry<'a, K, V>), enumerator
311 return Entry::Vacant(VacantEntry {inner}), in entry_no_grow()
317 return Entry::Vacant(VacantEntry {inner}) in entry_no_grow()
399 Entry::Vacant(vacant) => { in insert()
611 Entry::Vacant(vacant) => vacant.insert(default()), in or_insert_with()
621 Entry::Vacant(ref vacant) => vacant.key(), in key()
871 Entry::Vacant(ref e) => e.fmt(f), in fmt()
Dweak_key_hash_map.rs13 Vacant(VacantEntry<'a, K, V>), enumerator
350 return Entry::Vacant(VacantEntry(inner)), in entry_no_grow()
355 return Entry::Vacant(VacantEntry(inner)) in entry_no_grow()
482 Entry::Vacant(vacant) => { in insert()
714 Entry::Vacant(vacant) => vacant.insert(default()), in or_insert_with()
724 Entry::Vacant(ref vacant) => vacant.key(), in key()
980 Entry::Vacant(ref e) => e.fmt(f), in fmt()
1159 Entry::Vacant(_) => eprintln!("WeakKeyHashMap: missing: {}", *key), in insert_and_check()
Dweak_weak_hash_map.rs14 Vacant(VacantEntry<'a, K, V>), enumerator
313 return Entry::Vacant(VacantEntry {inner}), in entry_no_grow()
318 return Entry::Vacant(VacantEntry {inner}) in entry_no_grow()
420 Entry::Vacant(vacant) => { in insert()
620 Entry::Vacant(vacant) => vacant.insert(default()), in or_insert_with()
630 Entry::Vacant(ref vacant) => vacant.key(), in key()
890 Entry::Vacant(ref e) => e.fmt(f), in fmt()
/external/rust/crates/itertools/src/
Dunique_impl.rs111 if let Entry::Vacant(entry) = self.iter.used.entry(v) { in next()
137 if let Entry::Vacant(entry) = self.iter.used.entry(v) { in next_back()
/external/rust/crates/linked-hash-map/src/
Dlib.rs262 Entry::Vacant(VacantEntry { key: k, map: self }) in entry()
1442 Vacant(VacantEntry<'a, K, V, S>), enumerator
1473 Entry::Vacant(ref e) => e.key(), in key()
1482 Entry::Vacant(entry) => entry.insert(default), in or_insert()
1491 Entry::Vacant(entry) => entry.insert(default()), in or_insert_with()
1506 Entry::Vacant(entry) => Entry::Vacant(entry), in and_modify()
1518 Entry::Vacant(entry) => entry.insert(V::default()), in or_default()
/external/rust/cxx/syntax/
Dtoposort.rs33 Entry::Vacant(entry) => { in visit()
Dmap.rs48 Entry::Vacant(entry) => { in insert()
/external/rust/crates/vulkano/src/memory/pool/
Dpool.rs88 Entry::Vacant(entry) => { in generic_allocation()
151 Entry::Vacant(entry) => { in generit_allocation_with_exportable_fd()
/external/rust/crates/vulkano/autogen/
Dproperties.rs118 Entry::Vacant(entry) => { in make_vulkano_properties()
191 Entry::Vacant(entry) => { in make_vulkano_properties_ffi()
Dfeatures.rs153 Entry::Vacant(entry) => { in make_vulkano_features()
296 Entry::Vacant(entry) => { in make_vulkano_features_ffi()
/external/rust/crates/thiserror-impl/src/
Dgenerics.rs65 if let Entry::Vacant(_) = entry { in insert()
/external/rust/crates/hashlink/tests/
Dlinked_hash_map.rs73 linked_hash_map::Entry::Vacant(e) => { in test_entry_insert_vacant()
150 linked_hash_map::Entry::Vacant(_) => panic!(), in test_move()
155 linked_hash_map::Entry::Vacant(_) => panic!(), in test_move()
/external/rust/crates/indexmap/src/map/core/
Draw.rs64 None => Entry::Vacant(VacantEntry { in entry()
/external/rust/crates/bindgen/ir/analysis/
Dhas_vtable.rs111 Entry::Vacant(entry) => { in insert()
/external/rust/crates/hashlink/
DREADME.md26 RawEntryMut::Vacant(vacant) => {

123