Searched refs:old_buf (Results 1 – 3 of 3) sorted by relevance
101 char *old_buf = fp->_IO_buf_base; in _IO_str_overflow() local112 if (old_buf) in _IO_str_overflow()114 memcpy (new_buf, old_buf, old_blen); in _IO_str_overflow()115 free (old_buf); in _IO_str_overflow()122 fp->_IO_read_base = new_buf + (fp->_IO_read_base - old_buf); in _IO_str_overflow()123 fp->_IO_read_ptr = new_buf + (fp->_IO_read_ptr - old_buf); in _IO_str_overflow()124 fp->_IO_read_end = new_buf + (fp->_IO_read_end - old_buf); in _IO_str_overflow()125 fp->_IO_write_ptr = new_buf + (fp->_IO_write_ptr - old_buf); in _IO_str_overflow()
90 wchar_t *old_buf = fp->_wide_data->_IO_buf_base; in _IO_wstr_overflow() local104 if (old_buf) in _IO_wstr_overflow()106 __wmemcpy (new_buf, old_buf, old_wblen); in _IO_wstr_overflow()107 free (old_buf); in _IO_wstr_overflow()116 new_buf + (fp->_wide_data->_IO_read_base - old_buf); in _IO_wstr_overflow()118 new_buf + (fp->_wide_data->_IO_read_ptr - old_buf); in _IO_wstr_overflow()120 new_buf + (fp->_wide_data->_IO_read_end - old_buf); in _IO_wstr_overflow()122 new_buf + (fp->_wide_data->_IO_write_ptr - old_buf); in _IO_wstr_overflow()
59 char *old_buf = buf; \ in __open_catalog()64 free (old_buf); \ in __open_catalog()