Searched refs:ht_size (Results 1 - 6 of 6) sorted by relevance

/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dhash.c51 ht->ht_size = round_up_2 (size);
52 ht->ht_empty_slots = ht->ht_size;
53 ht->ht_vec = (void**) CALLOC (struct token *, ht->ht_size);
57 ht->ht_size * sizeof(struct token *));
61 ht->ht_capacity = ht->ht_size - (ht->ht_size / 16); /* 93.75% loading factor */
106 hash_1 &= (ht->ht_size - 1);
165 if (ht->ht_empty_slots < ht->ht_size - ht->ht_capacity)
204 void **end = &vec[ht->ht_size];
213 ht->ht_empty_slots = ht->ht_size;
[all...]
H A Dhash.h46 unsigned long ht_size; /* total number of slots (power of 2) */ member in struct:hash_table
H A Dvariable.c233 struct variable **end = &vp[global_variable_set.table.ht_size];
516 struct variable **from_var_end = from_var_slot + from_set->table.ht_size;
699 v_end = v_slot + set->table.ht_size;
761 v_end = v_slot + table.ht_size;
H A Dfile.c353 file_end = file_slot + files.ht_size;
793 struct file **end = &fp[files.ht_size];
H A Ddir.c997 dir_end = dir_slot + directories.ht_size;
1031 files_end = files_slot + dir->contents->dirfiles.ht_size;
1138 struct dirfile **dirfile_end = (struct dirfile **) dc->dirfiles.ht_vec + dc->dirfiles.ht_size;
/netbsd-6-1-5-RELEASE/usr.bin/config/
H A Dhash.c66 size_t ht_size; /* size (power of 2) */ member in struct:hashtab
67 u_int ht_mask; /* == ht_size - 1 */
96 ht->ht_size = sz;
114 n = ht->ht_size * 2;
120 for (i = 0; i < ht->ht_size; i++) {
130 ht->ht_size = ++n;
216 for (i = 0; i < ht->ht_size; i++) {
311 for (i = 0; i < ht->ht_size; i++) {

Completed in 83 milliseconds