Lines Matching refs:newhead
353 struct hs_base newhead; in resize_table() local
358 newhead = *head; in resize_table()
360 newhead.hashtab_ = 0; in resize_table()
361 newhead.record_count_ = 0; in resize_table()
369 newhead.tablesize_ = prime_to_use; in resize_table()
370 newhead.allowed_fill_ = calculate_allowed_fill(allowed_fill_percent, in resize_table()
372 if( newhead.allowed_fill_< (newhead.tablesize_/2)) { in resize_table()
376 newhead.tablesize_entry_index_ = new_entry_index; in resize_table()
377 newhead.hashtab_ = calloc(sizeof(struct ts_entry),newhead.tablesize_); in resize_table()
378 if(!newhead.hashtab_) { in resize_table()
381 free(newhead.hashtab_); in resize_table()
399 &newhead,compar, in resize_table()
411 &newhead,compar, in resize_table()
422 free(newhead.hashtab_); in resize_table()
431 *head = newhead; in resize_table()