Searched refs:number_of_slots (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/external/gpl3/gcc.old/dist/gcc/objc/
H A Dobjc-map.c64 map->number_of_slots = initial_capacity;
88 map->max_number_of_non_empty_slots = (map->number_of_slots * number_between_zero_and_one_hundred) / 100;
102 size_t i, old_number_of_slots = map->number_of_slots;
109 map->number_of_slots = new_number_of_slots;
110 map->mask = map->number_of_slots - 1;
111 map->max_number_of_non_empty_slots = (map->number_of_slots * map->maximum_load_factor) / 100;
114 map->slots = ggc_cleared_vec_alloc<tree> (map->number_of_slots);
115 map->values = ggc_cleared_vec_alloc<tree> (map->number_of_slots);
157 objc_map_private_resize (map, map->number_of_slots * 2);
H A Dobjc-map.h52 "position = hash & mask", where mask is number_of_slots - 1
54 size_t number_of_slots; variable
56 /* This is number_of_slots - 1, precomputed. */
74 tree * GTY ((length ("%h.number_of_slots"))) slots;
78 tree * GTY ((length ("%h.number_of_slots"))) values;
273 if (*i == map->number_of_slots)
/netbsd-current/external/gpl3/gcc/dist/gcc/objc/
H A Dobjc-map.cc64 map->number_of_slots = initial_capacity;
88 map->max_number_of_non_empty_slots = (map->number_of_slots * number_between_zero_and_one_hundred) / 100;
102 size_t i, old_number_of_slots = map->number_of_slots;
109 map->number_of_slots = new_number_of_slots;
110 map->mask = map->number_of_slots - 1;
111 map->max_number_of_non_empty_slots = (map->number_of_slots * map->maximum_load_factor) / 100;
114 map->slots = ggc_cleared_vec_alloc<tree> (map->number_of_slots);
115 map->values = ggc_cleared_vec_alloc<tree> (map->number_of_slots);
157 objc_map_private_resize (map, map->number_of_slots * 2);
H A Dobjc-map.h52 "position = hash & mask", where mask is number_of_slots - 1
54 size_t number_of_slots; variable
56 /* This is number_of_slots - 1, precomputed. */
74 tree * GTY ((length ("%h.number_of_slots"))) slots;
78 tree * GTY ((length ("%h.number_of_slots"))) values;
273 if (*i == map->number_of_slots)

Completed in 128 milliseconds