Home
last modified time | relevance | path

Searched refs:ht_size (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/gpl2/gmake/dist/
H A Dhash.c46 ht->ht_size = round_up_2 (size); in hash_init()
47 ht->ht_empty_slots = ht->ht_size; in hash_init()
48 ht->ht_vec = (void**) CALLOC (struct token *, ht->ht_size); in hash_init()
52 ht->ht_size * sizeof(struct token *)); in hash_init()
56 ht->ht_capacity = ht->ht_size - (ht->ht_size / 16); /* 93.75% loading factor */ in hash_init()
96 hash_1 &= (ht->ht_size - 1); in hash_find_slot()
148 if (ht->ht_empty_slots < ht->ht_size - ht->ht_capacity) in hash_insert_at()
182 void **end = &vec[ht->ht_size]; in hash_free_items()
191 ht->ht_empty_slots = ht->ht_size; in hash_free_items()
198 void **end = &vec[ht->ht_size]; in hash_delete_items()
[all …]
H A Dvariable.c293 struct variable **end = &vp[global_variable_set.table.ht_size]; in handle_special_var()
643 struct variable **from_var_end = from_var_slot + from_set->table.ht_size; in merge_variable_sets()
878 v_end = v_slot + set->table.ht_size; in target_environment()
948 v_end = v_slot + table.ht_size; in target_environment()
H A Ddir.c988 dir_end = dir_slot + directories.ht_size; in print_dir_data_base()
1022 files_end = files_slot + dir->contents->dirfiles.ht_size; in print_dir_data_base()
1126 struct dirfile **dirfile_end = (struct dirfile **) dc->dirfiles.ht_vec + dc->dirfiles.ht_size; in read_dirstream()
H A Dhash.h46 unsigned long ht_size; /* total number of slots (power of 2) */ member
H A Dfile.c353 file_end = file_slot + files.ht_size; in remove_intermediates()
1010 struct file **end = &fp[files.ht_size]; in build_target_list()
/netbsd-src/usr.bin/config/
H A Dhash.c72 size_t ht_size; /* size (power of 2) */ member
73 size_t ht_mask; /* == ht_size - 1 */
103 ht->ht_size = sz; in ht_init()
121 n = ht->ht_size * 2; in ht_expand()
127 for (i = 0; i < ht->ht_size; i++) { in ht_expand()
137 ht->ht_size = ++n; in ht_expand()
247 for (i = 0; i < ht->ht_size; i++) { in ht_free()
361 for (i = 0; i < ht->ht_size; i++) { in ht_enumerate2()
377 for (i = 0; i < ht->ht_size; i++) { in ht_enumerate()
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Damigaos115 # ht_size; hash table size; 0x48 for flopies