Home
last modified time | relevance | path

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

/external/libcxx/src/
Dsystem_error.cpp214 system_error::__init(const error_code& ec, string what_arg) in __init() argument
218 if (!what_arg.empty()) in __init()
219 what_arg += ": "; in __init()
220 what_arg += ec.message(); in __init()
222 return what_arg; in __init()
225 system_error::system_error(error_code ec, const string& what_arg) in system_error() argument
226 : runtime_error(__init(ec, what_arg)), in system_error()
231 system_error::system_error(error_code ec, const char* what_arg) in system_error() argument
232 : runtime_error(__init(ec, what_arg)), in system_error()
243 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) in system_error() argument
[all …]
/external/libcxx/test/std/experimental/filesystem/class.filesystem_error/
Dfilesystem_error.members.pass.cpp36 const std::string what_arg = "Hello World"; in test_constructors() local
37 const std::string what_contains = std::runtime_error(what_arg).what(); in test_constructors()
38 assert(what_contains.find(what_arg) != std::string::npos); in test_constructors()
50 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, ec)); in test_constructors()
51 filesystem_error e(what_arg, ec); in test_constructors()
58 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, p1, ec)); in test_constructors()
59 filesystem_error e(what_arg, p1, ec); in test_constructors()
67 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, p1, p2, ec)); in test_constructors()
68 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/
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()
Dctor_string_error_code.pass.cpp26 std::string what_arg("io test message"); in main() local
27 std::ios_base::failure se(what_arg, make_error_code(std::errc::is_a_directory)); in main()
30 assert(what_message.find(what_arg) != std::string::npos); in main()
34 std::string what_arg("io test message"); in main() local
35 std::ios_base::failure se(what_arg); in main()
38 assert(what_message.find(what_arg) != std::string::npos); in main()
/external/libcxx/test/std/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/elfutils/tests/
Drun-nm-self.sh25 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/
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_error112 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);
668 void __throw_system_error(int ev, const char* what_arg);