/external/libcxx/src/ |
D | system_error.cpp | 233 system_error::__init(const error_code& ec, string what_arg) in __init() argument 237 if (!what_arg.empty()) in __init() 238 what_arg += ": "; in __init() 239 what_arg += ec.message(); in __init() 241 return what_arg; in __init() 244 system_error::system_error(error_code ec, const string& what_arg) in system_error() argument 245 : runtime_error(__init(ec, what_arg)), in system_error() 250 system_error::system_error(error_code ec, const char* what_arg) in system_error() argument 251 : runtime_error(__init(ec, what_arg)), in system_error() 262 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) in system_error() argument [all …]
|
/external/libcxx/test/std/input.output/filesystems/class.filesystem_error/ |
D | filesystem_error.members.pass.cpp | 35 const std::string what_arg = "Hello World"; in test_constructors() local 36 const std::string what_contains = std::runtime_error(what_arg).what(); in test_constructors() 37 assert(what_contains.find(what_arg) != std::string::npos); in test_constructors() 49 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, ec)); in test_constructors() 50 filesystem_error e(what_arg, ec); in test_constructors() 57 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, p1, ec)); in test_constructors() 58 filesystem_error e(what_arg, p1, ec); in test_constructors() 66 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, p1, p2, ec)); in test_constructors() 67 filesystem_error e(what_arg, p1, p2, ec); in test_constructors()
|
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ |
D | ctor_char_pointer_error_code.pass.cpp | 24 std::string what_arg("io test message"); in main() local 25 std::ios_base::failure se(what_arg.c_str(), make_error_code(std::errc::is_a_directory)); in main() 28 assert(what_message.find(what_arg) != std::string::npos); in main() 33 std::string what_arg("io test message"); in main() local 34 std::ios_base::failure se(what_arg.c_str()); in main() 37 assert(what_message.find(what_arg) != std::string::npos); in main()
|
D | ctor_string_error_code.pass.cpp | 27 std::string what_arg("io test message"); in main() local 28 std::ios_base::failure se(what_arg, make_error_code(std::errc::is_a_directory)); in main() 31 assert(what_message.find(what_arg) != std::string::npos); in main() 36 std::string what_arg("io test message"); in main() local 37 std::ios_base::failure se(what_arg); in main() 40 assert(what_message.find(what_arg) != std::string::npos); in main()
|
/external/libcxx/test/std/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_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_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_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/elfutils/tests/ |
D | run-nm-self.sh | 25 for what_arg in --debug-syms --defined-only --dynamic --extern-only; do 30 if ! test "$what_arg" = "--dynamic" -a "$self_file" = "$ET_REL"; then 31 testrun ${abs_top_builddir}/src/nm $what_arg $format_arg $out_arg $self_file > /dev/null
|
/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 | 112 system_error(error_code ec, const string& what_arg); 113 system_error(error_code ec, const char* what_arg); 115 system_error(int ev, const error_category& ecat, const string& what_arg); 116 system_error(int ev, const error_category& ecat, const char* what_arg); 483 void __throw_system_error(int ev, const char* what_arg);
|
/external/bcc/src/cc/vendor/ |
D | optional.hpp | 261 explicit bad_optional_access(const string& what_arg) : logic_error{what_arg} {} in bad_optional_access() argument 262 explicit bad_optional_access(const char* what_arg) : logic_error{what_arg} {} in bad_optional_access() argument
|