Home
last modified time | relevance | path

Searched refs:system_error (Results 1 – 25 of 262) sorted by relevance

1234567891011

/third_party/boost/libs/system/test/
Dsystem_error_test.cpp23 using boost::system::system_error;
32 void test( const char * desc, const system_error & ex, in test()
63 system_error c1_0( error_code(0, system_category()) ); in main()
64 system_error c1_1( error_code(1, system_category()) ); in main()
65 system_error c1_2u( error_code(uvalue, system_category()) ); in main()
67 system_error c2_0( error_code(0, system_category()), string("c2_0") ); in main()
68 system_error c2_1( error_code(1, system_category()), string("c2_1") ); in main()
70 system_error c3_0( error_code(0, system_category()), "c3_0" ); in main()
71 system_error c3_1( error_code(1, system_category()), "c3_1" ); in main()
73 system_error c4_0( 0, system_category() ); in main()
[all …]
/third_party/boost/boost/system/
Dsystem_error.hpp22 class BOOST_SYMBOL_VISIBLE system_error : public std::runtime_error class
27 explicit system_error( error_code ec ) in system_error() function in boost::system::system_error
30 system_error( error_code ec, const std::string & what_arg ) in system_error() function in boost::system::system_error
33 system_error( error_code ec, const char* what_arg ) in system_error() function in boost::system::system_error
36 system_error( int ev, const error_category & ecat ) in system_error() function in boost::system::system_error
39 system_error( int ev, const error_category & ecat, in system_error() function in boost::system::system_error
43 system_error( int ev, const error_category & ecat, in system_error() function in boost::system::system_error
47 virtual ~system_error() BOOST_NOEXCEPT_OR_NOTHROW {} in ~system_error()
59 inline const char * system_error::what() const BOOST_NOEXCEPT_OR_NOTHROW in what()
/third_party/boost/libs/log/src/posix/
Dipc_sync_wrappers.hpp59 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to initialize pthread mutex attribu… in pthread_mutex_attributes()
80 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to initialize pthread condition var… in pthread_condition_variable_attributes()
114 … BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to set pthread mutex type", (err)); in interprocess_mutex()
117 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to make pthread mutex process-share… in interprocess_mutex()
121 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to make pthread mutex robust", (err… in interprocess_mutex()
126 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to initialize pthread mutex", (err)… in interprocess_mutex()
142 … BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to lock pthread mutex", (err)); in lock()
155 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to recover pthread mutex from a cra… in recover()
173 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to make pthread condition variable … in interprocess_condition_variable()
177 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to initialize pthread condition var… in interprocess_condition_variable()
[all …]
/third_party/boost/libs/filesystem/src/
Dexception.cpp26 system::system_error(ec, what_arg) in filesystem_error()
39 system::system_error(ec, what_arg) in filesystem_error()
52 system::system_error(ec, what_arg) in filesystem_error()
65 system::system_error(static_cast< system::system_error const& >(that)), in filesystem_error()
72 static_cast< system::system_error& >(*this) = static_cast< system::system_error const& >(that); in operator =()
87 m_imp_ptr->m_what = system::system_error::what(); in what()
109 return system::system_error::what(); in what()
/third_party/boost/libs/beast/test/beast/websocket/
Dclose.cpp70 catch(system_error const& se) in doTestClose()
116 catch(system_error const& se) in doTestClose()
136 catch(system_error const& se) in doTestClose()
302 system_error{ec}); in testSuspend()
312 system_error{ec}); in testSuspend()
334 system_error{ec}); in testSuspend()
345 system_error{ec}); in testSuspend()
371 system_error{ec}); in testSuspend()
386 system_error{ec}); in testSuspend()
411 system_error{ec}); in testSuspend()
[all …]
Dtest.hpp172 catch(system_error const& se) in do_sync()
290 catch(system_error const& se) in doFailLoop()
349 BOOST_THROW_EXCEPTION(system_error{ec}); in doTest()
358 catch(system_error const& se) in doTest()
686 throw system_error{ec}; in accept()
701 throw system_error{ec}; in accept()
713 throw system_error{ec}; in accept()
727 throw system_error{ec}; in accept_ex()
743 throw system_error{ec}; in accept_ex()
758 throw system_error{ec}; in accept_ex()
[all …]
Dping.cpp64 catch(system_error const& se) in doTestPing()
84 catch(system_error const& se) in doTestPing()
122 system_error{ec}); in testSuspend()
133 system_error{ec}); in testSuspend()
155 system_error{ec}); in testSuspend()
165 system_error{ec}); in testSuspend()
191 system_error{ec}); in testSuspend()
206 system_error{ec}); in testSuspend()
233 system_error{ec}); in testSuspend()
248 system_error{ec}); in testSuspend()
[all …]
Dwrite.cpp49 catch(system_error const& se) in doTestWrite()
319 system_error{ec}); in testWriteSuspend()
329 system_error{ec}); in testWriteSuspend()
352 system_error{ec}); in testWriteSuspend()
362 system_error{ec}); in testWriteSuspend()
388 system_error{ec}); in testWriteSuspend()
403 system_error{ec}); in testWriteSuspend()
429 system_error{ec}); in testWriteSuspend()
439 system_error{ec}); in testWriteSuspend()
463 system_error{ec}); in testWriteSuspend()
[all …]
/third_party/boost/libs/dll/test/
Dshared_library_errors.cpp30 } catch (const boost::dll::fs::system_error& e) { in main()
38 } catch (const boost::dll::fs::system_error& e) { in main()
45 } catch (const boost::dll::fs::system_error& e) { in main()
52 } catch (const boost::dll::fs::system_error& e) { in main()
60 } catch (const boost::dll::fs::system_error& e) { in main()
68 } catch (const boost::dll::fs::system_error& e) { in main()
76 } catch (const boost::dll::fs::system_error& e) { in main()
/third_party/boost/libs/log/src/
Devent.cpp112 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to block on the futex", (err)); in wait()
128 … BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to wake threads blocked on the futex", (err)); in set_signalled()
141 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to initialize semaphore", (err));
162 … BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to block on the semaphore", (err));
179 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to wake the blocked thread", (err));
194 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to create Windows event", (err));
213 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to block on Windows event", (err));
228 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to wake the blocked thread", (err));
Dthread_specific.cpp41 …BOOST_LOG_THROW_DESCR_PARAMS(system_error, "TLS capacity depleted", (boost::system::errc::not_enou… in thread_specific_base()
98 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "TLS capacity depleted", (res));
115 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to set TLS value", (res));
150 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "TLS capacity depleted", (res));
165 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to set TLS value", (res));
186 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "TLS capacity depleted", (res));
206 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to set TLS value", (res));
229 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "TLS capacity depleted", (res));
244 BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to set TLS value", (res));
/third_party/boost/boost/dll/
Dconfig.hpp35 using system_error = std::conditional_t<BOOST_DLL_USE_STD_FS, std::system_error, boost::system::sys… typedef
50 using std::system_error;
68 using boost::system::system_error;
/third_party/boost/libs/filesystem/example/
Derror_demo.cpp24 using boost::system::system_error;
29 void report_system_error(const system_error& ex) in report_system_error()
38 void report_filesystem_error(const system_error& ex) in report_filesystem_error()
123 catch (const system_error& ex) in main()
145 catch (const system_error& ex) in main()
164 catch (const system_error& ex) in main()
/third_party/boost/boost/chrono/detail/inlined/mac/
Dprocess_cpu_clocks.hpp100 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
120 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
134 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
154 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
176 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
196 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
259 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
279 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
324 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
343 …boost::throw_exception(system::system_error(errno, ::boost::system::system_category(), "chrono::pr… in now()
/third_party/boost/libs/outcome/test/tests/
Dcore-outcome.cpp88 BOOST_CHECK_THROW(m.value(), boost::system::system_error);
91 BOOST_CHECK_THROW(boost::rethrow_exception(m.failure()), boost::system::system_error);
99 BOOST_CHECK_THROW(([&m]() -> void { return m.value(); }()), boost::system::system_error); in __anonbfe3fb300102()
102 BOOST_CHECK_THROW(boost::rethrow_exception(m.failure()), boost::system::system_error);
148 BOOST_CHECK_THROW(m.value(), boost::system::system_error);
157 catch(const boost::system::system_error &ex)
167 auto e = boost::copy_exception(boost::system::system_error(ec)); // NOLINT
173 BOOST_CHECK_THROW(m.value(), boost::system::system_error);
182 catch(const boost::system::system_error &ex)
205 auto e = boost::copy_exception(boost::system::system_error(ec));
[all …]
/third_party/boost/libs/config/test/
Dboost_no_cxx11_hdr_system_error.ipp10 // TITLE: C++0x header <system_error> unavailable
11 // DESCRIPTION: The standard library does not supply C++0x header <system_error>
13 #include <system_error>
22 using std::system_error;
/third_party/boost/boost/chrono/detail/inlined/posix/
Dprocess_cpu_clocks.hpp79 system::system_error( in now()
106 system::system_error( in now()
155 system::system_error( in now()
182 system::system_error( in now()
232 system::system_error( in now()
259 system::system_error( in now()
312 system::system_error( in now()
338 system::system_error( in now()
/third_party/boost/boost/process/
Dexception.hpp20 struct process_error : std::system_error
22 using std::system_error::system_error;
/third_party/boost/libs/log/src/windows/
Dmapped_shared_memory.cpp85 BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, strm.str(), (err)); in create()
115 BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, strm.str(), (err)); in create_or_open()
153 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to create a shared memory segment",… in open()
188 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to map the shared memory segment in… in map()
213 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to obtain a handle to ntdll.dll", (… in obtain_size()
220 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to obtain the NtQuerySection functi… in obtain_size()
237 …BOOST_LOG_THROW_DESCR_PARAMS(boost::log::system_error, "Failed to test obtain size of the shared m… in obtain_size()
/third_party/boost/boost/test/impl/
Dexecution_monitor.ipp392 report_error( execution_exception::system_error,
398 report_error( execution_exception::system_error,
402 report_error( execution_exception::system_error,
408 report_error( execution_exception::system_error,
414 report_error( execution_exception::system_error,
478 report_error( execution_exception::system_error,
483 report_error( execution_exception::system_error,
488 report_error( execution_exception::system_error,
493 report_error( execution_exception::system_error,
498 report_error( execution_exception::system_error,
[all …]
/third_party/boost/libs/outcome/doc/src/content/experimental/
Dmap.md6 Much of the design of Boost.System (which went on to become `<system_error>`)
8 `<system_error2>` and `<system_error>` and Boost.System can be given:
16 <tr><th>C++ 17 <tt>&lt;system_error&gt;</tt><th>Boost.System<th>Proposed <tt>&lt;system_error2&gt;<…
53 <td style="vertical-align: top;"><tt>std::system_error</tt>
54 <td style="vertical-align: top;"><tt>boost::system::system_error</tt>
62 with respect to intent and specification and desired semantics than with `<system_error>`. Much
63 ambiguity and incorrectness which flies silently in `<system_error>` will
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/locking/
Dlock_pass.cpp56 catch (boost::system::system_error& e) in f()
67 catch (boost::system::system_error& e) in f()
84 catch (boost::system::system_error& e) in f()
95 catch (boost::system::system_error& e) in f()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/shared_lock/locking/
Dlock_pass.cpp56 catch (boost::system::system_error& e) in f()
67 catch (boost::system::system_error& e) in f()
84 catch (boost::system::system_error& e) in f()
95 catch (boost::system::system_error& e) in f()
/third_party/boost/boost/fiber/
Dexceptions.hpp28 class fiber_error : public std::system_error {
31 std::system_error{ ec } { in fiber_error()
35 std::system_error{ ec, what_arg } { in fiber_error()
39 std::system_error{ ec, what_arg } { in fiber_error()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/upgrade_lock/locking/
Dlock_pass.cpp56 catch (boost::system::system_error& e) in f()
67 catch (boost::system::system_error& e) in f()
84 catch (boost::system::system_error& e) in f()
95 catch (boost::system::system_error& e) in f()

1234567891011