/external/rust/cxx/syntax/ |
D | types.rs | 76 || structs.contains_key(ident) in collect() 77 || enums.contains_key(ident)) in collect() 101 || structs.contains_key(ident) in collect() 102 || enums.contains_key(ident)) in collect() 121 || !structs.contains_key(ident) && !enums.contains_key(ident)) in collect() 185 Atom::from(ident.rust).is_none() && !aliases.contains_key(ident.rust) in collect() 188 if implicit_impl && !impls.contains_key(&impl_key) { in collect() 268 self.structs.contains_key(ty) in is_maybe_trivial() 269 || self.enums.contains_key(ty) in is_maybe_trivial() 270 || self.aliases.contains_key(ty) in is_maybe_trivial()
|
D | check.rs | 85 && !cx.types.structs.contains_key(ident) in check_type_ident() 86 && !cx.types.enums.contains_key(ident) in check_type_ident() 98 && !cx.types.aliases.contains_key(&ident.rust) in check_type_box() 99 && !cx.types.structs.contains_key(&ident.rust) in check_type_box() 100 && !cx.types.enums.contains_key(&ident.rust) in check_type_box() 117 && !cx.types.aliases.contains_key(&ident.rust) in check_type_rust_vec() 118 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec() 119 && !cx.types.enums.contains_key(&ident.rust) in check_type_rust_vec() 269 cx.types.rust.contains(&ident.rust) || cx.types.aliases.contains_key(&ident.rust) in check_type_slice_ref() 438 } else if cx.types.enums.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 | 29 && !structs.contains_key(&ident.rust) in required_trivial_reasons() 30 && !enums.contains_key(&ident.rust) in required_trivial_reasons()
|
/external/rust/crates/indexmap/tests/ |
D | equivalent_trait.rs | 38 assert!(map.contains_key(&Pair("a", "b"))); in test_lookup() 39 assert!(!map.contains_key(&Pair("b", "a"))); in test_lookup() 50 assert!(map.contains_key("a")); in test_string_str() 51 assert!(!map.contains_key("z")); in test_string_str()
|
D | quick.rs | 169 assert!(keys.iter().all(|key| map.contains_key(key))); 333 assert!(b.contains_key(key), "b does not contain {:?}", key); in assert_maps_equivalent() 366 assert!(!visit.contains_key(k)); 381 assert!(!visit.contains_key(k)); 413 map.retain(|k, _| !remove_map.contains_key(k)); 418 assert!(map.contains_key(key)); 421 … itertools::assert_equal(map.keys(), initial_map.keys().filter(|&k| !remove_map.contains_key(k))); 475 if !last_val_per_key.contains_key(&k) {
|
/external/crosvm/disk/src/qcow/ |
D | vec_cache.rs | 101 pub fn contains_key(&self, key: &usize) -> bool { in contains_key() method 102 self.map.contains_key(key) in contains_key() 182 let num_items = (0..=3).filter(|k| cache.contains_key(k)).count(); in evicts_when_full() 184 assert!(cache.contains_key(&3)); in evicts_when_full()
|
D | refcount.rs | 105 if !self.refblock_cache.contains_key(&table_index) { in set_cluster_refcount() 184 if !self.refblock_cache.contains_key(&table_index) { in get_cluster_refcount()
|
/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/tokio-util/tests/ |
D | task_join_map.rs | 135 assert!(!map.contains_key(&key)); in abort_by_key() 141 assert!(!map.contains_key(&key)); in abort_by_key() 169 assert!(!map.contains_key(&key)); in abort_by_predicate() 175 assert!(!map.contains_key(&key)); in abort_by_predicate()
|
/external/rust/crates/bindgen/ir/analysis/ |
D | template_params.rs | 474 extra_assert!(used.contains_key(item)); in new() 475 extra_assert!(dependencies.contains_key(item)); in new() 479 extra_assert!(used.contains_key(&sub_item)); in new() 480 extra_assert!(dependencies.contains_key(&sub_item)); in new()
|
/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 | 133 pub fn contains_key(&self, key: &K::Strong) -> bool { in contains_key() function 134 self.0.contains_key(&(key.deref() as *const _)) in contains_key() 357 assert!(weakmap.contains_key(key)); in insert_and_check()
|
D | ptr_weak_key_hash_map.rs | 132 pub fn contains_key(&self, key:&K::Strong) -> bool { in contains_key() function 133 self.0.contains_key(&(key.deref() as *const _)) in contains_key() 413 assert!(weakmap.contains_key(item)); in insert_and_check()
|
/external/rust/crates/thiserror-impl/src/ |
D | fmt.rs | 54 if !member_index.contains_key(&member) { in expand_shorthand() 107 if read.starts_with('}') && member_index.contains_key(&member) { in expand_shorthand()
|
/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/crosvm/rutabaga_gfx/src/ |
D | rutabaga_core.rs | 414 if self.resources.contains_key(&resource_id) { in resource_create_3d() 546 if self.resources.contains_key(&resource_id) { in resource_create_blob() 588 if !self.resources.contains_key(&resource_id) { in map() 602 if !self.resources.contains_key(&resource_id) { in unmap() 704 if self.contexts.contains_key(&ctx_id) { in create_context()
|
/external/rust/crates/quiche/examples/ |
D | server.rs | 179 let client = if !clients.contains_key(&hdr.dcid) && in main() 180 !clients.contains_key(&conn_id) in main() 504 if !client.partial_responses.contains_key(&stream_id) { in handle_writable()
|
D | http3-server.rs | 181 let client = if !clients.contains_key(&hdr.dcid) && in main() 182 !clients.contains_key(&conn_id) in main() 628 if !client.partial_responses.contains_key(&stream_id) { in handle_writable()
|
/external/rust/crates/x509-parser/src/ |
D | revocation_list.rs | 191 if m.contains_key(&ext.oid) { in extensions_map() 277 if m.contains_key(&ext.oid) { in extensions_map()
|
/external/rust/crates/ucd-trie/src/ |
D | owned.rs | 233 if !bychild.contains_key(&chunk) { in compress_postfix_leaves() 255 if !bychild.contains_key(chunk) { in compress_postfix_mid()
|
/external/rust/beto-rust/nearby/presence/ldt_np_adv_ffi/src/ |
D | handle_map.rs | 108 while self.map.contains_key(&handle) { in insert()
|
/external/uwb/src/rust/uwb_core/src/params/ |
D | app_config_params.rs | 111 && config_map.keys().all(|key| prev_config_map.contains_key(key)) in diff_config_map()
|