Home
last modified time | relevance | path

Searched refs:failbit (Results 1 – 25 of 42) sorted by relevance

12

/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dget_long.pass.cpp170 assert(err == ios.failbit); in main()
194 assert(err == ios.failbit); in main()
206 assert(err == ios.failbit); in main()
218 assert(err == ios.failbit); in main()
230 assert(err == ios.failbit); in main()
242 assert(err == ios.failbit); in main()
254 assert(err == ios.failbit); in main()
266 assert(err == ios.failbit); in main()
278 assert(err == ios.failbit); in main()
290 assert(err == ios.failbit); in main()
[all …]
Dget_long_double.pass.cpp180 assert(err == ios.failbit); in main()
192 assert(err == ios.failbit); in main()
204 assert(err == ios.failbit); in main()
216 assert(err == ios.failbit); in main()
228 assert(err != ios.failbit); in main()
Dget_bool.pass.cpp92 assert(err == ios.failbit); in main()
104 assert(err == ios.failbit); in main()
117 assert(err == ios.failbit); in main()
166 assert(err == ios.failbit); in main()
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
Dget_time.pass.cpp71 assert(err == std::ios_base::failbit); in main()
82 assert(err == std::ios_base::failbit); in main()
93 assert(err == (std::ios_base::failbit | std::ios_base::eofbit)); in main()
115 assert(err == std::ios_base::failbit); in main()
Dget_time_wide.pass.cpp71 assert(err == std::ios_base::failbit); in main()
82 assert(err == std::ios_base::failbit); in main()
93 assert(err == (std::ios_base::failbit | std::ios_base::eofbit)); in main()
115 assert(err == std::ios_base::failbit); in main()
/external/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/
Drdstate.pass.cpp23 ios.setstate(std::ios::failbit); in main()
24 assert(ios.rdstate() == (std::ios::failbit | std::ios::badbit)); in main()
Dsetstate.pass.cpp61 ios.setstate(std::ios::failbit); in main()
62 assert(ios.rdstate() == (std::ios::eofbit | std::ios::failbit)); in main()
Dnot.pass.cpp23 ios.setstate(std::ios::failbit); in main()
Dbool.pass.cpp23 ios.setstate(std::ios::failbit); in main()
Dbad.pass.cpp36 ios.setstate(std::ios::failbit); in main()
Dfail.pass.cpp38 ios.setstate(std::ios::failbit); in main()
/external/zlib/src/contrib/iostream3/
Dzfstream.cc402 this->setstate(std::ios_base::failbit); in open()
413 this->setstate(std::ios_base::failbit); in attach()
423 this->setstate(std::ios_base::failbit); in close()
457 this->setstate(std::ios_base::failbit); in open()
468 this->setstate(std::ios_base::failbit); in attach()
478 this->setstate(std::ios_base::failbit); in close()
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_iostate/
Diostate.pass.cpp26 assert(std::ios_base::failbit); in main()
32 & std::ios_base::failbit) == 0 in main()
/external/libcxx/include/
Distream298 __is.setstate(ios_base::failbit | ios_base::eofbit);
303 __is.setstate(ios_base::failbit);
665 __err |= ios_base::failbit;
670 __err |= ios_base::failbit;
705 __err |= ios_base::failbit;
710 __err |= ios_base::failbit;
789 __err |= ios_base::failbit;
831 __is.setstate(ios_base::eofbit | ios_base::failbit);
896 __err |= ios_base::failbit;
908 this->setstate(ios_base::failbit);
[all …]
Dostream374 this->setstate(ios_base::failbit);
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);
626 this->setstate(ios_base::badbit | ios_base::failbit);
[all …]
Dlocale424 // and failbit is set in __err.
539 __err |= ios_base::failbit;
880 __err = ios_base::failbit;
887 __err = ios_base::failbit;
895 __err = ios_base::failbit;
908 __err = ios_base::failbit;
920 __err = ios_base::failbit;
926 __err = ios_base::failbit;
931 __err = ios_base::failbit;
950 __err = ios_base::failbit;
[all …]
Dfstream1051 this->setstate(ios_base::failbit);
1060 this->setstate(ios_base::failbit);
1128 this->setstate(ios_base::failbit);
1138 this->setstate(ios_base::failbit);
1148 this->setstate(ios_base::failbit);
1202 this->setstate(ios_base::failbit);
1211 this->setstate(ios_base::failbit);
1279 this->setstate(ios_base::failbit);
1289 this->setstate(ios_base::failbit);
1299 this->setstate(ios_base::failbit);
[all …]
/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()
/external/libcxx/test/std/localization/locale.categories/
D__scan_keyword.pass.cpp68 assert(err == std::ios_base::failbit); in main()
104 assert(err == std::ios_base::failbit); in main()
/external/openfst/src/include/fst/
Dpair-weight.h153 strm.clear(std::ios::failbit); in ReadWithParen()
173 strm.clear(std::ios::failbit); in ReadWithParen()
193 strm.clear(std::ios::failbit); in ReadWithParen()
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
Dswap.pass.cpp82 ios1.exceptions(std::ios::failbit); in main()
156 assert(ios2.exceptions() == std::ios::failbit); in main()
/external/parameter-framework/upstream/test/tmpfile/
DTmpFile.hpp52 file.exceptions(std::ofstream::failbit | std::ofstream::badbit); in TmpFile()
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/
Dget_long_double_zh_CN.pass.cpp214 assert(err == std::ios_base::failbit); in main()
225 assert(err == std::ios_base::failbit); in main()
380 assert(err == std::ios_base::failbit); in main()
391 assert(err == std::ios_base::failbit); in main()
546 assert(err == std::ios_base::failbit); in main()
557 assert(err == std::ios_base::failbit); in main()
712 assert(err == std::ios_base::failbit); in main()
723 assert(err == std::ios_base::failbit); in main()
Dget_long_double_en_US.pass.cpp211 assert(err == std::ios_base::failbit); in main()
222 assert(err == std::ios_base::failbit); in main()
377 assert(err == std::ios_base::failbit); in main()
388 assert(err == std::ios_base::failbit); in main()
543 assert(err == std::ios_base::failbit); in main()
554 assert(err == std::ios_base::failbit); in main()
709 assert(err == std::ios_base::failbit); in main()
720 assert(err == std::ios_base::failbit); in main()
/external/libcxx/src/
Dios.cpp117 const ios_base::iostate ios_base::failbit; member in ios_base
453 __rdstate_ |= failbit; in __set_failbit_and_consider_rethrow()
455 if (__exceptions_ & failbit) in __set_failbit_and_consider_rethrow()

12