Home
last modified time | relevance | path

Searched refs:htab (Results 1 – 12 of 12) sorted by relevance

/external/elfutils/lib/
Ddynamicsizehash.c32 lookup (htab, hval, val) in lookup() argument
33 NAME *htab; in lookup()
38 size_t idx = 1 + hval % htab->size;
40 if (htab->table[idx].hashval != 0)
44 if (htab->table[idx].hashval == hval
45 && COMPARE (htab->table[idx].data, val) == 0)
49 hash = 1 + hval % (htab->size - 2);
54 idx = htab->size + idx - hash;
59 if (htab->table[idx].hashval == hval
60 && COMPARE (htab->table[idx].data, val) == 0)
[all …]
Dfixedsizehash.h113 CONCAT(PREFIX,fshash_fini) (struct CONCAT(PREFIX,fshash) *htab) in CONCAT()
115 free (htab); in CONCAT()
121 CONCAT(PREFIX,fshash_lookup) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
124 size_t idx = 1 + hval % htab->nslots; in CONCAT()
126 if (htab->table[idx].hval != 0) in CONCAT()
131 if (htab->table[idx].hval == hval in CONCAT()
132 && COMPARE (data, ENTRYP (htab->table[idx])) == 0) in CONCAT()
133 return &htab->table[idx]; in CONCAT()
136 hash = 1 + hval % (htab->nslots - 2); in CONCAT()
141 idx = htab->nslots + idx - hash; in CONCAT()
[all …]
Ddynamicsizehash.h69 extern int name##_init (name *htab, unsigned long int init_size); \
72 extern int name##_free (name *htab); \
75 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);
89 extern TYPE name##_iterate (name *htab, void **ptr);
/external/liblzf/
Dlzf_c.c102 , LZF_STATE htab in lzf_compress() argument
107 LZF_STATE htab; in lzf_compress() local
134 memset (htab, 0, sizeof (htab)); in lzf_compress()
145 hslot = htab + IDX (hval); in lzf_compress()
236 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; in lzf_compress()
241 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; in lzf_compress()
250 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; in lzf_compress()
/external/liblzf/src/org/liblzf/
DCLZF.java156 int []htab=new int[1<<14]; in lzf_compress() local
159 htab[c]=0; in lzf_compress()
179 reference = htab[hslot]; in lzf_compress()
180 htab[hslot] = (int)iidx; in lzf_compress()
230 htab[IDX (hval)] = iidx; in lzf_compress()
234 htab[IDX (hval)] = iidx; in lzf_compress()
/external/liblzf/cs/
DCLZF.cs156 long []htab=new long[1<<14]; in lzf_compress()
159 htab[c]=0; in lzf_compress()
179 reference = htab[hslot]; in lzf_compress()
180 htab[hslot] = (long)iidx; in lzf_compress()
230 htab[IDX (hval)] = iidx; in lzf_compress()
234 htab[IDX (hval)] = iidx; in lzf_compress()
/external/llvm/test/DebugInfo/
D2009-11-10-ParentScope.ll2 %struct.htab = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i64, i64, i64, i32, i32, i8* …
4 define i8* @htab_find_with_hash(%struct.htab* %htab, i8* %element, i32 %hash) nounwind {
/external/valgrind/main/exp-ptrcheck/
Dsg_main.c1169 IInstance* htab; member
1244 if (!frame->htab) in preen_global_Invars()
1247 IInstance* ii = &frame->htab[u]; in preen_global_Invars()
1271 sf->htab = &sf->htab_fixed[0]; in initialise_II_hash_table()
1272 tl_assert(sf->htab); in initialise_II_hash_table()
1275 sf->htab[i].insn_addr = 0; /* NOT IN USE */ in initialise_II_hash_table()
1285 tl_assert(sf && sf->htab); in resize_II_hash_table()
1288 old_htab = sf->htab; in resize_II_hash_table()
1320 sf->htab = new_htab; in resize_II_hash_table()
1347 tl_assert(sf->htab); in find_or_create_IInstance_SLOW()
[all …]
/external/llvm/test/CodeGen/X86/
D2010-02-12-CoalescerBug-Impdef.ll59htab"*, %"union tree_node"*, %"union tree_node"*, %"union tree_node"*, %"union tree_node"*, %"stru…
61htab"*, %"struct VEC_gimple_gc"*, %"struct VEC_tree_gc"*, %"union tree_node"*, %"struct pt_solutio…
67 %"struct htab" = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i64, i64, i64, i32, i32, i8…
76 %"struct loops" = type { i32, %"struct VEC_loop_p_gc"*, %"struct htab"*, %"struct loop"* }
D2008-05-21-CoalescerBug.ll34 … %struct.machine_function*, i32, i32, %struct.language_function*, %struct.htab*, %struct.rtx_def*,…
35 …%struct.htab = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i32, i32, i32, i32, i32, i8*…
/external/llvm/test/CodeGen/Blackfin/
Dmulhu.ll23 …%struct.htab = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i32, i32, i32, i32, i32, i8*…
28 …%struct.ivopts_data = type { %struct.loop*, %struct.htab*, i32, %struct.version_info*, %struct.bit…
/external/llvm/test/CodeGen/Generic/
D2006-08-30-CoalescerCrash.ll22 …%struct.htab = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i32, i32, i32, i32, i32, i8*…
27 …%struct.ivopts_data = type { %struct.loop*, %struct.htab*, i32, %struct.version_info*, %struct.bit…