Home
last modified time | relevance | path

Searched refs:badbit (Results 1 – 24 of 24) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/iostate.flags/
Dclear.pass.cpp27 assert(ios.rdstate() == std::ios::badbit); in main()
30 ios.exceptions(std::ios::badbit); in main()
42 assert(ios.rdstate() == std::ios::badbit); in main()
51 assert(ios.rdstate() == (std::ios::eofbit | std::ios::badbit)); in main()
59 ios.exceptions(std::ios::badbit); in main()
Dexceptions_iostate.pass.cpp31 ios.exceptions(std::ios::badbit); in main()
37 assert(ios.exceptions() == std::ios::badbit); in main()
45 ios.exceptions(std::ios::badbit); in main()
46 assert(ios.exceptions() == std::ios::badbit); in main()
Dsetstate.pass.cpp27 assert(ios.rdstate() == std::ios::badbit); in main()
30 ios.exceptions(std::ios::badbit); in main()
42 assert(ios.rdstate() == std::ios::badbit); in main()
51 assert(ios.rdstate() == (std::ios::eofbit | std::ios::badbit)); in main()
Drdstate.pass.cpp22 assert(ios.rdstate() == std::ios::badbit); in main()
24 assert(ios.rdstate() == (std::ios::failbit | std::ios::badbit)); in main()
Dbad.pass.cpp38 ios.setstate(std::ios::badbit); in main()
Dfail.pass.cpp36 ios.setstate(std::ios::badbit); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/
Dset_rdbuf.pass.cpp39 ios.setstate(std::ios::badbit); in main()
40 ios.exceptions(std::ios::badbit); in main()
49 ios.setstate(std::ios::badbit); in main()
50 ios.exceptions(std::ios::badbit); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios.base/ios.types/ios_iostate/
Diostate.pass.cpp24 assert(std::ios_base::badbit); in main()
30 ( std::ios_base::badbit in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_ostream.c60 this->setstate(ios_base::badbit);
86 this->_M_handle_exception(ios_base::badbit); in _M_copy_buffered()
175 this->_M_handle_exception(ios_base::badbit); in _M_copy_unbuffered()
184 this->_M_handle_exception(ios_base::badbit); in _M_copy_unbuffered()
207 __os._M_handle_exception(ios_base::badbit); in __put_num()
211 __os.setstate(ios_base::badbit); in __put_num()
322 this->_M_handle_exception(ios_base::badbit); in _M_put_char()
326 this->setstate(ios_base::badbit); in _M_put_char()
354 this->_M_handle_exception(ios_base::badbit); in _M_put_nowiden()
386 this->_M_handle_exception(ios_base::badbit); in _M_put_widen()
[all …]
D_istream.c199 __that._M_handle_exception(ios_base::badbit); in __get_num()
327 this->_M_handle_exception(ios_base::badbit); in peek()
349 this->_M_handle_exception(ios_base::badbit); in get()
374 this->_M_handle_exception(ios_base::badbit); in get()
405 this->_M_handle_exception(ios_base::badbit); in ignore()
435 this->_M_handle_exception(ios_base::badbit); in putback()
439 this->setstate(ios_base::badbit); in putback()
459 this->setstate(ios_base::badbit); in unget()
462 this->_M_handle_exception(ios_base::badbit); in unget()
465 this->setstate(ios_base::badbit); in unget()
[all …]
D_ios_base.h90 _STLP_STATIC_CONSTANT(int, badbit = 0x01);
176 bool fail() const { return (_M_iostate & (failbit | badbit)) != 0; } in fail()
177 bool bad() const { return (_M_iostate & badbit) != 0; } in bad()
D_ios.c103 this->_M_clear_nothrow(__sb != 0 ? ios_base::goodbit : ios_base::badbit); in init()
D_ios.h92 _M_clear_nothrow(this->rdbuf() ? __state : iostate(__state|ios_base::badbit));
D_ostream.h137 this->setstate(ios_base::badbit); in flush()
222 __str.setstate(ios_base::badbit); in __init_bostr()
D_istream.h316 __istr.setstate(ios_base::badbit);
/ndk/sources/cxx-stl/stlport/src/
Dios.cpp67 const ios_base::iostate ios_base::badbit; member in ios_base
160 _M_setstate_nothrow(badbit); in iword()
177 _M_setstate_nothrow(badbit); in pword()
192 _M_setstate_nothrow(badbit); in register_callback()
250 _M_setstate_nothrow(badbit); in _M_copy_state()
263 _M_setstate_nothrow(badbit); in _M_copy_state()
276 _M_setstate_nothrow(badbit); in _M_copy_state()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dios.cpp111 const ios_base::iostate ios_base::badbit; member in ios_base
182 setstate(badbit); in iword()
211 setstate(badbit); in pword()
241 setstate(badbit); in register_callback()
246 setstate(badbit); in register_callback()
273 __rdstate_ = state | badbit; in clear()
275 if (((state | (__rdbuf_ ? goodbit : badbit)) & __exceptions_) != 0) in clear()
286 __rdstate_ = __rdbuf_ ? goodbit : badbit; in init()
445 __rdstate_ |= badbit; in __set_badbit_and_consider_rethrow()
447 if (__exceptions_ & badbit) in __set_badbit_and_consider_rethrow()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dostream255 __os_.setstate(ios_base::badbit);
372 this->setstate(ios_base::badbit);
398 this->setstate(ios_base::badbit | ios_base::failbit);
428 this->setstate(ios_base::badbit | ios_base::failbit);
454 this->setstate(ios_base::badbit | ios_base::failbit);
484 this->setstate(ios_base::badbit | ios_base::failbit);
510 this->setstate(ios_base::badbit | ios_base::failbit);
536 this->setstate(ios_base::badbit | ios_base::failbit);
562 this->setstate(ios_base::badbit | ios_base::failbit);
588 this->setstate(ios_base::badbit | ios_base::failbit);
[all …]
Dios52 static constexpr iostate badbit;
258 static const iostate badbit = 0x1;
545 return (__rdstate_ & (failbit | badbit)) != 0;
552 return (__rdstate_ & badbit) != 0;
Diomanip374 __os.setstate(ios_base::badbit);
495 __os.setstate(ios_base::badbit);
Distream1267 this->setstate(ios_base::badbit);
1295 this->setstate(ios_base::badbit);
1325 this->setstate(ios_base::badbit);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/basic.ios.cons/
Dctor_streambuf.pass.cpp27 assert(ios.rdstate() == std::ios::badbit); in main()
/ndk/tests/device/test-gnustl-full/unit/
Dmoney_facets_test.cpp179 CPPUNIT_ASSERT( (err & (ios_base::failbit | ios_base::badbit)) == 0 ); in _money_put_get2()
262 CPPUNIT_ASSERT( (err & (ios_base::failbit | ios_base::badbit)) == 0 ); in _money_put_get2()
/ndk/tests/device/test-stlport/unit/
Dmoney_facets_test.cpp179 CPPUNIT_ASSERT( (err & (ios_base::failbit | ios_base::badbit)) == 0 ); in _money_put_get2()
262 CPPUNIT_ASSERT( (err & (ios_base::failbit | ios_base::badbit)) == 0 ); in _money_put_get2()