Searched refs:what_arg (Results 1 – 10 of 10) sorted by relevance
/external/libcxx/src/ |
D | system_error.cpp | 152 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/ |
D | ctor_string_error_code.pass.cpp | 23 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()
|
D | ctor_char_pointer_error_code.pass.cpp | 23 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/ |
D | ctor_error_code_string.pass.cpp | 24 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()
|
D | ctor_int_error_category_string.pass.cpp | 24 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()
|
D | ctor_error_code_const_char_pointer.pass.cpp | 24 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()
|
D | ctor_int_error_category_const_char_pointer.pass.cpp | 24 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/ |
D | stdexcept | 35 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
|
D | system_error | 106 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/ |
D | optional | 84 explicit bad_optional_access(const string& what_arg); 85 explicit bad_optional_access(const char* what_arg);
|