/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_hir/src/ |
H A D | stable_hash_impls.rs | 52 hir_id.to_stable_hash_key(hcx) in to_stable_hash_key() 94 hcx.hash_hir_id(*self, hasher) in hash_stable() 100 hcx.hash_body_id(*self, hasher) in hash_stable() 137 hcx.hash_hir_mod(self, hasher) in hash_stable() 143 hcx.hash_hir_expr(self, hasher) in hash_stable() 149 hcx.hash_hir_ty(self, hasher) in hash_stable() 163 hcx.hash_hir_item_like(|hcx| { in hash_stable() 177 hcx.hash_hir_item_like(|hcx| { in hash_stable() 192 hcx.hash_hir_item_like(|hcx| { in hash_stable() 205 hcx.hash_hir_item_like(|hcx| { in hash_stable() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_query_system/src/ich/ |
H A D | impls_hir.rs | 4 use crate::ich::hcx::BodyResolver; 14 let hcx = self; in hash_hir_id() localVariable 22 hcx.local_def_path_hash(owner).hash_stable(hcx, hasher); in hash_hir_id() 30 let hcx = self; in hash_body_id() localVariable 31 match hcx.body_resolver { in hash_body_id() 43 let hcx = self; in hash_reference_to_item() localVariable 45 hcx.with_node_id_hashing_mode(NodeIdHashingMode::HashDefPath, |hcx| { in hash_reference_to_item() 52 let hcx = self; in hash_hir_mod() localVariable 95 let hcx = self; in hash_hir_visibility_kind() localVariable 105 hcx.with_node_id_hashing_mode(NodeIdHashingMode::HashDefPath, |hcx| { in hash_hir_visibility_kind() [all …]
|
H A D | impls_syntax.rs | 18 self.len().hash_stable(hcx, hasher); in hash_stable() 31 filtered.len().hash_stable(hcx, hasher); in hash_stable() 33 attr.hash_stable(hcx, hasher); in hash_stable() 78 (name_hash as u64).hash_stable(hcx, hasher); in hash_stable() 80 src_hash.hash_stable(hcx, hasher); in hash_stable() 83 lines.len().hash_stable(hcx, hasher); in hash_stable() 89 multibyte_chars.len().hash_stable(hcx, hasher); in hash_stable() 99 normalized_pos.len().hash_stable(hcx, hasher); in hash_stable() 104 cnum.hash_stable(hcx, hasher); in hash_stable() 142 feature_name.hash_stable(hcx, hasher); in hash_stable() [all …]
|
H A D | mod.rs | 3 pub use self::hcx::{NodeIdHashingMode, StableHashingContext}; 6 mod hcx; module
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/ty/ |
H A D | impls_ty.rs | 38 hash.hash_stable(hcx, hasher); in hash_stable() 51 let mut hcx: StableHashingContext<'a> = hcx.clone(); in to_stable_hash_key() localVariable 74 db.hash_stable(hcx, hasher); in hash_stable() 75 i.hash_stable(hcx, hasher); in hash_stable() 78 db.hash_stable(hcx, hasher); in hash_stable() 80 name.hash_stable(hcx, hasher); in hash_stable() 83 db.hash_stable(hcx, hasher); in hash_stable() 94 p.hash_stable(hcx, hasher); in hash_stable() 113 self.index.hash_stable(hcx, hasher); in hash_stable() 151 self.len().hash_stable(hcx, hasher); in hash_stable() [all …]
|
H A D | fast_reject.rs | 146 mem::discriminant(self).hash_stable(hcx, hasher); in hash_stable() 158 IntSimplifiedType(t) => t.hash_stable(hcx, hasher), in hash_stable() 159 UintSimplifiedType(t) => t.hash_stable(hcx, hasher), in hash_stable() 160 FloatSimplifiedType(t) => t.hash_stable(hcx, hasher), in hash_stable() 161 AdtSimplifiedType(d) => d.hash_stable(hcx, hasher), in hash_stable() 162 TupleSimplifiedType(n) => n.hash_stable(hcx, hasher), in hash_stable() 163 TraitSimplifiedType(d) => d.hash_stable(hcx, hasher), in hash_stable() 164 ClosureSimplifiedType(d) => d.hash_stable(hcx, hasher), in hash_stable() 167 OpaqueSimplifiedType(d) => d.hash_stable(hcx, hasher), in hash_stable() 168 FunctionSimplifiedType(n) => n.hash_stable(hcx, hasher), in hash_stable() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_span/src/ |
H A D | def_id.rs | 336 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 337 self.to_stable_hash_key(hcx).hash_stable(hcx, hasher); in hash_stable() 343 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 344 self.to_stable_hash_key(hcx).hash_stable(hcx, hasher); in hash_stable() 351 self.to_stable_hash_key(hcx).hash_stable(hcx, hasher); in hash_stable() 359 fn to_stable_hash_key(&self, hcx: &CTX) -> DefPathHash { in to_stable_hash_key() 360 hcx.def_path_hash(*self) in to_stable_hash_key() 368 fn to_stable_hash_key(&self, hcx: &CTX) -> DefPathHash { in to_stable_hash_key() 369 hcx.def_path_hash(self.to_def_id()) in to_stable_hash_key() 377 fn to_stable_hash_key(&self, hcx: &CTX) -> DefPathHash { in to_stable_hash_key() [all …]
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_data_structures-718.0.0/src/ |
H A D | stable_hasher.rs | 169 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher); in hash_stable() 177 fn to_stable_hash_key(&self, hcx: &HCX) -> Self::KeyType; in to_stable_hash_key() 375 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 376 (&self[..]).hash_stable(hcx, hasher); in hash_stable() 482 self.0.hash_stable(hcx, hasher); in hash_stable() 509 keys.hash_stable(hcx, hasher); in hash_stable() 522 entries.hash_stable(hcx, hasher); in hash_stable() 533 keys.hash_stable(hcx, hasher); in hash_stable() 538 hcx: &mut HCX, in hash_stable_hashmap() 551 entries.hash_stable(hcx, hasher); in hash_stable_hashmap() [all …]
|
H A D | steal.rs | 51 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 52 self.borrow().hash_stable(hcx, hasher); in hash_stable()
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_data_structures-722.0.0/src/ |
H A D | stable_hasher.rs | 169 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher); in hash_stable() 177 fn to_stable_hash_key(&self, hcx: &HCX) -> Self::KeyType; in to_stable_hash_key() 375 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 376 (&self[..]).hash_stable(hcx, hasher); in hash_stable() 481 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 482 self.0.hash_stable(hcx, hasher); in hash_stable() 509 keys.hash_stable(hcx, hasher); in hash_stable() 522 entries.hash_stable(hcx, hasher); in hash_stable() 533 keys.hash_stable(hcx, hasher); in hash_stable() 538 hcx: &mut HCX, in hash_stable_hashmap() [all …]
|
H A D | steal.rs | 51 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 52 self.borrow().hash_stable(hcx, hasher); in hash_stable()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_data_structures/src/ |
H A D | stable_hasher.rs | 169 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher); in hash_stable() 177 fn to_stable_hash_key(&self, hcx: &HCX) -> Self::KeyType; in to_stable_hash_key() 388 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 389 (&self[..]).hash_stable(hcx, hasher); in hash_stable() 494 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 495 self.0.hash_stable(hcx, hasher); in hash_stable() 522 keys.hash_stable(hcx, hasher); in hash_stable() 535 entries.hash_stable(hcx, hasher); in hash_stable() 546 keys.hash_stable(hcx, hasher); in hash_stable() 551 hcx: &mut HCX, in hash_stable_hashmap() [all …]
|
H A D | steal.rs | 52 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 53 self.borrow().hash_stable(hcx, hasher); in hash_stable()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_data_structures/src/ |
H A D | stable_hasher.rs | 169 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher); in hash_stable() 177 fn to_stable_hash_key(&self, hcx: &HCX) -> Self::KeyType; in to_stable_hash_key() 375 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 376 (&self[..]).hash_stable(hcx, hasher); in hash_stable() 481 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 482 self.0.hash_stable(hcx, hasher); in hash_stable() 509 keys.hash_stable(hcx, hasher); in hash_stable() 522 entries.hash_stable(hcx, hasher); in hash_stable() 533 keys.hash_stable(hcx, hasher); in hash_stable() 538 hcx: &mut HCX, in hash_stable_hashmap() [all …]
|
H A D | steal.rs | 51 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() 52 self.borrow().hash_stable(hcx, hasher); in hash_stable()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/middle/ |
H A D | region.rs | 445 fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { in hash_stable() 457 hcx.with_node_id_hashing_mode(NodeIdHashingMode::HashDefPath, |hcx| { in hash_stable() 458 root_body.hash_stable(hcx, hasher); in hash_stable() 459 root_parent.hash_stable(hcx, hasher); in hash_stable() 462 body_expr_count.hash_stable(hcx, hasher); in hash_stable() 463 parent_map.hash_stable(hcx, hasher); in hash_stable() 464 var_map.hash_stable(hcx, hasher); in hash_stable() 465 destruction_scopes.hash_stable(hcx, hasher); in hash_stable() 466 rvalue_scopes.hash_stable(hcx, hasher); in hash_stable() 467 yield_in_scope.hash_stable(hcx, hasher); in hash_stable()
|
H A D | privacy.rs | 60 fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { in hash_stable() 61 hcx.with_node_id_hashing_mode(NodeIdHashingMode::HashDefPath, |hcx| { in hash_stable() 63 map.hash_stable(hcx, hasher); in hash_stable()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_symbol_mangling/src/ |
H A D | legacy.rs | 101 let mut hcx = tcx.create_stable_hashing_context(); in get_symbol_hash() localVariable 107 tcx.def_path_hash(def_id).hash_stable(&mut hcx, &mut hasher); in get_symbol_hash() 113 hcx.while_hashing_spans(false, |hcx| { in get_symbol_hash() 114 hcx.with_node_id_hashing_mode(NodeIdHashingMode::HashDefPath, |hcx| { in get_symbol_hash() 115 item_type.hash_stable(hcx, &mut hasher); in get_symbol_hash() 123 item_type.fn_sig(tcx).hash_stable(&mut hcx, &mut hasher); in get_symbol_hash() 127 substs.hash_stable(&mut hcx, &mut hasher); in get_symbol_hash() 132 .hash_stable(&mut hcx, &mut hasher); in get_symbol_hash() 138 discriminant(&instance.def).hash_stable(&mut hcx, &mut hasher); in get_symbol_hash()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/traits/ |
H A D | query.rs | 233 fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { in hash_stable() 234 mem::discriminant(self).hash_stable(hcx, hasher); in hash_stable() 237 a.hash_stable(hcx, hasher); in hash_stable() 238 b.hash_stable(hcx, hasher); in hash_stable() 241 a.hash_stable(hcx, hasher); in hash_stable() 242 b.hash_stable(hcx, hasher); in hash_stable() 245 a.hash_stable(hcx, hasher); in hash_stable() 246 b.hash_stable(hcx, hasher); in hash_stable()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/mir/ |
H A D | mono.rs | 209 fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { in hash_stable() 210 ::std::mem::discriminant(self).hash_stable(hcx, hasher); in hash_stable() 214 instance.hash_stable(hcx, hasher); in hash_stable() 217 def_id.hash_stable(hcx, hasher); in hash_stable() 220 hcx.with_node_id_hashing_mode(NodeIdHashingMode::HashDefPath, |hcx| { in hash_stable() 221 item_id.hash_stable(hcx, hasher); in hash_stable() 403 fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { in hash_stable() 412 name.hash_stable(hcx, hasher); in hash_stable() 418 mono_item.hash_stable(hcx, &mut hasher); in hash_stable() 425 items.hash_stable(hcx, hasher); in hash_stable()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_query_system/src/dep_graph/ |
H A D | dep_node.rs | 134 let mut hcx = tcx.create_stable_hashing_context(); in to_fingerprint() localVariable 137 self.hash_stable(&mut hcx, &mut hasher); in to_fingerprint() 175 fn hash_stable(&self, hcx: &mut HCX, hasher: &mut StableHasher) { in hash_stable() 176 self.hash.hash_stable(hcx, hasher) in hash_stable()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_ast/src/ |
H A D | lib.rs | 57 fn hash_stable(&self, hcx: &mut AstCtx, hasher: &mut StableHasher) { in hash_stable() 58 hcx.hash_attr(self, hasher) in hash_stable()
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_ast-722.0.0/src/ |
H A D | lib.rs | 69 fn hash_stable(&self, hcx: &mut AstCtx, hasher: &mut StableHasher) { in hash_stable() 70 hcx.hash_attr(self, hasher) in hash_stable()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_ast/src/ |
H A D | lib.rs | 69 fn hash_stable(&self, hcx: &mut AstCtx, hasher: &mut StableHasher) { in hash_stable() 70 hcx.hash_attr(self, hasher) in hash_stable()
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_ast-718.0.0/src/ |
H A D | lib.rs | 69 fn hash_stable(&self, hcx: &mut AstCtx, hasher: &mut StableHasher) { in hash_stable() 70 hcx.hash_attr(self, hasher) in hash_stable()
|