Searched refs:new_length (Results 1 – 5 of 5) sorted by relevance
31 size_t new_length = nelem * size; in __libc_scratch_buffer_set_array_size() local35 && nelem != 0 && size != new_length / nelem) in __libc_scratch_buffer_set_array_size()45 if (new_length <= buffer->length) in __libc_scratch_buffer_set_array_size()51 char *new_ptr = malloc (new_length); in __libc_scratch_buffer_set_array_size()61 buffer->length = new_length; in __libc_scratch_buffer_set_array_size()
30 size_t new_length = 2 * buffer->length; in __libc_scratch_buffer_grow_preserve() local37 new_ptr = malloc (new_length); in __libc_scratch_buffer_grow_preserve()45 if (__glibc_likely (new_length >= buffer->length)) in __libc_scratch_buffer_grow_preserve()46 new_ptr = realloc (buffer->data, new_length); in __libc_scratch_buffer_grow_preserve()64 buffer->length = new_length; in __libc_scratch_buffer_grow_preserve()
30 size_t new_length = buffer->length * 2; in __libc_scratch_buffer_grow() local36 if (__glibc_likely (new_length >= buffer->length)) in __libc_scratch_buffer_grow()37 new_ptr = malloc (new_length); in __libc_scratch_buffer_grow()53 buffer->length = new_length; in __libc_scratch_buffer_grow()
427 size_t new_length = list->u.dynarray_header.used - 1; in DYNARRAY_NAME() local429 DYNARRAY_ELEMENT_FREE (&list->u.dynarray_header.array[new_length]); in DYNARRAY_NAME()431 list->u.dynarray_header.used = new_length; in DYNARRAY_NAME()
1780 @deftypefun {void *} mremap (void *@var{address}, size_t @var{length}, size_t @var{new_length}, int…1787 characteristics will be returned with the length @var{new_length}.