Home
last modified time | relevance | path

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

/external/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/
Dclear.pass.cpp29 assert(ios.rdstate() == std::ios::badbit); in main()
33 ios.exceptions(std::ios::badbit); in main()
46 assert(ios.rdstate() == std::ios::badbit); in main()
55 assert(ios.rdstate() == (std::ios::eofbit | std::ios::badbit)); in main()
64 ios.exceptions(std::ios::badbit); in main()
Dexceptions_iostate.pass.cpp34 ios.exceptions(std::ios::badbit); in main()
40 assert(ios.exceptions() == std::ios::badbit); in main()
49 ios.exceptions(std::ios::badbit); in main()
50 assert(ios.exceptions() == std::ios::badbit); in main()
Dsetstate.pass.cpp29 assert(ios.rdstate() == std::ios::badbit); in main()
33 ios.exceptions(std::ios::badbit); in main()
46 assert(ios.rdstate() == std::ios::badbit); in main()
55 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()
Dfail.pass.cpp36 ios.setstate(std::ios::badbit); in main()
Dbad.pass.cpp38 ios.setstate(std::ios::badbit); in main()
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
Dset_rdbuf.pass.cpp42 ios.setstate(std::ios::badbit); in main()
43 ios.exceptions(std::ios::badbit); in main()
55 ios.setstate(std::ios::badbit); in main()
56 ios.exceptions(std::ios::badbit); in main()
/external/libcxx/src/
Dios.cpp113 const ios_base::iostate ios_base::badbit; member in ios_base
188 setstate(badbit); in iword()
212 setstate(badbit); in pword()
237 setstate(badbit); in register_callback()
241 setstate(badbit); in register_callback()
269 __rdstate_ = state | badbit; in clear()
271 if (((state | (__rdbuf_ ? goodbit : badbit)) & __exceptions_) != 0) in clear()
282 __rdstate_ = __rdbuf_ ? goodbit : badbit; in init()
441 __rdstate_ |= badbit; in __set_badbit_and_consider_rethrow()
443 if (__exceptions_ & badbit) in __set_badbit_and_consider_rethrow()
/external/zlib/src/contrib/iostream/
Dzfstream.cpp264 clear( ios::failbit | ios::badbit ); in attach()
273 clear( ios::failbit | ios::badbit ); in open()
282 clear( ios::failbit | ios::badbit ); in close()
294 clear( ios::badbit ); in gzifstream()
314 clear( ios::badbit ); in gzofstream()
/external/libcxx/include/
Dostream282 __os_.setstate(ios_base::badbit);
355 this->setstate(ios_base::badbit);
381 this->setstate(ios_base::badbit | ios_base::failbit);
411 this->setstate(ios_base::badbit | ios_base::failbit);
437 this->setstate(ios_base::badbit | ios_base::failbit);
467 this->setstate(ios_base::badbit | ios_base::failbit);
493 this->setstate(ios_base::badbit | ios_base::failbit);
519 this->setstate(ios_base::badbit | ios_base::failbit);
545 this->setstate(ios_base::badbit | ios_base::failbit);
571 this->setstate(ios_base::badbit | ios_base::failbit);
[all …]
Dios52 static constexpr iostate badbit;
257 static const iostate badbit = 0x1;
550 return (__rdstate_ & (failbit | badbit)) != 0;
557 return (__rdstate_ & badbit) != 0;
Diomanip376 __os.setstate(ios_base::badbit);
497 __os.setstate(ios_base::badbit);
Distream1077 this->setstate(ios_base::badbit);
1105 this->setstate(ios_base::badbit);
1135 this->setstate(ios_base::badbit);
/external/llvm/test/DebugInfo/X86/
Dmultiple-at-const-val.ll10 ; CHECK: badbit
52 !77 = !DIDerivedType(tag: DW_TAG_member, name: "badbit", line: 331, flags: DIFlagStaticMember, file…
59 !1800 = !DIGlobalVariable(name: "badbit", linkageName: "badbit", line: 331, isLocal: true, isDefini…
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/
Dmultiple-at-const-val.ll10 ; CHECK: badbit
52 !77 = !DIDerivedType(tag: DW_TAG_member, name: "badbit", line: 331, flags: DIFlagStaticMember, file…
63 !1804 = distinct !DIGlobalVariable(name: "badbit", linkageName: "badbit", line: 331, isLocal: true,…
/external/libcxx/test/std/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()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
Dgetline_pointer_size.pass.cpp85 is.exceptions(std::istream::eofbit | std::istream::badbit); in main()
131 is.exceptions(std::wistream::eofbit | std::wistream::badbit); in main()
Dgetline_pointer_size_chart.pass.cpp85 is.exceptions(std::istream::eofbit | std::istream::badbit); in main()
131 is.exceptions(std::wistream::eofbit | std::wistream::badbit); in main()
Dget_pointer_size.pass.cpp93 is.exceptions(std::istream::eofbit | std::istream::badbit); in main()
147 is.exceptions(std::wistream::eofbit | std::wistream::badbit); in main()
Dget_pointer_size_chart.pass.cpp93 is.exceptions(std::istream::eofbit | std::istream::badbit); in main()
147 is.exceptions(std::wistream::eofbit | std::wistream::badbit); in main()
/external/parameter-framework/upstream/test/tmpfile/
DTmpFile.hpp52 file.exceptions(std::ofstream::failbit | std::ofstream::badbit); in TmpFile()
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.cons/
Dctor_streambuf.pass.cpp27 assert(ios.rdstate() == std::ios::badbit); in main()
/external/parameter-framework/upstream/test/functional-tests/
DHandle.cpp311 ss.exceptions(ostream::badbit | ostream::failbit); in showBytes()
322 ss.exceptions(istream::badbit | istream::failbit); in readBytes()