Home
last modified time | relevance | path

Searched refs:__os (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dprint.h31 __vprint_nonunicode(ostream& __os, string_view __fmt, format_args __args, bool __write_nl) { in __vprint_nonunicode() argument
43 ostream::sentry __s(__os); in __vprint_nonunicode()
45 string __o = std::vformat(__os.getloc(), __fmt, __args); in __vprint_nonunicode()
57 _Ip(__os), in __vprint_nonunicode()
59 (__os.flags() & ios_base::adjustfield) == ios_base::left ? __str + __len : __str, in __vprint_nonunicode()
61 __os, in __vprint_nonunicode()
62 __os.fill()) in __vprint_nonunicode()
64 __os.setstate(ios_base::badbit | ios_base::failbit); in __vprint_nonunicode()
68 __os.__set_badbit_and_consider_rethrow(); in __vprint_nonunicode()
75 _LIBCPP_HIDE_FROM_ABI inline void vprint_nonunicode(ostream& __os, string_view __fmt, format_args _… in vprint_nonunicode() argument
[all …]
H A Dbasic_ostream.h136 explicit sentry(basic_ostream<_CharT, _Traits>& __os);
145 …CharT, _Traits>::sentry::sentry(basic_ostream<_CharT, _Traits>& __os) : __ok_(false), __os_(__os) { in sentry() argument
146 if (__os.good()) { in sentry()
147 if (__os.tie()) in sentry()
148 __os.tie()->flush(); in sentry()
499 __put_character_sequence(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str, size_t __len) { in __put_character_sequence() argument
503 typename basic_ostream<_CharT, _Traits>::sentry __s(__os); in __put_character_sequence()
507 _Ip(__os), in __put_character_sequence()
509 (__os.flags() & ios_base::adjustfield) == ios_base::left ? __str + __len : __str, in __put_character_sequence()
511 __os, in __put_character_sequence()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dostream.h50 operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_time<_Duration>& __tp) {
51 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%F %T}"), __tp);
56 operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_days& __dp) {
57 return __os << year_month_day{__dp};
62 operator<<(basic_ostream<_CharT, _Traits>& __os, const file_time<_Duration> __tp) {
63 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%F %T}"), __tp);
68 operator<<(basic_ostream<_CharT, _Traits>& __os, const local_time<_Duration> __tp) {
69 return __os << sys_time<_Duration>{__tp.time_since_epoch()};
128 operator<<(basic_ostream<_CharT, _Traits>& __os, const duration<_Rep, _Period>& __d) {
130 __s.flags(__os.flags());
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Diomanip72 operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t1& __x) {
73 __os.unsetf(__x.__mask_);
74 return __os;
97 operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t2& __x) {
98 __os.setf(__x.__mask_);
99 return __os;
126 operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t3& __x) {
127 __os.setf(__x.__base_ == 8 ? ios_base::oct
132 return __os;
149 operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t4& __x) {
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__random/
H A Dnormal_distribution.h101 operator<<(basic_ostream<_CharT, _Traits>& __os, const normal_distribution<_RT>& __x); in param()
136 operator<<(basic_ostream<_CharT, _Traits>& __os, const normal_distribution<_RT>& __x) { in operator()
137 __save_flags<_CharT, _Traits> __lx(__os); in operator()
139 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific); in operator()
140 _CharT __sp = __os.widen(' '); in operator()
141 __os.fill(__sp); in operator()
142 __os << __x.mean() << __sp << __x.stddev() << __sp << __x.__v_hot_; in operator()
144 __os << __sp << __x.__v_; in operator()
145 return __os; in operator()
H A Dpiecewise_constant_distribution.h73 operator<<(basic_ostream<_CharT, _Traits>& __os, const piecewise_constant_distribution<_RT>& __x);
135 operator<<(basic_ostream<_CharT, _Traits>& __os, const piecewise_constant_distribution<_RT>& __x); in densities()
248 operator<<(basic_ostream<_CharT, _Traits>& __os, const piecewise_constant_distribution<_RT>& __x) { in param_type()
249 __save_flags<_CharT, _Traits> __lx(__os); in param_type()
251 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific); in param_type()
252 _CharT __sp = __os.widen(' '); in param_type()
253 __os.fill(__sp); in param_type()
255 __os << __n; in param_type()
257 __os << __sp << __x.__p_.__b_[__i]; in param_type()
259 __os << __s in param_type()
[all...]
H A Dweibull_distribution.h101 operator<<(basic_ostream<_CharT, _Traits>& __os, const weibull_distribution<_RT>& __x) {
102 __save_flags<_CharT, _Traits> __lx(__os);
104 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
105 _CharT __sp = __os.widen(' '); in max()
106 __os.fill(__sp);
107 __os << __x.a() << __sp << __x.b();
108 return __os;
H A Ddiscrete_distribution.h69 operator<<(basic_ostream<_CharT, _Traits>& __os, const discrete_distribution<_IT>& __x);
119 operator<<(basic_ostream<_CharT, _Traits>& __os, const discrete_distribution<_IT>& __x);
179 operator<<(basic_ostream<_CharT, _Traits>& __os, const discrete_distribution<_IT>& __x) { in __init()
180 __save_flags<_CharT, _Traits> __lx(__os); in __init()
182 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific); in __init()
183 _CharT __sp = __os.widen(' '); in __init()
184 __os.fill(__sp); in __init()
186 __os << __n; in __init()
188 __os << __sp << __x.__p_.__p_[__i]; in __init()
189 return __os; in __init()
[all...]
H A Dpiecewise_linear_distribution.h73 operator<<(basic_ostream<_CharT, _Traits>& __os, const piecewise_linear_distribution<_RT>& __x);
135 operator<<(basic_ostream<_CharT, _Traits>& __os, const piecewise_linear_distribution<_RT>& __x); in densities()
261 operator<<(basic_ostream<_CharT, _Traits>& __os, const piecewise_linear_distribution<_RT>& __x) { in param_type()
262 __save_flags<_CharT, _Traits> __lx(__os); in param_type()
264 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific); in param_type()
265 _CharT __sp = __os.widen(' '); in param_type()
266 __os.fill(__sp); in param_type()
268 __os << __n;
270 __os << __sp << __x.__p_.__b_[__i];
272 __os << __s
[all...]
H A Dcauchy_distribution.h108 operator<<(basic_ostream<_CharT, _Traits>& __os, const cauchy_distribution<_RT>& __x) {
109 __save_flags<_CharT, _Traits> __lx(__os);
111 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
112 _CharT __sp = __os.widen(' ');
113 __os.fill(__sp);
114 __os << __x.a() << __sp << __x.b();
115 return __os;
H A Dextreme_value_distribution.h108 operator<<(basic_ostream<_CharT, _Traits>& __os, const extreme_value_distribution<_RT>& __x) {
109 __save_flags<_CharT, _Traits> __lx(__os);
111 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
112 _CharT __sp = __os.widen(' ');
113 __os.fill(__sp);
114 __os << __x.a() << __sp << __x.b();
115 return __os;
H A Dfisher_f_distribution.h107 operator<<(basic_ostream<_CharT, _Traits>& __os, const fisher_f_distribution<_RT>& __x) {
108 __save_flags<_CharT, _Traits> __lx(__os);
110 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
111 _CharT __sp = __os.widen(' ');
112 __os.fill(__sp);
113 __os << __x.m() << __sp << __x.n();
114 return __os;
H A Dbernoulli_distribution.h95 operator<<(basic_ostream<_CharT, _Traits>& __os, const bernoulli_distribution& __x) {
96 __save_flags<_CharT, _Traits> __lx(__os);
98 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
99 _CharT __sp = __os.widen(' ');
100 __os.fill(__sp);
101 return __os << __x.p();
H A Duniform_real_distribution.h108 operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_real_distribution<_RT>& __x) {
109 __save_flags<_CharT, _Traits> __lx(__os);
111 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
112 _CharT __sp = __os.widen(' ');
113 __os.fill(__sp);
114 return __os << __x.a() << __sp << __x.b();
H A Dnegative_binomial_distribution.h127 operator<<(basic_ostream<_CharT, _Traits>& __os, const negative_binomial_distribution<_IntType>& __…
128 __save_flags<_CharT, _Traits> __lx(__os);
130 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
131 _CharT __sp = __os.widen(' ');
132 __os.fill(__sp);
133 return __os << __x.k() << __sp << __x.p();
H A Dgamma_distribution.h150 operator<<(basic_ostream<_CharT, _Traits>& __os, const gamma_distribution<_RT>& __x) { in operator()
151 __save_flags<_CharT, _Traits> __lx(__os); in operator()
153 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific); in operator()
154 _CharT __sp = __os.widen(' '); in operator()
155 __os.fill(__sp); in operator()
156 __os << __x.alpha() << __sp << __x.beta(); in operator()
157 return __os; in operator()
H A Dshuffle_order_engine.h131 operator<<(basic_ostream<_CharT, _Traits>& __os, const shuffle_order_engine<_Eng, _Kp>& __x);
193 operator<<(basic_ostream<_CharT, _Traits>& __os, const shuffle_order_engine<_Eng, _Kp>& __x) {
194 __save_flags<_CharT, _Traits> __lx(__os);
196 __os.flags(_Ostream::dec | _Ostream::left);
197 _CharT __sp = __os.widen(' ');
198 __os.fill(__sp);
199 __os << __x.__e_ << __sp << __x.__v_[0];
201 __os << __sp << __x.__v_[__i];
202 return __os << __sp << __x.__y_;
H A Ddiscard_block_engine.h106 operator<<(basic_ostream<_CharT, _Traits>& __os, const discard_block_engine<_Eng, _Pp, _Rp>& __x);
143 operator<<(basic_ostream<_CharT, _Traits>& __os, const discard_block_engine<_Eng, _Pp, _Rp>& __x) {
144 __save_flags<_CharT, _Traits> __lx(__os);
146 __os.flags(_Ostream::dec | _Ostream::left);
147 _CharT __sp = __os.widen(' ');
148 __os.fill(__sp);
149 return __os << __x.__e_ << __sp << __x.__n_;
H A Dchi_squared_distribution.h97 operator<<(basic_ostream<_CharT, _Traits>& __os, const chi_squared_distribution<_RT>& __x) { in max()
98 __save_flags<_CharT, _Traits> __lx(__os);
100 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
101 __os << __x.n();
102 return __os;
H A Dstudent_t_distribution.h104 operator<<(basic_ostream<_CharT, _Traits>& __os, const student_t_distribution<_RT>& __x) {
105 __save_flags<_CharT, _Traits> __lx(__os);
107 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
108 __os << __x.n();
109 return __os;
H A Dsubtract_with_carry_engine.h44 operator<<(basic_ostream<_CharT, _Traits>& __os, const subtract_with_carry_engine<_UInt, _Wp, _Sp, _Rp>& __x);
117 operator<<(basic_ostream<_CharT, _Traits>& __os, const subtract_with_carry_engine<_UInt, _Wp, _Sp, _Rp>& __x);
239 operator<<(basic_ostream<_CharT, _Traits>& __os, const subtract_with_carry_engine<_UInt, _Wp, _Sp, _Rp>& __x) {
240 __save_flags<_CharT, _Traits> __lx(__os);
242 __os.flags(_Ostream::dec | _Ostream::left); in operator()
243 _CharT __sp = __os.widen(' '); in operator()
244 __os.fill(__sp); in operator()
245 __os << __x.__x_[__x.__i_]; in operator()
247 __os << __sp << __x.__x_[__j]; in operator()
249 __os << __s in operator()
[all...]
H A Dbinomial_distribution.h168 operator<<(basic_ostream<_CharT, _Traits>& __os, const binomial_distribution<_IntType>& __x) { in operator()
169 __save_flags<_CharT, _Traits> __lx(__os); in operator()
171 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific); in operator()
172 _CharT __sp = __os.widen(' '); in operator()
173 __os.fill(__sp); in operator()
174 return __os << __x.t() << __sp << __x.p(); in operator()
H A Dgeometric_distribution.h94 operator<<(basic_ostream<_CharT, _Traits>& __os, const geometric_distribution<_IntType>& __x) {
95 __save_flags<_CharT, _Traits> __lx(__os);
97 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
98 return __os << __x.p(); in max()
H A Dexponential_distribution.h105 operator<<(basic_ostream<_CharT, _Traits>& __os, const exponential_distribution<_RealType>& __x) {
106 __save_flags<_CharT, _Traits> __lx(__os);
108 __os.flags(_OStream::dec | _OStream::left | _OStream::fixed | _OStream::scientific);
109 return __os << __x.lambda();
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Diterator85 _LIBCPP_HIDE_FROM_ABI ostream_joiner(ostream_type& __os, _Delim&& __d)
86 : __output_iter_(std::addressof(__os)), __delim_(std::move(__d)), __first_(true) {}
88 _LIBCPP_HIDE_FROM_ABI ostream_joiner(ostream_type& __os, const _Delim& __d)
89 : __output_iter_(std::addressof(__os)), __delim_(__d), __first_(true) {}
112 make_ostream_joiner(basic_ostream<_CharT, _Traits>& __os, _Delim&& __d) {
113 return ostream_joiner<__decay_t<_Delim>, _CharT, _Traits>(__os, std::forward<_Delim>(__d));

12