Lines Matching refs:ht_size
46 ht->ht_size = round_up_2 (size);
47 ht->ht_empty_slots = ht->ht_size;
48 ht->ht_vec = (void**) CALLOC (struct token *, ht->ht_size);
52 ht->ht_size * sizeof(struct token *));
56 ht->ht_capacity = ht->ht_size - (ht->ht_size / 16); /* 93.75% loading factor */
96 hash_1 &= (ht->ht_size - 1);
148 if (ht->ht_empty_slots < ht->ht_size - ht->ht_capacity)
182 void **end = &vec[ht->ht_size];
191 ht->ht_empty_slots = ht->ht_size;
198 void **end = &vec[ht->ht_size];
205 ht->ht_empty_slots = ht->ht_size;
216 ht->ht_empty_slots = ht->ht_size;
227 void **end = &ht->ht_vec[ht->ht_size];
240 void **end = &ht->ht_vec[ht->ht_size];
254 unsigned long old_ht_size = ht->ht_size;
260 ht->ht_size *= 2;
261 ht->ht_capacity = ht->ht_size - (ht->ht_size >> 4);
264 ht->ht_vec = (void **) CALLOC (struct token *, ht->ht_size);
274 ht->ht_empty_slots = ht->ht_size - ht->ht_fill;
282 fprintf (out_FILE, _("Load=%ld/%ld=%.0f%%, "), ht->ht_fill, ht->ht_size,
283 100.0 * (double) ht->ht_fill / (double) ht->ht_size);
299 void **end = &ht->ht_vec[ht->ht_size];