Lines Matching refs:this

51     this->init(__sb);  in basic_ostream()
74 return __pf(*this);
79 __pf(*this);
80 return *this;
84 __pf(*this);
85 return *this;
113 _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; }
170 this->move(__rhs); in basic_ostream()
176 return *this;
188 sentry __s(*this);
198 _Op __o(*this);
206 this->setstate(ios_base::failbit);
209 this->__set_failbit_and_consider_rethrow(); in catch()
213 this->setstate(ios_base::badbit);
217 this->__set_badbit_and_consider_rethrow(); in catch()
220 return *this;
228 sentry __s(*this);
231 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
232 if (__f.put(*this, *this, this->fill(), __n).failed())
233 this->setstate(ios_base::badbit | ios_base::failbit);
237 this->__set_badbit_and_consider_rethrow(); in catch()
240 return *this;
248 sentry __s(*this);
252 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
253 if (__f.put(*this,
254 *this,
255 this->fill(),
260 this->setstate(ios_base::badbit | ios_base::failbit);
264 this->__set_badbit_and_consider_rethrow(); in catch()
267 return *this;
275 sentry __s(*this);
278 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
279 if (__f.put(*this, *this, this->fill(), static_cast<unsigned long>(__n)).failed())
280 this->setstate(ios_base::badbit | ios_base::failbit);
284 this->__set_badbit_and_consider_rethrow(); in catch()
287 return *this;
295 sentry __s(*this);
299 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
300 if (__f.put(*this,
301 *this,
302 this->fill(),
307 this->setstate(ios_base::badbit | ios_base::failbit);
311 this->__set_badbit_and_consider_rethrow(); in catch()
314 return *this;
322 sentry __s(*this);
325 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
326 if (__f.put(*this, *this, this->fill(), static_cast<unsigned long>(__n)).failed())
327 this->setstate(ios_base::badbit | ios_base::failbit);
331 this->__set_badbit_and_consider_rethrow(); in catch()
334 return *this;
342 sentry __s(*this);
345 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
346 if (__f.put(*this, *this, this->fill(), __n).failed())
347 this->setstate(ios_base::badbit | ios_base::failbit);
351 this->__set_badbit_and_consider_rethrow(); in catch()
354 return *this;
362 sentry __s(*this);
365 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
366 if (__f.put(*this, *this, this->fill(), __n).failed())
367 this->setstate(ios_base::badbit | ios_base::failbit);
371 this->__set_badbit_and_consider_rethrow(); in catch()
374 return *this;
382 sentry __s(*this);
385 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
386 if (__f.put(*this, *this, this->fill(), __n).failed())
387 this->setstate(ios_base::badbit | ios_base::failbit);
391 this->__set_badbit_and_consider_rethrow(); in catch()
394 return *this;
402 sentry __s(*this);
405 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
406 if (__f.put(*this, *this, this->fill(), __n).failed())
407 this->setstate(ios_base::badbit | ios_base::failbit);
411 this->__set_badbit_and_consider_rethrow(); in catch()
414 return *this;
422 sentry __s(*this);
425 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
426 if (__f.put(*this, *this, this->fill(), static_cast<double>(__n)).failed())
427 this->setstate(ios_base::badbit | ios_base::failbit);
431 this->__set_badbit_and_consider_rethrow(); in catch()
434 return *this;
442 sentry __s(*this);
445 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
446 if (__f.put(*this, *this, this->fill(), __n).failed())
447 this->setstate(ios_base::badbit | ios_base::failbit);
451 this->__set_badbit_and_consider_rethrow(); in catch()
454 return *this;
462 sentry __s(*this);
465 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
466 if (__f.put(*this, *this, this->fill(), __n).failed())
467 this->setstate(ios_base::badbit | ios_base::failbit);
471 this->__set_badbit_and_consider_rethrow(); in catch()
474 return *this;
482 sentry __s(*this);
485 const _Fp& __f = std::use_facet<_Fp>(this->getloc());
486 if (__f.put(*this, *this, this->fill(), __n).failed())
487 this->setstate(ios_base::badbit | ios_base::failbit);
491 this->__set_badbit_and_consider_rethrow(); in catch()
494 return *this;
641 sentry __s(*this); in put()
644 _Op __o(*this); in put()
647 this->setstate(ios_base::badbit); in put()
651 this->__set_badbit_and_consider_rethrow(); in put()
654 return *this; in put()
662 sentry __sen(*this); in write()
664 if (this->rdbuf()->sputn(__s, __n) != __n) in write()
665 this->setstate(ios_base::badbit); in write()
669 this->__set_badbit_and_consider_rethrow(); in write()
672 return *this; in write()
680 if (this->rdbuf()) { in flush()
681 sentry __s(*this); in flush()
683 if (this->rdbuf()->pubsync() == -1) in flush()
684 this->setstate(ios_base::badbit); in flush()
689 this->__set_badbit_and_consider_rethrow(); in flush()
692 return *this; in flush()
697 if (this->fail()) in tellp()
699 return this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out); in tellp()
704 sentry __s(*this); in seekp()
705 if (!this->fail()) { in seekp()
706 if (this->rdbuf()->pubseekpos(__pos, ios_base::out) == pos_type(-1)) in seekp()
707 this->setstate(ios_base::failbit); in seekp()
709 return *this; in seekp()
714 sentry __s(*this); in seekp()
715 if (!this->fail()) { in seekp()
716 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::out) == pos_type(-1)) in seekp()
717 this->setstate(ios_base::failbit); in seekp()
719 return *this; in seekp()