Lines Matching refs:__rhs
197 basic_filebuf(basic_filebuf&& __rhs);
203 basic_filebuf& operator=(basic_filebuf&& __rhs);
205 void swap(basic_filebuf& __rhs);
277 basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs)
278 : basic_streambuf<_CharT, _Traits>(__rhs)
280 if (__rhs.__extbuf_ == __rhs.__extbuf_min_)
283 __extbufnext_ = __extbuf_ + (__rhs.__extbufnext_ - __rhs.__extbuf_);
284 __extbufend_ = __extbuf_ + (__rhs.__extbufend_ - __rhs.__extbuf_);
288 __extbuf_ = __rhs.__extbuf_;
289 __extbufnext_ = __rhs.__extbufnext_;
290 __extbufend_ = __rhs.__extbufend_;
292 __ebs_ = __rhs.__ebs_;
293 __intbuf_ = __rhs.__intbuf_;
294 __ibs_ = __rhs.__ibs_;
295 __file_ = __rhs.__file_;
296 __cv_ = __rhs.__cv_;
297 __st_ = __rhs.__st_;
298 __st_last_ = __rhs.__st_last_;
299 __om_ = __rhs.__om_;
300 __cm_ = __rhs.__cm_;
301 __owns_eb_ = __rhs.__owns_eb_;
302 __owns_ib_ = __rhs.__owns_ib_;
303 __always_noconv_ = __rhs.__always_noconv_;
304 if (__rhs.pbase())
306 if (__rhs.pbase() == __rhs.__intbuf_)
307 this->setp(__intbuf_, __intbuf_ + (__rhs. epptr() - __rhs.pbase()));
310 (char_type*)__extbuf_ + (__rhs. epptr() - __rhs.pbase()));
311 this->pbump(__rhs. pptr() - __rhs.pbase());
313 else if (__rhs.eback())
315 if (__rhs.eback() == __rhs.__intbuf_)
316 this->setg(__intbuf_, __intbuf_ + (__rhs.gptr() - __rhs.eback()),
317 __intbuf_ + (__rhs.egptr() - __rhs.eback()));
320 (char_type*)__extbuf_ + (__rhs.gptr() - __rhs.eback()),
321 (char_type*)__extbuf_ + (__rhs.egptr() - __rhs.eback()));
323 __rhs.__extbuf_ = 0;
324 __rhs.__extbufnext_ = 0;
325 __rhs.__extbufend_ = 0;
326 __rhs.__ebs_ = 0;
327 __rhs.__intbuf_ = 0;
328 __rhs.__ibs_ = 0;
329 __rhs.__file_ = 0;
330 __rhs.__st_ = state_type();
331 __rhs.__st_last_ = state_type();
332 __rhs.__om_ = 0;
333 __rhs.__cm_ = 0;
334 __rhs.__owns_eb_ = false;
335 __rhs.__owns_ib_ = false;
336 __rhs.setg(0, 0, 0);
337 __rhs.setp(0, 0);
343 basic_filebuf<_CharT, _Traits>::operator=(basic_filebuf&& __rhs)
346 swap(__rhs);
374 basic_filebuf<_CharT, _Traits>::swap(basic_filebuf& __rhs)
376 basic_streambuf<char_type, traits_type>::swap(__rhs);
377 if (__extbuf_ != __extbuf_min_ && __rhs.__extbuf_ != __rhs.__extbuf_min_)
379 _VSTD::swap(__extbuf_, __rhs.__extbuf_);
380 _VSTD::swap(__extbufnext_, __rhs.__extbufnext_);
381 _VSTD::swap(__extbufend_, __rhs.__extbufend_);
387 ptrdiff_t __rn = __rhs.__extbufnext_ - __rhs.__extbuf_;
388 ptrdiff_t __re = __rhs.__extbufend_ - __rhs.__extbuf_;
389 if (__extbuf_ == __extbuf_min_ && __rhs.__extbuf_ != __rhs.__extbuf_min_)
391 __extbuf_ = __rhs.__extbuf_;
392 __rhs.__extbuf_ = __rhs.__extbuf_min_;
394 else if (__extbuf_ != __extbuf_min_ && __rhs.__extbuf_ == __rhs.__extbuf_min_)
396 __rhs.__extbuf_ = __extbuf_;
401 __rhs.__extbufnext_ = __rhs.__extbuf_ + __ln;
402 __rhs.__extbufend_ = __rhs.__extbuf_ + __le;
404 _VSTD::swap(__ebs_, __rhs.__ebs_);
405 _VSTD::swap(__intbuf_, __rhs.__intbuf_);
406 _VSTD::swap(__ibs_, __rhs.__ibs_);
407 _VSTD::swap(__file_, __rhs.__file_);
408 _VSTD::swap(__cv_, __rhs.__cv_);
409 _VSTD::swap(__st_, __rhs.__st_);
410 _VSTD::swap(__st_last_, __rhs.__st_last_);
411 _VSTD::swap(__om_, __rhs.__om_);
412 _VSTD::swap(__cm_, __rhs.__cm_);
413 _VSTD::swap(__owns_eb_, __rhs.__owns_eb_);
414 _VSTD::swap(__owns_ib_, __rhs.__owns_ib_);
415 _VSTD::swap(__always_noconv_, __rhs.__always_noconv_);
416 if (this->eback() == (char_type*)__rhs.__extbuf_min_)
424 else if (this->pbase() == (char_type*)__rhs.__extbuf_min_)
432 if (__rhs.eback() == (char_type*)__extbuf_min_)
434 ptrdiff_t __n = __rhs.gptr() - __rhs.eback();
435 ptrdiff_t __e = __rhs.egptr() - __rhs.eback();
436 __rhs.setg((char_type*)__rhs.__extbuf_min_,
437 (char_type*)__rhs.__extbuf_min_ + __n,
438 (char_type*)__rhs.__extbuf_min_ + __e);
440 else if (__rhs.pbase() == (char_type*)__extbuf_min_)
442 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase();
443 ptrdiff_t __e = __rhs.epptr() - __rhs.pbase();
444 __rhs.setp((char_type*)__rhs.__extbuf_min_,
445 (char_type*)__rhs.__extbuf_min_ + __e);
446 __rhs.pbump(__n);
1011 basic_ifstream(basic_ifstream&& __rhs);
1015 basic_ifstream& operator=(basic_ifstream&& __rhs);
1017 void swap(basic_ifstream& __rhs);
1058 basic_ifstream<_CharT, _Traits>::basic_ifstream(basic_ifstream&& __rhs)
1059 : basic_istream<char_type, traits_type>(_VSTD::move(__rhs)),
1060 __sb_(_VSTD::move(__rhs.__sb_))
1068 basic_ifstream<_CharT, _Traits>::operator=(basic_ifstream&& __rhs)
1070 basic_istream<char_type, traits_type>::operator=(_VSTD::move(__rhs));
1071 __sb_ = _VSTD::move(__rhs.__sb_);
1080 basic_ifstream<_CharT, _Traits>::swap(basic_ifstream& __rhs)
1082 basic_istream<char_type, traits_type>::swap(__rhs);
1083 __sb_.swap(__rhs.__sb_);
1156 basic_ofstream(basic_ofstream&& __rhs);
1160 basic_ofstream& operator=(basic_ofstream&& __rhs);
1162 void swap(basic_ofstream& __rhs);
1203 basic_ofstream<_CharT, _Traits>::basic_ofstream(basic_ofstream&& __rhs)
1204 : basic_ostream<char_type, traits_type>(_VSTD::move(__rhs)),
1205 __sb_(_VSTD::move(__rhs.__sb_))
1213 basic_ofstream<_CharT, _Traits>::operator=(basic_ofstream&& __rhs)
1215 basic_ostream<char_type, traits_type>::operator=(_VSTD::move(__rhs));
1216 __sb_ = _VSTD::move(__rhs.__sb_);
1225 basic_ofstream<_CharT, _Traits>::swap(basic_ofstream& __rhs)
1227 basic_ostream<char_type, traits_type>::swap(__rhs);
1228 __sb_.swap(__rhs.__sb_);
1301 basic_fstream(basic_fstream&& __rhs);
1305 basic_fstream& operator=(basic_fstream&& __rhs);
1307 void swap(basic_fstream& __rhs);
1348 basic_fstream<_CharT, _Traits>::basic_fstream(basic_fstream&& __rhs)
1349 : basic_iostream<char_type, traits_type>(_VSTD::move(__rhs)),
1350 __sb_(_VSTD::move(__rhs.__sb_))
1358 basic_fstream<_CharT, _Traits>::operator=(basic_fstream&& __rhs)
1360 basic_iostream<char_type, traits_type>::operator=(_VSTD::move(__rhs));
1361 __sb_ = _VSTD::move(__rhs.__sb_);
1370 basic_fstream<_CharT, _Traits>::swap(basic_fstream& __rhs)
1372 basic_iostream<char_type, traits_type>::swap(__rhs);
1373 __sb_.swap(__rhs.__sb_);