Lines Matching refs:rhs

299 ios_base::copyfmt(const ios_base& rhs)
307 if (__event_cap_ < rhs.__event_size_)
309 size_t newesize = sizeof(event_callback) * rhs.__event_size_;
314 size_t newisize = sizeof(int) * rhs.__event_size_;
319 if (__iarray_cap_ < rhs.__iarray_size_)
321 size_t newsize = sizeof(long) * rhs.__iarray_size_;
326 if (__parray_cap_ < rhs.__parray_size_)
328 size_t newsize = sizeof(void*) * rhs.__parray_size_;
334 __fmtflags_ = rhs.__fmtflags_;
335 __precision_ = rhs.__precision_;
336 __width_ = rhs.__width_;
338 const locale& rhs_loc = *reinterpret_cast<const locale*>(&rhs.__loc_);
340 if (__event_cap_ < rhs.__event_size_)
346 __event_cap_ = rhs.__event_size_;
348 for (__event_size_ = 0; __event_size_ < rhs.__event_size_; ++__event_size_)
350 __fn_[__event_size_] = rhs.__fn_[__event_size_];
351 __index_[__event_size_] = rhs.__index_[__event_size_];
353 if (__iarray_cap_ < rhs.__iarray_size_)
357 __iarray_cap_ = rhs.__iarray_size_;
359 for (__iarray_size_ = 0; __iarray_size_ < rhs.__iarray_size_; ++__iarray_size_)
360 __iarray_[__iarray_size_] = rhs.__iarray_[__iarray_size_];
361 if (__parray_cap_ < rhs.__parray_size_)
365 __parray_cap_ = rhs.__parray_size_;
367 for (__parray_size_ = 0; __parray_size_ < rhs.__parray_size_; ++__parray_size_)
368 __parray_[__parray_size_] = rhs.__parray_[__parray_size_];
372 ios_base::move(ios_base& rhs)
375 __fmtflags_ = rhs.__fmtflags_;
376 __precision_ = rhs.__precision_;
377 __width_ = rhs.__width_;
378 __rdstate_ = rhs.__rdstate_;
379 __exceptions_ = rhs.__exceptions_;
381 locale& rhs_loc = *reinterpret_cast<locale*>(&rhs.__loc_);
383 __fn_ = rhs.__fn_;
384 rhs.__fn_ = 0;
385 __index_ = rhs.__index_;
386 rhs.__index_ = 0;
387 __event_size_ = rhs.__event_size_;
388 rhs.__event_size_ = 0;
389 __event_cap_ = rhs.__event_cap_;
390 rhs.__event_cap_ = 0;
391 __iarray_ = rhs.__iarray_;
392 rhs.__iarray_ = 0;
393 __iarray_size_ = rhs.__iarray_size_;
394 rhs.__iarray_size_ = 0;
395 __iarray_cap_ = rhs.__iarray_cap_;
396 rhs.__iarray_cap_ = 0;
397 __parray_ = rhs.__parray_;
398 rhs.__parray_ = 0;
399 __parray_size_ = rhs.__parray_size_;
400 rhs.__parray_size_ = 0;
401 __parray_cap_ = rhs.__parray_cap_;
402 rhs.__parray_cap_ = 0;
406 ios_base::swap(ios_base& rhs) _NOEXCEPT
408 _VSTD::swap(__fmtflags_, rhs.__fmtflags_);
409 _VSTD::swap(__precision_, rhs.__precision_);
410 _VSTD::swap(__width_, rhs.__width_);
411 _VSTD::swap(__rdstate_, rhs.__rdstate_);
412 _VSTD::swap(__exceptions_, rhs.__exceptions_);
414 locale& rhs_loc = *reinterpret_cast<locale*>(&rhs.__loc_);
416 _VSTD::swap(__fn_, rhs.__fn_);
417 _VSTD::swap(__index_, rhs.__index_);
418 _VSTD::swap(__event_size_, rhs.__event_size_);
419 _VSTD::swap(__event_cap_, rhs.__event_cap_);
420 _VSTD::swap(__iarray_, rhs.__iarray_);
421 _VSTD::swap(__iarray_size_, rhs.__iarray_size_);
422 _VSTD::swap(__iarray_cap_, rhs.__iarray_cap_);
423 _VSTD::swap(__parray_, rhs.__parray_);
424 _VSTD::swap(__parray_size_, rhs.__parray_size_);
425 _VSTD::swap(__parray_cap_, rhs.__parray_cap_);