Searched refs:what_arg (Results 1 – 10 of 10) sorted by relevance
/external/libcxx/src/ |
D | system_error.cpp | 147 system_error::__init(const error_code& ec, string what_arg) in __init() argument 151 if (!what_arg.empty()) in __init() 152 what_arg += ": "; in __init() 153 what_arg += ec.message(); in __init() 155 return what_arg; in __init() 158 system_error::system_error(error_code ec, const string& what_arg) in system_error() argument 159 : runtime_error(__init(ec, what_arg)), in system_error() 164 system_error::system_error(error_code ec, const char* what_arg) in system_error() argument 165 : runtime_error(__init(ec, what_arg)), in system_error() 176 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/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/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 | 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);
|