Home
last modified time | relevance | path

Searched refs:raw_entry (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/hashlink/src/
Dlinked_hash_map.rs315 raw_entry: occupied, in entry()
319 raw_entry: vacant, in entry()
330 self.raw_entry().from_key(k).map(|(_, v)| v) in get()
339 self.raw_entry().from_key(k) in get_key_value()
451 pub fn raw_entry(&self) -> RawEntryBuilder<'_, K, V, S> { in raw_entry() function
454 entry: self.map.raw_entry(), in raw_entry()
706 raw_entry: RawOccupiedEntryMut<'a, K, V>, field
722 self.raw_entry.key() in key()
727 self.raw_entry.remove_entry() in remove_entry()
732 self.raw_entry.get() in get()
[all …]
Dlru_cache.rs178 pub fn raw_entry(&self) -> RawEntryBuilder<'_, K, V, S> { in raw_entry() function
179 self.map.raw_entry() in raw_entry()
Dlinked_hash_set.rs164 self.map.raw_entry().from_key(value).map(|p| p.0) in get()
/external/rust/crates/hashbrown/src/
Dmap.rs1424 pub fn raw_entry(&self) -> RawEntryBuilder<'_, K, V, S, A> { in raw_entry() method
4674 assert_eq!(map.raw_entry().from_key(&1).unwrap(), (&1, &100)); in test_raw_entry()
4676 map.raw_entry().from_hash(hash1, |k| *k == 1).unwrap(), in test_raw_entry()
4680 map.raw_entry().from_key_hashed_nocheck(hash1, &1).unwrap(), in test_raw_entry()
4695 assert_eq!(map.raw_entry().from_key(&2).unwrap(), (&2, &200)); in test_raw_entry()
4697 map.raw_entry().from_hash(hash2, |k| *k == 2).unwrap(), in test_raw_entry()
4701 map.raw_entry().from_key_hashed_nocheck(hash2, &2).unwrap(), in test_raw_entry()
4714 assert_eq!(map.raw_entry().from_key(&3), None); in test_raw_entry()
4715 assert_eq!(map.raw_entry().from_hash(hash3, |k| *k == 3), None); in test_raw_entry()
4716 assert_eq!(map.raw_entry().from_key_hashed_nocheck(hash3, &3), None); in test_raw_entry()
[all …]
/external/pigweed/pw_tokenizer/public/pw_tokenizer/
Dtoken_database.h86 constexpr Iterator(const RawEntry* raw_entry, const char* string) in Iterator() argument
87 : raw_(raw_entry), string_(string) {} in Iterator()
/external/rust/crates/hashbrown/
DCHANGELOG.md150 - `raw_entry` can now be used without requiring `S: BuildHasher`. (#123)
246 - Added `insert_with_hasher` to the raw_entry API to allow `K: !(Hash + Eq)`. (#54)
258 - `raw_entry` support (#31)