/external/libcxx/src/ |
D | future.cpp | 93 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/ |
D | what.pass.cpp | 23 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()
|
D | code.pass.cpp | 22 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/ |
D | ctor_string_error_code.pass.cpp | 24 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()
|
D | ctor_char_pointer_error_code.pass.cpp | 24 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/ |
D | dtor.pass.cpp | 45 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()
|
D | move_ctor.pass.cpp | 39 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()
|
D | copy_ctor.fail.cpp | 38 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()
|
D | copy_assign.fail.cpp | 40 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()
|
D | move_assign.pass.cpp | 41 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()
|
D | get_future.pass.cpp | 37 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/ |
D | ctor_error_code_string.pass.cpp | 25 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()
|
D | ctor_error_code_const_char_pointer.pass.cpp | 25 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()
|
D | ctor_int_error_category.pass.cpp | 26 assert(se.code() == std::make_error_code(std::errc::not_a_directory)); in main()
|
D | ctor_error_code.pass.cpp | 26 assert(se.code() == std::make_error_code(std::errc::not_a_directory)); in main()
|
/external/libcxx/test/thread/futures/futures.tas/futures.task.members/ |
D | get_future.pass.cpp | 47 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()
|
D | operator.pass.cpp | 55 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()
|
D | make_ready_at_thread_exit.pass.cpp | 55 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/ |
D | Android.mk | 23 test_name := diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/make_error_code 24 test_src := make_error_code.pass.cpp
|
D | make_error_code.pass.cpp | 22 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/ |
D | Android.mk | 27 test_name := input.output/iostreams.base/std.ios.manip/error.reporting/make_error_code 28 test_src := make_error_code.pass.cpp
|
D | make_error_code.pass.cpp | 20 std::error_code ec = make_error_code(std::io_errc::stream); in main()
|
/external/libcxx/test/thread/futures/futures.errors/ |
D | Android.mk | 35 test_name := thread/futures/futures.errors/make_error_code 36 test_src := make_error_code.pass.cpp
|
D | make_error_code.pass.cpp | 22 std::error_code ec = make_error_code(std::future_errc::broken_promise); in main()
|
/external/libcxx/include/ |
D | future | 43 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 …]
|