Home
last modified time | relevance | path

Searched refs:ios_base (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/src/
H A Dios.cpp56 ios_base::failure::failure(const string& msg, const error_code& ec) : system_error(ec, msg) {} in failure()
58 ios_base::failure::failure(const char* msg, const error_code& ec) : system_error(ec, msg) {} in failure()
60 ios_base::failure::~failure() throw() {} in ~failure()
64 const ios_base::fmtflags ios_base::boolalpha;
65 const ios_base::fmtflags ios_base::dec;
66 const ios_base::fmtflags ios_base::fixed;
67 const ios_base::fmtflags ios_base::hex;
68 const ios_base::fmtflags ios_base::internal;
69 const ios_base::fmtflags ios_base::left;
70 const ios_base::fmtflags ios_base::oct;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dios25 class ios_base
94 virtual ~ios_base();
98 typedef void (*event_callback)(event, ios_base&, int index);
101 ios_base(const ios_base&) = delete;
102 ios_base& operator=(const ios_base&) = delete;
107 ios_base();
112 : public ios_base
168 ios_base& boolalpha (ios_base& str);
169 ios_base& noboolalpha(ios_base& str);
170 ios_base& showbase (ios_base& str);
[all …]
H A Dfstream38 basic_filebuf* open(const char* s, ios_base::openmode mode);
39 basic_filebuf* open(const string& s, ios_base::openmode mode);
40 basic_filebuf* open(const filesystem::path& p, ios_base::openmode mode); // C++17
51 virtual pos_type seekoff(off_type off, ios_base::seekdir way,
52 ios_base::openmode which = ios_base::in | ios_base::out);
54 ios_base::openmode which = ios_base::in | ios_base::out);
79 explicit basic_ifstream(const char* s, ios_base::openmode mode = ios_base::in);
80 explicit basic_ifstream(const string& s, ios_base::openmode mode = ios_base::in);
82 explicit basic_ifstream(const T& s, ios_base::openmode mode = ios_base::in); // Since C++17
91 void open(const char* s, ios_base::openmode mode = ios_base::in);
[all …]
H A Dsstream32 … explicit basic_stringbuf(ios_base::openmode which = ios_base::in | ios_base::out); // before C++20
33 basic_stringbuf() : basic_stringbuf(ios_base::in | ios_base::out) {} // C++20
34 explicit basic_stringbuf(ios_base::openmode which); // C++20
36 ios_base::openmode which = ios_base::in | ios_base::out);
38 : basic_stringbuf(ios_base::in | ios_base::out, a) {} // C++20
39 basic_stringbuf(ios_base::openmode which, const allocator_type& a); // C++20
41 ios_base::openmode which = ios_base::in | ios_base::out); // C++20
44 : basic_stringbuf(s, ios_base::in | ios_base::out, a) {} // C++20
47 ios_base::openmode which, const allocator_type& a); // C++20
50 ios_base::openmode which = ios_base::in | ios_base::out); // C++20
[all …]
H A Distream44 basic_istream& operator>>(ios_base& (*pf)(ios_base&));
83 basic_istream& seekg(off_type, ios_base::seekdir);
237 inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_istream& operator>>(ios_base& (*__pf)(ios_base&)) {
297 basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
319 if (!__noskipws && (__is.flags() & ios_base::skipws)) {
328 __is.setstate(ios_base::failbit | ios_base::eofbit);
332 __is.setstate(ios_base::failbit);
353 ios_base::iostate __state = ios_base::goodbit;
364 __state |= ios_base::badbit;
366 if (__is.exceptions() & ios_base::badbit) {
[all …]
H A Dstrstream48 virtual pos_type seekoff(off_type off, ios_base::seekdir way,
49 ios_base::openmode which = ios_base::in | ios_base::out);
51 ios_base::openmode which = ios_base::in | ios_base::out);
89 ostrstream(char* s, int n, ios_base::openmode mode = ios_base::out);
114 strstream(char* s, int n, ios_base::openmode mode = ios_base::in | ios_base::out);
171 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | ios_b…
172 …pos_type seekpos(pos_type __sp, ios_base::openmode __which = ios_base::in | ios_base::out) overrid…
214 _LIBCPP_HIDE_FROM_ABI ostrstream(char* __s, int __n, ios_base::openmode __mode = ios_base::out)
243 …LIBCPP_HIDE_FROM_ABI strstream(char* __s, int __n, ios_base::openmode __mode = ios_base::in | ios_…
H A Dlocale284 ios_base::iostate& __err,
364 __err |= ios_base::eofbit;
370 __err |= ios_base::failbit;
377 static int __get_base(ios_base&);
386 __check_grouping(const string& __grouping, unsigned* __g, unsigned* __g_end, ios_base::iostate& __e…
390 …static string __stage2_float_prep(ios_base& __iob, _CharT* __atoms, _CharT& __decimal_point, _Char…
406 static string __stage2_int_prep(ios_base& __iob, _CharT* __atoms, _CharT& __thousands_sep);
420 static string __stage2_int_prep(ios_base& __iob, _CharT& __thousands_sep) {
427 …const _CharT* __do_widen(ios_base& __iob, _CharT* __atoms) const { return __do_widen_p(__iob, __at…
443 const _Tp* __do_widen_p(ios_base& __iob, _Tp* __atoms) const {
[all …]
H A Dstreambuf38 pos_type pubseekoff(off_type off, ios_base::seekdir way,
39 ios_base::openmode which = ios_base::in | ios_base::out);
41 ios_base::openmode which = ios_base::in | ios_base::out);
86 virtual pos_type seekoff(off_type off, ios_base::seekdir way,
87 ios_base::openmode which = ios_base::in | ios_base::out);
89 ios_base::openmode which = ios_base::in | ios_base::out);
161 …pubseekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | io…
166 pubseekpos(pos_type __sp, ios_base::openmode __which = ios_base::in | ios_base::out) {
269 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | ios_b…
270 …virtual pos_type seekpos(pos_type __sp, ios_base::openmode __which = ios_base::in | ios_base::out);
[all …]
H A Diomanip19 T1 resetiosflags(ios_base::fmtflags mask);
20 T2 setiosflags (ios_base::fmtflags mask);
58 ios_base::fmtflags __mask_;
61 _LIBCPP_HIDE_FROM_ABI explicit __iom_t1(ios_base::fmtflags __m) : __mask_(__m) {}
78 inline _LIBCPP_HIDE_FROM_ABI __iom_t1 resetiosflags(ios_base::fmtflags __mask) { return __iom_t1(__…
83 ios_base::fmtflags __mask_;
86 _LIBCPP_HIDE_FROM_ABI explicit __iom_t2(ios_base::fmtflags __m) : __mask_(__m) {}
103 inline _LIBCPP_HIDE_FROM_ABI __iom_t2 setiosflags(ios_base::fmtflags __mask) { return __iom_t2(__ma…
116 __is.setf(__x.__base_ == 8 ? ios_base::oct
117 : __x.__base_ == 10 ? ios_base::dec
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dios25 class ios_base
94 virtual ~ios_base();
98 typedef void (*event_callback)(event, ios_base&, int index);
101 ios_base(const ios_base&) = delete;
102 ios_base& operator=(const ios_base&) = delete;
107 ios_base();
112 : public ios_base
168 ios_base& boolalpha (ios_base& str);
169 ios_base& noboolalpha(ios_base& str);
170 ios_base& showbase (ios_base& str);
[all …]
H A Dfstream38 basic_filebuf* open(const char* s, ios_base::openmode mode);
39 basic_filebuf* open(const string& s, ios_base::openmode mode);
40 basic_filebuf* open(const filesystem::path& p, ios_base::openmode mode); // C++17
51 virtual pos_type seekoff(off_type off, ios_base::seekdir way,
52 ios_base::openmode which = ios_base::in | ios_base::out);
54 ios_base::openmode which = ios_base::in | ios_base::out);
79 explicit basic_ifstream(const char* s, ios_base::openmode mode = ios_base::in);
80 explicit basic_ifstream(const string& s, ios_base::openmode mode = ios_base::in);
82 explicit basic_ifstream(const T& s, ios_base::openmode mode = ios_base::in); // Since C++17
91 void open(const char* s, ios_base::openmode mode = ios_base::in);
[all …]
H A Dsstream32 … explicit basic_stringbuf(ios_base::openmode which = ios_base::in | ios_base::out); // before C++20
33 basic_stringbuf() : basic_stringbuf(ios_base::in | ios_base::out) {} // C++20
34 explicit basic_stringbuf(ios_base::openmode which); // C++20
36 ios_base::openmode which = ios_base::in | ios_base::out);
38 : basic_stringbuf(ios_base::in | ios_base::out, a) {} // C++20
39 basic_stringbuf(ios_base::openmode which, const allocator_type& a); // C++20
41 ios_base::openmode which = ios_base::in | ios_base::out); // C++20
44 : basic_stringbuf(s, ios_base::in | ios_base::out, a) {} // C++20
47 ios_base::openmode which, const allocator_type& a); // C++20
50 ios_base::openmode which = ios_base::in | ios_base::out); // C++20
[all …]
H A Distream44 basic_istream& operator>>(ios_base& (*pf)(ios_base&));
83 basic_istream& seekg(off_type, ios_base::seekdir);
245 inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_istream& operator>>(ios_base& (*__pf)(ios_base&)) {
305 basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
327 if (!__noskipws && (__is.flags() & ios_base::skipws)) {
336 __is.setstate(ios_base::failbit | ios_base::eofbit);
340 __is.setstate(ios_base::failbit);
361 ios_base::iostate __state = ios_base::goodbit;
372 __state |= ios_base::badbit;
374 if (__is.exceptions() & ios_base::badbit) {
[all …]
H A Dstreambuf38 pos_type pubseekoff(off_type off, ios_base::seekdir way,
39 ios_base::openmode which = ios_base::in | ios_base::out);
41 ios_base::openmode which = ios_base::in | ios_base::out);
86 virtual pos_type seekoff(off_type off, ios_base::seekdir way,
87 ios_base::openmode which = ios_base::in | ios_base::out);
89 ios_base::openmode which = ios_base::in | ios_base::out);
167 …pubseekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | io…
172 pubseekpos(pos_type __sp, ios_base::openmode __which = ios_base::in | ios_base::out) {
308 …virtual pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode = ios_base::in | ios_base
311 virtual pos_type seekpos(pos_type, ios_base::openmode = ios_base::in | ios_base::out) {
H A Dstrstream48 virtual pos_type seekoff(off_type off, ios_base::seekdir way,
49 ios_base::openmode which = ios_base::in | ios_base::out);
51 ios_base::openmode which = ios_base::in | ios_base::out);
89 ostrstream(char* s, int n, ios_base::openmode mode = ios_base::out);
114 strstream(char* s, int n, ios_base::openmode mode = ios_base::in | ios_base::out);
190 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | ios_b…
191 …pos_type seekpos(pos_type __sp, ios_base::openmode __which = ios_base::in | ios_base::out) overrid…
277 _LIBCPP_HIDE_FROM_ABI ostrstream(char* __s, int __n, ios_base::openmode __mode = ios_base::out)
319 …LIBCPP_HIDE_FROM_ABI strstream(char* __s, int __n, ios_base::openmode __mode = ios_base::in | ios_…
H A Diomanip19 T1 resetiosflags(ios_base::fmtflags mask);
20 T2 setiosflags (ios_base::fmtflags mask);
69 ios_base::fmtflags __mask_;
72 _LIBCPP_HIDE_FROM_ABI explicit __iom_t1(ios_base::fmtflags __m) : __mask_(__m) {}
89 inline _LIBCPP_HIDE_FROM_ABI __iom_t1 resetiosflags(ios_base::fmtflags __mask) { return __iom_t1(__…
94 ios_base::fmtflags __mask_;
97 _LIBCPP_HIDE_FROM_ABI explicit __iom_t2(ios_base::fmtflags __m) : __mask_(__m) {}
114 inline _LIBCPP_HIDE_FROM_ABI __iom_t2 setiosflags(ios_base::fmtflags __mask) { return __iom_t2(__ma…
127 __is.setf(__x.__base_ == 8 ? ios_base::oct
128 : __x.__base_ == 10 ? ios_base::dec
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/
H A Dnum.h46 static int __get_base(ios_base&);
56 …static string __stage2_float_prep(ios_base& __iob, _CharT* __atoms, _CharT& __decimal_point, _Char…
73 __stage2_int_prep(ios_base& __iob, _CharT* __atoms, _CharT& __thousands_sep);
86 _LIBCPP_HIDE_FROM_ABI static string __stage2_int_prep(ios_base& __iob, _CharT& __thousands_sep) { in __stage2_int_prep()
93 _LIBCPP_HIDE_FROM_ABI const _CharT* __do_widen(ios_base& __iob, _CharT* __atoms) const { in __do_widen()
99 _LIBCPP_HIDE_FROM_ABI const _Tp* __do_widen_p(ios_base& __iob, _Tp* __atoms) const { in __do_widen_p()
105 _LIBCPP_HIDE_FROM_ABI const char* __do_widen_p(ios_base& __iob, char* __atoms) const { in __do_widen_p()
114 ios_base& __iob, _CharT* __atoms, _CharT& __decimal_point, _CharT& __thousands_sep) { in __stage2_float_prep()
255 _LIBCPP_HIDE_FROM_ABI _Tp __num_get_float(const char* __a, const char* __a_end, ios_base::iostate& …
265 __err = ios_base::failbit;
[all …]
H A Dtime.h28 …_InputIterator& __b, _InputIterator __e, ios_base::iostate& __err, const ctype<_CharT>& __ct, int … in __get_up_to_n_digits()
31 __err |= ios_base::eofbit | ios_base::failbit; in __get_up_to_n_digits()
37 __err |= ios_base::failbit; in __get_up_to_n_digits()
49 __err |= ios_base::eofbit; in __get_up_to_n_digits()
119 …get_time(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const { in get_time()
124 …get_date(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const { in get_date()
129 …get_weekday(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) con… in get_weekday()
134 …get_monthname(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) c… in get_monthname()
139 …get_year(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const { in get_year()
144 …get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm, char __fmt,…
[all …]
H A Dmoney.h239 …get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, long dou… in get()
244 …get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, string_t… in get()
254 …do_get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, long …
256 …do_get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, strin…
264 ios_base::fmtflags __flags,
265 ios_base::iostate& __err,
306 ios_base::fmtflags __flags, in __do_get()
307 ios_base::iostate& __err, in __do_get()
314 __err |= ios_base::failbit; in __do_get()
343 __err |= ios_base::failbit; in __do_get()
[all …]
H A Dwbuffer_convert.h53 ios_base::openmode __cm_;
88 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_bas…
90 seekpos(pos_type __sp, ios_base::openmode __wch = ios_base::in | ios_base::out);
296 wbuffer_convert<_Codecvt, _Elem, _Tr>::seekoff(off_type __off, ios_base::seekdir __way, ios_base::o… in seekoff()
301 if (__way != ios_base::beg && __way != ios_base::cur && __way != ios_base::end) in seekoff()
310 wbuffer_convert<_Codecvt, _Elem, _Tr>::seekpos(pos_type __sp, ios_base::openmode __wch) { in seekpos()
323 if (__cm_ & ios_base::out) { in sync()
339 } else if (__cm_ & ios_base::in) { in sync()
371 if (__bufptr_->pubseekoff(-__c, ios_base::cur, __cm_) == pos_type(off_type(-1))) in sync()
382 if (!(__cm_ & ios_base::in)) { in __read_mode()
[all …]
H A Dscan_keyword.h49 ios_base::iostate& __err,
129 __err |= ios_base::eofbit;
135 __err |= ios_base::failbit;
H A Dpad_and_output.h26 …_OutputIterator __s, const _CharT* __ob, const _CharT* __op, const _CharT* __oe, ios_base& __iob, … in __pad_and_output()
49 ios_base& __iob, in __pad_and_output()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__ostream/
H A Dbasic_ostream.h83 inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) {
112 …inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& seekp(off_type __off, ios_base::seekdir __dir…
143 …if (__os_.rdbuf() && __os_.good() && (__os_.flags() & ios_base::unitbuf) && !uncaught_exception())… in ~sentry()
148 __os_.setstate(ios_base::badbit); in ~sentry()
194 this->setstate(ios_base::failbit);
201 this->setstate(ios_base::badbit);
221 this->setstate(ios_base::badbit | ios_base::failbit);
238 ios_base::fmtflags __flags = ios_base::flags() & ios_base::basefield;
244 __flags == ios_base::oct || __flags == ios_base::hex
248 this->setstate(ios_base::badbit | ios_base::failbit);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dbasic_ostream.h89 inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) {
104 this->setstate(ios_base::badbit | ios_base::failbit); in __put_num()
121 ios_base::fmtflags __flags = ios_base::flags() & ios_base::basefield; in __put_num_integer_promote()
129 __flags == ios_base::oct || __flags == ios_base::hex in __put_num_integer_promote()
133 this->setstate(ios_base::badbit | ios_base::failbit); in __put_num_integer_promote()
179 …inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& seekp(off_type __off, ios_base::seekdir __dir…
210 …if (__os_.rdbuf() && __os_.good() && (__os_.flags() & ios_base::unitbuf) && uncaught_exceptions() … in ~sentry()
215 __os_.setstate(ios_base::badbit); in ~sentry()
261 this->setstate(ios_base::failbit);
268 this->setstate(ios_base::badbit);
[all …]
H A Dput_character_sequence.h40 (__os.flags() & ios_base::adjustfield) == ios_base::left ? __str + __len : __str, in __put_character_sequence()
45 __os.setstate(ios_base::badbit | ios_base::failbit); in __put_character_sequence()

12