Home
last modified time | relevance | path

Searched refs:eofbit (Results 1 – 25 of 54) sorted by relevance

123

/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/
Dios_members.cc76 const iostate iostate01 = std::ios_base::badbit | std::ios_base::eofbit; in test02()
97 ios_01.clear(std::ios_base::eofbit); in test02()
113 ios_01.exceptions(std::ios_base::eofbit); in test02()
118 VERIFY( static_cast<bool>(iostate02 & std::ios_base::eofbit) ); in test02()
126 ios_02.exceptions(std::ios_base::eofbit); in test02()
127 VERIFY( static_cast<bool>(ios_02.exceptions() & std::ios_base::eofbit) ); in test02()
Distream_unformatted.cc49 stateeof = std::ios_base::eofbit; in test01()
161 stateeof = std::ios_base::eofbit; in test02()
257 stateeof = std::ios_base::eofbit; in test03()
346 stateeof = std::ios_base::eofbit; in test04()
Distream_manip.cc64 flag3 = std::ios_base::eofbit; in test01()
Distringstream_members.cc38 stateeof = std::ios_base::eofbit; in test01()
/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/22_locale/
Dnum_get_members_char.cc78 const ios_base::iostate eofbit = ios_base::eofbit; in test01() local
86 VERIFY( err & ios_base::eofbit ); in test01()
92 VERIFY( err & eofbit ); in test01()
135 VERIFY( err == eofbit ); in test01()
173 VERIFY( err == eofbit ); in test01()
184 VERIFY( err == eofbit ); in test01()
204 VERIFY( err == eofbit ); in test01()
234 VERIFY( err == eofbit ); in test01()
250 const ios_base::iostate eofbit = ios_base::eofbit; in test02() local
Dtime_get_members_char.cc92 VERIFY( errorstate == ios_base::eofbit ); in test01()
131 VERIFY( errorstate == ios_base::eofbit ); in test01()
146 VERIFY( errorstate == ios_base::eofbit ); in test01()
203 VERIFY( errorstate == ios_base::eofbit ); in test02()
211 VERIFY( errorstate == ios_base::eofbit ); in test02()
259 VERIFY( errorstate == ios_base::eofbit ); in test02()
269 VERIFY( errorstate == ios_base::eofbit ); in test02()
326 VERIFY( errorstate == ios_base::eofbit ); in test03()
334 VERIFY( errorstate == ios_base::eofbit ); in test03()
382 VERIFY( errorstate == ios_base::eofbit ); in test03()
[all …]
Dtime_get_members_wchar_t.cc92 VERIFY( errorstate == ios_base::eofbit ); in test01()
131 VERIFY( errorstate == ios_base::eofbit ); in test01()
146 VERIFY( errorstate == ios_base::eofbit ); in test01()
203 VERIFY( errorstate == ios_base::eofbit ); in test02()
211 VERIFY( errorstate == ios_base::eofbit ); in test02()
259 VERIFY( errorstate == ios_base::eofbit ); in test02()
269 VERIFY( errorstate == ios_base::eofbit ); in test02()
326 VERIFY( errorstate == ios_base::eofbit ); in test03()
334 VERIFY( errorstate == ios_base::eofbit ); in test03()
382 VERIFY( errorstate == ios_base::eofbit ); in test03()
[all …]
Dnum_get_members_wchar_t.cc79 const ios_base::iostate eofbit = ios_base::eofbit; in test01() local
87 VERIFY( err & ios_base::eofbit ); in test01()
93 VERIFY( err & eofbit ); in test01()
136 VERIFY( err == eofbit ); in test01()
174 VERIFY( err == eofbit ); in test01()
185 VERIFY( err == eofbit ); in test01()
205 VERIFY( err == eofbit ); in test01()
235 VERIFY( err == eofbit ); in test01()
251 const ios_base::iostate eofbit = ios_base::eofbit; in test02() local
Dmoney_get_members_wchar_t.cc89 VERIFY( err01 == ios_base::eofbit ); in test01()
97 VERIFY( err02 == ios_base::eofbit ); in test01()
113 VERIFY( err04 == ios_base::failbit | ios_base::eofbit ); in test01()
132 VERIFY( err06 == ios_base::eofbit ); in test01()
148 VERIFY( err08 == ios_base::eofbit ); in test01()
157 VERIFY( err09 == ios_base::eofbit ); in test01()
187 VERIFY( err12 == ios_base::eofbit ); in test01()
261 VERIFY( err01 == ios_base::eofbit ); in test02()
269 VERIFY( err02 == ios_base::eofbit ); in test02()
294 const ios_base::iostate eofbit = ios_base::eofbit; in test03() local
Dmoney_get_members_char.cc88 VERIFY( err01 == ios_base::eofbit ); in test01()
96 VERIFY( err02 == ios_base::eofbit ); in test01()
112 VERIFY( err04 == ios_base::failbit | ios_base::eofbit ); in test01()
131 VERIFY( err06 == ios_base::eofbit ); in test01()
147 VERIFY( err08 == ios_base::eofbit ); in test01()
156 VERIFY( err09 == ios_base::eofbit ); in test01()
186 VERIFY( err12 == ios_base::eofbit ); in test01()
259 VERIFY( err01 == ios_base::eofbit ); in test02()
267 VERIFY( err02 == ios_base::eofbit ); in test02()
292 const ios_base::iostate eofbit = ios_base::eofbit; in test03() local
Dtime_put_members_char.cc202 const ios_base::iostate eofbit = ios_base::eofbit; in test02() local
Dmoney_put_members_char.cc254 const ios_base::iostate eofbit = ios_base::eofbit; in test03() local
/openbsd/src/gnu/gcc/libstdc++-v3/include/bits/
Distream.tcc76 __err |= ios_base::eofbit; in _GLIBCXX_BEGIN_NAMESPACE()
167 __err |= ios_base::eofbit; in operator >>()
198 __err |= ios_base::eofbit; in get()
230 __err |= ios_base::eofbit; in get()
268 __err |= ios_base::eofbit; in get()
311 __err |= ios_base::eofbit; in get()
349 __err |= ios_base::eofbit; in getline()
394 __err |= ios_base::eofbit; in ignore()
452 __err |= ios_base::eofbit; in ignore()
504 __err |= ios_base::eofbit; in ignore()
[all …]
Dbasic_ios.h177 { return (this->rdstate() & eofbit) != 0; } in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/istream_extractor_arith/
D10.cc71 VERIFY( is_01.rdstate() == std::ios_base::eofbit ); in test10()
85 VERIFY( is_02.rdstate() == std::ios_base::eofbit ); in test10()
105 VERIFY( is_03.rdstate() == std::ios_base::eofbit ); in test10()
121 VERIFY( is_03.rdstate() == std::ios_base::eofbit ); in test10()
D07.cc85 VERIFY( static_cast<bool>(is.rdstate() & std::ios_base::eofbit) ); in test07()
157 VERIFY( static_cast<bool>(is.rdstate() & std::ios_base::eofbit) ); in test07()
D03.cc57 VERIFY( istr.rdstate() == std::ios_base::eofbit ); in test03()
D06.cc68 VERIFY( is.rdstate() == std::ios_base::eofbit ); in test06()
D08.cc81 VERIFY( static_cast<bool>(is.rdstate() & std::ios_base::eofbit) ); in test08()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Distream.tcc68 __err |= ios_base::eofbit; in sentry()
468 __err |= ios_base::eofbit; in get()
500 __err |= ios_base::eofbit; in get()
538 __err |= ios_base::eofbit; in get()
578 __err |= ios_base::eofbit; in get()
616 __err |= ios_base::eofbit; in getline()
664 __err |= ios_base::eofbit; in ignore()
689 __err |= ios_base::eofbit; in peek()
713 __err |= (ios_base::eofbit | ios_base::failbit); in read()
744 __err |= ios_base::eofbit; in readsome()
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/src/
Distream.cc85 __err |= ios_base::eofbit; in _GLIBCXX_BEGIN_NAMESPACE()
170 __err |= ios_base::eofbit; in ignore()
245 __err |= ios_base::eofbit; in operator >>()
319 __err |= ios_base::eofbit; in operator >>()
393 __err |= ios_base::eofbit; in getline()
465 __err |= ios_base::eofbit; in getline()
550 __err |= ios_base::eofbit; in ignore()
622 __err |= ios_base::eofbit; in getline()
Dcompatibility.cc113 __err |= ios_base::eofbit; in _GLIBCXX_BEGIN_NAMESPACE()
178 __err |= ios_base::eofbit; in ignore()
/openbsd/src/gnu/llvm/libcxx/include/
Distream326 __is.setstate(ios_base::failbit | ios_base::eofbit);
545 __state |= ios_base::eofbit;
649 __state |= ios_base::eofbit | ios_base::failbit;
705 __state |= ios_base::eofbit;
758 __state |= ios_base::failbit | ios_base::eofbit;
797 __state |= ios_base::eofbit;
857 __state |= ios_base::eofbit;
901 __state |= ios_base::eofbit;
965 __state |= ios_base::eofbit;
980 __state |= ios_base::eofbit;
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/23_containers/
Dbitset_members.cc61 ss.exceptions(std::ios_base::eofbit); in test03()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
Dp811.C27 enum io_state { goodbit=0, eofbit=1, failbit=2, badbit=4 }; enumerator
76 int eof() const { return _state & ios::eofbit; } in eof()
370 if (ch == (-1) ) set(ios::eofbit); in get()
374 if (ch == (-1) ) set(ios::eofbit); in peek()

123