Lines Matching refs:ios_base

39     basic_filebuf* open(const char* s, ios_base::openmode mode);
40 basic_filebuf* open(const string& s, ios_base::openmode mode);
41 basic_filebuf* open(const filesystem::path& p, ios_base::openmode mode); // C++17
52 virtual pos_type seekoff(off_type off, ios_base::seekdir way,
53 ios_base::openmode which = ios_base::in | ios_base::out);
55 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 ios_base::openmode mode = ios_base::in); // C++17
90 void open(const char* s, ios_base::openmode mode = ios_base::in);
91 void open(const string& s, ios_base::openmode mode = ios_base::in);
92 void open(const filesystem::path& s, ios_base::openmode mode = ios_base::in); // C++17
116 explicit basic_ofstream(const char* s, ios_base::openmode mode = ios_base::out);
117 explicit basic_ofstream(const string& s, ios_base::openmode mode = ios_base::out);
119 ios_base::openmode mode = ios_base::out); // C++17
127 void open(const char* s, ios_base::openmode mode = ios_base::out);
128 void open(const string& s, ios_base::openmode mode = ios_base::out);
130 ios_base::openmode mode = ios_base::out); // C++17
154 explicit basic_fstream(const char* s, ios_base::openmode mode = ios_base::in|ios_base::out);
155 explicit basic_fstream(const string& s, ios_base::openmode mode = ios_base::in|ios_base::out);
157 ios_base::openmode mode = ios_base::in|ios_base::out); C++17
165 void open(const char* s, ios_base::openmode mode = ios_base::in|ios_base::out);
166 void open(const string& s, ios_base::openmode mode = ios_base::in|ios_base::out);
168 ios_base::openmode mode = ios_base::in|ios_base::out); // C++17
231 basic_filebuf* open(const char* __s, ios_base::openmode __mode);
233 basic_filebuf* open(const wchar_t* __s, ios_base::openmode __mode);
236 basic_filebuf* open(const string& __s, ios_base::openmode __mode);
240 basic_filebuf* open(const _VSTD_FS::path& __p, ios_base::openmode __mode) {
245 basic_filebuf* __open(int __fd, ios_base::openmode __mode);
251 __make_mdstring(ios_base::openmode __mode) _NOEXCEPT;
259 virtual pos_type seekoff(off_type __off, ios_base::seekdir __way,
260 ios_base::openmode __wch = ios_base::in | ios_base::out);
262 ios_base::openmode __wch = ios_base::in | ios_base::out);
278 ios_base::openmode __om_;
279 ios_base::openmode __cm_;
508 ios_base::openmode __mode) _NOEXCEPT {
509 switch (__mode & ~ios_base::ate) {
510 case ios_base::out:
511 case ios_base::out | ios_base::trunc:
513 case ios_base::out | ios_base::app:
514 case ios_base::app:
516 case ios_base::in:
518 case ios_base::in | ios_base::out:
520 case ios_base::in | ios_base::out | ios_base::trunc:
522 case ios_base::in | ios_base::out | ios_base::app:
523 case ios_base::in | ios_base::app:
525 case ios_base::out | ios_base::binary:
526 case ios_base::out | ios_base::trunc | ios_base::binary:
528 case ios_base::out | ios_base::app | ios_base::binary:
529 case ios_base::app | ios_base::binary:
531 case ios_base::in | ios_base::binary:
533 case ios_base::in | ios_base::out | ios_base::binary:
535 case ios_base::in | ios_base::out | ios_base::trunc | ios_base::binary:
537 case ios_base::in | ios_base::out | ios_base::app | ios_base::binary:
538 case ios_base::in | ios_base::app | ios_base::binary:
549 basic_filebuf<_CharT, _Traits>::open(const char* __s, ios_base::openmode __mode)
559 if (__mode & ios_base::ate) {
575 basic_filebuf<_CharT, _Traits>::__open(int __fd, ios_base::openmode __mode) {
583 if (__mode & ios_base::ate) {
602 basic_filebuf<_CharT, _Traits>::open(const wchar_t* __s, ios_base::openmode __mode)
609 switch (__mode & ~ios_base::ate)
611 case ios_base::out:
612 case ios_base::out | ios_base::trunc:
615 case ios_base::out | ios_base::app:
616 case ios_base::app:
619 case ios_base::in:
622 case ios_base::in | ios_base::out:
625 case ios_base::in | ios_base::out | ios_base::trunc:
628 case ios_base::in | ios_base::out | ios_base::app:
629 case ios_base::in | ios_base::app:
632 case ios_base::out | ios_base::binary:
633 case ios_base::out | ios_base::trunc | ios_base::binary:
636 case ios_base::out | ios_base::app | ios_base::binary:
637 case ios_base::app | ios_base::binary:
640 case ios_base::in | ios_base::binary:
643 case ios_base::in | ios_base::out | ios_base::binary:
646 case ios_base::in | ios_base::out | ios_base::trunc | ios_base::binary:
649 case ios_base::in | ios_base::out | ios_base::app | ios_base::binary:
650 case ios_base::in | ios_base::app | ios_base::binary:
663 if (__mode & ios_base::ate)
684 basic_filebuf<_CharT, _Traits>::open(const string& __s, ios_base::openmode __mode)
791 if ((__om_ & ios_base::out) ||
922 basic_filebuf<_CharT, _Traits>::seekoff(off_type __off, ios_base::seekdir __way,
923 ios_base::openmode)
935 case ios_base::beg:
938 case ios_base::cur:
941 case ios_base::end:
962 basic_filebuf<_CharT, _Traits>::seekpos(pos_type __sp, ios_base::openmode)
986 if (__cm_ & ios_base::out)
1005 else if (__cm_ & ios_base::in)
1094 if (!(__cm_ & ios_base::in))
1103 __cm_ = ios_base::in;
1113 if (!(__cm_ & ios_base::out))
1126 __cm_ = ios_base::out;
1147 explicit basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in);
1150 explicit basic_ifstream(const wchar_t* __s, ios_base::openmode __mode = ios_base::in);
1153 explicit basic_ifstream(const string& __s, ios_base::openmode __mode = ios_base::in);
1156 explicit basic_ifstream(const filesystem::path& __p, ios_base::openmode __mode = ios_base::in)
1175 void open(const char* __s, ios_base::openmode __mode = ios_base::in);
1177 void open(const wchar_t* __s, ios_base::openmode __mode = ios_base::in);
1179 void open(const string& __s, ios_base::openmode __mode = ios_base::in);
1183 ios_base::openmode __mode = ios_base::in) {
1189 void __open(int __fd, ios_base::openmode __mode);
1208 basic_ifstream<_CharT, _Traits>::basic_ifstream(const char* __s, ios_base::openmode __mode)
1211 if (__sb_.open(__s, __mode | ios_base::in) == 0)
1212 this->setstate(ios_base::failbit);
1218 basic_ifstream<_CharT, _Traits>::basic_ifstream(const wchar_t* __s, ios_base::openmode __mode)
1221 if (__sb_.open(__s, __mode | ios_base::in) == 0)
1222 this->setstate(ios_base::failbit);
1228 basic_ifstream<_CharT, _Traits>::basic_ifstream(const string& __s, ios_base::openmode __mode)
1231 if (__sb_.open(__s, __mode | ios_base::in) == 0)
1232 this->setstate(ios_base::failbit);
1295 basic_ifstream<_CharT, _Traits>::open(const char* __s, ios_base::openmode __mode)
1297 if (__sb_.open(__s, __mode | ios_base::in))
1300 this->setstate(ios_base::failbit);
1306 basic_ifstream<_CharT, _Traits>::open(const wchar_t* __s, ios_base::openmode __mode)
1308 if (__sb_.open(__s, __mode | ios_base::in))
1311 this->setstate(ios_base::failbit);
1317 basic_ifstream<_CharT, _Traits>::open(const string& __s, ios_base::openmode __mode)
1319 if (__sb_.open(__s, __mode | ios_base::in))
1322 this->setstate(ios_base::failbit);
1327 ios_base::openmode __mode) {
1328 if (__sb_.__open(__fd, __mode | ios_base::in))
1331 this->setstate(ios_base::failbit);
1341 this->setstate(ios_base::failbit);
1360 explicit basic_ofstream(const char* __s, ios_base::openmode __mode = ios_base::out);
1363 explicit basic_ofstream(const wchar_t* __s, ios_base::openmode __mode = ios_base::out);
1366 explicit basic_ofstream(const string& __s, ios_base::openmode __mode = ios_base::out);
1370 explicit basic_ofstream(const filesystem::path& __p, ios_base::openmode __mode = ios_base::out)
1389 void open(const char* __s, ios_base::openmode __mode = ios_base::out);
1391 void open(const wchar_t* __s, ios_base::openmode __mode = ios_base::out);
1393 void open(const string& __s, ios_base::openmode __mode = ios_base::out);
1397 void open(const filesystem::path& __p, ios_base::openmode __mode = ios_base::out)
1402 void __open(int __fd, ios_base::openmode __mode);
1421 basic_ofstream<_CharT, _Traits>::basic_ofstream(const char* __s, ios_base::openmode __mode)
1424 if (__sb_.open(__s, __mode | ios_base::out) == 0)
1425 this->setstate(ios_base::failbit);
1431 basic_ofstream<_CharT, _Traits>::basic_ofstream(const wchar_t* __s, ios_base::openmode __mode)
1434 if (__sb_.open(__s, __mode | ios_base::out) == 0)
1435 this->setstate(ios_base::failbit);
1441 basic_ofstream<_CharT, _Traits>::basic_ofstream(const string& __s, ios_base::openmode __mode)
1444 if (__sb_.open(__s, __mode | ios_base::out) == 0)
1445 this->setstate(ios_base::failbit);
1508 basic_ofstream<_CharT, _Traits>::open(const char* __s, ios_base::openmode __mode)
1510 if (__sb_.open(__s, __mode | ios_base::out))
1513 this->setstate(ios_base::failbit);
1519 basic_ofstream<_CharT, _Traits>::open(const wchar_t* __s, ios_base::openmode __mode)
1521 if (__sb_.open(__s, __mode | ios_base::out))
1524 this->setstate(ios_base::failbit);
1530 basic_ofstream<_CharT, _Traits>::open(const string& __s, ios_base::openmode __mode)
1532 if (__sb_.open(__s, __mode | ios_base::out))
1535 this->setstate(ios_base::failbit);
1540 ios_base::openmode __mode) {
1541 if (__sb_.__open(__fd, __mode | ios_base::out))
1544 this->setstate(ios_base::failbit);
1554 this->setstate(ios_base::failbit);
1574 … explicit basic_fstream(const char* __s, ios_base::openmode __mode = ios_base::in | ios_base::out);
1577 …explicit basic_fstream(const wchar_t* __s, ios_base::openmode __mode = ios_base::in | ios_base::ou…
1580 …explicit basic_fstream(const string& __s, ios_base::openmode __mode = ios_base::in | ios_base::out…
1584 …xplicit basic_fstream(const filesystem::path& __p, ios_base::openmode __mode = ios_base::in | ios_…
1604 void open(const char* __s, ios_base::openmode __mode = ios_base::in | ios_base::out);
1606 void open(const wchar_t* __s, ios_base::openmode __mode = ios_base::in | ios_base::out);
1608 void open(const string& __s, ios_base::openmode __mode = ios_base::in | ios_base::out);
1612 void open(const filesystem::path& __p, ios_base::openmode __mode = ios_base::in|ios_base::out)
1634 basic_fstream<_CharT, _Traits>::basic_fstream(const char* __s, ios_base::openmode __mode)
1638 this->setstate(ios_base::failbit);
1644 basic_fstream<_CharT, _Traits>::basic_fstream(const wchar_t* __s, ios_base::openmode __mode)
1648 this->setstate(ios_base::failbit);
1654 basic_fstream<_CharT, _Traits>::basic_fstream(const string& __s, ios_base::openmode __mode)
1658 this->setstate(ios_base::failbit);
1721 basic_fstream<_CharT, _Traits>::open(const char* __s, ios_base::openmode __mode)
1726 this->setstate(ios_base::failbit);
1732 basic_fstream<_CharT, _Traits>::open(const wchar_t* __s, ios_base::openmode __mode)
1737 this->setstate(ios_base::failbit);
1743 basic_fstream<_CharT, _Traits>::open(const string& __s, ios_base::openmode __mode)
1748 this->setstate(ios_base::failbit);
1758 this->setstate(ios_base::failbit);