Lines Matching refs:__rhs
197 basic_filebuf(basic_filebuf&& __rhs);
204 basic_filebuf& operator=(basic_filebuf&& __rhs);
206 void swap(basic_filebuf& __rhs);
282 basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs)
283 : basic_streambuf<_CharT, _Traits>(__rhs)
285 if (__rhs.__extbuf_ == __rhs.__extbuf_min_)
288 __extbufnext_ = __extbuf_ + (__rhs.__extbufnext_ - __rhs.__extbuf_);
289 __extbufend_ = __extbuf_ + (__rhs.__extbufend_ - __rhs.__extbuf_);
293 __extbuf_ = __rhs.__extbuf_;
294 __extbufnext_ = __rhs.__extbufnext_;
295 __extbufend_ = __rhs.__extbufend_;
297 __ebs_ = __rhs.__ebs_;
298 __intbuf_ = __rhs.__intbuf_;
299 __ibs_ = __rhs.__ibs_;
300 __file_ = __rhs.__file_;
301 __cv_ = __rhs.__cv_;
302 __st_ = __rhs.__st_;
303 __st_last_ = __rhs.__st_last_;
304 __om_ = __rhs.__om_;
305 __cm_ = __rhs.__cm_;
306 __owns_eb_ = __rhs.__owns_eb_;
307 __owns_ib_ = __rhs.__owns_ib_;
308 __always_noconv_ = __rhs.__always_noconv_;
309 if (__rhs.pbase())
311 if (__rhs.pbase() == __rhs.__intbuf_)
312 this->setp(__intbuf_, __intbuf_ + (__rhs. epptr() - __rhs.pbase()));
315 (char_type*)__extbuf_ + (__rhs. epptr() - __rhs.pbase()));
316 this->pbump(__rhs. pptr() - __rhs.pbase());
318 else if (__rhs.eback())
320 if (__rhs.eback() == __rhs.__intbuf_)
321 this->setg(__intbuf_, __intbuf_ + (__rhs.gptr() - __rhs.eback()),
322 __intbuf_ + (__rhs.egptr() - __rhs.eback()));
325 (char_type*)__extbuf_ + (__rhs.gptr() - __rhs.eback()),
326 (char_type*)__extbuf_ + (__rhs.egptr() - __rhs.eback()));
328 __rhs.__extbuf_ = 0;
329 __rhs.__extbufnext_ = 0;
330 __rhs.__extbufend_ = 0;
331 __rhs.__ebs_ = 0;
332 __rhs.__intbuf_ = 0;
333 __rhs.__ibs_ = 0;
334 __rhs.__file_ = 0;
335 __rhs.__st_ = state_type();
336 __rhs.__st_last_ = state_type();
337 __rhs.__om_ = 0;
338 __rhs.__cm_ = 0;
339 __rhs.__owns_eb_ = false;
340 __rhs.__owns_ib_ = false;
341 __rhs.setg(0, 0, 0);
342 __rhs.setp(0, 0);
348 basic_filebuf<_CharT, _Traits>::operator=(basic_filebuf&& __rhs)
351 swap(__rhs);
379 basic_filebuf<_CharT, _Traits>::swap(basic_filebuf& __rhs)
381 basic_streambuf<char_type, traits_type>::swap(__rhs);
382 if (__extbuf_ != __extbuf_min_ && __rhs.__extbuf_ != __rhs.__extbuf_min_)
384 _VSTD::swap(__extbuf_, __rhs.__extbuf_);
385 _VSTD::swap(__extbufnext_, __rhs.__extbufnext_);
386 _VSTD::swap(__extbufend_, __rhs.__extbufend_);
392 ptrdiff_t __rn = __rhs.__extbufnext_ - __rhs.__extbuf_;
393 ptrdiff_t __re = __rhs.__extbufend_ - __rhs.__extbuf_;
394 if (__extbuf_ == __extbuf_min_ && __rhs.__extbuf_ != __rhs.__extbuf_min_)
396 __extbuf_ = __rhs.__extbuf_;
397 __rhs.__extbuf_ = __rhs.__extbuf_min_;
399 else if (__extbuf_ != __extbuf_min_ && __rhs.__extbuf_ == __rhs.__extbuf_min_)
401 __rhs.__extbuf_ = __extbuf_;
406 __rhs.__extbufnext_ = __rhs.__extbuf_ + __ln;
407 __rhs.__extbufend_ = __rhs.__extbuf_ + __le;
409 _VSTD::swap(__ebs_, __rhs.__ebs_);
410 _VSTD::swap(__intbuf_, __rhs.__intbuf_);
411 _VSTD::swap(__ibs_, __rhs.__ibs_);
412 _VSTD::swap(__file_, __rhs.__file_);
413 _VSTD::swap(__cv_, __rhs.__cv_);
414 _VSTD::swap(__st_, __rhs.__st_);
415 _VSTD::swap(__st_last_, __rhs.__st_last_);
416 _VSTD::swap(__om_, __rhs.__om_);
417 _VSTD::swap(__cm_, __rhs.__cm_);
418 _VSTD::swap(__owns_eb_, __rhs.__owns_eb_);
419 _VSTD::swap(__owns_ib_, __rhs.__owns_ib_);
420 _VSTD::swap(__always_noconv_, __rhs.__always_noconv_);
421 if (this->eback() == (char_type*)__rhs.__extbuf_min_)
429 else if (this->pbase() == (char_type*)__rhs.__extbuf_min_)
437 if (__rhs.eback() == (char_type*)__extbuf_min_)
439 ptrdiff_t __n = __rhs.gptr() - __rhs.eback();
440 ptrdiff_t __e = __rhs.egptr() - __rhs.eback();
441 __rhs.setg((char_type*)__rhs.__extbuf_min_,
442 (char_type*)__rhs.__extbuf_min_ + __n,
443 (char_type*)__rhs.__extbuf_min_ + __e);
445 else if (__rhs.pbase() == (char_type*)__extbuf_min_)
447 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase();
448 ptrdiff_t __e = __rhs.epptr() - __rhs.pbase();
449 __rhs.setp((char_type*)__rhs.__extbuf_min_,
450 (char_type*)__rhs.__extbuf_min_ + __e);
451 __rhs.pbump(__n);
1022 basic_ifstream(basic_ifstream&& __rhs);
1027 basic_ifstream& operator=(basic_ifstream&& __rhs);
1030 void swap(basic_ifstream& __rhs);
1078 basic_ifstream<_CharT, _Traits>::basic_ifstream(basic_ifstream&& __rhs)
1079 : basic_istream<char_type, traits_type>(_VSTD::move(__rhs)),
1080 __sb_(_VSTD::move(__rhs.__sb_))
1088 basic_ifstream<_CharT, _Traits>::operator=(basic_ifstream&& __rhs)
1090 basic_istream<char_type, traits_type>::operator=(_VSTD::move(__rhs));
1091 __sb_ = _VSTD::move(__rhs.__sb_);
1100 basic_ifstream<_CharT, _Traits>::swap(basic_ifstream& __rhs)
1102 basic_istream<char_type, traits_type>::swap(__rhs);
1103 __sb_.swap(__rhs.__sb_);
1182 basic_ofstream(basic_ofstream&& __rhs);
1187 basic_ofstream& operator=(basic_ofstream&& __rhs);
1190 void swap(basic_ofstream& __rhs);
1238 basic_ofstream<_CharT, _Traits>::basic_ofstream(basic_ofstream&& __rhs)
1239 : basic_ostream<char_type, traits_type>(_VSTD::move(__rhs)),
1240 __sb_(_VSTD::move(__rhs.__sb_))
1248 basic_ofstream<_CharT, _Traits>::operator=(basic_ofstream&& __rhs)
1250 basic_ostream<char_type, traits_type>::operator=(_VSTD::move(__rhs));
1251 __sb_ = _VSTD::move(__rhs.__sb_);
1260 basic_ofstream<_CharT, _Traits>::swap(basic_ofstream& __rhs)
1262 basic_ostream<char_type, traits_type>::swap(__rhs);
1263 __sb_.swap(__rhs.__sb_);
1344 basic_fstream(basic_fstream&& __rhs);
1349 basic_fstream& operator=(basic_fstream&& __rhs);
1352 void swap(basic_fstream& __rhs);
1400 basic_fstream<_CharT, _Traits>::basic_fstream(basic_fstream&& __rhs)
1401 : basic_iostream<char_type, traits_type>(_VSTD::move(__rhs)),
1402 __sb_(_VSTD::move(__rhs.__sb_))
1410 basic_fstream<_CharT, _Traits>::operator=(basic_fstream&& __rhs)
1412 basic_iostream<char_type, traits_type>::operator=(_VSTD::move(__rhs));
1413 __sb_ = _VSTD::move(__rhs.__sb_);
1422 basic_fstream<_CharT, _Traits>::swap(basic_fstream& __rhs)
1424 basic_iostream<char_type, traits_type>::swap(__rhs);
1425 __sb_.swap(__rhs.__sb_);