Home
last modified time | relevance | path

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

123

/external/libcxx/src/
Dfuture.cpp97 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()
226 future_error(make_error_code(future_errc::broken_promise)) in ~promise()
237 throw future_error(make_error_code(future_errc::no_state)); in get_future()
247 throw future_error(make_error_code(future_errc::no_state)); in set_value()
257 throw future_error(make_error_code(future_errc::no_state)); in set_exception()
[all …]
/external/libcxx/test/std/thread/futures/futures.future_error/
Dwhat.pass.cpp32 std::future_error f(std::make_error_code(std::future_errc::broken_promise)); in main()
37 std::future_error f(std::make_error_code(std::future_errc::future_already_retrieved)); in main()
42 std::future_error f(std::make_error_code(std::future_errc::promise_already_satisfied)); in main()
46 std::future_error f(std::make_error_code(std::future_errc::no_state)); in main()
Dcode.pass.cpp24 std::error_code ec = std::make_error_code(std::future_errc::broken_promise); in main()
29 std::error_code ec = std::make_error_code(std::future_errc::future_already_retrieved); in main()
34 std::error_code ec = std::make_error_code(std::future_errc::promise_already_satisfied); in main()
39 std::error_code ec = std::make_error_code(std::future_errc::no_state); in main()
/external/libcxx/test/std/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/std/thread/futures/futures.promise/
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()
Dmove_ctor.pass.cpp41 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
60 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
79 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
Ddtor.pass.cpp47 assert(e.code() == make_error_code(std::future_errc::broken_promise)); in main()
76 assert(e.code() == make_error_code(std::future_errc::broken_promise)); in main()
112 e.code() == make_error_code(std::future_errc::broken_promise) || in main()
Dmove_assign.pass.cpp43 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
64 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
85 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()
Dget_future.pass.cpp39 assert(e.code() == make_error_code(std::future_errc::future_already_retrieved)); in main()
52 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
/external/parameter-framework/asio-1.10.6/include/asio/
Derror.hpp247 inline asio::error_code make_error_code(basic_errors e) in make_error_code() function
253 inline asio::error_code make_error_code(netdb_errors e) in make_error_code() function
259 inline asio::error_code make_error_code(addrinfo_errors e) in make_error_code() function
265 inline asio::error_code make_error_code(misc_errors e) in make_error_code() function
/external/libcxx/test/std/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_error_code.pass.cpp26 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()
/external/llvm/tools/dsymutil/
DBinaryHolder.cpp99 return make_error_code(errc::no_such_file_or_directory); in GetArchiveMemberBuffers()
103 return make_error_code(errc::no_such_file_or_directory); in GetArchiveMemberBuffers()
136 return make_error_code(errc::no_such_file_or_directory); in GetArchiveMemberBuffers()
184 return make_error_code(object::object_error::arch_not_found); in getObjfileForArch()
/external/libcxx/test/std/thread/futures/futures.tas/futures.task.members/
Dget_future.pass.cpp49 assert(e.code() == make_error_code(std::future_errc::future_already_retrieved)); in main()
61 assert(e.code() == make_error_code(std::future_errc::no_state)); in main()
Doperator.pass.cpp57 assert(e.code() == make_error_code(std::future_errc::promise_already_satisfied)); in func2()
69 assert(e.code() == make_error_code(std::future_errc::no_state)); in func3()
Dmake_ready_at_thread_exit.pass.cpp57 assert(e.code() == make_error_code(std::future_errc::promise_already_satisfied)); in func2()
69 assert(e.code() == make_error_code(std::future_errc::no_state)); in func3()
/external/libcxx/include/
Dfuture43 error_code make_error_code(future_errc e) noexcept;
490 make_error_code(future_errc __e) _NOEXCEPT
650 throw future_error(make_error_code(future_errc::promise_already_satisfied));
669 throw future_error(make_error_code(future_errc::promise_already_satisfied));
730 throw future_error(make_error_code(future_errc::promise_already_satisfied));
744 throw future_error(make_error_code(future_errc::promise_already_satisfied));
1143 throw future_error(make_error_code(future_errc::future_already_retrieved));
1247 throw future_error(make_error_code(future_errc::future_already_retrieved));
1438 future_error(make_error_code(future_errc::broken_promise))
1450 throw future_error(make_error_code(future_errc::no_state));
[all …]
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.cpp159 return std::make_error_code(std::errc::bad_address); in checkOffset()
211 std::make_error_code(std::errc::illegal_byte_sequence)); in dumpStructure()
216 std::make_error_code(std::errc::illegal_byte_sequence)); in dumpStructure()
231 std::make_error_code(std::errc::illegal_byte_sequence)); in dumpStructure()
325 std::make_error_code(std::errc::illegal_byte_sequence)); in dumpStructure()
/external/libcxx/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/
Dmake_error_code.pass.cpp20 std::error_code ec = make_error_code(std::io_errc::stream); in main()
/external/libcxx/test/std/thread/futures/futures.errors/
Dmake_error_code.pass.cpp24 std::error_code ec = make_error_code(std::future_errc::broken_promise); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/
Dmake_error_code.pass.cpp22 std::error_code ec = make_error_code(std::errc::operation_canceled); in main()

123