Home
last modified time | relevance | path

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

/external/elfutils/lib/
Dfixedsizehash.h80 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 …]
Ddynamicsizehash.c47 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 …]
Ddynamicsizehash.h95 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/
Dhash-string.h31 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/
Dlzf_c.c127 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/
DCLZF.java169 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/
DCLZF.cs169 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/fio/crc/
Dfnv.c5 uint64_t fnv(const void *buf, uint32_t len, uint64_t hval) in fnv() argument
11 hval *= FNV_PRIME; in fnv()
12 hval ^= (uint64_t) *ptr++; in fnv()
15 return hval; in fnv()
/external/toybox/kconfig/
Dzconf.hash.c_shipped74 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/zopfli/src/zopfli/
Dlz77.c249 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/
Dlithium-codegen.cc119 HValue* hval = instr->hydrogen_value(); in CheckEnvironmentUsage() local
121 if (dead_block || !hval->block()->IsReachable()) continue; in CheckEnvironmentUsage()
123 HInstruction* hinstr = HInstruction::cast(hval); in CheckEnvironmentUsage()
/external/elfutils/src/
Dldscript.y710 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()
Dldgeneric.c961 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 …]
Dld.c1522 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()
Delflint.c2212 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/chromium-trace/catapult/third_party/WebOb/webob/
Drequest.py1242 hname, hval = line.split(colon, 1)
1244 hval = native_(hval, 'utf-8').strip()
1246 hval = r.headers[hname] + ', ' + hval
1247 r.headers[hname] = hval
/external/mksh/src/
Dmain.c1706 j = perturb = tblp->ua.hval; in tgrow()
1751 if ((p = *pp) != NULL && (p->ua.hval != h || !(p->flag & DEFINED) || in ktscan()
1784 p->ua.hval = h; in ktenter()
Dexpr.c730 vp->ua.hval = 0; in tempvar()
Dsh.h1177 uint32_t hval; /* hash(name) */ member
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...