Home
last modified time | relevance | path

Searched refs:hashval (Results 1 – 20 of 20) sorted by relevance

/third_party/elfutils/lib/
Ddynamicsizehash.c53 if (htab->table[idx].hashval != 0) in lookup()
57 if (htab->table[idx].hashval == hval in lookup()
72 if (htab->table[idx].hashval == hval in lookup()
76 while (htab->table[idx].hashval); in lookup()
86 if (htab->table[idx].hashval == 0) in insert_entry_2()
104 htab->table[idx].hashval = hval; in insert_entry_2()
145 insert_entry_2 (htab, first->hashval, in insert_entry_2()
146 lookup (htab, first->hashval, first->data), in insert_entry_2()
155 insert_entry_2 (htab, runp->hashval, in insert_entry_2()
156 lookup (htab, runp->hashval, runp->data), runp->data); in insert_entry_2()
[all …]
Ddynamicsizehash_concurrent.c51 hash = atomic_load_explicit(&htab->table[idx].hashval, in lookup()
68 hash = atomic_load_explicit(&htab->table[idx].hashval, in lookup()
87 hash = atomic_load_explicit(&htab->table[idx].hashval, in insert_helper()
102 atomic_store_explicit(&htab->table[idx].hashval, hval, in insert_helper()
110 hash = atomic_load_explicit(&htab->table[idx].hashval, in insert_helper()
129 hash = atomic_load_explicit(&htab->table[idx].hashval, in insert_helper()
144 atomic_store_explicit(&htab->table[idx].hashval, hval, in insert_helper()
152 hash = atomic_load_explicit(&htab->table[idx].hashval, in insert_helper()
203 atomic_init(&htab->table[record_it].hashval, (uintptr_t) NULL); in resize_helper()
234 HASHTYPE hashval = atomic_load_explicit( in resize_helper() local
[all …]
Ddynamicsizehash_concurrent.h62 _Atomic(HASHTYPE) hashval; \
Ddynamicsizehash.h65 HASHTYPE hashval; \
/third_party/ltp/tools/sparse/sparse-src/
Dcse.c45 hash += hashval(insn->src3); in cse_collect()
73 hash += hashval(insn->src2); in cse_collect()
80 hash += hashval(insn->src1); in cse_collect()
84 hash += hashval(insn->bb_true); in cse_collect()
88 hash += hashval(insn->val); in cse_collect()
92 hash += hashval(insn->fvalue); in cse_collect()
101 hash += hashval(insn->src); in cse_collect()
104 hash += hashval(insn->orig_type->bit_size); in cse_collect()
115 hash += hashval(def->src1); in cse_collect()
116 hash += hashval(def->bb); in cse_collect()
Dstorage.c26 unsigned hash = hashval(bb) + hashval(pseudo) + hashval(inout); in storage_hash()
Dlib.h248 #define hashval(x) ((unsigned long)(x)) macro
/third_party/libcoap/include/coap3/
Duthash.h154 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ argument
159 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \
160 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \
161 …IND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \
245 #define HASH_REPLACE_BYHASHVALUE_INORDER(hh,head,fieldname,keylen_in,hashval,add,replaced,cmpfcn) \ argument
248 HASH_FIND_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, replaced); \
252 …HASH_ADD_KEYPTR_BYHASHVALUE_INORDER(hh, head, &((add)->fieldname), keylen_in, hashval, add, cmpfcn…
255 #define HASH_REPLACE_BYHASHVALUE(hh,head,fieldname,keylen_in,hashval,add,replaced) \ argument
258 HASH_FIND_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, replaced); \
262 HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \
[all …]
/third_party/libdrm/intel/
Duthash.h119 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ argument
124 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \
125 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \
126 …IND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \
191 #define HASH_REPLACE_BYHASHVALUE_INORDER(hh,head,fieldname,keylen_in,hashval,add,replaced,cmpfcn) \ argument
194 HASH_FIND_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, replaced); \
198 …HASH_ADD_KEYPTR_BYHASHVALUE_INORDER(hh, head, &((add)->fieldname), keylen_in, hashval, add, cmpfcn…
201 #define HASH_REPLACE_BYHASHVALUE(hh,head,fieldname,keylen_in,hashval,add,replaced) \ argument
204 HASH_FIND_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, replaced); \
208 HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \
[all …]
/third_party/glslang/SPIRV/
DSPVRemapper.cpp729 std::uint32_t hashval = 1911; in mapNames() local
731 hashval = hashval * 1009 + c; in mapNames()
734 localId(name.second, nextUnusedId(hashval % softTypeIdLimit + firstMappedID)); in mapNames()
783 std::uint32_t hashval = fnId * 17; // small prime in mapFnBodies() local
788hashval = hashval * 30103 + asOpCodeHash(instPos[i]); // 30103 = semiarbitrary prime in mapFnBodies()
794hashval = hashval * 30103 + asOpCodeHash(instPos[i]); // 30103 = semiarbitrary prime in mapFnBodies()
798 localId(resId, nextUnusedId(hashval % softTypeIdLimit + firstMappedID)); in mapFnBodies()
856 const std::uint32_t hashval = in mapFnBodies() local
867 localId(id, nextUnusedId(hashval % softTypeIdLimit + firstMappedID)); in mapFnBodies()
1409 const std::uint32_t hashval = hashType(typeStart); in mapTypeConst() local
[all …]
/third_party/openssl/ssl/
Dtls13_enc.c427 unsigned char hashval[EVP_MAX_MD_SIZE]; in tls13_change_cipher_state() local
428 unsigned char *hash = hashval; in tls13_change_cipher_state()
541 || !EVP_DigestFinal_ex(mdctx, hashval, &hashlenui)) { in tls13_change_cipher_state()
552 hashval, hashlen, in tls13_change_cipher_state()
615 || !ssl_handshake_hash(s, hashval, sizeof(hashval), &hashlen)) { in tls13_change_cipher_state()
626 memcpy(s->server_finished_hash, hashval, hashlen); in tls13_change_cipher_state()
629 memcpy(s->handshake_traffic_hash, hashval, hashlen); in tls13_change_cipher_state()
639 hashval, hashlen, s->resumption_master_secret, in tls13_change_cipher_state()
/third_party/python/Modules/_sha3/kcp/
DKeccakHash.c66 HashReturn Keccak_HashFinal(Keccak_HashInstance *instance, BitSequence *hashval) in Keccak_HashFinal() argument
70 …return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, hashval, instance->fixedOutput… in Keccak_HashFinal()
DKeccakHash.h99 HashReturn Keccak_HashFinal(Keccak_HashInstance *hashInstance, BitSequence *hashval);
/third_party/openssl/ssl/statem/
Dstatem_lib.c2185 int create_synthetic_message_hash(SSL *s, const unsigned char *hashval, in create_synthetic_message_hash() argument
2194 if (hashval == NULL) { in create_synthetic_message_hash()
2195 hashval = hashvaltmp; in create_synthetic_message_hash()
2216 || !ssl3_finish_mac(s, hashval, hashlen)) { in create_synthetic_message_hash()
Dstatem_local.h67 int create_synthetic_message_hash(SSL *s, const unsigned char *hashval,
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c264 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup() local
267 uint32_t h2 = *hashval++; in gnu_lookup()
950 uint32_t *hashval; in count_syms() local
956 hashval = buckets + p->ghashtab[0] + (nsym - p->ghashtab[1]); in count_syms()
958 while (!(*hashval++ & 1)); in count_syms()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c264 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup() local
267 uint32_t h2 = *hashval++; in gnu_lookup()
950 uint32_t *hashval; in count_syms() local
956 hashval = buckets + p->ghashtab[0] + (nsym - p->ghashtab[1]); in count_syms()
958 while (!(*hashval++ & 1)); in count_syms()
/third_party/musl/ldso/
Ddynlink.c266 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup() local
269 uint32_t h2 = *hashval++; in gnu_lookup()
938 uint32_t *hashval; in count_syms() local
944 hashval = buckets + p->ghashtab[0] + (nsym - p->ghashtab[1]); in count_syms()
946 while (!(*hashval++ & 1)); in count_syms()
/third_party/elfutils/src/
Delflint.c3175 GElf_Word hashval = elf_hash (verstr); in check_verneed() local
3176 if (hashval != aux->vna_hash) in check_verneed()
3180 cnt, (int) hashval, (int) aux->vna_hash); in check_verneed()
3326 GElf_Word hashval = elf_hash (name); in check_verdef() local
3327 if (def->vd_hash != hashval) in check_verdef()
3330 idx, section_name (ebl, idx), cnt, (int) hashval, in check_verdef()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c566 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup() local
569 uint32_t h2 = *hashval++; in gnu_lookup()
1736 uint32_t *hashval; in count_syms() local
1742 hashval = buckets + p->ghashtab[0] + (nsym - p->ghashtab[1]); in count_syms()
1744 while (!(*hashval++ & 1)); in count_syms()
3994 uint32_t *hashval; in find_addr_by_gnu() local
4016 hashval = buckets + p->ghashtab[0] + (nsym - p->ghashtab[1]); in find_addr_by_gnu()
4024 while (!(*hashval++ & 1)); in find_addr_by_gnu()