Lines Matching refs:size
120 new_size(size) in new_size() argument
121 int size; in new_size()
127 if ((1<<i) > size) return 1<<i;
137 if (newsize > size) return primes[i];
158 st_init_table_with_size(type, size) in st_init_table_with_size() argument
160 int size;
171 size = new_size(size); /* round up to prime number */
176 tbl->num_bins = size;
177 tbl->bins = (st_table_entry **)Calloc(size, sizeof(st_table_entry*));
196 st_init_numtable_with_size(size) in st_init_numtable_with_size() argument
197 int size; in st_init_numtable_with_size()
199 return st_init_table_with_size(&type_numhash, size);
209 st_init_strtable_with_size(size) in st_init_strtable_with_size() argument
210 int size; in st_init_strtable_with_size()
212 return st_init_table_with_size(&type_strhash, size);