Home
last modified time | relevance | path

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

/external/libcxx/test/std/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()
/external/libcxx/test/std/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()
/external/openfst/src/include/fst/
Dsparse-tuple-weight.h335 strm.clear(std::ios::badbit);
343 strm.clear(std::ios::badbit);
376 strm.clear(std::ios::badbit);
384 strm.clear(std::ios::badbit);
414 strm.clear(std::ios::badbit); in ReadNoParen()
431 strm.clear(std::ios::badbit); in ReadNoParen()
452 strm.clear(std::ios::badbit); in ReadNoParen()
468 strm.clear(std::ios::badbit); in ReadNoParen()
483 strm.clear(std::ios::badbit); in ReadNoParen()
506 strm.clear(std::ios::badbit); in ReadWithParen()
[all …]
Dtuple-weight.h149 strm.clear(std::ios::badbit); in ReadNoParen()
183 strm.clear(std::ios::badbit); in ReadWithParen()
194 strm.clear(std::ios::badbit); in ReadWithParen()
278 strm.clear(std::ios::badbit);
286 strm.clear(std::ios::badbit);
309 strm.clear(std::ios::badbit);
317 strm.clear(std::ios::badbit);
Dpair-weight.h125 strm.clear(std::ios::badbit); in ReadNoParen()
163 strm.clear(std::ios::badbit); in ReadWithParen()
237 strm.clear(std::ios::badbit);
246 strm.clear(std::ios::badbit);
259 strm.clear(std::ios::badbit);
267 strm.clear(std::ios::badbit);
Dfloat-weight.h179 strm.clear(std::ios::badbit);
Dstring-weight.h356 strm.clear(std::ios::badbit);
/external/libcxx/src/
Dios.cpp112 const ios_base::iostate ios_base::badbit; member in ios_base
187 setstate(badbit); in iword()
211 setstate(badbit); in pword()
236 setstate(badbit); in register_callback()
240 setstate(badbit); in register_callback()
268 __rdstate_ = state | badbit; in clear()
270 if (((state | (__rdbuf_ ? goodbit : badbit)) & __exceptions_) != 0) in clear()
281 __rdstate_ = __rdbuf_ ? goodbit : badbit; in init()
440 __rdstate_ |= badbit; in __set_badbit_and_consider_rethrow()
442 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/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/include/
Dostream267 __os_.setstate(ios_base::badbit);
384 this->setstate(ios_base::badbit);
410 this->setstate(ios_base::badbit | ios_base::failbit);
440 this->setstate(ios_base::badbit | ios_base::failbit);
466 this->setstate(ios_base::badbit | ios_base::failbit);
496 this->setstate(ios_base::badbit | ios_base::failbit);
522 this->setstate(ios_base::badbit | ios_base::failbit);
548 this->setstate(ios_base::badbit | ios_base::failbit);
574 this->setstate(ios_base::badbit | ios_base::failbit);
600 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);
Distream1283 this->setstate(ios_base::badbit);
1311 this->setstate(ios_base::badbit);
1341 this->setstate(ios_base::badbit);
/external/llvm/test/DebugInfo/X86/
Dmultiple-at-const-val.ll10 ; CHECK: badbit
52 !77 = !MDDerivedType(tag: DW_TAG_member, name: "badbit", line: 331, flags: DIFlagStaticMember, file…
60 !1800 = !MDGlobalVariable(name: "badbit", linkageName: "badbit", line: 331, isLocal: true, isDefini…
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.cons/
Dctor_streambuf.pass.cpp27 assert(ios.rdstate() == std::ios::badbit); in main()