Home
last modified time | relevance | path

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

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
Dbool.pass.cpp23 ios.setstate(std::ios::failbit); in main()
Dnot.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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_fstream.h467 this->setstate(ios_base::failbit);
475 this->setstate(ios_base::failbit);
482 this->setstate(ios_base::failbit); in basic_ifstream()
490 this->setstate(ios_base::failbit);
507 this->setstate(ios_base::failbit);
512 this->setstate(ios_base::failbit); in close()
546 this->setstate(ios_base::failbit);
555 this->setstate(ios_base::failbit);
561 this->setstate(ios_base::failbit); in basic_ofstream()
569 this->setstate(ios_base::failbit);
[all …]
D_string_io.c62 __os.setstate(__ostream::failbit);
113 __is.setstate(__istream::failbit);
123 __is.setstate(__istream::failbit);
126 __is.setstate(__istream::failbit);
161 __is.setstate(__istream::failbit); in getline()
D_istream.c220 this->setstate(ios_base::failbit);
238 this->setstate(ios_base::failbit);
357 this->setstate(ios_base::eofbit | ios_base::failbit); in get()
384 this->setstate(ios_base::eofbit | ios_base::failbit); in get()
442 this->setstate(ios_base::failbit); in putback()
468 this->setstate(ios_base::failbit); in unget()
510 this->setstate(ios_base::failbit); in seekg()
549 this->setstate(ios_base::eofbit | ios_base::failbit); in _M_formatted_get()
594 __status |= ios_base::failbit; in __read_unbuffered()
607 __status |= ios_base::failbit; in __read_unbuffered()
[all …]
D_time_facets.c192 __err |= ios_base::failbit; in _STLP_WEAK()
216 __err |= ios_base::failbit; in _STLP_WEAK()
319 __err = ios_base::failbit; in do_get_date()
340 : ios_base::failbit; in do_get_time()
352 __err = ios_base::failbit | ios_base::eofbit; in do_get_year()
358 __err = __pr ? ios_base::goodbit : ios_base::failbit; in do_get_year()
375 __err = ios_base::failbit; in do_get_weekday()
392 __err = ios_base::failbit; in do_get_monthname()
D_monetary.c157 __err = ios_base::failbit; in __money_do_get()
171 __err = ios_base::failbit; in __money_do_get()
183 __err = ios_base::failbit; in __money_do_get()
208 __err = ios_base::failbit; in __money_do_get()
233 __err |= ios_base::failbit; in __money_do_get()
235 __err = ios_base::failbit; in __money_do_get()
250 __err |= ios::failbit; in __money_do_get()
252 if (!(__err & ios_base::failbit)) in __money_do_get()
261 __err |= ios::failbit; in __money_do_get()
263 if (!(__err & ios::failbit)) { in __money_do_get()
D_ostream.c57 this->setstate(ios_base::failbit);
98 this->_M_handle_exception(ios_base::failbit); in _M_copy_buffered()
158 this->_M_handle_exception(ios_base::failbit); in _M_copy_unbuffered()
358 this->setstate(ios_base::failbit); in _M_put_nowiden()
390 this->setstate(ios_base::failbit); in _M_put_widen()
D_num_get.c287 __err = __STATIC_CAST(ios_base::iostate, __result ? ios_base::goodbit : ios_base::failbit); in __do_get_integer()
440 __err = ios_base::failbit; in __do_get_float()
479 __err = ios_base::failbit; in __do_get_alphabool()
507 if (!(__err & ios_base::failbit)) { in do_get()
513 __err |= ios_base::failbit; in do_get()
596 if (!(__err & ios_base::failbit)) in do_get()
D_bitset.c202 __is.setstate(ios_base::failbit);
209 __is.setstate(ios_base::failbit);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
/ndk/sources/cxx-stl/stlport/src/
Dcomplex_io.cpp60 __is.setstate(ios_base::failbit); in operator >>()
86 __is.setstate(ios_base::failbit); in operator >>()
113 __is.setstate(ios_base::failbit); in operator >>()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dostream362 this->setstate(ios_base::failbit);
398 this->setstate(ios_base::badbit | ios_base::failbit);
428 this->setstate(ios_base::badbit | ios_base::failbit);
454 this->setstate(ios_base::badbit | ios_base::failbit);
484 this->setstate(ios_base::badbit | ios_base::failbit);
510 this->setstate(ios_base::badbit | ios_base::failbit);
536 this->setstate(ios_base::badbit | ios_base::failbit);
562 this->setstate(ios_base::badbit | ios_base::failbit);
588 this->setstate(ios_base::badbit | ios_base::failbit);
614 this->setstate(ios_base::badbit | ios_base::failbit);
[all …]
Distream282 __is.setstate(ios_base::failbit | ios_base::eofbit);
287 __is.setstate(ios_base::failbit);
649 __err |= ios_base::failbit;
654 __err |= ios_base::failbit;
689 __err |= ios_base::failbit;
694 __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 …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/
Dswap.pass.cpp79 ios1.exceptions(std::ios::failbit); in main()
153 assert(ios2.exceptions() == std::ios::failbit); in main()

123