|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
usr/include/c++/7.4.0/bits/basic_ios.tcc 178 extern template class basic_ios<char>;
181 extern template class basic_ios<wchar_t>;
Declarations
usr/include/c++/7.4.0/iosfwd 74 class ios_base;
References
tools/bugpoint/ExecutionDriver.cpp 370 std::ofstream outFile(OutputFile.c_str(), std::ios_base::app);
tools/bugpoint/ToolRunner.cpp 751 std::ofstream outFile(OutputFile.c_str(), std::ios_base::app);
usr/include/c++/7.4.0/bits/basic_ios.h 67 class basic_ios : public ios_base
usr/include/c++/7.4.0/bits/fstream.tcc 179 open(const char* __s, ios_base::openmode __mode)
199 if ((__mode & ios_base::ate)
200 && this->seekoff(0, ios_base::end, __mode)
266 const bool __testin = _M_mode & ios_base::in;
292 const bool __testin = _M_mode & ios_base::in;
451 const bool __testin = _M_mode & ios_base::in;
471 else if (this->seekoff(-1, ios_base::cur) != pos_type(off_type(-1)))
511 const bool __testout = (_M_mode & ios_base::out
512 || _M_mode & ios_base::app);
519 if (_M_seek(__gptr_off, ios_base::cur, _M_state_last)
661 const bool __testin = _M_mode & ios_base::in;
729 const bool __testout = (_M_mode & ios_base::out
730 || _M_mode & ios_base::app);
800 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode)
800 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode)
816 bool __no_movement = __way == ios_base::cur && __off == 0
830 if (_M_reading && __way == ios_base::cur)
842 off_type __file_off = _M_file.seekoff(0, ios_base::cur);
860 seekpos(pos_type __pos, ios_base::openmode)
867 __ret = _M_seek(off_type(__pos), ios_base::beg, __pos.state());
875 _M_seek(off_type __off, ios_base::seekdir __way, __state_type __state)
1019 __testvalid = this->seekoff(0, ios_base::cur, _M_mode)
usr/include/c++/7.4.0/bits/ios_base.h 504 typedef void (*event_callback) (event __e, ios_base& __b, int __i);
532 ios_base::event_callback _M_fn;
536 _Callback_list(ios_base::event_callback __fn, int __index,
861 ios_base(const ios_base&) = delete;
863 ios_base&
864 operator=(const ios_base&) = delete;
868 _M_move(ios_base&) noexcept;
871 _M_swap(ios_base& __rhs) noexcept;
877 inline ios_base&
878 boolalpha(ios_base& __base)
880 __base.setf(ios_base::boolalpha);
885 inline ios_base&
886 noboolalpha(ios_base& __base)
888 __base.unsetf(ios_base::boolalpha);
893 inline ios_base&
894 showbase(ios_base& __base)
896 __base.setf(ios_base::showbase);
901 inline ios_base&
902 noshowbase(ios_base& __base)
904 __base.unsetf(ios_base::showbase);
909 inline ios_base&
910 showpoint(ios_base& __base)
912 __base.setf(ios_base::showpoint);
917 inline ios_base&
918 noshowpoint(ios_base& __base)
920 __base.unsetf(ios_base::showpoint);
925 inline ios_base&
926 showpos(ios_base& __base)
928 __base.setf(ios_base::showpos);
933 inline ios_base&
934 noshowpos(ios_base& __base)
936 __base.unsetf(ios_base::showpos);
941 inline ios_base&
942 skipws(ios_base& __base)
944 __base.setf(ios_base::skipws);
949 inline ios_base&
950 noskipws(ios_base& __base)
952 __base.unsetf(ios_base::skipws);
957 inline ios_base&
958 uppercase(ios_base& __base)
960 __base.setf(ios_base::uppercase);
965 inline ios_base&
966 nouppercase(ios_base& __base)
968 __base.unsetf(ios_base::uppercase);
973 inline ios_base&
974 unitbuf(ios_base& __base)
976 __base.setf(ios_base::unitbuf);
981 inline ios_base&
982 nounitbuf(ios_base& __base)
984 __base.unsetf(ios_base::unitbuf);
990 inline ios_base&
991 internal(ios_base& __base)
993 __base.setf(ios_base::internal, ios_base::adjustfield);
993 __base.setf(ios_base::internal, ios_base::adjustfield);
998 inline ios_base&
999 left(ios_base& __base)
1001 __base.setf(ios_base::left, ios_base::adjustfield);
1001 __base.setf(ios_base::left, ios_base::adjustfield);
1006 inline ios_base&
1007 right(ios_base& __base)
1009 __base.setf(ios_base::right, ios_base::adjustfield);
1009 __base.setf(ios_base::right, ios_base::adjustfield);
1015 inline ios_base&
1016 dec(ios_base& __base)
1018 __base.setf(ios_base::dec, ios_base::basefield);
1018 __base.setf(ios_base::dec, ios_base::basefield);
1023 inline ios_base&
1024 hex(ios_base& __base)
1026 __base.setf(ios_base::hex, ios_base::basefield);
1026 __base.setf(ios_base::hex, ios_base::basefield);
1031 inline ios_base&
1032 oct(ios_base& __base)
1034 __base.setf(ios_base::oct, ios_base::basefield);
1034 __base.setf(ios_base::oct, ios_base::basefield);
1040 inline ios_base&
1041 fixed(ios_base& __base)
1043 __base.setf(ios_base::fixed, ios_base::floatfield);
1043 __base.setf(ios_base::fixed, ios_base::floatfield);
1048 inline ios_base&
1049 scientific(ios_base& __base)
1051 __base.setf(ios_base::scientific, ios_base::floatfield);
1051 __base.setf(ios_base::scientific, ios_base::floatfield);
1060 inline ios_base&
1061 hexfloat(ios_base& __base)
1063 __base.setf(ios_base::fixed | ios_base::scientific, ios_base::floatfield);
1063 __base.setf(ios_base::fixed | ios_base::scientific, ios_base::floatfield);
1063 __base.setf(ios_base::fixed | ios_base::scientific, ios_base::floatfield);
1068 inline ios_base&
1069 defaultfloat(ios_base& __base)
1071 __base.unsetf(ios_base::floatfield);
usr/include/c++/7.4.0/bits/istream.tcc 49 ios_base::iostate __err = ios_base::goodbit;
49 ios_base::iostate __err = ios_base::goodbit;
55 if (!__noskip && bool(__in.flags() & ios_base::skipws))
71 __err |= ios_base::eofbit;
76 __in._M_setstate(ios_base::badbit);
80 { __in._M_setstate(ios_base::badbit); }
82 if (__in.good() && __err == ios_base::goodbit)
86 __err |= ios_base::failbit;
100 ios_base::iostate __err = ios_base::goodbit;
100 ios_base::iostate __err = ios_base::goodbit;
108 this->_M_setstate(ios_base::badbit);
112 { this->_M_setstate(ios_base::badbit); }
129 ios_base::iostate __err = ios_base::goodbit;
129 ios_base::iostate __err = ios_base::goodbit;
140 __err |= ios_base::failbit;
145 __err |= ios_base::failbit;
153 this->_M_setstate(ios_base::badbit);
157 { this->_M_setstate(ios_base::badbit); }
174 ios_base::iostate __err = ios_base::goodbit;
174 ios_base::iostate __err = ios_base::goodbit;
185 __err |= ios_base::failbit;
190 __err |= ios_base::failbit;
198 this->_M_setstate(ios_base::badbit);
202 { this->_M_setstate(ios_base::badbit); }
214 ios_base::iostate __err = ios_base::goodbit;
214 ios_base::iostate __err = ios_base::goodbit;
222 __err |= ios_base::failbit;
224 __err |= ios_base::eofbit;
228 this->_M_setstate(ios_base::failbit);
232 { this->_M_setstate(ios_base::failbit); }
235 __err |= ios_base::failbit;
249 ios_base::iostate __err = ios_base::goodbit;
249 ios_base::iostate __err = ios_base::goodbit;
260 __err |= ios_base::eofbit;
264 this->_M_setstate(ios_base::badbit);
268 { this->_M_setstate(ios_base::badbit); }
271 __err |= ios_base::failbit;
283 ios_base::iostate __err = ios_base::goodbit;
283 ios_base::iostate __err = ios_base::goodbit;
297 __err |= ios_base::eofbit;
301 this->_M_setstate(ios_base::badbit);
305 { this->_M_setstate(ios_base::badbit); }
308 __err |= ios_base::failbit;
320 ios_base::iostate __err = ios_base::goodbit;
320 ios_base::iostate __err = ios_base::goodbit;
340 __err |= ios_base::eofbit;
344 this->_M_setstate(ios_base::badbit);
348 { this->_M_setstate(ios_base::badbit); }
355 __err |= ios_base::failbit;
367 ios_base::iostate __err = ios_base::goodbit;
367 ios_base::iostate __err = ios_base::goodbit;
388 __err |= ios_base::eofbit;
392 this->_M_setstate(ios_base::badbit);
396 { this->_M_setstate(ios_base::badbit); }
399 __err |= ios_base::failbit;
411 ios_base::iostate __err = ios_base::goodbit;
411 ios_base::iostate __err = ios_base::goodbit;
431 __err |= ios_base::eofbit;
440 __err |= ios_base::failbit;
445 this->_M_setstate(ios_base::badbit);
449 { this->_M_setstate(ios_base::badbit); }
456 __err |= ios_base::failbit;
474 ios_base::iostate __err = ios_base::goodbit;
474 ios_base::iostate __err = ios_base::goodbit;
481 __err |= ios_base::eofbit;
487 this->_M_setstate(ios_base::badbit);
491 { this->_M_setstate(ios_base::badbit); }
507 ios_base::iostate __err = ios_base::goodbit;
507 ios_base::iostate __err = ios_base::goodbit;
545 __err |= ios_base::eofbit;
549 this->_M_setstate(ios_base::badbit);
553 { this->_M_setstate(ios_base::badbit); }
569 ios_base::iostate __err = ios_base::goodbit;
569 ios_base::iostate __err = ios_base::goodbit;
603 __err |= ios_base::eofbit;
614 this->_M_setstate(ios_base::badbit);
618 { this->_M_setstate(ios_base::badbit); }
635 ios_base::iostate __err = ios_base::goodbit;
635 ios_base::iostate __err = ios_base::goodbit;
640 __err |= ios_base::eofbit;
644 this->_M_setstate(ios_base::badbit);
648 { this->_M_setstate(ios_base::badbit); }
664 ios_base::iostate __err = ios_base::goodbit;
664 ios_base::iostate __err = ios_base::goodbit;
669 __err |= (ios_base::eofbit | ios_base::failbit);
669 __err |= (ios_base::eofbit | ios_base::failbit);
673 this->_M_setstate(ios_base::badbit);
677 { this->_M_setstate(ios_base::badbit); }
693 ios_base::iostate __err = ios_base::goodbit;
693 ios_base::iostate __err = ios_base::goodbit;
701 __err |= ios_base::eofbit;
705 this->_M_setstate(ios_base::badbit);
709 { this->_M_setstate(ios_base::badbit); }
725 this->clear(this->rdstate() & ~ios_base::eofbit);
729 ios_base::iostate __err = ios_base::goodbit;
729 ios_base::iostate __err = ios_base::goodbit;
736 __err |= ios_base::badbit;
740 this->_M_setstate(ios_base::badbit);
744 { this->_M_setstate(ios_base::badbit); }
760 this->clear(this->rdstate() & ~ios_base::eofbit);
764 ios_base::iostate __err = ios_base::goodbit;
764 ios_base::iostate __err = ios_base::goodbit;
771 __err |= ios_base::badbit;
775 this->_M_setstate(ios_base::badbit);
779 { this->_M_setstate(ios_base::badbit); }
797 ios_base::iostate __err = ios_base::goodbit;
797 ios_base::iostate __err = ios_base::goodbit;
804 __err |= ios_base::badbit;
811 this->_M_setstate(ios_base::badbit);
815 { this->_M_setstate(ios_base::badbit); }
836 __ret = this->rdbuf()->pubseekoff(0, ios_base::cur,
837 ios_base::in);
841 this->_M_setstate(ios_base::badbit);
845 { this->_M_setstate(ios_base::badbit); }
858 this->clear(this->rdstate() & ~ios_base::eofbit);
862 ios_base::iostate __err = ios_base::goodbit;
862 ios_base::iostate __err = ios_base::goodbit;
869 ios_base::in);
873 __err |= ios_base::failbit;
878 this->_M_setstate(ios_base::badbit);
882 { this->_M_setstate(ios_base::badbit); }
892 seekg(off_type __off, ios_base::seekdir __dir)
897 this->clear(this->rdstate() & ~ios_base::eofbit);
901 ios_base::iostate __err = ios_base::goodbit;
901 ios_base::iostate __err = ios_base::goodbit;
908 ios_base::in);
912 __err |= ios_base::failbit;
917 this->_M_setstate(ios_base::badbit);
921 { this->_M_setstate(ios_base::badbit); }
939 ios_base::iostate __err = ios_base::goodbit;
939 ios_base::iostate __err = ios_base::goodbit;
946 __err |= (ios_base::eofbit | ios_base::failbit);
946 __err |= (ios_base::eofbit | ios_base::failbit);
950 __in._M_setstate(ios_base::badbit);
954 { __in._M_setstate(ios_base::badbit); }
972 ios_base::iostate __err = ios_base::goodbit;
972 ios_base::iostate __err = ios_base::goodbit;
999 __err |= ios_base::eofbit;
1008 __in._M_setstate(ios_base::badbit);
1012 { __in._M_setstate(ios_base::badbit); }
1015 __err |= ios_base::failbit;
1041 __in.setstate(ios_base::eofbit);
usr/include/c++/7.4.0/bits/locale_facets.h 73 __convert_to_v(const char*, _Tp&, ios_base::iostate&,
79 __convert_to_v(const char*, float&, ios_base::iostate&,
84 __convert_to_v(const char*, double&, ios_base::iostate&,
89 __convert_to_v(const char*, long double&, ios_base::iostate&,
98 _S_pad(ios_base& __io, _CharT __fill, _CharT* __news,
1587 _S_format_float(const ios_base& __io, char* __fptr, char __mod) throw();
1995 get(iter_type __in, iter_type __end, ios_base& __io,
1996 ios_base::iostate& __err, bool& __v) const
2032 get(iter_type __in, iter_type __end, ios_base& __io,
2033 ios_base::iostate& __err, long& __v) const
2037 get(iter_type __in, iter_type __end, ios_base& __io,
2038 ios_base::iostate& __err, unsigned short& __v) const
2042 get(iter_type __in, iter_type __end, ios_base& __io,
2043 ios_base::iostate& __err, unsigned int& __v) const
2047 get(iter_type __in, iter_type __end, ios_base& __io,
2048 ios_base::iostate& __err, unsigned long& __v) const
2053 get(iter_type __in, iter_type __end, ios_base& __io,
2054 ios_base::iostate& __err, long long& __v) const
2058 get(iter_type __in, iter_type __end, ios_base& __io,
2059 ios_base::iostate& __err, unsigned long long& __v) const
2092 get(iter_type __in, iter_type __end, ios_base& __io,
2093 ios_base::iostate& __err, float& __v) const
2097 get(iter_type __in, iter_type __end, ios_base& __io,
2098 ios_base::iostate& __err, double& __v) const
2102 get(iter_type __in, iter_type __end, ios_base& __io,
2103 ios_base::iostate& __err, long double& __v) const
2135 get(iter_type __in, iter_type __end, ios_base& __io,
2136 ios_base::iostate& __err, void*& __v) const
2145 _M_extract_float(iter_type, iter_type, ios_base&, ios_base::iostate&,
2145 _M_extract_float(iter_type, iter_type, ios_base&, ios_base::iostate&,
2151 _M_extract_int(iter_type, iter_type, ios_base&, ios_base::iostate&,
2151 _M_extract_int(iter_type, iter_type, ios_base&, ios_base::iostate&,
2208 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&) const;
2208 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&) const;
2211 do_get(iter_type __beg, iter_type __end, ios_base& __io,
2212 ios_base::iostate& __err, long& __v) const
2216 do_get(iter_type __beg, iter_type __end, ios_base& __io,
2217 ios_base::iostate& __err, unsigned short& __v) const
2221 do_get(iter_type __beg, iter_type __end, ios_base& __io,
2222 ios_base::iostate& __err, unsigned int& __v) const
2226 do_get(iter_type __beg, iter_type __end, ios_base& __io,
2227 ios_base::iostate& __err, unsigned long& __v) const
2232 do_get(iter_type __beg, iter_type __end, ios_base& __io,
2233 ios_base::iostate& __err, long long& __v) const
2237 do_get(iter_type __beg, iter_type __end, ios_base& __io,
2238 ios_base::iostate& __err, unsigned long long& __v) const
2243 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, float&) const;
2243 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, float&) const;
2246 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&,
2246 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&,
2256 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&,
2256 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&,
2261 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, void*&) const;
2261 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, void*&) const;
2328 put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const
2370 put(iter_type __s, ios_base& __io, char_type __fill, long __v) const
2374 put(iter_type __s, ios_base& __io, char_type __fill,
2380 put(iter_type __s, ios_base& __io, char_type __fill, long long __v) const
2384 put(iter_type __s, ios_base& __io, char_type __fill,
2433 put(iter_type __s, ios_base& __io, char_type __fill, double __v) const
2437 put(iter_type __s, ios_base& __io, char_type __fill,
2458 put(iter_type __s, ios_base& __io, char_type __fill,
2465 _M_insert_float(iter_type, ios_base& __io, char_type __fill,
2475 _M_insert_int(iter_type, ios_base& __io, char_type __fill,
2480 char_type __sep, ios_base& __io, char_type* __new,
2484 _M_pad(char_type __fill, streamsize __w, ios_base& __io,
2506 do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const;
2509 do_put(iter_type __s, ios_base& __io, char_type __fill, long __v) const
2513 do_put(iter_type __s, ios_base& __io, char_type __fill,
2519 do_put(iter_type __s, ios_base& __io, char_type __fill,
2524 do_put(iter_type __s, ios_base& __io, char_type __fill,
2530 do_put(iter_type, ios_base&, char_type, double) const;
2538 do_put(iter_type, ios_base&, char_type, long double) const;
2542 do_put(iter_type, ios_base&, char_type, const void*) const;
usr/include/c++/7.4.0/bits/locale_facets.tcc 149 _M_extract_float(_InIter __beg, _InIter __end, ios_base& __io,
150 ios_base::iostate& __err, string& __xtrc) const
364 __err = ios_base::failbit;
375 _M_extract_int(_InIter __beg, _InIter __end, ios_base& __io,
376 ios_base::iostate& __err, _ValueT& __v) const
389 const ios_base::fmtflags __basefield = __io.flags()
390 & ios_base::basefield;
391 const bool __oct = __basefield == ios_base::oct;
392 int __base = __oct ? 8 : (__basefield == ios_base::hex ? 16 : 10);
562 __err = ios_base::failbit;
571 __err = ios_base::failbit;
580 __err = ios_base::failbit;
586 __err |= ios_base::eofbit;
595 do_get(iter_type __beg, iter_type __end, ios_base& __io,
596 ios_base::iostate& __err, bool& __v) const
598 if (!(__io.flags() & ios_base::boolalpha))
612 __err = ios_base::failbit;
614 __err |= ios_base::eofbit;
666 __err = ios_base::failbit;
668 __err = __testeof ? ios_base::eofbit : ios_base::goodbit;
668 __err = __testeof ? ios_base::eofbit : ios_base::goodbit;
673 __err = __testeof ? ios_base::eofbit : ios_base::goodbit;
673 __err = __testeof ? ios_base::eofbit : ios_base::goodbit;
680 __err = ios_base::failbit;
682 __err |= ios_base::eofbit;
691 do_get(iter_type __beg, iter_type __end, ios_base& __io,
692 ios_base::iostate& __err, float& __v) const
699 __err |= ios_base::eofbit;
706 do_get(iter_type __beg, iter_type __end, ios_base& __io,
707 ios_base::iostate& __err, double& __v) const
714 __err |= ios_base::eofbit;
738 do_get(iter_type __beg, iter_type __end, ios_base& __io,
739 ios_base::iostate& __err, long double& __v) const
746 __err |= ios_base::eofbit;
753 do_get(iter_type __beg, iter_type __end, ios_base& __io,
754 ios_base::iostate& __err, void*& __v) const
757 typedef ios_base::fmtflags fmtflags;
759 __io.flags((__fmt & ~ios_base::basefield) | ios_base::hex);
759 __io.flags((__fmt & ~ios_base::basefield) | ios_base::hex);
780 _M_pad(_CharT __fill, streamsize __w, ios_base& __io,
795 ios_base::fmtflags __flags, bool __dec)
808 else if ((__flags & ios_base::basefield) == ios_base::oct)
808 else if ((__flags & ios_base::basefield) == ios_base::oct)
821 const bool __uppercase = __flags & ios_base::uppercase;
840 ios_base&, _CharT* __new, _CharT* __cs, int& __len) const
851 _M_insert_int(_OutIter __s, ios_base& __io, _CharT __fill,
861 const ios_base::fmtflags __flags = __io.flags();
870 const ios_base::fmtflags __basefield = __flags & ios_base::basefield;
870 const ios_base::fmtflags __basefield = __flags & ios_base::basefield;
871 const bool __dec = (__basefield != ios_base::oct
872 && __basefield != ios_base::hex);
898 if (bool(__flags & ios_base::showpos)
905 else if (bool(__flags & ios_base::showbase) && __v)
907 if (__basefield == ios_base::oct)
912 const bool __uppercase = __flags & ios_base::uppercase;
975 _M_insert_float(_OutIter __s, ios_base& __io, _CharT __fill, char __mod,
998 (__io.flags() & ios_base::floatfield) != ios_base::floatfield;
998 (__io.flags() & ios_base::floatfield) != ios_base::floatfield;
1106 do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const
1108 const ios_base::fmtflags __flags = __io.flags();
1109 if ((__flags & ios_base::boolalpha) == 0)
1137 if ((__flags & ios_base::adjustfield) == ios_base::left)
1137 if ((__flags & ios_base::adjustfield) == ios_base::left)
1158 do_put(iter_type __s, ios_base& __io, char_type __fill, double __v) const
1172 do_put(iter_type __s, ios_base& __io, char_type __fill,
1179 do_put(iter_type __s, ios_base& __io, char_type __fill,
1182 const ios_base::fmtflags __flags = __io.flags();
1183 const ios_base::fmtflags __fmt = ~(ios_base::basefield
1183 const ios_base::fmtflags __fmt = ~(ios_base::basefield
1184 | ios_base::uppercase);
1185 __io.flags((__flags & __fmt) | (ios_base::hex | ios_base::showbase));
1185 __io.flags((__flags & __fmt) | (ios_base::hex | ios_base::showbase));
1208 __pad<_CharT, _Traits>::_S_pad(ios_base& __io, _CharT __fill,
1213 const ios_base::fmtflags __adjust = __io.flags() & ios_base::adjustfield;
1213 const ios_base::fmtflags __adjust = __io.flags() & ios_base::adjustfield;
1216 if (__adjust == ios_base::left)
1224 if (__adjust == ios_base::internal)
usr/include/c++/7.4.0/bits/locale_facets_nonio.h 428 get_time(iter_type __beg, iter_type __end, ios_base& __io,
429 ios_base::iostate& __err, tm* __tm) const
453 get_date(iter_type __beg, iter_type __end, ios_base& __io,
454 ios_base::iostate& __err, tm* __tm) const
481 get_weekday(iter_type __beg, iter_type __end, ios_base& __io,
482 ios_base::iostate& __err, tm* __tm) const
510 get_monthname(iter_type __beg, iter_type __end, ios_base& __io,
511 ios_base::iostate& __err, tm* __tm) const
536 get_year(iter_type __beg, iter_type __end, ios_base& __io,
537 ios_base::iostate& __err, tm* __tm) const
557 iter_type get(iter_type __s, iter_type __end, ios_base& __io,
558 ios_base::iostate& __err, tm* __tm, char __format,
583 iter_type get(iter_type __s, iter_type __end, ios_base& __io,
584 ios_base::iostate& __err, tm* __tm, const char_type* __fmt,
622 do_get_time(iter_type __beg, iter_type __end, ios_base& __io,
623 ios_base::iostate& __err, tm* __tm) const;
641 do_get_date(iter_type __beg, iter_type __end, ios_base& __io,
642 ios_base::iostate& __err, tm* __tm) const;
660 do_get_weekday(iter_type __beg, iter_type __end, ios_base&,
661 ios_base::iostate& __err, tm* __tm) const;
679 do_get_monthname(iter_type __beg, iter_type __end, ios_base&,
680 ios_base::iostate& __err, tm* __tm) const;
698 do_get_year(iter_type __beg, iter_type __end, ios_base& __io,
699 ios_base::iostate& __err, tm* __tm) const;
723 do_get(iter_type __s, iter_type __end, ios_base& __f,
724 ios_base::iostate& __err, tm* __tm,
732 ios_base& __io, ios_base::iostate& __err) const;
732 ios_base& __io, ios_base::iostate& __err) const;
738 ios_base& __io, ios_base::iostate& __err) const;
738 ios_base& __io, ios_base::iostate& __err) const;
744 ios_base& __io, ios_base::iostate& __err) const;
744 ios_base& __io, ios_base::iostate& __err) const;
748 _M_extract_via_format(iter_type __beg, iter_type __end, ios_base& __io,
749 ios_base::iostate& __err, tm* __tm,
835 put(iter_type __s, ios_base& __io, char_type __fill, const tm* __tm,
855 put(iter_type __s, ios_base& __io, char_type __fill,
882 do_put(iter_type __s, ios_base& __io, char_type __fill, const tm* __tm,
1518 get(iter_type __s, iter_type __end, bool __intl, ios_base& __io,
1519 ios_base::iostate& __err, long double& __units) const
1549 get(iter_type __s, iter_type __end, bool __intl, ios_base& __io,
1550 ios_base::iostate& __err, string_type& __digits) const
1573 do_get(iter_type __s, iter_type __end, bool __intl, ios_base& __io,
1574 ios_base::iostate& __err, long double& __units) const;
1585 do_get(iter_type __s, iter_type __end, bool __intl, ios_base& __io,
1586 ios_base::iostate& __err, string_type& __digits) const;
1598 _M_extract(iter_type __s, iter_type __end, ios_base& __io,
1599 ios_base::iostate& __err, string& __digits) const;
1660 put(iter_type __s, bool __intl, ios_base& __io,
1683 put(iter_type __s, bool __intl, ios_base& __io,
1718 do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill,
1742 do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill,
1755 _M_insert(iter_type __s, ios_base& __io, char_type __fill,
usr/include/c++/7.4.0/bits/locale_facets_nonio.tcc 137 _M_extract(iter_type __beg, iter_type __end, ios_base& __io,
138 ios_base::iostate& __err, string& __units) const
188 if (__io.flags() & ios_base::showbase || __sign_size > 1
207 && (__j || __io.flags() & ios_base::showbase))
331 __err |= ios_base::failbit;
341 __err |= ios_base::failbit;
347 __err |= ios_base::eofbit;
370 do_get(iter_type __beg, iter_type __end, bool __intl, ios_base& __io,
371 ios_base::iostate& __err, long double& __units) const
383 do_get(iter_type __beg, iter_type __end, bool __intl, ios_base& __io,
384 ios_base::iostate& __err, string_type& __digits) const
407 _M_insert(iter_type __s, ios_base& __io, char_type __fill,
490 const ios_base::fmtflags __f = __io.flags()
491 & ios_base::adjustfield;
493 __len += ((__io.flags() & ios_base::showbase)
500 const bool __testipad = (__f == ios_base::internal
509 if (__io.flags() & ios_base::showbase)
547 if (__f == ios_base::left)
576 do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill,
614 do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill,
634 _M_extract_via_format(iter_type __beg, iter_type __end, ios_base& __io,
635 ios_base::iostate& __err, tm* __tm,
643 ios_base::iostate __tmperr = ios_base::goodbit;
643 ios_base::iostate __tmperr = ios_base::goodbit;
760 __tmperr |= ios_base::failbit;
785 __tmperr |= ios_base::failbit;
842 __tmperr |= ios_base::failbit;
846 __tmperr |= ios_base::failbit;
855 __tmperr |= ios_base::failbit;
860 __err |= ios_base::failbit;
870 ios_base& __io, ios_base::iostate& __err) const
870 ios_base& __io, ios_base::iostate& __err) const
901 __err |= ios_base::failbit;
913 ios_base& __io, ios_base::iostate& __err) const
913 ios_base& __io, ios_base::iostate& __err) const
979 __err |= ios_base::failbit;
989 ios_base& __io, ios_base::iostate& __err) const
989 ios_base& __io, ios_base::iostate& __err) const
1051 __err |= ios_base::failbit;
1059 do_get_time(iter_type __beg, iter_type __end, ios_base& __io,
1060 ios_base::iostate& __err, tm* __tm) const
1069 __err |= ios_base::eofbit;
1076 do_get_date(iter_type __beg, iter_type __end, ios_base& __io,
1077 ios_base::iostate& __err, tm* __tm) const
1086 __err |= ios_base::eofbit;
1093 do_get_weekday(iter_type __beg, iter_type __end, ios_base& __io,
1094 ios_base::iostate& __err, tm* __tm) const
1103 ios_base::iostate __tmperr = ios_base::goodbit;
1103 ios_base::iostate __tmperr = ios_base::goodbit;
1110 __err |= ios_base::failbit;
1113 __err |= ios_base::eofbit;
1121 ios_base& __io, ios_base::iostate& __err, tm* __tm) const
1121 ios_base& __io, ios_base::iostate& __err, tm* __tm) const
1130 ios_base::iostate __tmperr = ios_base::goodbit;
1130 ios_base::iostate __tmperr = ios_base::goodbit;
1137 __err |= ios_base::failbit;
1140 __err |= ios_base::eofbit;
1147 do_get_year(iter_type __beg, iter_type __end, ios_base& __io,
1148 ios_base::iostate& __err, tm* __tm) const
1153 ios_base::iostate __tmperr = ios_base::goodbit;
1153 ios_base::iostate __tmperr = ios_base::goodbit;
1160 __err |= ios_base::failbit;
1163 __err |= ios_base::eofbit;
1172 get(iter_type __s, iter_type __end, ios_base& __io,
1173 ios_base::iostate& __err, tm* __tm, const char_type* __fmt,
1178 __err = ios_base::goodbit;
1180 __err == ios_base::goodbit)
1184 __err = ios_base::eofbit | ios_base::failbit;
1184 __err = ios_base::eofbit | ios_base::failbit;
1193 __err = ios_base::failbit;
1206 __err = ios_base::failbit;
1233 __err = ios_base::failbit;
1244 do_get(iter_type __beg, iter_type __end, ios_base& __io,
1245 ios_base::iostate& __err, tm* __tm,
1250 __err = ios_base::goodbit;
1268 __err |= ios_base::eofbit;
1277 put(iter_type __s, ios_base& __io, char_type __fill, const tm* __tm,
1312 do_put(iter_type __s, ios_base& __io, char_type, const tm* __tm,
usr/include/c++/7.4.0/bits/ostream.tcc 57 __os.setstate(ios_base::failbit);
69 ios_base::iostate __err = ios_base::goodbit;
69 ios_base::iostate __err = ios_base::goodbit;
74 __err |= ios_base::badbit;
78 this->_M_setstate(ios_base::badbit);
82 { this->_M_setstate(ios_base::badbit); }
96 const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield;
96 const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield;
97 if (__fmt == ios_base::oct || __fmt == ios_base::hex)
97 if (__fmt == ios_base::oct || __fmt == ios_base::hex)
110 const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield;
110 const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield;
111 if (__fmt == ios_base::oct || __fmt == ios_base::hex)
111 if (__fmt == ios_base::oct || __fmt == ios_base::hex)
122 ios_base::iostate __err = ios_base::goodbit;
122 ios_base::iostate __err = ios_base::goodbit;
129 __err |= ios_base::failbit;
133 this->_M_setstate(ios_base::badbit);
137 { this->_M_setstate(ios_base::failbit); }
140 __err |= ios_base::badbit;
160 ios_base::iostate __err = ios_base::goodbit;
160 ios_base::iostate __err = ios_base::goodbit;
165 __err |= ios_base::badbit;
169 this->_M_setstate(ios_base::badbit);
173 { this->_M_setstate(ios_base::badbit); }
199 this->_M_setstate(ios_base::badbit);
203 { this->_M_setstate(ios_base::badbit); }
216 ios_base::iostate __err = ios_base::goodbit;
216 ios_base::iostate __err = ios_base::goodbit;
220 __err |= ios_base::badbit;
224 this->_M_setstate(ios_base::badbit);
228 { this->_M_setstate(ios_base::badbit); }
243 __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out);
243 __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out);
247 this->_M_setstate(ios_base::badbit);
251 { this->_M_setstate(ios_base::badbit); }
260 ios_base::iostate __err = ios_base::goodbit;
260 ios_base::iostate __err = ios_base::goodbit;
268 ios_base::out);
272 __err |= ios_base::failbit;
277 this->_M_setstate(ios_base::badbit);
281 { this->_M_setstate(ios_base::badbit); }
290 seekp(off_type __off, ios_base::seekdir __dir)
292 ios_base::iostate __err = ios_base::goodbit;
292 ios_base::iostate __err = ios_base::goodbit;
300 ios_base::out);
304 __err |= ios_base::failbit;
309 this->_M_setstate(ios_base::badbit);
313 { this->_M_setstate(ios_base::badbit); }
324 __out.setstate(ios_base::badbit);
347 __out._M_setstate(ios_base::badbit);
351 { __out._M_setstate(ios_base::badbit); }
usr/include/c++/7.4.0/bits/quoted_string.h 136 std::ios_base::fmtflags __flags
137 = __is.flags(__is.flags() & ~std::ios_base::skipws);
usr/include/c++/7.4.0/bits/sstream.tcc 59 const bool __testout = this->_M_mode & ios_base::out;
82 const bool __testout = this->_M_mode & ios_base::out;
98 if (_M_mode & ios_base::in)
153 const bool __testin = this->_M_mode & ios_base::in;
168 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode)
168 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode)
171 bool __testin = (ios_base::in & this->_M_mode & __mode) != 0;
172 bool __testout = (ios_base::out & this->_M_mode & __mode) != 0;
173 const bool __testboth = __testin && __testout && __way != ios_base::cur;
174 __testin &= !(__mode & ios_base::out);
175 __testout &= !(__mode & ios_base::in);
186 if (__way == ios_base::cur)
191 else if (__way == ios_base::end)
216 seekpos(pos_type __sp, ios_base::openmode __mode)
219 const bool __testin = (ios_base::in & this->_M_mode & __mode) != 0;
220 const bool __testout = (ios_base::out & this->_M_mode & __mode) != 0;
248 const bool __testin = _M_mode & ios_base::in;
249 const bool __testout = _M_mode & ios_base::out;
usr/include/c++/7.4.0/fstream 113 ios_base::openmode _M_mode;
297 open(const char* __s, ios_base::openmode __mode);
307 open(const std::string& __s, ios_base::openmode __mode)
379 seekoff(off_type __off, ios_base::seekdir __way,
380 ios_base::openmode __mode = ios_base::in | ios_base::out);
380 ios_base::openmode __mode = ios_base::in | ios_base::out);
380 ios_base::openmode __mode = ios_base::in | ios_base::out);
384 ios_base::openmode __mode = ios_base::in | ios_base::out);
384 ios_base::openmode __mode = ios_base::in | ios_base::out);
384 ios_base::openmode __mode = ios_base::in | ios_base::out);
388 _M_seek(off_type __off, ios_base::seekdir __way, __state_type __state);
424 const bool __testin = _M_mode & ios_base::in;
425 const bool __testout = (_M_mode & ios_base::out
426 || _M_mode & ios_base::app);
495 basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
495 basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
512 ios_base::openmode __mode = ios_base::in)
512 ios_base::openmode __mode = ios_base::in)
595 open(const char* __s, ios_base::openmode __mode = ios_base::in)
595 open(const char* __s, ios_base::openmode __mode = ios_base::in)
597 if (!_M_filebuf.open(__s, __mode | ios_base::in))
598 this->setstate(ios_base::failbit);
615 open(const std::string& __s, ios_base::openmode __mode = ios_base::in)
615 open(const std::string& __s, ios_base::openmode __mode = ios_base::in)
617 if (!_M_filebuf.open(__s, __mode | ios_base::in))
618 this->setstate(ios_base::failbit);
636 this->setstate(ios_base::failbit);
698 ios_base::openmode __mode = ios_base::out|ios_base::trunc)
698 ios_base::openmode __mode = ios_base::out|ios_base::trunc)
698 ios_base::openmode __mode = ios_base::out|ios_base::trunc)
716 ios_base::openmode __mode = ios_base::out|ios_base::trunc)
716 ios_base::openmode __mode = ios_base::out|ios_base::trunc)
716 ios_base::openmode __mode = ios_base::out|ios_base::trunc)
800 ios_base::openmode __mode = ios_base::out | ios_base::trunc)
800 ios_base::openmode __mode = ios_base::out | ios_base::trunc)
800 ios_base::openmode __mode = ios_base::out | ios_base::trunc)
802 if (!_M_filebuf.open(__s, __mode | ios_base::out))
803 this->setstate(ios_base::failbit);
821 ios_base::openmode __mode = ios_base::out | ios_base::trunc)
821 ios_base::openmode __mode = ios_base::out | ios_base::trunc)
821 ios_base::openmode __mode = ios_base::out | ios_base::trunc)
823 if (!_M_filebuf.open(__s, __mode | ios_base::out))
824 this->setstate(ios_base::failbit);
842 this->setstate(ios_base::failbit);
903 ios_base::openmode __mode = ios_base::in | ios_base::out)
903 ios_base::openmode __mode = ios_base::in | ios_base::out)
903 ios_base::openmode __mode = ios_base::in | ios_base::out)
918 ios_base::openmode __mode = ios_base::in | ios_base::out)
918 ios_base::openmode __mode = ios_base::in | ios_base::out)
918 ios_base::openmode __mode = ios_base::in | ios_base::out)
1002 ios_base::openmode __mode = ios_base::in | ios_base::out)
1002 ios_base::openmode __mode = ios_base::in | ios_base::out)
1002 ios_base::openmode __mode = ios_base::in | ios_base::out)
1005 this->setstate(ios_base::failbit);
1023 ios_base::openmode __mode = ios_base::in | ios_base::out)
1023 ios_base::openmode __mode = ios_base::in | ios_base::out)
1023 ios_base::openmode __mode = ios_base::in | ios_base::out)
1026 this->setstate(ios_base::failbit);
1044 this->setstate(ios_base::failbit);
usr/include/c++/7.4.0/iomanip 56 struct _Resetiosflags { ios_base::fmtflags _M_mask; };
66 resetiosflags(ios_base::fmtflags __mask)
86 struct _Setiosflags { ios_base::fmtflags _M_mask; };
96 setiosflags(ios_base::fmtflags __mask)
134 __is.setf(__f._M_base == 8 ? ios_base::oct :
135 __f._M_base == 10 ? ios_base::dec :
136 __f._M_base == 16 ? ios_base::hex :
137 ios_base::fmtflags(0), ios_base::basefield);
145 __os.setf(__f._M_base == 8 ? ios_base::oct :
146 __f._M_base == 10 ? ios_base::dec :
147 __f._M_base == 16 ? ios_base::hex :
148 ios_base::fmtflags(0), ios_base::basefield);
269 ios_base::iostate __err = ios_base::goodbit;
269 ios_base::iostate __err = ios_base::goodbit;
281 __is._M_setstate(ios_base::badbit);
285 { __is._M_setstate(ios_base::badbit); }
316 ios_base::iostate __err = ios_base::goodbit;
316 ios_base::iostate __err = ios_base::goodbit;
325 __err |= ios_base::badbit;
329 __os._M_setstate(ios_base::badbit);
333 { __os._M_setstate(ios_base::badbit); }
368 ios_base::iostate __err = ios_base::goodbit;
368 ios_base::iostate __err = ios_base::goodbit;
380 __err |= ios_base::badbit;
384 __os._M_setstate(ios_base::badbit);
388 { __os._M_setstate(ios_base::badbit); }
423 ios_base::iostate __err = ios_base::goodbit;
423 ios_base::iostate __err = ios_base::goodbit;
438 __is._M_setstate(ios_base::badbit);
442 { __is._M_setstate(ios_base::badbit); }
usr/include/c++/7.4.0/iostream 74 static ios_base::Init __ioinit;
usr/include/c++/7.4.0/istream 131 operator>>(ios_base& (*__pf)(ios_base&))
131 operator>>(ios_base& (*__pf)(ios_base&))
602 seekg(off_type, ios_base::seekdir);
usr/include/c++/7.4.0/ostream 127 operator<<(ios_base& (*__pf) (ios_base&))
127 operator<<(ios_base& (*__pf) (ios_base&))
315 this->setstate(ios_base::badbit);
381 seekp(off_type, ios_base::seekdir);
457 if (bool(_M_os.flags() & ios_base::unitbuf) && !uncaught_exception())
461 _M_os.setstate(ios_base::badbit);
542 __out.setstate(ios_base::badbit);
559 __out.setstate(ios_base::badbit);
usr/include/c++/7.4.0/sstream 85 ios_base::openmode _M_mode;
100 basic_stringbuf(ios_base::openmode __mode = ios_base::in | ios_base::out)
100 basic_stringbuf(ios_base::openmode __mode = ios_base::in | ios_base::out)
100 basic_stringbuf(ios_base::openmode __mode = ios_base::in | ios_base::out)
114 ios_base::openmode __mode = ios_base::in | ios_base::out)
114 ios_base::openmode __mode = ios_base::in | ios_base::out)
114 ios_base::openmode __mode = ios_base::in | ios_base::out)
201 _M_stringbuf_init(ios_base::openmode __mode)
205 if (_M_mode & (ios_base::ate | ios_base::app))
205 if (_M_mode & (ios_base::ate | ios_base::app))
214 if (_M_mode & ios_base::in)
262 seekoff(off_type __off, ios_base::seekdir __way,
263 ios_base::openmode __mode = ios_base::in | ios_base::out);
263 ios_base::openmode __mode = ios_base::in | ios_base::out);
263 ios_base::openmode __mode = ios_base::in | ios_base::out);
267 ios_base::openmode __mode = ios_base::in | ios_base::out);
267 ios_base::openmode __mode = ios_base::in | ios_base::out);
267 ios_base::openmode __mode = ios_base::in | ios_base::out);
280 const bool __testin = _M_mode & ios_base::in;
416 basic_istringstream(ios_base::openmode __mode = ios_base::in)
416 basic_istringstream(ios_base::openmode __mode = ios_base::in)
417 : __istream_type(), _M_stringbuf(__mode | ios_base::in)
435 ios_base::openmode __mode = ios_base::in)
435 ios_base::openmode __mode = ios_base::in)
436 : __istream_type(), _M_stringbuf(__str, __mode | ios_base::in)
560 basic_ostringstream(ios_base::openmode __mode = ios_base::out)
560 basic_ostringstream(ios_base::openmode __mode = ios_base::out)
561 : __ostream_type(), _M_stringbuf(__mode | ios_base::out)
579 ios_base::openmode __mode = ios_base::out)
579 ios_base::openmode __mode = ios_base::out)
580 : __ostream_type(), _M_stringbuf(__str, __mode | ios_base::out)
703 basic_stringstream(ios_base::openmode __m = ios_base::out | ios_base::in)
703 basic_stringstream(ios_base::openmode __m = ios_base::out | ios_base::in)
703 basic_stringstream(ios_base::openmode __m = ios_base::out | ios_base::in)
720 ios_base::openmode __m = ios_base::out | ios_base::in)
720 ios_base::openmode __m = ios_base::out | ios_base::in)
720 ios_base::openmode __m = ios_base::out | ios_base::in)
usr/include/c++/7.4.0/streambuf 251 pubseekoff(off_type __off, ios_base::seekdir __way,
252 ios_base::openmode __mode = ios_base::in | ios_base::out)
252 ios_base::openmode __mode = ios_base::in | ios_base::out)
252 ios_base::openmode __mode = ios_base::in | ios_base::out)
264 ios_base::openmode __mode = ios_base::in | ios_base::out)
264 ios_base::openmode __mode = ios_base::in | ios_base::out)
264 ios_base::openmode __mode = ios_base::in | ios_base::out)
602 seekoff(off_type, ios_base::seekdir,
603 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
603 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
603 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
615 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
615 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
615 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
usr/include/x86_64-linux-gnu/c++/7.4.0/bits/basic_file.h 85 open(const char* __name, ios_base::openmode __mode, int __prot = 0664);
88 sys_open(__c_file* __file, ios_base::openmode);
91 sys_open(int __fd, ios_base::openmode __mode) throw ();
118 seekoff(streamoff __off, ios_base::seekdir __way) throw ();
utils/benchmark/src/benchmark.cc 612 static std::ios_base::Init init;