Searched refs:oldbuf (Results 1 – 3 of 3) sorted by relevance
186 char *oldbuf = fp->_IO_buf_base; in enlarge_userbuf() local191 if (oldbuf != NULL) in enlarge_userbuf()193 memcpy (newbuf, oldbuf, _IO_blen (fp)); in enlarge_userbuf()194 free (oldbuf); in enlarge_userbuf()204 fp->_IO_write_base = newbuf + (fp->_IO_write_base - oldbuf); in enlarge_userbuf()205 fp->_IO_write_ptr = newbuf + (fp->_IO_write_ptr - oldbuf); in enlarge_userbuf()206 fp->_IO_write_end = newbuf + (fp->_IO_write_end - oldbuf); in enlarge_userbuf()207 fp->_IO_read_ptr = newbuf + (fp->_IO_read_ptr - oldbuf); in enlarge_userbuf()214 fp->_IO_read_base = newbuf + (fp->_IO_read_base - oldbuf); in enlarge_userbuf()215 fp->_IO_read_ptr = newbuf + (fp->_IO_read_ptr - oldbuf); in enlarge_userbuf()[all …]
189 wchar_t *oldbuf = wd->_IO_buf_base; in enlarge_userbuf() local194 if (oldbuf != NULL) in enlarge_userbuf()196 __wmemcpy (newbuf, oldbuf, _IO_wblen (fp)); in enlarge_userbuf()197 free (oldbuf); in enlarge_userbuf()207 wd->_IO_write_base = newbuf + (wd->_IO_write_base - oldbuf); in enlarge_userbuf()208 wd->_IO_write_ptr = newbuf + (wd->_IO_write_ptr - oldbuf); in enlarge_userbuf()209 wd->_IO_write_end = newbuf + (wd->_IO_write_end - oldbuf); in enlarge_userbuf()210 wd->_IO_read_ptr = newbuf + (wd->_IO_read_ptr - oldbuf); in enlarge_userbuf()217 wd->_IO_read_base = newbuf + (wd->_IO_read_base - oldbuf); in enlarge_userbuf()218 wd->_IO_read_ptr = newbuf + (wd->_IO_read_ptr - oldbuf); in enlarge_userbuf()[all …]
121 char *oldbuf = buf; in clnt_sperror() local123 free (oldbuf); in clnt_sperror()306 char *oldbuf = buf; in libc_hidden_def() local308 free (oldbuf); in libc_hidden_def()