/external/elfutils/lib/ |
D | dynamicsizehash.c | 53 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 …]
|
D | dynamicsizehash.h | 65 HASHTYPE hashval; \
|
/external/zopfli/src/zopfli/ |
D | hash.c | 35 h->hashval = (int*)malloc(sizeof(*h->hashval) * window_size); in ZopfliInitHash() 41 h->hashval[i] = -1; in ZopfliInitHash() 69 free(h->hashval); in ZopfliCleanHash() 100 h->hashval[hpos] = h->val; in ZopfliUpdateHash() 101 if (h->head[h->val] != -1 && h->hashval[h->head[h->val]] == h->val) { in ZopfliUpdateHash()
|
D | hash.h | 32 int* hashval; /* Index to hash value at this index. */ member
|
D | lz77.c | 248 int* hhashval = h->hashval; in ZopfliFindLongestMatch()
|
/external/libdrm/intel/ |
D | uthash.h | 119 #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 …]
|
/external/kmod/shared/ |
D | hash.c | 149 unsigned int hashval = hash_superfast(key, keylen); in hash_add() local 150 unsigned int pos = hashval & (hash->n_buckets - 1); in hash_add() 192 unsigned int hashval = hash_superfast(key, keylen); in hash_add_unique() local 193 unsigned int pos = hashval & (hash->n_buckets - 1); in hash_add_unique() 237 unsigned int hashval = hash_superfast(key, keylen); in hash_find() local 238 unsigned int pos = hashval & (hash->n_buckets - 1); in hash_find() 255 unsigned int hashval = hash_superfast(key, keylen); in hash_del() local 256 unsigned int pos = hashval & (hash->n_buckets - 1); in hash_del()
|
/external/antlr/runtime/ObjC/Framework/ |
D | PtrStack.m | 85 NSInteger hashval; 89 for( hashval = 0; *tmp != '\0'; ) 90 hashval += *tmp++; 91 LastHash = hashval % HashSize;
|
D | Map.m | 175 NSInteger hashval; 179 for( hashval = 0; *tmp != '\0'; ) 180 hashval += *tmp++; 181 self->lastHash = hashval % HASHSIZE;
|
D | HashMap.m | 815 NSInteger hashval; 819 for( hashval = 0; *tmp != '\0'; ) 820 hashval += *tmp++; 821 self->LastHash = hashval % Capacity;
|
/external/deqp-deps/glslang/SPIRV/ |
D | SPVRemapper.cpp | 703 std::uint32_t hashval = 1911; in mapNames() local 705 hashval = hashval * 1009 + c; in mapNames() 708 localId(name.second, nextUnusedId(hashval % softTypeIdLimit + firstMappedID)); in mapNames() 757 std::uint32_t hashval = fnId * 17; // small prime in mapFnBodies() local 762 … hashval = hashval * 30103 + asOpCodeHash(instPos[i]); // 30103 = semiarbitrary prime in mapFnBodies() 768 … hashval = hashval * 30103 + asOpCodeHash(instPos[i]); // 30103 = semiarbitrary prime in mapFnBodies() 772 localId(resId, nextUnusedId(hashval % softTypeIdLimit + firstMappedID)); in mapFnBodies() 830 … const std::uint32_t hashval = opCounter[thisOpCode] * thisOpCode * 50047 + idCounter + fnId * 117; in mapFnBodies() local 833 localId(id, nextUnusedId(hashval % softTypeIdLimit + firstMappedID)); in mapFnBodies() 1375 const std::uint32_t hashval = hashType(typeStart); in mapTypeConst() local [all …]
|
/external/python/cpython3/Modules/_sha3/kcp/ |
D | KeccakHash.c | 66 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()
|
D | KeccakHash.h | 99 HashReturn Keccak_HashFinal(Keccak_HashInstance *hashInstance, BitSequence *hashval);
|
/external/one-true-awk/ |
D | tran.c | 260 unsigned hashval; in hash() local 262 for (hashval = 0; *s != '\0'; s++) in hash() 263 hashval = (*s + 31 * hashval); in hash() 264 return hashval % n; in hash()
|
/external/e2fsprogs/debugfs/ |
D | htree.c | 175 unsigned int hashval, block; in htree_dump_int_node() local 177 hashval = ext2fs_le32_to_cpu(ent[i].hash); in htree_dump_int_node() 180 i ? hashval : 0, block); in htree_dump_int_node()
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 1415 static void updateHashChain(Hash* hash, size_t wpos, int hashval) in updateHashChain() argument 1417 hash->val[wpos] = hashval; in updateHashChain() 1418 if(hash->head[hashval] != -1) hash->chain[wpos] = hash->head[hashval]; in updateHashChain() 1419 hash->head[hashval] = wpos; in updateHashChain() 1447 unsigned hashval; in encodeLZ77() local 1462 hashval = getHash(in, insize, pos); in encodeLZ77() 1463 updateHashChain(hash, wpos, hashval); in encodeLZ77() 1465 if(usezeros && hashval == 0) in encodeLZ77() 1480 prevpos = hash->head[hashval]; in encodeLZ77() 1501 … if(usezeros && hashval == 0 && hash->val[hashpos] == 0 /*hashval[hashpos] may be out of date*/) in encodeLZ77() [all …]
|
/external/elfutils/src/ |
D | elflint.c | 3165 GElf_Word hashval = elf_hash (verstr); in check_verneed() local 3166 if (hashval != aux->vna_hash) in check_verneed() 3170 cnt, (int) hashval, (int) aux->vna_hash); in check_verneed() 3316 GElf_Word hashval = elf_hash (name); in check_verdef() local 3317 if (def->vd_hash != hashval) in check_verdef() 3320 idx, section_name (ebl, idx), cnt, (int) hashval, in check_verdef()
|