Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dget_long.pass.cpp172 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()
268 assert(err == ios.failbit); in main()
280 assert(err == ios.failbit); in main()
292 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()
Dtest_neg_one.pass.cpp74 assert(err == ios.failbit); in test_neg_one()
147 assert(err == ios.failbit); in test_negate()
/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/
Distream329 __is.setstate(ios_base::failbit | ios_base::eofbit);
334 __is.setstate(ios_base::failbit);
484 __err |= ios_base::failbit;
489 __err |= ios_base::failbit;
552 __err |= ios_base::failbit;
638 __is.setstate(ios_base::eofbit | ios_base::failbit);
703 __err |= ios_base::failbit;
715 this->setstate(ios_base::failbit);
742 this->setstate(ios_base::failbit | ios_base::eofbit);
787 __err |= ios_base::failbit;
[all …]
Dostream345 this->setstate(ios_base::failbit);
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);
597 this->setstate(ios_base::badbit | ios_base::failbit);
[all …]
Dfstream1212 this->setstate(ios_base::failbit);
1222 this->setstate(ios_base::failbit);
1232 this->setstate(ios_base::failbit);
1300 this->setstate(ios_base::failbit);
1311 this->setstate(ios_base::failbit);
1322 this->setstate(ios_base::failbit);
1331 this->setstate(ios_base::failbit);
1341 this->setstate(ios_base::failbit);
1425 this->setstate(ios_base::failbit);
1435 this->setstate(ios_base::failbit);
[all …]
Dlocale241 // and failbit is set in __err.
356 __err |= ios_base::failbit;
746 __err = ios_base::failbit;
753 __err = ios_base::failbit;
761 __err = ios_base::failbit;
774 __err = ios_base::failbit;
786 __err = ios_base::failbit;
791 __err = ios_base::failbit;
798 __err = ios_base::failbit;
840 __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()
/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/deqp-deps/glslang/SPIRV/
Dhex_float.h751 is.setstate(std::ios_base::failbit);
789 is.setstate(std::ios_base::failbit);
823 is.setstate(std::ios_base::failbit);
932 is.setstate(std::ios::failbit);
963 is.setstate(std::ios::failbit);
976 is.setstate(std::ios::failbit);
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/
Dget_long_double_zh_CN.pass.cpp217 assert(err == std::ios_base::failbit); in main()
228 assert(err == std::ios_base::failbit); in main()
383 assert(err == std::ios_base::failbit); in main()
394 assert(err == std::ios_base::failbit); in main()
549 assert(err == std::ios_base::failbit); in main()
560 assert(err == std::ios_base::failbit); in main()
715 assert(err == std::ios_base::failbit); in main()
726 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/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h821 is.setstate(std::ios_base::failbit);
859 is.setstate(std::ios_base::failbit);
893 is.setstate(std::ios_base::failbit);
1002 is.setstate(std::ios::failbit);
1033 is.setstate(std::ios::failbit);
1046 is.setstate(std::ios::failbit);
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h821 is.setstate(std::ios_base::failbit);
859 is.setstate(std::ios_base::failbit);
893 is.setstate(std::ios_base::failbit);
1002 is.setstate(std::ios::failbit);
1033 is.setstate(std::ios::failbit);
1046 is.setstate(std::ios::failbit);
/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()

12