Lines Matching refs:new_max_index
294 size_t new_max_index = ((newsize - 1)/INDEX_CAPACITY); in sarray_realloc() local
295 size_t rounded_size = (new_max_index + 1) * INDEX_CAPACITY; in sarray_realloc()
302 size_t new_max_index = ((newsize - 1)/BUCKET_SIZE); in sarray_realloc()
303 size_t rounded_size = (new_max_index + 1) * BUCKET_SIZE; in sarray_realloc()
325 new_max_index += 4; in sarray_realloc()
326 rounded_size = (new_max_index + 1) * INDEX_CAPACITY; in sarray_realloc()
328 new_max_index += 4; in sarray_realloc()
329 rounded_size = (new_max_index + 1) * BUCKET_SIZE; in sarray_realloc()
339 objc_malloc ((new_max_index + 1) * sizeof (struct sindex *)); in sarray_realloc()
343 objc_malloc ((new_max_index + 1) * sizeof (struct sbucket *)); in sarray_realloc()
358 for (counter = old_max_index + 1; counter <= new_max_index; counter++) in sarray_realloc()
362 for (counter = old_max_index + 1; counter <= new_max_index; counter++) in sarray_realloc()
380 idxsize += (new_max_index-old_max_index); in sarray_realloc()