Home
last modified time | relevance | path

Searched refs:new_length (Results 1 – 5 of 5) sorted by relevance

/glibc-2.36/malloc/
Dscratch_buffer_set_array_size.c31 size_t new_length = nelem * size; in __libc_scratch_buffer_set_array_size() local
35 && 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()
Dscratch_buffer_grow_preserve.c30 size_t new_length = 2 * buffer->length; in __libc_scratch_buffer_grow_preserve() local
37 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()
Dscratch_buffer_grow.c30 size_t new_length = buffer->length * 2; in __libc_scratch_buffer_grow() local
36 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()
Ddynarray-skeleton.c427 size_t new_length = list->u.dynarray_header.used - 1; in DYNARRAY_NAME() local
429 DYNARRAY_ELEMENT_FREE (&list->u.dynarray_header.array[new_length]); in DYNARRAY_NAME()
431 list->u.dynarray_header.used = new_length; in DYNARRAY_NAME()
/glibc-2.36/manual/
Dllio.texi1780 @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}.