Searched refs:newsize (Results 1 – 3 of 3) 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 | vfprintf.c | 1499 int newsize = *tablesize * 2; in __grow_type_table() local 1501 if (newsize < getpagesize()) in __grow_type_table() 1502 newsize = getpagesize(); in __grow_type_table() 1505 *typetable = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1511 unsigned char *new = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1519 memset(*typetable + *tablesize, T_UNUSED, (newsize - *tablesize)); in __grow_type_table() 1521 *tablesize = newsize; in __grow_type_table()
|
D | vfwprintf.c | 1448 int newsize = *tablesize * 2; in __grow_type_table() local 1450 if (newsize < getpagesize()) in __grow_type_table() 1451 newsize = getpagesize(); in __grow_type_table() 1454 *typetable = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1460 unsigned char *new = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1468 memset(*typetable + *tablesize, T_UNUSED, (newsize - *tablesize)); in __grow_type_table() 1470 *tablesize = newsize; in __grow_type_table()
|