Searched refs:newsize (Results 1 – 2 of 2) sorted by relevance
118 os_realloc_aligned(void *ptr, size_t oldsize, size_t newsize, size_t alignment) in os_realloc_aligned() argument120 const size_t copySize = MIN2(oldsize, newsize); in os_realloc_aligned()121 void *newBuf = os_malloc_aligned(newsize, alignment); in os_realloc_aligned()
128 unsigned newsize = nelts * eltsize; in util_dynarray_resize_bytes() local129 void *p = util_dynarray_ensure_cap(buf, newsize); in util_dynarray_resize_bytes()133 buf->size = newsize; in util_dynarray_resize_bytes()156 unsigned newsize = buf->size + growbytes; in util_dynarray_grow_bytes() local157 void *p = util_dynarray_ensure_cap(buf, newsize); in util_dynarray_grow_bytes()161 buf->size = newsize; in util_dynarray_grow_bytes()