/external/libcxx/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ |
ctor_error_code_string.pass.cpp | 14 // system_error(error_code ec, const string& what_arg); 24 std::string what_arg("test message"); 25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg); local 28 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_error_code_const_char_pointer.pass.cpp | 14 // system_error(error_code ec, const char* what_arg); 24 std::string what_arg("test message"); 25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg.c_str()); 28 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_int_error_category_const_char_pointer.pass.cpp | 14 // system_error(int ev, const error_category& ecat, const char* what_arg); 24 std::string what_arg("test message"); 26 std::generic_category(), what_arg.c_str()); 29 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_int_error_category_string.pass.cpp | 14 // system_error(int ev, const error_category& ecat, const string& what_arg); 24 std::string what_arg("test message"); 26 std::generic_category(), what_arg); local 29 assert(what_message.find(what_arg) != std::string::npos);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ |
ctor_error_code_string.pass.cpp | 14 // system_error(error_code ec, const string& what_arg); 24 std::string what_arg("test message"); 25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg); local 28 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_error_code_const_char_pointer.pass.cpp | 14 // system_error(error_code ec, const char* what_arg); 24 std::string what_arg("test message"); 25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg.c_str()); 28 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_int_error_category_const_char_pointer.pass.cpp | 14 // system_error(int ev, const error_category& ecat, const char* what_arg); 24 std::string what_arg("test message"); 26 std::generic_category(), what_arg.c_str()); 29 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_int_error_category_string.pass.cpp | 14 // system_error(int ev, const error_category& ecat, const string& what_arg); 24 std::string what_arg("test message"); 26 std::generic_category(), what_arg); local 29 assert(what_message.find(what_arg) != std::string::npos);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ |
ctor_error_code_string.pass.cpp | 14 // system_error(error_code ec, const string& what_arg); 24 std::string what_arg("test message"); 25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg); local 28 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_error_code_const_char_pointer.pass.cpp | 14 // system_error(error_code ec, const char* what_arg); 24 std::string what_arg("test message"); 25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg.c_str()); 28 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_int_error_category_const_char_pointer.pass.cpp | 14 // system_error(int ev, const error_category& ecat, const char* what_arg); 24 std::string what_arg("test message"); 26 std::generic_category(), what_arg.c_str()); 29 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_int_error_category_string.pass.cpp | 14 // system_error(int ev, const error_category& ecat, const string& what_arg); 24 std::string what_arg("test message"); 26 std::generic_category(), what_arg); local 29 assert(what_message.find(what_arg) != std::string::npos);
|
/external/libcxx/src/ |
system_error.cpp | 214 system_error::__init(const error_code& ec, string what_arg) 218 if (!what_arg.empty()) 219 what_arg += ": "; 220 what_arg += ec.message(); 222 return what_arg; 225 system_error::system_error(error_code ec, const string& what_arg) 226 : runtime_error(__init(ec, what_arg)), 231 system_error::system_error(error_code ec, const char* what_arg) 232 : runtime_error(__init(ec, what_arg)), 243 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) 269 throw system_error(error_code(ev, system_category()), what_arg); local [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/src/ |
system_error.cpp | 152 system_error::__init(const error_code& ec, string what_arg) 156 if (!what_arg.empty()) 157 what_arg += ": "; 158 what_arg += ec.message(); 160 return _VSTD::move(what_arg); 163 system_error::system_error(error_code ec, const string& what_arg) 164 : runtime_error(__init(ec, what_arg)), 169 system_error::system_error(error_code ec, const char* what_arg) 170 : runtime_error(__init(ec, what_arg)), 181 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) 207 throw system_error(error_code(ev, system_category()), what_arg); local [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/src/ |
system_error.cpp | 147 system_error::__init(const error_code& ec, string what_arg) 151 if (!what_arg.empty()) 152 what_arg += ": "; 153 what_arg += ec.message(); 155 return what_arg; 158 system_error::system_error(error_code ec, const string& what_arg) 159 : runtime_error(__init(ec, what_arg)), 164 system_error::system_error(error_code ec, const char* what_arg) 165 : runtime_error(__init(ec, what_arg)), 176 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) 202 throw system_error(error_code(ev, system_category()), what_arg); local [all...] |
/external/elfutils/tests/ |
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/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ |
ctor_char_pointer_error_code.pass.cpp | 23 std::string what_arg("io test message"); 24 std::ios_base::failure se(what_arg.c_str(), make_error_code(std::errc::is_a_directory)); 27 assert(what_message.find(what_arg) != std::string::npos); 31 std::string what_arg("io test message"); 32 std::ios_base::failure se(what_arg.c_str()); 35 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_string_error_code.pass.cpp | 26 std::string what_arg("io test message"); 27 std::ios_base::failure se(what_arg, make_error_code(std::errc::is_a_directory)); 30 assert(what_message.find(what_arg) != std::string::npos); 34 std::string what_arg("io test message"); 35 std::ios_base::failure se(what_arg); 38 assert(what_message.find(what_arg) != std::string::npos);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios.base/ios.types/ios_failure/ |
ctor_char_pointer_error_code.pass.cpp | 23 std::string what_arg("io test message"); 24 std::ios_base::failure se(what_arg.c_str(), make_error_code(std::errc::is_a_directory)); 27 assert(what_message.find(what_arg) != std::string::npos); 31 std::string what_arg("io test message"); 32 std::ios_base::failure se(what_arg.c_str()); 35 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_string_error_code.pass.cpp | 23 std::string what_arg("io test message"); 24 std::ios_base::failure se(what_arg, make_error_code(std::errc::is_a_directory)); 27 assert(what_message.find(what_arg) != std::string::npos); 31 std::string what_arg("io test message"); 32 std::ios_base::failure se(what_arg); 35 assert(what_message.find(what_arg) != std::string::npos);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ |
ctor_char_pointer_error_code.pass.cpp | 23 std::string what_arg("io test message"); 24 std::ios_base::failure se(what_arg.c_str(), make_error_code(std::errc::is_a_directory)); 27 assert(what_message.find(what_arg) != std::string::npos); 31 std::string what_arg("io test message"); 32 std::ios_base::failure se(what_arg.c_str()); 35 assert(what_message.find(what_arg) != std::string::npos);
|
ctor_string_error_code.pass.cpp | 26 std::string what_arg("io test message"); 27 std::ios_base::failure se(what_arg, make_error_code(std::errc::is_a_directory)); 30 assert(what_message.find(what_arg) != std::string::npos); 34 std::string what_arg("io test message"); 35 std::ios_base::failure se(what_arg); 38 assert(what_message.find(what_arg) != std::string::npos);
|
/external/libcxx/test/std/experimental/filesystem/class.filesystem_error/ |
filesystem_error.members.pass.cpp | 16 // filesystem_error(const string& what_arg, error_code ec); 17 // filesystem_error(const string& what_arg, const path& p1, error_code ec); 18 // filesystem_error(const string& what_arg, const path& p1, const path& p2, error_code ec); 36 const std::string what_arg = "Hello World"; local 37 const std::string what_contains = std::runtime_error(what_arg).what(); 38 assert(what_contains.find(what_arg) != std::string::npos); 48 // filesystem_error(const string& what_arg, error_code ec); 50 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, ec)); 51 filesystem_error e(what_arg, ec); 56 // filesystem_error(const string& what_arg, const path&, error_code ec) [all...] |