Searched refs:hval (Results 1 - 11 of 11) sorted by relevance

/external/e2fsprogs/intl/
H A Dhash-string.h31 unsigned long int hval, g; local
35 hval = 0;
38 hval <<= 4;
39 hval += (unsigned char) *str++;
40 g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4));
43 hval ^= g >> (HASHWORDBITS - 8);
44 hval ^= g;
47 return hval;
/external/elfutils/lib/
H A Dfixedsizehash.h68 HASHTYPE hval; local
122 HASHTYPE hval, TYPE *data)
124 size_t idx = 1 + hval % htab->nslots;
126 if (htab->table[idx].hval != 0)
131 if (htab->table[idx].hval == hval
136 hash = 1 + hval % (htab->nslots - 2);
145 if (htab->table[idx].hval == hval
149 while (htab->table[idx].hval !
161 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); local
210 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); local
229 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); local
[all...]
H A Ddynamicsizehash.c32 lookup (htab, hval, val)
34 unsigned long int hval;
38 size_t idx = 1 + hval % htab->size;
44 if (htab->table[idx].hashval == hval
49 hash = 1 + hval % (htab->size - 2);
59 if (htab->table[idx].hashval == hval
70 insert_entry_2 (NAME *htab, unsigned long int hval, size_t idx, TYPE data) argument
91 htab->table[idx].hashval = hval;
200 INSERT(NAME) (htab, hval, data)
202 unsigned long int hval;
[all...]
H A Ddynamicsizehash.h75 extern int name##_insert (name *htab, unsigned long int hval, TYPE data); \
78 extern int name##_overwrite (name *htab, unsigned long int hval, TYPE data); \
81 extern TYPE name##_find (name *htab, unsigned long int hval, TYPE val);
/external/srec/srec/crec/
H A Dastar_pphash.h51 int hash_get(FixedSizeHash* hash, partial_path* parp, void** hval);
H A Dastar_pphash.c94 int hash_get(FixedSizeHash* hash, partial_path* parp, void** hval) argument
107 *hval = p_return;
/external/elfutils/libasm/
H A Dasm_newscn.c152 unsigned long int hval; local
170 hval = elf_hash (scnname);
/external/elfutils/src/
H A Dldscript.y668 unsigned long int hval = elf_hash (runp->id);
673 defp = ld_version_str_tab_find (&ld_state.version_str_tab, hval, curp);
704 ld_version_str_tab_insert (&ld_state.version_str_tab, hval, curp);
H A Dld.c1440 unsigned long int hval = elf_hash (s->name); local
1442 hval, s) != 0))
1449 hval, s);
H A Dldscript.c2127 unsigned long int hval = elf_hash (runp->id);
2132 defp = ld_version_str_tab_find (&ld_state.version_str_tab, hval, curp);
2163 ld_version_str_tab_insert (&ld_state.version_str_tab, hval, curp);
2123 unsigned long int hval = elf_hash (runp->id); local
H A Dldgeneric.c912 unsigned long int hval; local
951 hval = elf_hash (search.name);
954 queued = ld_section_tab_find (&ld_state.section_tab, hval, &search);
1000 ld_section_tab_insert (&ld_state.section_tab, hval, queued);
1355 unsigned long int hval = elf_hash (search.name); local
1361 if (((unlikely (hval == 165832675)
1363 || (unlikely (hval == 102264335)
1372 hval, &search);
1418 hval, newp) != 0))
1429 if (hval
[all...]

Completed in 142 milliseconds