Searched refs:what_arg (Results 1 - 7 of 7) sorted by relevance

/external/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_error_code_const_char_pointer.pass.cpp14 // system_error(error_code ec, const char* what_arg);
24 std::string what_arg("test message");
25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg.c_str());
28 assert(what_message.find(what_arg) != std::string::npos);
H A Dctor_int_error_category_const_char_pointer.pass.cpp14 // system_error(int ev, const error_category& ecat, const char* what_arg);
24 std::string what_arg("test message");
26 std::generic_category(), what_arg.c_str());
29 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);
/external/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...]
/external/libcxx/test/input.output/iostreams.base/ios.base/ios.types/ios_failure/
H A Dctor_char_pointer_error_code.pass.cpp23 std::string what_arg("io test message");
24 std::ios_base::failure se(what_arg.c_str(), make_error_code(std::errc::is_a_directory));
27 assert(what_message.find(what_arg) != std::string::npos);
31 std::string what_arg("io test message");
32 std::ios_base::failure se(what_arg.c_str());
35 assert(what_message.find(what_arg) != std::string::npos);
H A Dctor_string_error_code.pass.cpp23 std::string what_arg("io test message");
24 std::ios_base::failure se(what_arg, make_error_code(std::errc::is_a_directory));
27 assert(what_message.find(what_arg) != std::string::npos);
31 std::string what_arg("io test message");
32 std::ios_base::failure se(what_arg);
35 assert(what_message.find(what_arg) != std::string::npos);

Completed in 137 milliseconds