Home
last modified time | relevance | path

Searched refs:new_max_index (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/libobjc/
H A Dsarray.c294 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()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libobjc/
H A Dsarray.c294 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()
[all …]