/external/rust/cxx/syntax/ |
D | types.rs | 76 || structs.contains_key(ident) in collect() 77 || enums.contains_key(ident)) in collect() 95 || structs.contains_key(ident) in collect() 96 || enums.contains_key(ident)) in collect() 110 || !structs.contains_key(ident) && !enums.contains_key(ident)) in collect() 174 Atom::from(ident.rust).is_none() && !aliases.contains_key(ident.rust) in collect() 177 if implicit_impl && !impls.contains_key(&impl_key) { in collect()
|
D | check.rs | 69 && !cx.types.structs.contains_key(ident) in check_type_ident() 70 && !cx.types.enums.contains_key(ident) in check_type_ident() 82 && !cx.types.aliases.contains_key(&ident.rust) in check_type_box() 83 && !cx.types.structs.contains_key(&ident.rust) in check_type_box() 84 && !cx.types.enums.contains_key(&ident.rust) in check_type_box() 101 && !cx.types.aliases.contains_key(&ident.rust) in check_type_rust_vec() 102 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec() 103 && !cx.types.enums.contains_key(&ident.rust) in check_type_rust_vec() 416 } else if cx.types.enums.contains_key(&receiver.ty.rust) { in check_api_fn() 421 } else if !cx.types.structs.contains_key(&receiver.ty.rust) in check_api_fn() [all …]
|
D | map.rs | 56 pub fn contains_key<Q>(&self, key: &Q) -> bool in contains_key() function 61 self.map.contains_key(key) in contains_key() 107 pub fn contains_key<Q>(&self, key: &Q) -> bool in contains_key() function 112 self.0.contains_key(key) in contains_key()
|
D | improper.rs | 22 Definite(self.rust.contains(ident) || self.aliases.contains_key(ident)) in determine_improper_ctype()
|
D | pod.rs | 22 self.enums.contains_key(ident) in is_guaranteed_pod()
|
D | trivial.rs | 28 && !structs.contains_key(&ident.rust) in required_trivial_reasons() 29 && !enums.contains_key(&ident.rust) in required_trivial_reasons()
|
/external/crosvm/disk/src/qcow/ |
D | vec_cache.rs | 100 pub fn contains_key(&self, key: &usize) -> bool { in contains_key() method 101 self.map.contains_key(key) in contains_key() 181 let num_items = (0..=3).filter(|k| cache.contains_key(&k)).count(); in evicts_when_full() 183 assert!(cache.contains_key(&3)); in evicts_when_full()
|
D | refcount.rs | 116 if !self.refblock_cache.contains_key(&table_index) { in set_cluster_refcount() 195 if !self.refblock_cache.contains_key(&table_index) { in get_cluster_refcount() 226 if !self.refblock_cache.contains_key(&table_index) { in refcount_block()
|
/external/rust/crates/hashlink/tests/ |
D | linked_hash_map.rs | 78 assert!(map.contains_key("1")); in test_entry_insert_vacant() 89 assert!(map.contains_key("1")); in test_entry_insert_vacant() 256 assert!(map.contains_key(&Bar(1))); in test_borrow() 257 assert!(map.contains_key(&Bar(2))); in test_borrow() 258 assert!(map.contains_key(&Foo(Bar(1)))); in test_borrow() 259 assert!(map.contains_key(&Foo(Bar(2)))); in test_borrow() 473 assert!(map.contains_key("2")); in test_retain() 474 assert!(map.contains_key("4")); in test_retain() 475 assert!(map.contains_key("6")); in test_retain()
|
/external/rust/crates/linked-hash-map/tests/ |
D | test.rs | 48 assert!(map.contains_key("1")); in test_entry_insert_vacant() 59 assert!(map.contains_key("1")); in test_entry_insert_vacant() 385 assert!(map.contains_key(&Bar(1))); in test_borrow() 386 assert!(map.contains_key(&Bar(2))); in test_borrow() 387 assert!(map.contains_key(&Foo(Bar(1)))); in test_borrow() 388 assert!(map.contains_key(&Foo(Bar(2)))); in test_borrow()
|
/external/rust/crates/bindgen/src/ir/analysis/ |
D | template_params.rs | 471 extra_assert!(used.contains_key(item)); in new() 472 extra_assert!(dependencies.contains_key(item)); in new() 476 extra_assert!(used.contains_key(&sub_item)); in new() 477 extra_assert!(dependencies.contains_key(&sub_item)); in new()
|
/external/rust/crates/clap/src/ |
D | map.rs | 47 pub fn contains_key(&self, key: usize) -> bool { in contains_key() method 48 self.inner.contains_key(&key) in contains_key()
|
/external/rust/crates/criterion-plot/src/ |
D | map.rs | 45 pub fn contains_key(&self, key: Axis) -> bool { in contains_key() method 125 pub fn contains_key(&self, key: Grid) -> bool { in contains_key() method
|
/external/rust/crates/weak-table/src/ |
D | ptr_weak_weak_hash_map.rs | 105 pub fn contains_key(&self, key: &K::Strong) -> bool { in contains_key() function 106 self.0.contains_key(&(key.deref() as *const _)) in contains_key() 295 assert!(weakmap.contains_key(key)); in insert_and_check()
|
D | ptr_weak_key_hash_map.rs | 104 pub fn contains_key(&self, key:&K::Strong) -> bool { in contains_key() function 105 self.0.contains_key(&(key.deref() as *const _)) in contains_key() 342 assert!(weakmap.contains_key(item)); in insert_and_check()
|
D | weak_key_hash_map.rs | 398 pub fn contains_key<Q>(&self, key: &Q) -> bool in contains_key() method 1015 assert!( !map.contains_key("five") ); in simple() 1021 assert!( map.contains_key("five") ); in simple() 1026 assert!( !map.contains_key("five") ); in simple() 1031 assert!( !map.contains_key("five") ); in simple()
|
/external/rust/crates/tokio-stream/tests/ |
D | stream_stream_map.rs | 52 assert!(map.contains_key("foo")); in single_entry() 53 assert!(!map.contains_key("bar")); in single_entry() 309 assert!(map.contains_key("foo")); in contains_key_borrow()
|
/external/rust/crates/quiche/examples/ |
D | server.rs | 175 let (_, client) = if !clients.contains_key(&hdr.dcid) && in main() 176 !clients.contains_key(conn_id) in main() 493 if !client.partial_responses.contains_key(&stream_id) { in handle_writable()
|
D | http3-server.rs | 183 let (_, client) = if !clients.contains_key(&hdr.dcid) && in main() 184 !clients.contains_key(conn_id) in main() 612 if !client.partial_responses.contains_key(&stream_id) { in handle_writable()
|
/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_core.rs | 338 if self.resources.contains_key(&resource_id) { in resource_create_3d() 456 if self.resources.contains_key(&resource_id) { in resource_create_blob() 493 if !self.resources.contains_key(&resource_id) { in map() 585 if self.contexts.contains_key(&ctx_id) { in create_context()
|
/external/rust/crates/plotters/src/style/font/ |
D | ttf.rs | 200 assert!(CACHE.read().unwrap().contains_key("serif")); in test_font_cache() 203 assert!(CACHE.read().unwrap().contains_key("serif")); in test_font_cache()
|
/external/rust/crates/hashbrown/src/ |
D | map.rs | 1048 pub fn contains_key<Q: ?Sized>(&self, k: &Q) -> bool in contains_key() function 3549 assert!(m.contains_key(&1)); in test_create_capacity_zero() 3550 assert!(!m.contains_key(&0)); in test_create_capacity_zero() 3801 assert!(!m.contains_key(&i)); in test_lots_of_insertions() 3809 assert!(!m.contains_key(&j)); in test_lots_of_insertions() 3813 assert!(m.contains_key(&j)); in test_lots_of_insertions() 3818 assert!(!m.contains_key(&i)); in test_lots_of_insertions() 3830 assert!(!m.contains_key(&j)); in test_lots_of_insertions() 3834 assert!(m.contains_key(&j)); in test_lots_of_insertions() 4267 assert!(m.contains_key(k), "{} is in keys() but not in the map?", k); in test_entry_take_doesnt_corrupt() [all …]
|
/external/crosvm/devices/src/virtio/video/decoder/ |
D | capability.rs | 80 let levels: BTreeMap<Format, Vec<Level>> = if profiles.contains_key(&Format::H264) { in new()
|
/external/rust/crates/lru-cache/src/ |
D | lib.rs | 96 pub fn contains_key<Q: ?Sized>(&mut self, key: &Q) -> bool in contains_key() method 462 assert_eq!(cache.contains_key("1"), true); in test_contains_key()
|
/external/rust/cxx/gen/src/ |
D | write.rs | 1570 out.types.structs.contains_key(ident) in write_unique_ptr_common() 1571 || out.types.enums.contains_key(ident) in write_unique_ptr_common() 1572 || out.types.aliases.contains_key(ident) in write_unique_ptr_common() 1579 !out.types.structs.contains_key(ident) && !out.types.enums.contains_key(ident) in write_unique_ptr_common() 1681 let can_construct_from_value = out.types.structs.contains_key(ident) in write_shared_ptr() 1682 || out.types.enums.contains_key(ident) in write_shared_ptr() 1683 || out.types.aliases.contains_key(ident); in write_shared_ptr()
|