Lines Matching refs:oldbuf
189 wchar_t *oldbuf = wd->_IO_buf_base; in enlarge_userbuf() local
194 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()
219 wd->_IO_read_end = newbuf + (wd->_IO_read_end - oldbuf); in enlarge_userbuf()
220 wd->_IO_write_ptr = newbuf + (wd->_IO_write_ptr - oldbuf); in enlarge_userbuf()