Home
last modified time | relevance | path

Searched refs:make_error_code (Results 1 – 25 of 56) sorted by relevance

123

/external/libcxx/src/
Dfuture.cpp93 throw future_error(make_error_code(future_errc::promise_already_satisfied)); in set_value()
106 throw future_error(make_error_code(future_errc::promise_already_satisfied)); in set_value_at_thread_exit()
119 throw future_error(make_error_code(future_errc::promise_already_satisfied)); in set_exception()
133 throw future_error(make_error_code(future_errc::promise_already_satisfied)); in set_exception_at_thread_exit()
186 throw future_error(make_error_code(future_errc::no_state)); in __execute()
195 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()
238 throw future_error(make_error_code(future_errc::no_state)); in get_future()
248 throw future_error(make_error_code(future_errc::no_state)); in set_value()
258 throw future_error(make_error_code(future_errc::no_state)); in set_exception()
[all …]
/external/libcxx/test/thread/futures/futures.future_error/
Dwhat.pass.cpp23 std::future_error f(std::make_error_code(std::future_errc::broken_promise)); in main()
28 std::future_error f(std::make_error_code(std::future_errc::future_already_retrieved)); in main()
33 std::future_error f(std::make_error_code(std::future_errc::promise_already_satisfied)); in main()
37 std::future_error f(std::make_error_code(std::future_errc::no_state)); in main()
Dcode.pass.cpp22 std::error_code ec = std::make_error_code(std::future_errc::broken_promise); in main()
27 std::error_code ec = std::make_error_code(std::future_errc::future_already_retrieved); in main()
32 std::error_code ec = std::make_error_code(std::future_errc::promise_already_satisfied); in main()
37 std::error_code ec = std::make_error_code(std::future_errc::no_state); in main()
/external/libcxx/test/input.output/iostreams.base/ios.base/ios.types/ios_failure/
Dctor_string_error_code.pass.cpp24 std::ios_base::failure se(what_arg, make_error_code(std::errc::is_a_directory)); in main()
25 assert(se.code() == std::make_error_code(std::errc::is_a_directory)); in main()
33 assert(se.code() == std::make_error_code(std::io_errc::stream)); in main()
Dctor_char_pointer_error_code.pass.cpp24 std::ios_base::failure se(what_arg.c_str(), make_error_code(std::errc::is_a_directory)); in main()
25 assert(se.code() == std::make_error_code(std::errc::is_a_directory)); in main()
33 assert(se.code() == std::make_error_code(std::io_errc::stream)); in main()
/external/libcxx/test/thread/futures/futures.promise/
Ddtor.pass.cpp45 assert(e.code() == make_error_code(std::future_errc::broken_promise)); in main()
74 assert(e.code() == make_error_code(std::future_errc::broken_promise)); in main()
103 assert(e.code() == make_error_code(std::future_errc::broken_promise)); in main()
Dmove_ctor.pass.cpp39 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
58 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
77 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
Dcopy_ctor.fail.cpp38 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
57 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
76 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
Dcopy_assign.fail.cpp40 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
61 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
82 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
Dmove_assign.pass.cpp41 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
62 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
83 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
Dget_future.pass.cpp37 assert(e.code() == make_error_code(std::future_errc::future_already_retrieved)); in main()
50 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
/external/libcxx/test/diagnostics/syserr/syserr.syserr/syserr.syserr.members/
Dctor_error_code_string.pass.cpp25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg); in main()
26 assert(se.code() == std::make_error_code(std::errc::not_a_directory)); in main()
Dctor_error_code_const_char_pointer.pass.cpp25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg.c_str()); in main()
26 assert(se.code() == std::make_error_code(std::errc::not_a_directory)); in main()
Dctor_int_error_category.pass.cpp26 assert(se.code() == std::make_error_code(std::errc::not_a_directory)); in main()
Dctor_error_code.pass.cpp26 assert(se.code() == std::make_error_code(std::errc::not_a_directory)); in main()
/external/libcxx/test/thread/futures/futures.tas/futures.task.members/
Dget_future.pass.cpp47 assert(e.code() == make_error_code(std::future_errc::future_already_retrieved)); in main()
59 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
Doperator.pass.cpp55 assert(e.code() == make_error_code(std::future_errc::promise_already_satisfied)); in func2()
67 assert(e.code() == make_error_code(std::future_errc::no_state)); in func3()
Dmake_ready_at_thread_exit.pass.cpp55 assert(e.code() == make_error_code(std::future_errc::promise_already_satisfied)); in func2()
67 assert(e.code() == make_error_code(std::future_errc::no_state)); in func3()
/external/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/
DAndroid.mk23 test_name := diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/make_error_code
24 test_src := make_error_code.pass.cpp
Dmake_error_code.pass.cpp22 std::error_code ec = make_error_code(std::errc::operation_canceled); in main()
/external/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/
DAndroid.mk27 test_name := input.output/iostreams.base/std.ios.manip/error.reporting/make_error_code
28 test_src := make_error_code.pass.cpp
Dmake_error_code.pass.cpp20 std::error_code ec = make_error_code(std::io_errc::stream); in main()
/external/libcxx/test/thread/futures/futures.errors/
DAndroid.mk35 test_name := thread/futures/futures.errors/make_error_code
36 test_src := make_error_code.pass.cpp
Dmake_error_code.pass.cpp22 std::error_code ec = make_error_code(std::future_errc::broken_promise); in main()
/external/libcxx/include/
Dfuture43 error_code make_error_code(future_errc e) noexcept;
486 make_error_code(future_errc __e) _NOEXCEPT
646 throw future_error(make_error_code(future_errc::promise_already_satisfied));
666 throw future_error(make_error_code(future_errc::promise_already_satisfied));
728 throw future_error(make_error_code(future_errc::promise_already_satisfied));
743 throw future_error(make_error_code(future_errc::promise_already_satisfied));
1134 throw future_error(make_error_code(future_errc::future_already_retrieved));
1238 throw future_error(make_error_code(future_errc::future_already_retrieved));
1428 future_error(make_error_code(future_errc::broken_promise))
1440 throw future_error(make_error_code(future_errc::no_state));
[all …]

123