Home
last modified time | relevance | path

Searched refs:failbit (Results 1 – 25 of 43) 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.cpp184 assert(err == ios.failbit); in main()
196 assert(err == ios.failbit); in main()
208 assert(err == ios.failbit); in main()
220 assert(err == ios.failbit); in main()
232 assert(err != ios.failbit); in main()
244 assert(err == ios.failbit); in main()
256 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()
Dget_double.pass.cpp221 assert(err == ios.failbit); in main()
233 assert(err == ios.failbit); in main()
268 assert(err == 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/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/include/
Distream328 __is.setstate(ios_base::failbit | ios_base::eofbit);
333 __is.setstate(ios_base::failbit);
676 __err |= ios_base::failbit;
681 __err |= ios_base::failbit;
716 __err |= ios_base::failbit;
721 __err |= ios_base::failbit;
773 __err |= ios_base::failbit;
815 __is.setstate(ios_base::eofbit | ios_base::failbit);
880 __err |= ios_base::failbit;
892 this->setstate(ios_base::failbit);
[all …]
Dostream344 this->setstate(ios_base::failbit);
380 this->setstate(ios_base::badbit | ios_base::failbit);
410 this->setstate(ios_base::badbit | ios_base::failbit);
436 this->setstate(ios_base::badbit | ios_base::failbit);
466 this->setstate(ios_base::badbit | ios_base::failbit);
492 this->setstate(ios_base::badbit | ios_base::failbit);
518 this->setstate(ios_base::badbit | ios_base::failbit);
544 this->setstate(ios_base::badbit | ios_base::failbit);
570 this->setstate(ios_base::badbit | ios_base::failbit);
596 this->setstate(ios_base::badbit | ios_base::failbit);
[all …]
Dfstream1156 this->setstate(ios_base::failbit);
1166 this->setstate(ios_base::failbit);
1176 this->setstate(ios_base::failbit);
1244 this->setstate(ios_base::failbit);
1255 this->setstate(ios_base::failbit);
1266 this->setstate(ios_base::failbit);
1276 this->setstate(ios_base::failbit);
1344 this->setstate(ios_base::failbit);
1354 this->setstate(ios_base::failbit);
1364 this->setstate(ios_base::failbit);
[all …]
Dlocale240 // and failbit is set in __err.
355 __err |= ios_base::failbit;
745 __err = ios_base::failbit;
752 __err = ios_base::failbit;
760 __err = ios_base::failbit;
773 __err = ios_base::failbit;
785 __err = ios_base::failbit;
791 __err = ios_base::failbit;
796 __err = ios_base::failbit;
838 __err = ios_base::failbit;
[all …]
/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.cpp66 ios.setstate(std::ios::failbit); in main()
67 assert(ios.rdstate() == (std::ios::eofbit | std::ios::failbit)); in main()
Dnot.pass.cpp23 ios.setstate(std::ios::failbit); in main()
Dbool.pass.cpp26 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/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/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/libcxx/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/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()
Dget_string_en_US.pass.cpp211 assert(err == std::ios_base::failbit); in main()
223 assert(err == std::ios_base::failbit); in main()
379 assert(err == std::ios_base::failbit); in main()
391 assert(err == std::ios_base::failbit); in main()
547 assert(err == std::ios_base::failbit); in main()
559 assert(err == std::ios_base::failbit); in main()
715 assert(err == std::ios_base::failbit); in main()
727 assert(err == std::ios_base::failbit); in main()
/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/libcxx/src/
Dios.cpp115 const ios_base::iostate ios_base::failbit; member in ios_base
451 __rdstate_ |= failbit; in __set_failbit_and_consider_rethrow()
453 if (__exceptions_ & failbit) in __set_failbit_and_consider_rethrow()

12