Lines Matching refs:oldsize
105 get_new_table_size(long unsigned oldsize) in get_new_table_size() argument
108 if (oldsize == 0) in get_new_table_size()
112 if (oldsize == newsize) { in get_new_table_size()
117 newsize = oldsize + DB_TABLE_GROWTH_INCREMENT; in get_new_table_size()
431 long oldsize = table_size; in grow() local
435 table_size = get_new_table_size(oldsize); in grow()
442 table_size = oldsize; in grow()
453 table_size = oldsize; in grow()
467 db_status stat = allocateExpire(oldsize, table_size); in grow()
471 table_size = oldsize; in grow()
479 for (i = 0; i < oldsize; i++) { // transfer old to new in grow()
486 db_status stat = allocateEnumArray(oldsize, table_size); in grow()
490 table_size = oldsize; in grow()