Home
last modified time | relevance | path

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

123456

/third_party/boost/boost/numeric/ublas/
Dio.hpp96 is.setstate (std::ios_base::failbit); in operator >>()
99 is.setstate (std::ios_base::failbit); in operator >>()
104 is.setstate (std::ios_base::failbit); in operator >>()
110 is.setstate (std::ios_base::failbit); in operator >>()
116 is.setstate (std::ios_base::failbit); in operator >>()
208 is.setstate (std::ios_base::failbit); in operator >>()
211 is.setstate (std::ios_base::failbit); in operator >>()
214 is.setstate (std::ios_base::failbit); in operator >>()
219 is.setstate (std::ios_base::failbit); in operator >>()
224 is.setstate (std::ios_base::failbit); in operator >>()
[all …]
/third_party/boost/boost/chrono/io/
Dduration_get.hpp67 err |= std::ios_base::failbit; in reduce()
213 err |= std::ios_base::failbit; in get()
223 err |= std::ios_base::failbit; in get()
228 if (err & (std::ios_base::badbit | std::ios_base::failbit)) in get()
238 err |= std::ios_base::failbit; in get()
243 if (err & (std::ios_base::badbit | std::ios_base::failbit)) in get()
270 err |= std::ios_base::failbit; in get()
291 err |= std::ios_base::failbit; in get()
305 err |= std::ios_base::failbit; in get()
315 err |= std::ios_base::failbit; in get()
[all …]
Dtime_point_io.hpp86 err |= std::ios_base::eofbit | std::ios_base::failbit; in get_up_to_n_digits()
93 err |= std::ios_base::failbit; in get_up_to_n_digits()
118 if (!(err & std::ios_base::failbit) && 1 <= t && t <= 31) in get_day()
121 err |= std::ios_base::failbit; in get_day()
131 if (!(err & std::ios_base::failbit) && 1 <= t && t <= 12) in get_month()
134 err |= std::ios_base::failbit; in get_month()
144 if (!(err & std::ios_base::failbit)) in get_year4()
155 if (!(err & std::ios_base::failbit) && t <= 23) in get_hour()
158 err |= std::ios_base::failbit; in get_hour()
168 if (!(err & std::ios_base::failbit) && t <= 59) in get_minute()
[all …]
Dtime_point_get.hpp138 err |= std::ios_base::failbit; in get()
148 err |= std::ios_base::failbit; in get()
153 if (err & (std::ios_base::badbit | std::ios_base::failbit)) in get()
163 err |= std::ios_base::failbit; in get()
168 if (err & (std::ios_base::badbit | std::ios_base::failbit)) in get()
195 err |= std::ios_base::failbit; in get()
301 err |= std::ios_base::failbit; in get_epoch()
Dduration_io.hpp167 os.setstate(std::ios_base::failbit); in operator <<()
185 if (failed) os.setstate(std::ios_base::failbit | std::ios_base::badbit); in operator <<()
222 os.setstate(std::ios_base::failbit); in operator <<()
240 if (failed) os.setstate(std::ios_base::failbit | std::ios_base::badbit); in operator <<()
277 is.setstate(std::ios_base::failbit); in operator >>()
/third_party/boost/boost/date_time/gregorian/
Dgregorian_io.hpp98 if(std::ios_base::failbit & exception_mask) { in operator >>()
99 try { is.setstate(std::ios_base::failbit); } in operator >>()
105 is.setstate(std::ios_base::failbit); in operator >>()
156 if(std::ios_base::failbit & exception_mask) { in operator >>()
157 try { is.setstate(std::ios_base::failbit); } in operator >>()
162 is.setstate(std::ios_base::failbit); in operator >>()
220 if(std::ios_base::failbit & exception_mask) { in operator >>()
221 try { is.setstate(std::ios_base::failbit); } in operator >>()
226 is.setstate(std::ios_base::failbit); in operator >>()
279 if(std::ios_base::failbit & exception_mask) { in operator >>()
[all …]
/third_party/boost/libs/math/test/
Dtest_nonfinite_trap.cpp95 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit); in trap_test_finite_impl()
131 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit in trap_test_put_inf_impl()
137 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit in trap_test_put_inf_impl()
155 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit); in trap_test_get_inf_impl()
164 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit); in trap_test_get_inf_impl()
200 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit in trap_test_put_nan_impl()
206 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit in trap_test_put_nan_impl()
224 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit); in trap_test_get_nan_impl()
233 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit); in trap_test_get_nan_impl()
Dtest_nonfinite_io.cpp101 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit);
137 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit
143 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit
161 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit);
170 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit);
206 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit
212 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit
230 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit);
239 BOOST_CHECK(ss.rdstate() == std::ios_base::failbit);
267 os.exceptions(std::ios_base::badbit | std::ios_base::failbit); // Enable throwing exceptions.
[all …]
/third_party/boost/boost/date_time/posix_time/
Dposix_time_io.hpp94 if(std::ios_base::failbit & exception_mask) { in operator >>()
95 try { is.setstate(std::ios_base::failbit); } in operator >>()
101 is.setstate(std::ios_base::failbit); in operator >>()
158 if(std::ios_base::failbit & exception_mask) { in operator >>()
159 try { is.setstate(std::ios_base::failbit); } in operator >>()
164 is.setstate(std::ios_base::failbit); in operator >>()
222 if(std::ios_base::failbit & exception_mask) { in operator >>()
223 try { is.setstate(std::ios_base::failbit); } in operator >>()
228 is.setstate(std::ios_base::failbit); in operator >>()
/third_party/boost/libs/iostreams/test/
Dseekable_filter_test.cpp42 io.exceptions(BOOST_IOS::failbit | BOOST_IOS::badbit); in seekable_filter_test()
54 io.exceptions(BOOST_IOS::failbit | BOOST_IOS::badbit); in seekable_filter_test()
66 io.exceptions(BOOST_IOS::failbit | BOOST_IOS::badbit); in seekable_filter_test()
78 io.exceptions(BOOST_IOS::failbit | BOOST_IOS::badbit); in seekable_filter_test()
Ddual_seekable_test.cpp120 io.exceptions(BOOST_IOS::failbit | BOOST_IOS::badbit); in dual_seekable_test()
130 io.exceptions(BOOST_IOS::failbit | BOOST_IOS::badbit); in dual_seekable_test()
143 io.exceptions(BOOST_IOS::failbit | BOOST_IOS::badbit); in dual_seekable_test()
153 io.exceptions(BOOST_IOS::failbit | BOOST_IOS::badbit); in dual_seekable_test()
163 io.exceptions(BOOST_IOS::failbit | BOOST_IOS::badbit); in dual_seekable_test()
/third_party/boost/boost/math/
Doctonion.hpp1832 is.setstate(::std::ios_base::failbit);
1837 is.setstate(::std::ios_base::failbit);
1896 is.setstate(::std::ios_base::failbit);
1901 is.setstate(::std::ios_base::failbit);
1906 is.setstate(::std::ios_base::failbit);
1911 is.setstate(::std::ios_base::failbit);
2000 is.setstate(::std::ios_base::failbit);
2083 is.setstate(::std::ios_base::failbit);
2088 is.setstate(::std::ios_base::failbit);
2093 is.setstate(::std::ios_base::failbit);
[all …]
/third_party/boost/boost/chrono/io_v1/
Dchrono_io.hpp250 err |= std::ios_base::failbit; in reduce()
314 is.setstate(is.failbit); in operator >>()
321 is.setstate(is.failbit); in operator >>()
499 is.setstate(err|is.failbit); in operator >>()
518 is.setstate(err|is.failbit); in operator >>()
531 is.setstate(err|is.failbit); in operator >>()
541 is.setstate(err|is.failbit); in operator >>()
556 is.setstate(err|is.failbit); in operator >>()
569 is.setstate(is.failbit | is.eofbit); in operator >>()
577 is.setstate(is.failbit|is.eofbit); in operator >>()
[all …]
/third_party/boost/boost/math/special_functions/
Dnonfinite_num_facets.hpp314 state |= std::ios_base::failbit; in get_signed()
371 state |= std::ios_base::failbit; in get_i()
378 state |= std::ios_base::failbit; in get_i()
391 state |= std::ios_base::failbit; in get_i()
406 state |= std::ios_base::failbit; in get_n()
413 state |= std::ios_base::failbit; in get_n()
433 state |= std::ios_base::failbit; in get_n()
456 state |= std::ios_base::failbit; in get_q()
463 state |= std::ios_base::failbit; in get_q()
506 state |= std::ios_base::failbit; in get_one_hash()
[all …]
/third_party/boost/boost/date_time/local_time/
Dlocal_time_io.hpp105 if(std::ios_base::failbit & exception_mask) { in operator >>()
106 try { is.setstate(std::ios_base::failbit); } in operator >>()
112 is.setstate(std::ios_base::failbit); in operator >>()
171 if(std::ios_base::failbit & exception_mask) { in operator >>()
172 try { is.setstate(std::ios_base::failbit); } in operator >>()
177 is.setstate(std::ios_base::failbit); in operator >>()
/third_party/boost/boost/asio/
Dbasic_socket_iostream.hpp51 this->setstate(std::ios_base::failbit); \
69 this->setstate(std::ios_base::failbit); \
251 this->setstate(std::ios_base::failbit); in basic_socket_iostream()
271 this->setstate(std::ios_base::failbit);
281 this->setstate(std::ios_base::failbit); in close()
/third_party/boost/libs/asio/include/boost/asio/
Dbasic_socket_iostream.hpp51 this->setstate(std::ios_base::failbit); \
69 this->setstate(std::ios_base::failbit); \
251 this->setstate(std::ios_base::failbit); in basic_socket_iostream()
271 this->setstate(std::ios_base::failbit);
281 this->setstate(std::ios_base::failbit); in close()
/third_party/zlib/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()
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/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()
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/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()
/third_party/boost/libs/math/example/
Dnonfinite_num_facet_trap.cpp59 oss.exceptions(std::ios_base::failbit | std::ios_base::badbit); in main()
71 oss.exceptions(std::ios_base::failbit | std::ios_base::badbit); in main()
88 oss.exceptions(std::ios_base::failbit | std::ios_base::badbit); in main()
/third_party/boost/boost/process/
Dpipe.hpp378 this->setstate(std::ios_base::failbit); in open()
387 this->setstate(std::ios_base::failbit); in open()
396 this->setstate(std::ios_base::failbit); in close()
486 this->setstate(std::ios_base::failbit); in open()
495 this->setstate(std::ios_base::failbit); in open()
504 this->setstate(std::ios_base::failbit); in close()
594 this->setstate(std::ios_base::failbit); in open()
603 this->setstate(std::ios_base::failbit); in open()
612 this->setstate(std::ios_base::failbit); in close()
/third_party/boost/boost/regex/v4/
Dregbase.hpp82 failbit = 1 << 19, // error flag enumerator
130 failbit = ::boost::regbase::failbit, enumerator
/third_party/boost/libs/asio/include/boost/asio/ip/impl/
Dnetwork_v4.hpp37 if (os.exceptions() & std::basic_ostream<Elem, Traits>::failbit) in operator <<()
40 os.setstate(std::basic_ostream<Elem, Traits>::failbit); in operator <<()
Dnetwork_v6.hpp36 if (os.exceptions() & std::basic_ostream<Elem, Traits>::failbit) in operator <<()
39 os.setstate(std::basic_ostream<Elem, Traits>::failbit); in operator <<()

123456