Home
last modified time | relevance | path

Searched refs:hash_stable (Results 1 – 25 of 123) sorted by relevance

12345

/dports/textproc/wiggle/wiggle-1.3/ccan/hash/test/
H A Dapi-hash_stable.c27 ok1(hash_stable(u8array, ARRAY_WORDS, 0) == 0x1d4833cc); in main()
28 ok1(hash_stable(u8array, ARRAY_WORDS, 1) == 0x37125e2 ); in main()
29 ok1(hash_stable(u8array, ARRAY_WORDS, 2) == 0x330a007a); in main()
30 ok1(hash_stable(u8array, ARRAY_WORDS, 4) == 0x7b0df29b); in main()
31 ok1(hash_stable(u8array, ARRAY_WORDS, 8) == 0xe7e5d741); in main()
32 ok1(hash_stable(u8array, ARRAY_WORDS, 16) == 0xaae57471); in main()
33 ok1(hash_stable(u8array, ARRAY_WORDS, 32) == 0xc55399e5); in main()
34 ok1(hash_stable(u8array, ARRAY_WORDS, 64) == 0x67f21f7 ); in main()
35 ok1(hash_stable(u8array, ARRAY_WORDS, 128) == 0x1d795b71); in main()
36 ok1(hash_stable(u8array, ARRAY_WORDS, 256) == 0xeb961671); in main()
[all …]
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_data_structures/src/
H A Dstable_hasher.rs233 val.hash_stable(ctx, hasher); in hash_stable()
253 _0.hash_stable(ctx, hasher); in hash_stable()
260 _0.hash_stable(ctx, hasher); in hash_stable()
261 _1.hash_stable(ctx, hasher); in hash_stable()
273 _0.hash_stable(ctx, hasher); in hash_stable()
274 _1.hash_stable(ctx, hasher); in hash_stable()
275 _2.hash_stable(ctx, hasher); in hash_stable()
288 _0.hash_stable(ctx, hasher); in hash_stable()
289 _1.hash_stable(ctx, hasher); in hash_stable()
290 _2.hash_stable(ctx, hasher); in hash_stable()
[all …]
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_data_structures-722.0.0/src/
H A Dstable_hasher.rs227 val.hash_stable(ctx, hasher); in hash_stable()
247 _0.hash_stable(ctx, hasher); in hash_stable()
254 _0.hash_stable(ctx, hasher); in hash_stable()
255 _1.hash_stable(ctx, hasher); in hash_stable()
267 _0.hash_stable(ctx, hasher); in hash_stable()
268 _1.hash_stable(ctx, hasher); in hash_stable()
269 _2.hash_stable(ctx, hasher); in hash_stable()
282 _0.hash_stable(ctx, hasher); in hash_stable()
283 _1.hash_stable(ctx, hasher); in hash_stable()
284 _2.hash_stable(ctx, hasher); in hash_stable()
[all …]
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_data_structures/src/
H A Dstable_hasher.rs227 val.hash_stable(ctx, hasher); in hash_stable()
247 _0.hash_stable(ctx, hasher); in hash_stable()
254 _0.hash_stable(ctx, hasher); in hash_stable()
255 _1.hash_stable(ctx, hasher); in hash_stable()
267 _0.hash_stable(ctx, hasher); in hash_stable()
268 _1.hash_stable(ctx, hasher); in hash_stable()
269 _2.hash_stable(ctx, hasher); in hash_stable()
282 _0.hash_stable(ctx, hasher); in hash_stable()
283 _1.hash_stable(ctx, hasher); in hash_stable()
284 _2.hash_stable(ctx, hasher); in hash_stable()
[all …]
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_data_structures-718.0.0/src/
H A Dstable_hasher.rs227 val.hash_stable(ctx, hasher); in hash_stable()
247 _0.hash_stable(ctx, hasher); in hash_stable()
254 _0.hash_stable(ctx, hasher); in hash_stable()
255 _1.hash_stable(ctx, hasher); in hash_stable()
267 _0.hash_stable(ctx, hasher); in hash_stable()
268 _1.hash_stable(ctx, hasher); in hash_stable()
269 _2.hash_stable(ctx, hasher); in hash_stable()
282 _0.hash_stable(ctx, hasher); in hash_stable()
283 _1.hash_stable(ctx, hasher); in hash_stable()
284 _2.hash_stable(ctx, hasher); in hash_stable()
[all …]
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/ty/
H A Dimpls_ty.rs38 hash.hash_stable(hcx, hasher); in hash_stable()
59 self.unpack().hash_stable(hcx, hasher); in hash_stable()
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 Dfast_reject.rs146 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_hir/src/
H A Dstable_hash_impls.rs166 kind.hash_stable(hcx, hasher); in hash_stable()
167 span.hash_stable(hcx, hasher); in hash_stable()
179 vis.hash_stable(hcx, hasher); in hash_stable()
182 kind.hash_stable(hcx, hasher); in hash_stable()
183 span.hash_stable(hcx, hasher); in hash_stable()
194 kind.hash_stable(hcx, hasher); in hash_stable()
195 span.hash_stable(hcx, hasher); in hash_stable()
196 vis.hash_stable(hcx, hasher); in hash_stable()
208 vis.hash_stable(hcx, hasher); in hash_stable()
229 hash.hash_stable(hcx, hasher); in hash_stable()
[all …]
H A Ddiagnostic_items.rs14 fn hash_stable(&self, ctx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() method
15 self.name_to_id.hash_stable(ctx, hasher); in hash_stable()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_query_system/src/ich/
H A Dimpls_syntax.rs18 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()
46 item.hash_stable(self, hasher); in hash_attr()
47 style.hash_stable(self, hasher); in hash_attr()
48 span.hash_stable(self, hasher); in hash_attr()
80 src_hash.hash_stable(hcx, hasher); in hash_stable()
83 lines.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 Dimpls_hir.rs46 id.hash_stable(hcx, hasher); in hash_reference_to_item()
55 inner_span.hash_stable(hcx, hasher); in hash_hir_mod()
69 item_ids_hash.hash_stable(hcx, hasher); in hash_hir_mod()
76 span.hash_stable(hcx, hasher); in hash_hir_expr()
77 kind.hash_stable(hcx, hasher); in hash_hir_expr()
85 kind.hash_stable(hcx, hasher); in hash_hir_ty()
86 span.hash_stable(hcx, hasher); in hash_hir_ty()
108 path.hash_stable(hcx, hasher); in hash_hir_visibility_kind()
128 def_id.hash_stable(hcx, hasher); in hash_hir_trait_candidate()
140 params.hash_stable(hcx, hasher); in hash_stable()
[all …]
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_type_ir/src/
H A Dlib.rs536 fn hash_stable(&self, ctx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() method
537 self.as_u32().hash_stable(ctx, hasher); in hash_stable()
542 fn hash_stable(&self, ctx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() method
543 discriminant(self).hash_stable(ctx, hasher); in hash_stable()
549 discriminant(self).hash_stable(ctx, hasher); in hash_stable()
555 discriminant(self).hash_stable(ctx, hasher); in hash_stable()
562 discriminant(self).hash_stable(ctx, hasher); in hash_stable()
564 TyVar(v) => v.as_u32().hash_stable(ctx, hasher), in hash_stable()
565 IntVar(v) => v.index.hash_stable(ctx, hasher), in hash_stable()
566 FloatVar(v) => v.index.hash_stable(ctx, hasher), in hash_stable()
[all …]
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_macros-718.0.0/src/
H A Dhash_stable.rs57 &#bi.#project.hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
61 #bi.hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
68 ::std::mem::discriminant(self).hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
78 fn hash_stable( in hash_stable_generic_derive()
99 &#bi.#project.hash_stable(__hcx, __hasher); in hash_stable_derive()
103 #bi.hash_stable(__hcx, __hasher); in hash_stable_derive()
110 ::std::mem::discriminant(self).hash_stable(__hcx, __hasher); in hash_stable_derive()
124 fn hash_stable( in hash_stable_derive()
H A Dlib.rs9 mod hash_stable; module
27 decl_derive!([HashStable, attributes(stable_hasher)] => hash_stable::hash_stable_derive);
30 hash_stable::hash_stable_generic_derive
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_macros-722.0.0/src/
H A Dhash_stable.rs57 &#bi.#project.hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
61 #bi.hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
68 ::std::mem::discriminant(self).hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
78 fn hash_stable( in hash_stable_generic_derive()
99 &#bi.#project.hash_stable(__hcx, __hasher); in hash_stable_derive()
103 #bi.hash_stable(__hcx, __hasher); in hash_stable_derive()
110 ::std::mem::discriminant(self).hash_stable(__hcx, __hasher); in hash_stable_derive()
124 fn hash_stable( in hash_stable_derive()
H A Dlib.rs9 mod hash_stable; module
27 decl_derive!([HashStable, attributes(stable_hasher)] => hash_stable::hash_stable_derive);
30 hash_stable::hash_stable_generic_derive
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_macros/src/
H A Dhash_stable.rs55 (&#bi.#project).hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
59 #bi.hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
66 ::std::mem::discriminant(self).hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
76 fn hash_stable( in hash_stable_generic_derive()
97 (&#bi.#project).hash_stable(__hcx, __hasher); in hash_stable_derive()
101 #bi.hash_stable(__hcx, __hasher); in hash_stable_derive()
108 ::std::mem::discriminant(self).hash_stable(__hcx, __hasher); in hash_stable_derive()
122 fn hash_stable( in hash_stable_derive()
H A Dlib.rs9 mod hash_stable; module
27 decl_derive!([HashStable, attributes(stable_hasher)] => hash_stable::hash_stable_derive);
30 hash_stable::hash_stable_generic_derive
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_macros/src/
H A Dhash_stable.rs57 &#bi.#project.hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
61 #bi.hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
68 ::std::mem::discriminant(self).hash_stable(__hcx, __hasher); in hash_stable_generic_derive()
78 fn hash_stable( in hash_stable_generic_derive()
99 &#bi.#project.hash_stable(__hcx, __hasher); in hash_stable_derive()
103 #bi.hash_stable(__hcx, __hasher); in hash_stable_derive()
110 ::std::mem::discriminant(self).hash_stable(__hcx, __hasher); in hash_stable_derive()
124 fn hash_stable( in hash_stable_derive()
H A Dlib.rs9 mod hash_stable; module
27 decl_derive!([HashStable, attributes(stable_hasher)] => hash_stable::hash_stable_derive);
30 hash_stable::hash_stable_generic_derive
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/middle/
H A Dregion.rs445 fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { in hash_stable() method
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()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/traits/
H A Dquery.rs233 fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { in hash_stable() method
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 Dmono.rs209 fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) { in hash_stable() method
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()
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() method
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_span/src/
H A Ddef_id.rs336 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() method
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() method
344 self.to_stable_hash_key(hcx).hash_stable(hcx, hasher); in hash_stable()
350 fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) { in hash_stable() method
351 self.to_stable_hash_key(hcx).hash_stable(hcx, hasher); in hash_stable()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_symbol_mangling/src/
H A Dlegacy.rs107 tcx.def_path_hash(def_id).hash_stable(&mut hcx, &mut hasher); 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()

12345