Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/machine/xstormy16/
Dtiny-malloc.c141 size_t real_size = REAL_SIZE (sz); in malloc() local
150 if (block->size >= real_size) in malloc()
154 if (block->size < real_size + sizeof (struct freelist_entry)) in malloc()
161 size_t newsize = block->size - real_size; in malloc()
163 *nextfree = (fle)((size_t)block + real_size); in malloc()
175 size_t moresize = real_size - block->size; in malloc()
186 __malloc_end = (void *)((size_t)block + real_size); in malloc()
196 if (! CAN_ALLOC_P (real_size)) in malloc()
202 __malloc_end = (void *)((size_t)__malloc_end + real_size); in malloc()
206 block = __malloc_end = (void *)((size_t)__malloc_end - real_size); in malloc()
[all …]