/external/elfutils/lib/ |
D | fixedsizehash.h | 80 HASHTYPE hval; in CONCAT() local 134 HASHTYPE hval, TYPE *data) in CONCAT() 136 size_t idx = 1 + hval % htab->nslots; in CONCAT() 138 if (htab->table[idx].hval != 0) in CONCAT() 143 if (htab->table[idx].hval == hval in CONCAT() 148 hash = 1 + hval % (htab->nslots - 2); in CONCAT() 157 if (htab->table[idx].hval == hval in CONCAT() 161 while (htab->table[idx].hval != 0); in CONCAT() 174 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); in CONCAT() local 177 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT() [all …]
|
D | dynamicsizehash.c | 47 lookup (NAME *htab, HASHTYPE hval, TYPE val __attribute__ ((unused))) in lookup() argument 51 size_t idx = 1 + (hval < htab->size ? hval : hval % htab->size); in lookup() 57 if (htab->table[idx].hashval == hval in lookup() 62 hash = 1 + hval % (htab->size - 2); in lookup() 72 if (htab->table[idx].hashval == hval in lookup() 83 insert_entry_2 (NAME *htab, HASHTYPE hval, size_t idx, TYPE data) in insert_entry_2() argument 104 htab->table[idx].hashval = hval; in insert_entry_2() 210 INSERT(NAME) (NAME *htab, HASHTYPE hval, TYPE data) in INSERT() 215 hval = hval ?: 1; in INSERT() 217 idx = lookup (htab, hval, data); in INSERT() [all …]
|
D | dynamicsizehash.h | 95 extern int name##_insert (name *htab, HASHTYPE hval, TYPE data); \ 98 extern int name##_overwrite (name *htab, HASHTYPE hval, TYPE data); \ 101 extern TYPE name##_find (name *htab, HASHTYPE hval, TYPE val);
|
/external/e2fsprogs/intl/ |
D | hash-string.h | 31 unsigned long int hval, g; in hash_string() local 35 hval = 0; in hash_string() 38 hval <<= 4; in hash_string() 39 hval += (unsigned char) *str++; in hash_string() 40 g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4)); in hash_string() 43 hval ^= g >> (HASHWORDBITS - 8); in hash_string() 44 hval ^= g; in hash_string() 47 return hval; in hash_string()
|
/external/fio/crc/ |
D | fnv.c | 9 uint64_t fnv(const void *buf, uint32_t len, uint64_t hval) in fnv() argument 14 hval *= FNV_PRIME; in fnv() 16 hval ^= (uint64_t) *ptr++; in fnv() 28 hval ^= val; in fnv() 33 return hval; in fnv()
|
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | keywords.c | 125 register int hval = len; in keyword_gperf_hash() local 127 switch (hval) in keyword_gperf_hash() 130 hval += asso_values[(unsigned char)str[4]]; in keyword_gperf_hash() 135 hval += asso_values[(unsigned char)str[1]]; in keyword_gperf_hash() 138 hval += asso_values[(unsigned char)str[0]]; in keyword_gperf_hash() 141 return hval; in keyword_gperf_hash()
|
/external/libusb/libusb/os/ |
D | windows_nt_common.c | 207 unsigned long hval, hval2; in htab_hash() local 223 hval = r % htab_size; in htab_hash() 224 if (hval == 0) in htab_hash() 225 ++hval; in htab_hash() 228 idx = hval; in htab_hash() 231 if ((htab_table[idx].used == hval) && (safe_strcmp(str, htab_table[idx].str) == 0)) in htab_hash() 237 hval2 = 1 + hval % (htab_size - 2); in htab_hash() 247 if (idx == hval) in htab_hash() 251 if ((htab_table[idx].used == hval) && (safe_strcmp(str, htab_table[idx].str) == 0)) in htab_hash() 271 htab_table[idx].used = hval; in htab_hash()
|
/external/toybox/kconfig/ |
D | zconf.hash.c_shipped | 74 register int hval = len; 76 switch (hval) 79 hval += asso_values[(unsigned char)str[2]]; 83 hval += asso_values[(unsigned char)str[0]]; 86 return hval;
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | filters.py | 132 dval, hval, name = m.groups() 135 elif hval: 136 codepoint = int(hval, 16)
|
/external/zopfli/src/zopfli/ |
D | lz77.c | 249 int hval = h->val; in ZopfliFindLongestMatch() local 276 assert(hval < 65536); in ZopfliFindLongestMatch() 278 pp = hhead[hval]; /* During the whole loop, p == hprev[pp]. */ in ZopfliFindLongestMatch() 291 assert(hhashval[p] == hval); in ZopfliFindLongestMatch() 339 hval = h->val2; in ZopfliFindLongestMatch()
|
/external/v8/src/crankshaft/ |
D | lithium-codegen.cc | 127 HValue* hval = instr->hydrogen_value(); in CheckEnvironmentUsage() local 129 if (dead_block || !hval->block()->IsReachable()) continue; in CheckEnvironmentUsage() 131 HInstruction* hinstr = HInstruction::cast(hval); in CheckEnvironmentUsage()
|
/external/elfutils/src/ |
D | ldscript.y | 710 unsigned long int hval = elf_hash (runp->id); in add_id_list() local 715 defp = ld_version_str_tab_find (&ld_state.version_str_tab, hval, curp); in add_id_list() 746 ld_version_str_tab_insert (&ld_state.version_str_tab, hval, curp); in add_id_list()
|
D | ldgeneric.c | 961 unsigned long int hval; in add_section() local 1000 hval = elf_hash (search.name); in add_section() 1003 queued = ld_section_tab_find (&ld_state.section_tab, hval, &search); in add_section() 1082 ld_section_tab_insert (&ld_state.section_tab, hval, queued); in add_section() 1513 unsigned long int hval = elf_hash (search.name); in add_relocatable_file() local 1519 if (((unlikely (hval == 165832675ul) in add_relocatable_file() 1521 || (unlikely (hval == 102264335ul) in add_relocatable_file() 1530 hval, &search); in add_relocatable_file() 1578 hval, newp) != 0)) in add_relocatable_file() 1589 if (hval == 6685956 && strcmp (newp->name, "_init") == 0) in add_relocatable_file() [all …]
|
D | ld.c | 1522 unsigned long int hval = elf_hash (s->name); in create_lscript_symbols() local 1524 hval, s) != 0)) in create_lscript_symbols() 1531 hval, s); in create_lscript_symbols()
|
D | elflint.c | 2212 Elf32_Word hval = elf_gnu_hash (symname); in check_gnu_hash() local 2213 if ((hval & ~1u) != (chainhash & ~1u)) in check_gnu_hash() 2220 size_t maskidx = (hval / classbits) & bitmask_idxmask; in check_gnu_hash() 2232 |= UINT32_C (1) << (hval & (classbits - 1)); in check_gnu_hash() 2234 |= UINT32_C (1) << ((hval >> shift) & (classbits - 1)); in check_gnu_hash() 2239 |= UINT64_C (1) << (hval & (classbits - 1)); in check_gnu_hash() 2241 |= UINT64_C (1) << ((hval >> shift) & (classbits - 1)); in check_gnu_hash()
|
/external/mksh/src/ |
D | main.c | 1773 j = perturb = tblp->ua.hval; in tgrow() 1818 if ((p = *pp) != NULL && (p->ua.hval != h || !(p->flag & DEFINED) || in ktscan() 1851 p->ua.hval = h; in ktenter()
|
D | expr.c | 673 vp->ua.hval = 0; in tempvar()
|
D | sh.h | 1700 uint32_t hval; /* hash(name) */ member
|