Searched defs:what_arg (Results 1 - 3 of 3) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.syserr/syserr.syserr.members/
H A Dctor_error_code_string.pass.cpp14 // system_error(error_code ec, const string& what_arg);
24 std::string what_arg("test message");
25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg); local
28 assert(what_message.find(what_arg) != std::string::npos);
H A Dctor_int_error_category_string.pass.cpp14 // system_error(int ev, const error_category& ecat, const string& what_arg);
24 std::string what_arg("test message");
26 std::generic_category(), what_arg); local
29 assert(what_message.find(what_arg) != std::string::npos);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
H A Dsystem_error.cpp152 system_error::__init(const error_code& ec, string what_arg) argument
156 if (!what_arg.empty())
157 what_arg += ": ";
158 what_arg += ec.message();
160 return _VSTD::move(what_arg);
163 system_error::system_error(error_code ec, const string& what_arg) argument
164 : runtime_error(__init(ec, what_arg)),
169 system_error::system_error(error_code ec, const char* what_arg) argument
170 : runtime_error(__init(ec, what_arg)),
181 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) argument
187 system_error(int ev, const error_category& ecat, const char* what_arg) argument
204 __throw_system_error(int ev, const char* what_arg) argument
207 throw system_error(error_code(ev, system_category()), what_arg); local
[all...]

Completed in 120 milliseconds