Home
last modified time | relevance | path

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

/bionic/libc/upstream-freebsd/lib/libc/stdio/
Dfgetln.c55 __slbexpand(FILE *fp, size_t newsize) in __slbexpand() argument
60 ++newsize; in __slbexpand()
62 if (fp->_lb._size >= newsize) in __slbexpand()
64 if ((p = realloc(fp->_lb._base, newsize)) == NULL) in __slbexpand()
67 fp->_lb._size = newsize; in __slbexpand()
/bionic/libc/upstream-dlmalloc/
Dmalloc.h596 void* mspace_realloc(mspace msp, void* mem, size_t newsize);
597 void* mspace_realloc_in_place(mspace msp, void* mem, size_t newsize);
Dmalloc.c1345 DLMALLOC_EXPORT void* mspace_realloc(mspace msp, void* mem, size_t newsize);
4335 size_t newsize = sp->size - extra; in sys_trim() local
4336 (void)newsize; /* placate people compiling -Wunused-variable */ in sys_trim()
4338 if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) != MFAIL) || in sys_trim()
4339 (CALL_MUNMAP(sp->base + newsize, extra) == 0)) { in sys_trim()
4855 size_t newsize = oldsize + m->topsize; in try_realloc_chunk() local
4856 size_t newtopsize = newsize - nb; in try_realloc_chunk()
4879 size_t newsize = oldsize + dvs; in try_realloc_chunk() local
4880 set_inuse(m, p, newsize); in try_realloc_chunk()
4893 size_t newsize = oldsize + nextsize; in try_realloc_chunk() local
[all …]
/bionic/libc/stdio/
Dvfprintf.c1200 int newsize = *tablesize * 2; in __grow_type_table() local
1204 sizeof (unsigned char) * newsize, PROT_WRITE|PROT_READ, in __grow_type_table()
1210 sizeof (unsigned char) * newsize, PROT_WRITE|PROT_READ, in __grow_type_table()
1217 memset(*typetable + *tablesize, T_UNUSED, (newsize - *tablesize)); in __grow_type_table()
1219 *tablesize = newsize; in __grow_type_table()