Home
last modified time | relevance | path

Searched refs:with_key (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/weak-table/src/
Dtraits.rs71 fn with_key<F, R>(view: &Self::Strong, f: F) -> R in with_key() method
94 fn with_key<F, R>(view: &Self::Strong, f: F) -> R in with_key() method
121 fn with_key<F, R>(view: &Self::Strong, f: F) -> R in with_key() method
Dby_ptr.rs27 fn with_key<F, R>(view: &Self::Strong, f: F) -> R in with_key() function
Dweak_weak_hash_map.rs282 let hash_code = K::with_key(&key, |k| self.hash(k)); in entry_no_grow()
328 if K::with_key(&b_key, |k| k.borrow() == key) { in find_bucket()
442 if let Some(value2) = K::with_key(&key, |k| other.get(k)) { in is_submap_with()
541 if K::with_key(&self.key, |k1| K::with_key(&key, |k2| k1 == k2)) { in bucket_status()
Dweak_key_hash_map.rs321 let hash_code = K::with_key(&key, |k| self.hash(k)); in entry_no_grow()
367 if K::with_key(&bucket_key, |k| k.borrow() == key) { in find_bucket()
503 if let Some(value2) = K::with_key(&key, |k| other.get(k)) { in is_submap_with()
631 if K::with_key(&self.key, |k1| K::with_key(&key, |k2| k1 == k2)) { in bucket_status()
/external/rust/crates/ring/tests/
Dhmac_tests.rs104 let mut s_ctx = hmac::Context::with_key(&key); in hmac_test_case_inner()
112 let mut ctx = hmac::Context::with_key(&key); in hmac_test_case_inner()
129 let ctx = hmac::Context::with_key(&key); in hmac_debug()
/external/rust/crates/ring/src/
Dhkdf.rs201 let mut ctx = hmac::Context::with_key(&prk.0); in fill_okm()
229 ctx = hmac::Context::with_key(&prk.0); in fill_okm()
Dhmac.rs307 pub fn with_key(signing_key: &Key) -> Self { in with_key() method
344 let mut ctx = Context::with_key(key); in sign()
Dpbkdf2.rs184 let mut ctx = hmac::Context::with_key(secret); in derive_block()
/external/rust/crates/fnv/
Dlib.rs103 pub fn with_key(key: u64) -> FnvHasher { in with_key() method