Home
last modified time | relevance | path

Searched refs:exception_ptr (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/boost/libs/exception/test/
Dcloning_test.cpp100 boost::exception_ptr p = boost::current_exception(); in test_std_exception()
101 BOOST_TEST(!(p==boost::exception_ptr())); in test_std_exception()
102 BOOST_TEST(p!=boost::exception_ptr()); in test_std_exception()
112 boost::exception_ptr p = boost::current_exception(); in test_std_exception()
113 BOOST_TEST(!(p==boost::exception_ptr())); in test_std_exception()
114 BOOST_TEST(p!=boost::exception_ptr()); in test_std_exception()
174 boost::exception_ptr p = boost::current_exception(); in test_std_exception_what()
175 BOOST_TEST(!(p==boost::exception_ptr())); in test_std_exception_what()
176 BOOST_TEST(p!=boost::exception_ptr()); in test_std_exception_what()
187 boost::exception_ptr p = boost::current_exception(); in test_std_exception_what()
[all …]
Dunknown_exception_test.cpp70 boost::exception_ptr ep=boost::current_exception(); in main()
122 boost::exception_ptr ep=boost::current_exception(); in main()
167 boost::exception_ptr ep=boost::current_exception(); in main()
222 boost::exception_ptr ep=boost::current_exception(); in main()
Dcopy_exception_test.cpp53 set_exception( boost::exception_ptr const & e ) in set_exception()
73 boost::exception_ptr exc_;
121 boost::exception_ptr p = boost::copy_exception(err()); in simple_test()
/third_party/boost/boost/exception/detail/
Dexception_ptr.hpp43 class exception_ptr;
44 BOOST_NORETURN void rethrow_exception( exception_ptr const & );
45 exception_ptr current_exception();
48 exception_ptr class
52 friend void rethrow_exception( exception_ptr const & );
55 exception_ptr() in exception_ptr() function in boost::exception_ptr
59 exception_ptr( impl const & ptr ): in exception_ptr() function in boost::exception_ptr
64 operator==( exception_ptr const & other ) const in operator ==()
69 operator!=( exception_ptr const & other ) const in operator !=()
81 exception_ptr
[all …]
/third_party/boost/boost/outcome/experimental/status-code/
Dsystem_code_from_exception.hpp45 inline system_code system_code_from_exception(std::exception_ptr &&ep = std::current_exception(), s… in system_code_from_exception()
57 ep = std::exception_ptr(); in system_code_from_exception()
62 ep = std::exception_ptr(); in system_code_from_exception()
67 ep = std::exception_ptr(); in system_code_from_exception()
72 ep = std::exception_ptr(); in system_code_from_exception()
77 ep = std::exception_ptr(); in system_code_from_exception()
82 ep = std::exception_ptr(); in system_code_from_exception()
100 ep = std::exception_ptr(); in system_code_from_exception()
105 ep = std::exception_ptr(); in system_code_from_exception()
110 ep = std::exception_ptr(); in system_code_from_exception()
[all …]
/third_party/boost/boost/asio/
Dco_spawn.hpp39 typedef void type(std::exception_ptr, T);
45 typedef void type(std::exception_ptr);
102 void(std::exception_ptr, T)) CompletionToken
105 CompletionToken, void(std::exception_ptr, T))
158 void(std::exception_ptr)) CompletionToken
161 CompletionToken, void(std::exception_ptr))
222 void(std::exception_ptr, T)) CompletionToken
226 CompletionToken, void(std::exception_ptr, T))
281 void(std::exception_ptr)) CompletionToken
285 CompletionToken, void(std::exception_ptr))
Dmultiple_exceptions.hpp35 std::exception_ptr first) BOOST_ASIO_NOEXCEPT;
42 BOOST_ASIO_DECL std::exception_ptr first_exception() const;
45 std::exception_ptr first_;
/third_party/boost/libs/asio/include/boost/asio/
Dco_spawn.hpp39 typedef void type(std::exception_ptr, T);
45 typedef void type(std::exception_ptr);
102 void(std::exception_ptr, T)) CompletionToken
105 CompletionToken, void(std::exception_ptr, T))
158 void(std::exception_ptr)) CompletionToken
161 CompletionToken, void(std::exception_ptr))
222 void(std::exception_ptr, T)) CompletionToken
226 CompletionToken, void(std::exception_ptr, T))
281 void(std::exception_ptr)) CompletionToken
285 CompletionToken, void(std::exception_ptr))
Dmultiple_exceptions.hpp35 std::exception_ptr first) BOOST_ASIO_NOEXCEPT;
42 BOOST_ASIO_DECL std::exception_ptr first_exception() const;
45 std::exception_ptr first_;
/third_party/boost/libs/outcome/doc/src/content/reference/functions/policy/
Dexception_ptr.md2 title = "`decltype(auto) exception_ptr(T &&)`"
3 description = "Extracts a `boost::exception_ptr` or `std::exception_ptr` from the input via ADL dis…
6 Extracts a `boost::exception_ptr` or {{% api "std::exception_ptr" %}} from the input via ADL discov…
/third_party/boost/boost/asio/impl/
Dco_spawn.hpp100 handler(std::exception_ptr(), std::move(t)); in co_spawn_entry_point()
127 std::exception_ptr e = nullptr; in co_spawn_entry_point()
197 void(std::exception_ptr, T)) CompletionToken>
199 CompletionToken, void(std::exception_ptr, T)) in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() argument
207 return async_initiate<CompletionToken, void(std::exception_ptr, T)>( in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
214 void(std::exception_ptr)) CompletionToken>
216 CompletionToken, void(std::exception_ptr)) in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() argument
224 return async_initiate<CompletionToken, void(std::exception_ptr)>( in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
232 void(std::exception_ptr, T)) CompletionToken>
234 CompletionToken, void(std::exception_ptr, T)) in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() argument
[all …]
Duse_awaitable.hpp93 class awaitable_handler<Executor, std::exception_ptr>
99 void operator()(std::exception_ptr ex) in operator ()()
149 class awaitable_handler<Executor, std::exception_ptr, T>
156 void operator()(std::exception_ptr ex, Arg&& arg) in operator ()()
208 class awaitable_handler<Executor, std::exception_ptr, Ts...>
216 void operator()(std::exception_ptr ex, Args&&... args) in operator ()()
Dmultiple_exceptions.ipp29 std::exception_ptr first) BOOST_ASIO_NOEXCEPT
30 : first_(BOOST_ASIO_MOVE_CAST(std::exception_ptr)(first))
39 std::exception_ptr multiple_exceptions::first_exception() const
/third_party/boost/libs/asio/include/boost/asio/impl/
Dco_spawn.hpp100 handler(std::exception_ptr(), std::move(t)); in co_spawn_entry_point()
127 std::exception_ptr e = nullptr; in co_spawn_entry_point()
197 void(std::exception_ptr, T)) CompletionToken>
199 CompletionToken, void(std::exception_ptr, T)) in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() argument
207 return async_initiate<CompletionToken, void(std::exception_ptr, T)>( in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
214 void(std::exception_ptr)) CompletionToken>
216 CompletionToken, void(std::exception_ptr)) in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() argument
224 return async_initiate<CompletionToken, void(std::exception_ptr)>( in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
232 void(std::exception_ptr, T)) CompletionToken>
234 CompletionToken, void(std::exception_ptr, T)) in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() argument
[all …]
Duse_awaitable.hpp93 class awaitable_handler<Executor, std::exception_ptr>
99 void operator()(std::exception_ptr ex) in operator ()()
149 class awaitable_handler<Executor, std::exception_ptr, T>
156 void operator()(std::exception_ptr ex, Arg&& arg) in operator ()()
208 class awaitable_handler<Executor, std::exception_ptr, Ts...>
216 void operator()(std::exception_ptr ex, Args&&... args) in operator ()()
Dmultiple_exceptions.ipp29 std::exception_ptr first) BOOST_ASIO_NOEXCEPT
30 : first_(BOOST_ASIO_MOVE_CAST(std::exception_ptr)(first))
39 std::exception_ptr multiple_exceptions::first_exception() const
/third_party/boost/libs/throw_exception/test/
Dthrow_exception_test3.cpp44 boost::exception_ptr p = boost::current_exception(); in main()
56 boost::exception_ptr p = boost::current_exception(); in main()
68 boost::exception_ptr p = boost::current_exception(); in main()
80 boost::exception_ptr p = boost::current_exception(); in main()
92 boost::exception_ptr p = boost::current_exception(); in main()
104 boost::exception_ptr p = boost::current_exception(); in main()
/third_party/boost/libs/asio/test/archetypes/
Dasync_ops.hpp89 BOOST_ASIO_INITFN_RESULT_TYPE(CompletionToken, void(std::exception_ptr)) in BOOST_ASIO_INITFN_RESULT_TYPE() argument
93 void(std::exception_ptr)>::completion_handler_type handler_type; in BOOST_ASIO_INITFN_RESULT_TYPE()
96 void(std::exception_ptr)> completion(token); in BOOST_ASIO_INITFN_RESULT_TYPE()
109 std::exception_ptr()), a); in BOOST_ASIO_INITFN_RESULT_TYPE()
184 BOOST_ASIO_INITFN_RESULT_TYPE(CompletionToken, void(std::exception_ptr, int)) in BOOST_ASIO_INITFN_RESULT_TYPE() argument
188 void(std::exception_ptr, int)>::completion_handler_type in BOOST_ASIO_INITFN_RESULT_TYPE()
192 void(std::exception_ptr, int)> completion(token); in BOOST_ASIO_INITFN_RESULT_TYPE()
205 std::exception_ptr(), 42), a); in BOOST_ASIO_INITFN_RESULT_TYPE()
281 void(std::exception_ptr, int, double)) in BOOST_ASIO_INITFN_RESULT_TYPE() argument
285 void(std::exception_ptr, int, double)>::completion_handler_type in BOOST_ASIO_INITFN_RESULT_TYPE()
[all …]
Ddeprecated_async_ops.hpp86 void(std::exception_ptr)>::type>::type
91 void(std::exception_ptr)>::type handler_type; in deprecated_async_op_ex_0()
100 std::exception_ptr())); in deprecated_async_op_ex_0()
161 void(std::exception_ptr, int)>::type>::type
166 void(std::exception_ptr, int)>::type handler_type; in deprecated_async_op_ex_1()
175 std::exception_ptr(), 42)); in deprecated_async_op_ex_1()
238 void(std::exception_ptr, int, double)>::type>::type
243 void(std::exception_ptr, int, double)>::type handler_type; in deprecated_async_op_ex_2()
252 std::exception_ptr(), 42, 2.0)); in deprecated_async_op_ex_2()
315 void(std::exception_ptr, int, double, char)>::type>::type
[all …]
/third_party/boost/libs/outcome/doc/src/content/reference/aliases/
Dstd_outcome.md2 title = "`std_outcome<T, EC = std::error_code, EP = std::exception_ptr, NoValuePolicy = policy::def…
3 …e alias to a `basic_outcome` configured with `std::error_code`, `std::exception_ptr` and `policy::…
6 …cy>" %}} configured with {{% api "std::error_code" %}}, {{% api "std::exception_ptr" %}} and `poli…
8 …{{% api "boost_outcome<T, EC = boost::system::error_code, EP = boost::exception_ptr, NoValuePolicy…
Dboost_outcome.md2 title = "`boost_outcome<T, EC = boost::system::error_code, EP = boost::exception_ptr, NoValuePolicy…
3 … `basic_outcome` configured with `boost::system::error_code`, `boost::exception_ptr` and `policy::…
6 …figured with {{% api "boost::system::error_code" %}}, {{% api "boost::exception_ptr" %}} and `poli…
8 …this alias or {{% api "std_outcome<T, EC = std::error_code, EP = std::exception_ptr, NoValuePolicy…
/third_party/boost/libs/exception/example/
Dcloning_2.cpp15 worker_thread( boost::exception_ptr & error ) in worker_thread()
20 error = boost::exception_ptr(); in worker_thread()
34 boost::exception_ptr error; in work()
/third_party/mindspore/mindspore/core/utils/
Dms_exception.h46 auto exception_ptr = exception_ptr_; in CheckException() local
48 std::rethrow_exception(exception_ptr); in CheckException()
59 std::exception_ptr exception_ptr_{nullptr};
106 std::exception_ptr exception_ptr_{nullptr}; in DISABLE_COPY_AND_ASSIGN()
/third_party/boost/boost/thread/
Dexceptional_ptr.hpp17 exception_ptr ptr_;
20 explicit exceptional_ptr(exception_ptr ex) : ptr_(ex) {} in exceptional_ptr()
30 inline exceptional_ptr make_exceptional(exception_ptr ex) in make_exceptional()
/third_party/boost/libs/outcome/test/tests/
Dissue0115.cpp46 out::outcome<int> o3(boost::system::error_code{}, boost::exception_ptr{});
50 out::outcome<int> o4 = out::failure(boost::system::error_code{}, boost::exception_ptr{});
54 out::outcome<int> o5 = out::failure(boost::exception_ptr{});

12345