Lines Matching refs:rhs

283 ios_base::copyfmt(const ios_base& rhs)
291 if (__event_cap_ < rhs.__event_size_)
293 size_t newesize = sizeof(event_callback) * rhs.__event_size_;
298 size_t newisize = sizeof(int) * rhs.__event_size_;
303 if (__iarray_cap_ < rhs.__iarray_size_)
305 size_t newsize = sizeof(long) * rhs.__iarray_size_;
310 if (__parray_cap_ < rhs.__parray_size_)
312 size_t newsize = sizeof(void*) * rhs.__parray_size_;
318 __fmtflags_ = rhs.__fmtflags_;
319 __precision_ = rhs.__precision_;
320 __width_ = rhs.__width_;
322 const locale& rhs_loc = *reinterpret_cast<const locale*>(&rhs.__loc_);
324 if (__event_cap_ < rhs.__event_size_)
330 __event_cap_ = rhs.__event_size_;
332 for (__event_size_ = 0; __event_size_ < rhs.__event_size_; ++__event_size_)
334 __fn_[__event_size_] = rhs.__fn_[__event_size_];
335 __index_[__event_size_] = rhs.__index_[__event_size_];
337 if (__iarray_cap_ < rhs.__iarray_size_)
341 __iarray_cap_ = rhs.__iarray_size_;
343 for (__iarray_size_ = 0; __iarray_size_ < rhs.__iarray_size_; ++__iarray_size_)
344 __iarray_[__iarray_size_] = rhs.__iarray_[__iarray_size_];
345 if (__parray_cap_ < rhs.__parray_size_)
349 __parray_cap_ = rhs.__parray_size_;
351 for (__parray_size_ = 0; __parray_size_ < rhs.__parray_size_; ++__parray_size_)
352 __parray_[__parray_size_] = rhs.__parray_[__parray_size_];
356 ios_base::move(ios_base& rhs)
359 __fmtflags_ = rhs.__fmtflags_;
360 __precision_ = rhs.__precision_;
361 __width_ = rhs.__width_;
362 __rdstate_ = rhs.__rdstate_;
363 __exceptions_ = rhs.__exceptions_;
365 locale& rhs_loc = *reinterpret_cast<locale*>(&rhs.__loc_);
367 __fn_ = rhs.__fn_;
368 rhs.__fn_ = 0;
369 __index_ = rhs.__index_;
370 rhs.__index_ = 0;
371 __event_size_ = rhs.__event_size_;
372 rhs.__event_size_ = 0;
373 __event_cap_ = rhs.__event_cap_;
374 rhs.__event_cap_ = 0;
375 __iarray_ = rhs.__iarray_;
376 rhs.__iarray_ = 0;
377 __iarray_size_ = rhs.__iarray_size_;
378 rhs.__iarray_size_ = 0;
379 __iarray_cap_ = rhs.__iarray_cap_;
380 rhs.__iarray_cap_ = 0;
381 __parray_ = rhs.__parray_;
382 rhs.__parray_ = 0;
383 __parray_size_ = rhs.__parray_size_;
384 rhs.__parray_size_ = 0;
385 __parray_cap_ = rhs.__parray_cap_;
386 rhs.__parray_cap_ = 0;
390 ios_base::swap(ios_base& rhs) noexcept
392 _VSTD::swap(__fmtflags_, rhs.__fmtflags_);
393 _VSTD::swap(__precision_, rhs.__precision_);
394 _VSTD::swap(__width_, rhs.__width_);
395 _VSTD::swap(__rdstate_, rhs.__rdstate_);
396 _VSTD::swap(__exceptions_, rhs.__exceptions_);
398 locale& rhs_loc = *reinterpret_cast<locale*>(&rhs.__loc_);
400 _VSTD::swap(__fn_, rhs.__fn_);
401 _VSTD::swap(__index_, rhs.__index_);
402 _VSTD::swap(__event_size_, rhs.__event_size_);
403 _VSTD::swap(__event_cap_, rhs.__event_cap_);
404 _VSTD::swap(__iarray_, rhs.__iarray_);
405 _VSTD::swap(__iarray_size_, rhs.__iarray_size_);
406 _VSTD::swap(__iarray_cap_, rhs.__iarray_cap_);
407 _VSTD::swap(__parray_, rhs.__parray_);
408 _VSTD::swap(__parray_size_, rhs.__parray_size_);
409 _VSTD::swap(__parray_cap_, rhs.__parray_cap_);