/external/elfutils/lib/ |
D | fixedsizehash.h | 101 HASHTYPE hval; in CONCAT() local 155 HASHTYPE hval, TYPE *data) in CONCAT() 157 size_t idx = 1 + hval % htab->nslots; in CONCAT() 159 if (htab->table[idx].hval != 0) in CONCAT() 164 if (htab->table[idx].hval == hval in CONCAT() 169 hash = 1 + hval % (htab->nslots - 2); in CONCAT() 178 if (htab->table[idx].hval == hval in CONCAT() 182 while (htab->table[idx].hval != 0); in CONCAT() 195 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); in CONCAT() local 198 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT() [all …]
|
D | dynamicsizehash.c | 68 lookup (htab, hval, val) in lookup() argument 70 unsigned long int hval; 74 size_t idx = 1 + hval % htab->size; 80 if (htab->table[idx].hashval == hval 85 hash = 1 + hval % (htab->size - 2); 95 if (htab->table[idx].hashval == hval 106 insert_entry_2 (NAME *htab, unsigned long int hval, size_t idx, TYPE data) in insert_entry_2() argument 127 htab->table[idx].hashval = hval; in insert_entry_2() 236 INSERT(NAME) (htab, hval, data) 238 unsigned long int hval; variable [all …]
|
D | dynamicsizehash.h | 111 extern int name##_insert (name *htab, unsigned long int hval, TYPE data); \ 114 extern int name##_overwrite (name *htab, unsigned long int hval, TYPE data); \ 117 extern TYPE name##_find (name *htab, unsigned long int hval, TYPE val);
|
/external/chromium/net/base/ |
D | effective_tld_names_unittest1.cc | 93 register int hval = len; in hash() local 95 switch (hval) in hash() 98 hval += asso_values[(unsigned char)str[10]]; in hash() 101 hval += asso_values[(unsigned char)str[9]]; in hash() 104 hval += asso_values[(unsigned char)str[8]]; in hash() 107 hval += asso_values[(unsigned char)str[7]]; in hash() 110 hval += asso_values[(unsigned char)str[6]]; in hash() 113 hval += asso_values[(unsigned char)str[5]]; in hash() 116 hval += asso_values[(unsigned char)str[4]]; in hash() 119 hval += asso_values[(unsigned char)str[3]]; in hash() [all …]
|
D | effective_tld_names_unittest2.cc | 88 register int hval = len; in hash() local 90 switch (hval) in hash() 93 hval += asso_values[(unsigned char)str[5]]; in hash() 96 hval += asso_values[(unsigned char)str[4]]; in hash() 99 hval += asso_values[(unsigned char)str[3]]; in hash() 102 hval += asso_values[(unsigned char)str[2]]; in hash() 105 hval += asso_values[(unsigned char)str[1]]; in hash() 108 hval += asso_values[(unsigned char)str[0]]; in hash() 111 return hval; in hash()
|
D | effective_tld_names.cc | 95 register int hval = len; in hash() local 97 switch (hval) in hash() 100 hval += asso_values[(unsigned char)str[42]]; in hash() 103 hval += asso_values[(unsigned char)str[41]]; in hash() 106 hval += asso_values[(unsigned char)str[40]]; in hash() 109 hval += asso_values[(unsigned char)str[39]]; in hash() 112 hval += asso_values[(unsigned char)str[38]]; in hash() 115 hval += asso_values[(unsigned char)str[37]]; in hash() 118 hval += asso_values[(unsigned char)str[36]]; in hash() 121 hval += asso_values[(unsigned char)str[35]]; in hash() [all …]
|
/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/liblzf/ |
D | lzf_c.c | 127 unsigned int hval; in lzf_compress() local 139 hval = FRST (ip); in lzf_compress() 144 hval = NEXT (hval, ip); in lzf_compress() 145 hslot = htab + IDX (hval); in lzf_compress() 233 hval = FRST (ip); in lzf_compress() 235 hval = NEXT (hval, ip); in lzf_compress() 236 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; in lzf_compress() 240 hval = NEXT (hval, ip); in lzf_compress() 241 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; in lzf_compress() 249 hval = NEXT (hval, ip); in lzf_compress() [all …]
|
/external/liblzf/src/org/liblzf/ |
D | CLZF.java | 169 int hval = FRST (in_data,iidx); in lzf_compress() local 177 hval = NEXT (hval, in_data,iidx); in lzf_compress() 178 hslot = IDX (hval); in lzf_compress() 227 hval = FRST (in_data,iidx); in lzf_compress() 229 hval = NEXT (hval,in_data, iidx); in lzf_compress() 230 htab[IDX (hval)] = iidx; in lzf_compress() 233 hval = NEXT (hval, in_data,iidx); in lzf_compress() 234 htab[IDX (hval)] = iidx; in lzf_compress()
|
/external/liblzf/cs/ |
D | CLZF.cs | 169 UInt32 hval = FRST (in_data,iidx); in lzf_compress() 177 hval = NEXT (hval, in_data,iidx); in lzf_compress() 178 hslot = IDX (hval); in lzf_compress() 227 hval = FRST (in_data,iidx); in lzf_compress() 229 hval = NEXT (hval,in_data, iidx); in lzf_compress() 230 htab[IDX (hval)] = iidx; in lzf_compress() 233 hval = NEXT (hval, in_data,iidx); in lzf_compress() 234 htab[IDX (hval)] = iidx; in lzf_compress()
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/ |
D | atom.c | 149 int hval = 0; in HashString() local 152 hval = (hval*13507 + *s*197) ^ (hval >> 2); in HashString() 155 return hval & 0x7fffffff; in HashString() 165 int hval = 0; in HashString2() local 168 hval = (hval*729 + *s*37) ^ (hval >> 1); in HashString2() 171 return hval; in HashString2()
|
/external/srec/srec/crec/ |
D | astar_pphash.c | 94 int hash_get(FixedSizeHash* hash, partial_path* parp, void** hval) in hash_get() argument 107 *hval = p_return; in hash_get()
|
D | astar_pphash.h | 51 int hash_get(FixedSizeHash* hash, partial_path* parp, void** hval);
|
/external/elfutils/libasm/ |
D | asm_newscn.c | 165 unsigned long int hval; local 183 hval = elf_hash (scnname);
|
/external/elfutils/src/ |
D | ldscript.y | 718 unsigned long int hval = elf_hash (runp->id); in add_id_list() local 723 defp = ld_version_str_tab_find (&ld_state.version_str_tab, hval, curp); in add_id_list() 754 ld_version_str_tab_insert (&ld_state.version_str_tab, hval, curp); in add_id_list()
|
D | ldgeneric.c | 971 unsigned long int hval; in add_section() local 1010 hval = elf_hash (search.name); in add_section() 1013 queued = ld_section_tab_find (&ld_state.section_tab, hval, &search); in add_section() 1092 ld_section_tab_insert (&ld_state.section_tab, hval, queued); in add_section() 1523 unsigned long int hval = elf_hash (search.name); in add_relocatable_file() local 1529 if (((unlikely (hval == 165832675ul) in add_relocatable_file() 1531 || (unlikely (hval == 102264335ul) in add_relocatable_file() 1540 hval, &search); in add_relocatable_file() 1588 hval, newp) != 0)) in add_relocatable_file() 1599 if (hval == 6685956 && strcmp (newp->name, "_init") == 0) in add_relocatable_file() [all …]
|
D | ld.c | 1533 unsigned long int hval = elf_hash (s->name); in create_lscript_symbols() local 1535 hval, s) != 0)) in create_lscript_symbols() 1542 hval, s); in create_lscript_symbols()
|
D | ldscript.c | 2513 unsigned long int hval = elf_hash (runp->id); in add_id_list() local 2518 defp = ld_version_str_tab_find (&ld_state.version_str_tab, hval, curp); in add_id_list() 2549 ld_version_str_tab_insert (&ld_state.version_str_tab, hval, curp); in add_id_list()
|
D | elflint.c | 2082 Elf32_Word hval = elf_gnu_hash (symname); in check_gnu_hash() local 2083 if ((hval & ~1u) != (chainhash & ~1u)) in check_gnu_hash() 2090 size_t maskidx = (hval / classbits) & bitmask_idxmask; in check_gnu_hash() 2094 |= UINT32_C (1) << (hval & (classbits - 1)); in check_gnu_hash() 2096 |= UINT32_C (1) << ((hval >> shift) & (classbits - 1)); in check_gnu_hash() 2101 |= UINT64_C (1) << (hval & (classbits - 1)); in check_gnu_hash() 2103 |= UINT64_C (1) << ((hval >> shift) & (classbits - 1)); in check_gnu_hash()
|
/external/mksh/src/ |
D | main.c | 1517 j = (perturb = tblp->ua.hval) & mask; in tgrow() 1562 if ((p = *pp) != NULL && (p->ua.hval != h || !(p->flag & DEFINED) || in ktscan() 1595 p->ua.hval = h; in ktenter()
|
D | expr.c | 625 vp->ua.hval = 0; in tempvar()
|
D | sh.h | 977 uint32_t hval; /* hash(name) */ member
|