Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dmallocr.c2768 INTERNAL_SIZE_T oldsize; /* its size */
2797 newsize = oldsize = chunksize(oldp);
2821 if(oldsize - SIZE_SZ >= nb)
2833 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ);
2842 if ((long)(oldsize) < (long)(nb))
2847 next = chunk_at_offset(oldp, oldsize);
2900 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2917 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2929 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2955 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
/picolibc-3.7.0-3.6.0/newlib/libc/search/
Dhash.c898 hash_realloc(SEGMENT **p_ptr, int oldsize, int newsize) argument
903 memmove(p, *p_ptr, oldsize);
904 memset((char *)p + oldsize, 0, newsize - oldsize);