Home | History | Annotate | Download | only in callgrind

Lines Matching full:cxts

70 static cxt_hash cxts;
76 cxts.size = N_CXT_INITIAL_ENTRIES;
77 cxts.entries = 0;
78 cxts.table = (Context**) CLG_MALLOC("cl.context.ict.1",
79 cxts.size * sizeof(Context*));
81 for (i = 0; i < cxts.size; i++)
82 cxts.table[i] = 0;
87 return &cxts;
97 new_size = 2* cxts.size +3;
106 for (i = 0; i < cxts.size; i++) {
107 if (cxts.table[i] == NULL) continue;
109 curr = cxts.table[i];
127 VG_(free)(cxts.table);
131 cxts.size, new_size,
132 cxts.entries, conflicts1, conflicts2);
134 cxts.size = new_size;
135 cxts.table = new_table;
192 cxts.entries++;
193 if (10 * cxts.entries / cxts.size > 8)
220 idx = (UInt) (hash % cxts.size);
221 cxt->next = cxts.table[idx];
222 cxts.table[idx] = cxt;
258 idx = (UInt) (hash % cxts.size);
259 cxt = cxts.table[idx];