Lines Matching refs:__rhs

216     basic_filebuf(basic_filebuf&& __rhs);
223 basic_filebuf& operator=(basic_filebuf&& __rhs);
225 void swap(basic_filebuf& __rhs);
317 basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs)
318 : basic_streambuf<_CharT, _Traits>(__rhs)
320 if (__rhs.__extbuf_ == __rhs.__extbuf_min_)
323 __extbufnext_ = __extbuf_ + (__rhs.__extbufnext_ - __rhs.__extbuf_);
324 __extbufend_ = __extbuf_ + (__rhs.__extbufend_ - __rhs.__extbuf_);
328 __extbuf_ = __rhs.__extbuf_;
329 __extbufnext_ = __rhs.__extbufnext_;
330 __extbufend_ = __rhs.__extbufend_;
332 __ebs_ = __rhs.__ebs_;
333 __intbuf_ = __rhs.__intbuf_;
334 __ibs_ = __rhs.__ibs_;
335 __file_ = __rhs.__file_;
336 __cv_ = __rhs.__cv_;
337 __st_ = __rhs.__st_;
338 __st_last_ = __rhs.__st_last_;
339 __om_ = __rhs.__om_;
340 __cm_ = __rhs.__cm_;
341 __owns_eb_ = __rhs.__owns_eb_;
342 __owns_ib_ = __rhs.__owns_ib_;
343 __always_noconv_ = __rhs.__always_noconv_;
344 if (__rhs.pbase())
346 if (__rhs.pbase() == __rhs.__intbuf_)
347 this->setp(__intbuf_, __intbuf_ + (__rhs. epptr() - __rhs.pbase()));
350 (char_type*)__extbuf_ + (__rhs. epptr() - __rhs.pbase()));
351 this->__pbump(__rhs. pptr() - __rhs.pbase());
353 else if (__rhs.eback())
355 if (__rhs.eback() == __rhs.__intbuf_)
356 this->setg(__intbuf_, __intbuf_ + (__rhs.gptr() - __rhs.eback()),
357 __intbuf_ + (__rhs.egptr() - __rhs.eback()));
360 (char_type*)__extbuf_ + (__rhs.gptr() - __rhs.eback()),
361 (char_type*)__extbuf_ + (__rhs.egptr() - __rhs.eback()));
363 __rhs.__extbuf_ = 0;
364 __rhs.__extbufnext_ = 0;
365 __rhs.__extbufend_ = 0;
366 __rhs.__ebs_ = 0;
367 __rhs.__intbuf_ = 0;
368 __rhs.__ibs_ = 0;
369 __rhs.__file_ = 0;
370 __rhs.__st_ = state_type();
371 __rhs.__st_last_ = state_type();
372 __rhs.__om_ = 0;
373 __rhs.__cm_ = 0;
374 __rhs.__owns_eb_ = false;
375 __rhs.__owns_ib_ = false;
376 __rhs.setg(0, 0, 0);
377 __rhs.setp(0, 0);
383 basic_filebuf<_CharT, _Traits>::operator=(basic_filebuf&& __rhs)
386 swap(__rhs);
414 basic_filebuf<_CharT, _Traits>::swap(basic_filebuf& __rhs)
416 basic_streambuf<char_type, traits_type>::swap(__rhs);
417 if (__extbuf_ != __extbuf_min_ && __rhs.__extbuf_ != __rhs.__extbuf_min_)
419 _VSTD::swap(__extbuf_, __rhs.__extbuf_);
420 _VSTD::swap(__extbufnext_, __rhs.__extbufnext_);
421 _VSTD::swap(__extbufend_, __rhs.__extbufend_);
427 ptrdiff_t __rn = __rhs.__extbufnext_ - __rhs.__extbuf_;
428 ptrdiff_t __re = __rhs.__extbufend_ - __rhs.__extbuf_;
429 if (__extbuf_ == __extbuf_min_ && __rhs.__extbuf_ != __rhs.__extbuf_min_)
431 __extbuf_ = __rhs.__extbuf_;
432 __rhs.__extbuf_ = __rhs.__extbuf_min_;
434 else if (__extbuf_ != __extbuf_min_ && __rhs.__extbuf_ == __rhs.__extbuf_min_)
436 __rhs.__extbuf_ = __extbuf_;
441 __rhs.__extbufnext_ = __rhs.__extbuf_ + __ln;
442 __rhs.__extbufend_ = __rhs.__extbuf_ + __le;
444 _VSTD::swap(__ebs_, __rhs.__ebs_);
445 _VSTD::swap(__intbuf_, __rhs.__intbuf_);
446 _VSTD::swap(__ibs_, __rhs.__ibs_);
447 _VSTD::swap(__file_, __rhs.__file_);
448 _VSTD::swap(__cv_, __rhs.__cv_);
449 _VSTD::swap(__st_, __rhs.__st_);
450 _VSTD::swap(__st_last_, __rhs.__st_last_);
451 _VSTD::swap(__om_, __rhs.__om_);
452 _VSTD::swap(__cm_, __rhs.__cm_);
453 _VSTD::swap(__owns_eb_, __rhs.__owns_eb_);
454 _VSTD::swap(__owns_ib_, __rhs.__owns_ib_);
455 _VSTD::swap(__always_noconv_, __rhs.__always_noconv_);
456 if (this->eback() == (char_type*)__rhs.__extbuf_min_)
464 else if (this->pbase() == (char_type*)__rhs.__extbuf_min_)
472 if (__rhs.eback() == (char_type*)__extbuf_min_)
474 ptrdiff_t __n = __rhs.gptr() - __rhs.eback();
475 ptrdiff_t __e = __rhs.egptr() - __rhs.eback();
476 __rhs.setg((char_type*)__rhs.__extbuf_min_,
477 (char_type*)__rhs.__extbuf_min_ + __n,
478 (char_type*)__rhs.__extbuf_min_ + __e);
480 else if (__rhs.pbase() == (char_type*)__extbuf_min_)
482 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase();
483 ptrdiff_t __e = __rhs.epptr() - __rhs.pbase();
484 __rhs.setp((char_type*)__rhs.__extbuf_min_,
485 (char_type*)__rhs.__extbuf_min_ + __e);
486 __rhs.__pbump(__n);
1162 basic_ifstream(basic_ifstream&& __rhs);
1165 basic_ifstream& operator=(basic_ifstream&& __rhs);
1168 void swap(basic_ifstream& __rhs);
1240 basic_ifstream<_CharT, _Traits>::basic_ifstream(basic_ifstream&& __rhs)
1241 : basic_istream<char_type, traits_type>(_VSTD::move(__rhs)),
1242 __sb_(_VSTD::move(__rhs.__sb_))
1250 basic_ifstream<_CharT, _Traits>::operator=(basic_ifstream&& __rhs)
1252 basic_istream<char_type, traits_type>::operator=(_VSTD::move(__rhs));
1253 __sb_ = _VSTD::move(__rhs.__sb_);
1262 basic_ifstream<_CharT, _Traits>::swap(basic_ifstream& __rhs)
1264 basic_istream<char_type, traits_type>::swap(__rhs);
1265 __sb_.swap(__rhs.__sb_);
1376 basic_ofstream(basic_ofstream&& __rhs);
1379 basic_ofstream& operator=(basic_ofstream&& __rhs);
1382 void swap(basic_ofstream& __rhs);
1453 basic_ofstream<_CharT, _Traits>::basic_ofstream(basic_ofstream&& __rhs)
1454 : basic_ostream<char_type, traits_type>(_VSTD::move(__rhs)),
1455 __sb_(_VSTD::move(__rhs.__sb_))
1463 basic_ofstream<_CharT, _Traits>::operator=(basic_ofstream&& __rhs)
1465 basic_ostream<char_type, traits_type>::operator=(_VSTD::move(__rhs));
1466 __sb_ = _VSTD::move(__rhs.__sb_);
1475 basic_ofstream<_CharT, _Traits>::swap(basic_ofstream& __rhs)
1477 basic_ostream<char_type, traits_type>::swap(__rhs);
1478 __sb_.swap(__rhs.__sb_);
1591 basic_fstream(basic_fstream&& __rhs);
1594 basic_fstream& operator=(basic_fstream&& __rhs);
1597 void swap(basic_fstream& __rhs);
1666 basic_fstream<_CharT, _Traits>::basic_fstream(basic_fstream&& __rhs)
1667 : basic_iostream<char_type, traits_type>(_VSTD::move(__rhs)),
1668 __sb_(_VSTD::move(__rhs.__sb_))
1676 basic_fstream<_CharT, _Traits>::operator=(basic_fstream&& __rhs)
1678 basic_iostream<char_type, traits_type>::operator=(_VSTD::move(__rhs));
1679 __sb_ = _VSTD::move(__rhs.__sb_);
1688 basic_fstream<_CharT, _Traits>::swap(basic_fstream& __rhs)
1690 basic_iostream<char_type, traits_type>::swap(__rhs);
1691 __sb_.swap(__rhs.__sb_);