Home
last modified time | relevance | path

Searched refs:hasher (Results 1 – 2 of 2) sorted by relevance

/linux/tools/bpf/bpftool/
H A Dbtf.c661 static __u64 hasher(__u64 hash, __u64 val) in hasher() function
671 return hasher(hash, str_hash(btf__name_by_offset(btf, name_off))); in btf_name_hasher()
702 hash = hasher(hash, btf_type_disambig_hash(btf, m->type, false)); in btf_type_disambig_hash()
712 hash = hasher(hash, btf_type_disambig_hash(btf, t->type, include_members)); in btf_type_disambig_hash()
717 hash = hasher(hash, arr->nelems); in btf_type_disambig_hash()
718 hash = hasher(hash, btf_type_disambig_hash(btf, arr->type, include_members)); in btf_type_disambig_hash()
/linux/rust/proc-macro2/
H A Dlib.rs1033 fn hash<H: Hasher>(&self, hasher: &mut H) { in hash()
1034 self.to_string().hash(hasher); in hash()