Home
last modified time | relevance | path

Searched refs:what_arg (Results 1 – 10 of 10) sorted by relevance

/external/libcxx/src/
Dsystem_error.cpp152 system_error::__init(const error_code& ec, string what_arg) in __init() argument
156 if (!what_arg.empty()) in __init()
157 what_arg += ": "; in __init()
158 what_arg += ec.message(); in __init()
160 return _VSTD::move(what_arg); in __init()
163 system_error::system_error(error_code ec, const string& what_arg) in system_error() argument
164 : runtime_error(__init(ec, what_arg)), in system_error()
169 system_error::system_error(error_code ec, const char* what_arg) in system_error() argument
170 : runtime_error(__init(ec, what_arg)), in system_error()
181 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) in system_error() argument
[all …]
/external/libcxx/test/input.output/iostreams.base/ios.base/ios.types/ios_failure/
Dctor_string_error_code.pass.cpp23 std::string what_arg("io test message"); in main() local
24 std::ios_base::failure se(what_arg, make_error_code(std::errc::is_a_directory)); in main()
27 assert(what_message.find(what_arg) != std::string::npos); in main()
31 std::string what_arg("io test message"); in main() local
32 std::ios_base::failure se(what_arg); in main()
35 assert(what_message.find(what_arg) != std::string::npos); in main()
Dctor_char_pointer_error_code.pass.cpp23 std::string what_arg("io test message"); in main() local
24 std::ios_base::failure se(what_arg.c_str(), make_error_code(std::errc::is_a_directory)); in main()
27 assert(what_message.find(what_arg) != std::string::npos); in main()
31 std::string what_arg("io test message"); in main() local
32 std::ios_base::failure se(what_arg.c_str()); in main()
35 assert(what_message.find(what_arg) != std::string::npos); in main()
/external/libcxx/test/diagnostics/syserr/syserr.syserr/syserr.syserr.members/
Dctor_error_code_string.pass.cpp24 std::string what_arg("test message"); in main() local
25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg); in main()
28 assert(what_message.find(what_arg) != std::string::npos); in main()
Dctor_int_error_category_string.pass.cpp24 std::string what_arg("test message"); in main() local
26 std::generic_category(), what_arg); in main()
29 assert(what_message.find(what_arg) != std::string::npos); in main()
Dctor_error_code_const_char_pointer.pass.cpp24 std::string what_arg("test message"); in main() local
25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg.c_str()); in main()
28 assert(what_message.find(what_arg) != std::string::npos); in main()
Dctor_int_error_category_const_char_pointer.pass.cpp24 std::string what_arg("test message"); in main() local
26 std::generic_category(), what_arg.c_str()); in main()
29 assert(what_message.find(what_arg) != std::string::npos); in main()
/external/libcxx/include/
Dstdexcept35 explicit xxx_error(const string& what_arg);
36 explicit xxx_error(const char* what_arg);
38 virtual const char* what() const noexcept // returns what_arg
Dsystem_error106 system_error(error_code ec, const string& what_arg);
107 system_error(error_code ec, const char* what_arg);
109 system_error(int ev, const error_category& ecat, const string& what_arg);
110 system_error(int ev, const error_category& ecat, const char* what_arg);
638 _LIBCPP_FUNC_VIS void __throw_system_error(int ev, const char* what_arg);
/external/libcxx/include/experimental/
Doptional84 explicit bad_optional_access(const string& what_arg);
85 explicit bad_optional_access(const char* what_arg);