Home
last modified time | relevance | path

Searched refs:future_error (Results 1 – 20 of 20) sorted by relevance

/external/libcxx/src/
Dfuture.cpp75 future_error::future_error(error_code __ec) in future_error() function in future_error
81 future_error::~future_error() _NOEXCEPT in ~future_error()
97 throw future_error(make_error_code(future_errc::promise_already_satisfied)); in set_value()
109 throw future_error(make_error_code(future_errc::promise_already_satisfied)); in set_value_at_thread_exit()
121 throw future_error(make_error_code(future_errc::promise_already_satisfied)); in set_exception()
134 throw future_error(make_error_code(future_errc::promise_already_satisfied)); in set_exception_at_thread_exit()
185 throw future_error(make_error_code(future_errc::no_state)); in __execute()
194 throw future_error(make_error_code(future_errc::future_already_retrieved)); in future()
227 future_error(make_error_code(future_errc::broken_promise)) in ~promise()
239 throw future_error(make_error_code(future_errc::no_state)); in get_future()
[all …]
/external/libcxx/test/std/thread/futures/futures.future_error/
Dcode.pass.cpp29 std::future_error f(ec); in main()
34 std::future_error f(ec); in main()
39 std::future_error f(ec); in main()
44 std::future_error f(ec); in main()
49 std::future_error f(std::future_errc::broken_promise); in main()
53 std::future_error f(std::future_errc::no_state); in main()
Dwhat.pass.cpp34 std::future_error f(std::make_error_code(std::future_errc::broken_promise)); in main()
39 std::future_error f(std::make_error_code(std::future_errc::future_already_retrieved)); in main()
44 std::future_error f(std::make_error_code(std::future_errc::promise_already_satisfied)); in main()
48 std::future_error f(std::make_error_code(std::future_errc::no_state)); in main()
Dtypes.pass.cpp21 static_assert((std::is_convertible<std::future_error*, in main()
/external/libcxx/test/std/thread/futures/futures.promise/
Dmove_ctor.pass.cpp41 catch (const std::future_error& e) in main()
62 catch (const std::future_error& e) in main()
83 catch (const std::future_error& e) in main()
Ddtor.pass.cpp50 catch (const std::future_error& e) in main()
82 catch (const std::future_error& e) in main()
113 catch (const std::future_error& e) in main()
Dmove_assign.pass.cpp43 catch (const std::future_error& e) in main()
66 catch (const std::future_error& e) in main()
89 catch (const std::future_error& e) in main()
Dget_future.pass.cpp41 catch (const std::future_error& e) in main()
54 catch (const std::future_error& e) in main()
Dset_value_void.pass.cpp36 catch (const std::future_error& e) in main()
Dset_exception.pass.cpp44 catch (const std::future_error& e) in main()
Dset_lvalue.pass.cpp42 catch (const std::future_error& e) in main()
Dset_value_const.pass.cpp49 catch (const std::future_error& e) in main()
Dset_rvalue.pass.cpp44 catch (const std::future_error& e) in main()
/external/libcxx/test/std/thread/futures/futures.task/futures.task.members/
Dget_future.pass.cpp51 catch (const std::future_error& e) in main()
63 catch (const std::future_error& e) in main()
Doperator.pass.cpp59 catch (const std::future_error& e) in func2()
75 catch (const std::future_error& e) in func3()
Dmake_ready_at_thread_exit.pass.cpp59 catch (const std::future_error& e) in func2()
75 catch (const std::future_error& e) in func3()
Dreset.pass.cpp57 catch (const std::future_error& e) in main()
Ddtor.pass.cpp56 catch (const std::future_error& e) in main()
/external/libcxx/include/
Dfuture48 class future_error
52 future_error(error_code ec); // exposition only
53 explicit future_error(future_errc); // C++17
502 class _LIBCPP_EXCEPTION_ABI future_error
507 future_error(error_code __ec);
509 explicit future_error(future_errc _Ev) : logic_error(), __ec_(make_error_code(_Ev)) {}
514 virtual ~future_error() _NOEXCEPT;
521 throw future_error(make_error_code(_Ev));
1448 future_error(make_error_code(future_errc::broken_promise))
1610 future_error(make_error_code(future_errc::broken_promise))
/external/clang/test/
Dcxx-sections.data1484 30.6.3 [futures.future_error]