Searched refs:newsize (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fgetln.c | 43 __slbexpand(FILE *fp, size_t newsize) in __slbexpand() argument 47 if (fp->_lb._size >= newsize) in __slbexpand() 49 if ((p = realloc(fp->_lb._base, newsize)) == NULL) in __slbexpand() 52 fp->_lb._size = newsize; in __slbexpand()
|
D | vfwprintf.c | 1458 int newsize = *tablesize * 2; in __grow_type_table() local 1460 if (newsize < getpagesize()) in __grow_type_table() 1461 newsize = getpagesize(); in __grow_type_table() 1464 *typetable = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1470 unsigned char *new = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1478 memset(*typetable + *tablesize, T_UNUSED, (newsize - *tablesize)); in __grow_type_table() 1480 *tablesize = newsize; in __grow_type_table()
|
D | vfprintf.c | 1492 int newsize = *tablesize * 2; in __grow_type_table() local 1494 if (newsize < getpagesize()) in __grow_type_table() 1495 newsize = getpagesize(); in __grow_type_table() 1498 *typetable = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1504 unsigned char *new = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1512 memset(*typetable + *tablesize, T_UNUSED, (newsize - *tablesize)); in __grow_type_table() 1514 *tablesize = newsize; in __grow_type_table()
|
/bionic/libc/upstream-dlmalloc/ |
D | malloc.h | 596 void* mspace_realloc(mspace msp, void* mem, size_t newsize); 597 void* mspace_realloc_in_place(mspace msp, void* mem, size_t newsize);
|
D | malloc.c | 1345 DLMALLOC_EXPORT void* mspace_realloc(mspace msp, void* mem, size_t newsize); 4337 size_t newsize = sp->size - extra; in sys_trim() local 4338 (void)newsize; /* placate people compiling -Wunused-variable */ in sys_trim() 4340 if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) != MFAIL) || in sys_trim() 4341 (CALL_MUNMAP(sp->base + newsize, extra) == 0)) { in sys_trim() 4857 size_t newsize = oldsize + m->topsize; in try_realloc_chunk() local 4858 size_t newtopsize = newsize - nb; in try_realloc_chunk() 4881 size_t newsize = oldsize + dvs; in try_realloc_chunk() local 4882 set_inuse(m, p, newsize); in try_realloc_chunk() 4895 size_t newsize = oldsize + nextsize; in try_realloc_chunk() local [all …]
|