Home
last modified time | relevance | path

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

12

/external/angle/third_party/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc42 void ThrowStdLogicError(const std::string& what_arg) { in ThrowStdLogicError() argument
44 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
46 ABSL_RAW_LOG(FATAL, "%s", what_arg.c_str()); in ThrowStdLogicError()
50 void ThrowStdLogicError(const char* what_arg) { in ThrowStdLogicError() argument
52 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
54 ABSL_RAW_LOG(FATAL, "%s", what_arg); in ThrowStdLogicError()
58 void ThrowStdInvalidArgument(const std::string& what_arg) { in ThrowStdInvalidArgument() argument
60 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
62 ABSL_RAW_LOG(FATAL, "%s", what_arg.c_str()); in ThrowStdInvalidArgument()
66 void ThrowStdInvalidArgument(const char* what_arg) { in ThrowStdInvalidArgument() argument
[all …]
Dthrow_delegate.h42 [[noreturn]] void ThrowStdLogicError(const std::string& what_arg);
43 [[noreturn]] void ThrowStdLogicError(const char* what_arg);
44 [[noreturn]] void ThrowStdInvalidArgument(const std::string& what_arg);
45 [[noreturn]] void ThrowStdInvalidArgument(const char* what_arg);
46 [[noreturn]] void ThrowStdDomainError(const std::string& what_arg);
47 [[noreturn]] void ThrowStdDomainError(const char* what_arg);
48 [[noreturn]] void ThrowStdLengthError(const std::string& what_arg);
49 [[noreturn]] void ThrowStdLengthError(const char* what_arg);
50 [[noreturn]] void ThrowStdOutOfRange(const std::string& what_arg);
51 [[noreturn]] void ThrowStdOutOfRange(const char* what_arg);
[all …]
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dthrow_delegate.cc42 void ThrowStdLogicError(const std::string& what_arg) { in ThrowStdLogicError() argument
44 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
46 ABSL_RAW_LOG(FATAL, "%s", what_arg.c_str()); in ThrowStdLogicError()
50 void ThrowStdLogicError(const char* what_arg) { in ThrowStdLogicError() argument
52 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
54 ABSL_RAW_LOG(FATAL, "%s", what_arg); in ThrowStdLogicError()
58 void ThrowStdInvalidArgument(const std::string& what_arg) { in ThrowStdInvalidArgument() argument
60 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
62 ABSL_RAW_LOG(FATAL, "%s", what_arg.c_str()); in ThrowStdInvalidArgument()
66 void ThrowStdInvalidArgument(const char* what_arg) { in ThrowStdInvalidArgument() argument
[all …]
Dthrow_delegate.h42 [[noreturn]] void ThrowStdLogicError(const std::string& what_arg);
43 [[noreturn]] void ThrowStdLogicError(const char* what_arg);
44 [[noreturn]] void ThrowStdInvalidArgument(const std::string& what_arg);
45 [[noreturn]] void ThrowStdInvalidArgument(const char* what_arg);
46 [[noreturn]] void ThrowStdDomainError(const std::string& what_arg);
47 [[noreturn]] void ThrowStdDomainError(const char* what_arg);
48 [[noreturn]] void ThrowStdLengthError(const std::string& what_arg);
49 [[noreturn]] void ThrowStdLengthError(const char* what_arg);
50 [[noreturn]] void ThrowStdOutOfRange(const std::string& what_arg);
51 [[noreturn]] void ThrowStdOutOfRange(const char* what_arg);
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc40 void ThrowStdLogicError(const std::string& what_arg) { in ThrowStdLogicError() argument
41 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
43 void ThrowStdLogicError(const char* what_arg) { in ThrowStdLogicError() argument
44 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
46 void ThrowStdInvalidArgument(const std::string& what_arg) { in ThrowStdInvalidArgument() argument
47 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
49 void ThrowStdInvalidArgument(const char* what_arg) { in ThrowStdInvalidArgument() argument
50 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
53 void ThrowStdDomainError(const std::string& what_arg) { in ThrowStdDomainError() argument
54 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
[all …]
Dthrow_delegate.h42 [[noreturn]] void ThrowStdLogicError(const std::string& what_arg);
43 [[noreturn]] void ThrowStdLogicError(const char* what_arg);
44 [[noreturn]] void ThrowStdInvalidArgument(const std::string& what_arg);
45 [[noreturn]] void ThrowStdInvalidArgument(const char* what_arg);
46 [[noreturn]] void ThrowStdDomainError(const std::string& what_arg);
47 [[noreturn]] void ThrowStdDomainError(const char* what_arg);
48 [[noreturn]] void ThrowStdLengthError(const std::string& what_arg);
49 [[noreturn]] void ThrowStdLengthError(const char* what_arg);
50 [[noreturn]] void ThrowStdOutOfRange(const std::string& what_arg);
51 [[noreturn]] void ThrowStdOutOfRange(const char* what_arg);
[all …]
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc40 void ThrowStdLogicError(const std::string& what_arg) { in ThrowStdLogicError() argument
41 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
43 void ThrowStdLogicError(const char* what_arg) { in ThrowStdLogicError() argument
44 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
46 void ThrowStdInvalidArgument(const std::string& what_arg) { in ThrowStdInvalidArgument() argument
47 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
49 void ThrowStdInvalidArgument(const char* what_arg) { in ThrowStdInvalidArgument() argument
50 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
53 void ThrowStdDomainError(const std::string& what_arg) { in ThrowStdDomainError() argument
54 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
[all …]
Dthrow_delegate.h42 [[noreturn]] void ThrowStdLogicError(const std::string& what_arg);
43 [[noreturn]] void ThrowStdLogicError(const char* what_arg);
44 [[noreturn]] void ThrowStdInvalidArgument(const std::string& what_arg);
45 [[noreturn]] void ThrowStdInvalidArgument(const char* what_arg);
46 [[noreturn]] void ThrowStdDomainError(const std::string& what_arg);
47 [[noreturn]] void ThrowStdDomainError(const char* what_arg);
48 [[noreturn]] void ThrowStdLengthError(const std::string& what_arg);
49 [[noreturn]] void ThrowStdLengthError(const char* what_arg);
50 [[noreturn]] void ThrowStdOutOfRange(const std::string& what_arg);
51 [[noreturn]] void ThrowStdOutOfRange(const char* what_arg);
[all …]
/external/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc40 void ThrowStdLogicError(const std::string& what_arg) { in ThrowStdLogicError() argument
41 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
43 void ThrowStdLogicError(const char* what_arg) { in ThrowStdLogicError() argument
44 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
46 void ThrowStdInvalidArgument(const std::string& what_arg) { in ThrowStdInvalidArgument() argument
47 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
49 void ThrowStdInvalidArgument(const char* what_arg) { in ThrowStdInvalidArgument() argument
50 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
53 void ThrowStdDomainError(const std::string& what_arg) { in ThrowStdDomainError() argument
54 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
[all …]
Dthrow_delegate.h42 [[noreturn]] void ThrowStdLogicError(const std::string& what_arg);
43 [[noreturn]] void ThrowStdLogicError(const char* what_arg);
44 [[noreturn]] void ThrowStdInvalidArgument(const std::string& what_arg);
45 [[noreturn]] void ThrowStdInvalidArgument(const char* what_arg);
46 [[noreturn]] void ThrowStdDomainError(const std::string& what_arg);
47 [[noreturn]] void ThrowStdDomainError(const char* what_arg);
48 [[noreturn]] void ThrowStdLengthError(const std::string& what_arg);
49 [[noreturn]] void ThrowStdLengthError(const char* what_arg);
50 [[noreturn]] void ThrowStdOutOfRange(const std::string& what_arg);
51 [[noreturn]] void ThrowStdOutOfRange(const char* what_arg);
[all …]
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc40 void ThrowStdLogicError(const std::string& what_arg) { in ThrowStdLogicError() argument
41 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
43 void ThrowStdLogicError(const char* what_arg) { in ThrowStdLogicError() argument
44 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
46 void ThrowStdInvalidArgument(const std::string& what_arg) { in ThrowStdInvalidArgument() argument
47 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
49 void ThrowStdInvalidArgument(const char* what_arg) { in ThrowStdInvalidArgument() argument
50 Throw(std::invalid_argument(what_arg)); in ThrowStdInvalidArgument()
53 void ThrowStdDomainError(const std::string& what_arg) { in ThrowStdDomainError() argument
54 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
[all …]
Dthrow_delegate.h42 [[noreturn]] void ThrowStdLogicError(const std::string& what_arg);
43 [[noreturn]] void ThrowStdLogicError(const char* what_arg);
44 [[noreturn]] void ThrowStdInvalidArgument(const std::string& what_arg);
45 [[noreturn]] void ThrowStdInvalidArgument(const char* what_arg);
46 [[noreturn]] void ThrowStdDomainError(const std::string& what_arg);
47 [[noreturn]] void ThrowStdDomainError(const char* what_arg);
48 [[noreturn]] void ThrowStdLengthError(const std::string& what_arg);
49 [[noreturn]] void ThrowStdLengthError(const char* what_arg);
50 [[noreturn]] void ThrowStdOutOfRange(const std::string& what_arg);
51 [[noreturn]] void ThrowStdOutOfRange(const char* what_arg);
[all …]
/external/libcxx/src/
Dsystem_error.cpp233 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/llvm-project/libcxx/src/
Dsystem_error.cpp232 system_error::__init(const error_code& ec, string what_arg) in __init() argument
236 if (!what_arg.empty()) in __init()
237 what_arg += ": "; in __init()
238 what_arg += ec.message(); in __init()
240 return what_arg; in __init()
243 system_error::system_error(error_code ec, const string& what_arg) in system_error() argument
244 : runtime_error(__init(ec, what_arg)), in system_error()
249 system_error::system_error(error_code ec, const char* what_arg) in system_error() argument
250 : runtime_error(__init(ec, what_arg)), in system_error()
261 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) in system_error() argument
[all …]
/external/openscreen/third_party/abseil/src/absl/base/
Dthrow_delegate_test.cc38 constexpr const char* what_arg = "The quick brown fox jumps over the lazy dog"; variable
44 f(what_arg); in ExpectThrowChar()
47 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowChar()
50 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowChar()
58 f(what_arg); in ExpectThrowString()
61 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowString()
64 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowString()
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.filesystem_error/
Dfilesystem_error.members.pass.cpp34 const std::string what_arg = "Hello World"; in test_constructors() local
35 const std::string what_contains = std::runtime_error(what_arg).what(); in test_constructors()
36 assert(what_contains.find(what_arg) != std::string::npos); in test_constructors()
48 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, ec)); in test_constructors()
49 filesystem_error e(what_arg, ec); in test_constructors()
56 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, p1, ec)); in test_constructors()
57 filesystem_error e(what_arg, p1, ec); in test_constructors()
65 ASSERT_NOT_NOEXCEPT(filesystem_error(what_arg, p1, p2, ec)); in test_constructors()
66 filesystem_error e(what_arg, p1, p2, ec); in test_constructors()
/external/abseil-cpp/absl/base/
Dthrow_delegate_test.cc38 constexpr const char* what_arg = "The quick brown fox jumps over the lazy dog"; variable
44 f(what_arg); in ExpectThrowChar()
47 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowChar()
50 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowChar()
58 f(what_arg); in ExpectThrowString()
61 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowString()
64 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowString()
/external/libcxx/test/std/input.output/filesystems/class.filesystem_error/
Dfilesystem_error.members.pass.cpp35 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/angle/third_party/abseil-cpp/absl/base/
Dthrow_delegate_test.cc38 constexpr const char* what_arg = "The quick brown fox jumps over the lazy dog"; variable
44 f(what_arg); in ExpectThrowChar()
47 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowChar()
50 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowChar()
58 f(what_arg); in ExpectThrowString()
61 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowString()
64 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowString()
/external/libtextclassifier/abseil-cpp/absl/base/
Dthrow_delegate_test.cc38 constexpr const char* what_arg = "The quick brown fox jumps over the lazy dog"; variable
44 f(what_arg); in ExpectThrowChar()
47 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowChar()
50 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowChar()
58 f(what_arg); in ExpectThrowString()
61 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowString()
64 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowString()
/external/webrtc/third_party/abseil-cpp/absl/base/
Dthrow_delegate_test.cc38 constexpr const char* what_arg = "The quick brown fox jumps over the lazy dog"; variable
44 f(what_arg); in ExpectThrowChar()
47 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowChar()
50 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowChar()
58 f(what_arg); in ExpectThrowString()
61 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowString()
64 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowString()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/
Dthrow_delegate_test.cc38 constexpr const char* what_arg = "The quick brown fox jumps over the lazy dog"; variable
44 f(what_arg); in ExpectThrowChar()
47 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowChar()
50 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowChar()
58 f(what_arg); in ExpectThrowString()
61 EXPECT_STREQ(e.what(), what_arg); in ExpectThrowString()
64 EXPECT_DEATH_IF_SUPPORTED(f(what_arg), what_arg); in ExpectThrowString()
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/
Dctor_char_pointer_error_code.pass.cpp24 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()
Dctor_string_error_code.pass.cpp27 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/llvm-project/libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/
Dctor_char_pointer_error_code.pass.cpp25 std::string what_arg("io test message"); in main() local
26 std::ios_base::failure se(what_arg.c_str(), make_error_code(std::errc::is_a_directory)); in main()
29 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.c_str()); in main()
38 assert(what_message.find(what_arg) != std::string::npos); in main()

12