Home
last modified time | relevance | path

Searched refs:bad_any_cast (Results 1 – 25 of 30) sorted by relevance

12

/third_party/boost/libs/type_erasure/test/
Dtest_any_cast.cpp34 BOOST_CHECK_THROW(any_cast<double>(x), bad_any_cast); in BOOST_AUTO_TEST_CASE()
37 BOOST_CHECK_THROW(any_cast<double>(y), bad_any_cast); in BOOST_AUTO_TEST_CASE()
46 BOOST_CHECK_THROW(any_cast<double&>(x), bad_any_cast); in BOOST_AUTO_TEST_CASE()
47 BOOST_CHECK_THROW(any_cast<const double&>(x), bad_any_cast); in BOOST_AUTO_TEST_CASE()
52 BOOST_CHECK_THROW(any_cast<const double&>(y), bad_any_cast); in BOOST_AUTO_TEST_CASE()
80 BOOST_CHECK_THROW(any_cast<double>(x), bad_any_cast); in BOOST_AUTO_TEST_CASE()
83 BOOST_CHECK_THROW(any_cast<double>(y), bad_any_cast); in BOOST_AUTO_TEST_CASE()
93 BOOST_CHECK_THROW(any_cast<double&>(x), bad_any_cast); in BOOST_AUTO_TEST_CASE()
94 BOOST_CHECK_THROW(any_cast<const double&>(x), bad_any_cast); in BOOST_AUTO_TEST_CASE()
98 BOOST_CHECK_THROW(any_cast<double&>(y), bad_any_cast); in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_dynamic_any_cast.cpp80 BOOST_CHECK_THROW(dynamic_any_cast<incrementable_any>(x), bad_any_cast); in BOOST_AUTO_TEST_CASE()
/third_party/abseil-cpp/absl/types/
Dbad_any_cast.cc27 bad_any_cast::~bad_any_cast() = default;
29 const char* bad_any_cast::what() const noexcept { return "Bad any cast"; } in what()
35 throw bad_any_cast(); in ThrowBadAnyCast()
Dbad_any_cast.h34 using std::bad_any_cast;
59 class bad_any_cast : public std::bad_cast {
61 ~bad_any_cast() override;
DCMakeLists.txt24 absl::bad_any_cast
35 bad_any_cast
37 "bad_any_cast.h"
50 "bad_any_cast.h"
51 "bad_any_cast.cc"
DBUILD.bazel34 ":bad_any_cast",
44 name = "bad_any_cast",
45 hdrs = ["bad_any_cast.h"],
57 "bad_any_cast.cc",
58 "bad_any_cast.h",
Dany_exception_safety_test.cc71 } catch (const absl::bad_any_cast&) { in AnyInvariants()
Dany_test.cc649 ABSL_BASE_INTERNAL_EXPECT_FAIL((__VA_ARGS__), absl::bad_any_cast, \
656 ABSL_BASE_INTERNAL_EXPECT_FAIL((__VA_ARGS__), absl::bad_any_cast, \
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dbad_any_cast.cc27 bad_any_cast::~bad_any_cast() = default;
29 const char* bad_any_cast::what() const noexcept { return "Bad any cast"; } in what()
35 throw bad_any_cast(); in ThrowBadAnyCast()
Dbad_any_cast.h34 using std::bad_any_cast;
59 class bad_any_cast : public std::bad_cast {
61 ~bad_any_cast() override;
DBUILD.gn11 ":bad_any_cast",
20 absl_source_set("bad_any_cast") {
21 public = [ "bad_any_cast.h" ]
31 sources = [ "bad_any_cast.cc" ]
32 public = [ "bad_any_cast.h" ]
DBUILD.bazel34 ":bad_any_cast",
44 name = "bad_any_cast",
45 hdrs = ["bad_any_cast.h"],
57 "bad_any_cast.cc",
58 "bad_any_cast.h",
DCMakeLists.txt24 absl::bad_any_cast
35 bad_any_cast
37 "bad_any_cast.h"
50 "bad_any_cast.h"
51 "bad_any_cast.cc"
Dany_exception_safety_test.cc71 } catch (const absl::bad_any_cast&) { in AnyInvariants()
Dany_test.cc649 ABSL_BASE_INTERNAL_EXPECT_FAIL((__VA_ARGS__), absl::bad_any_cast, \
656 ABSL_BASE_INTERNAL_EXPECT_FAIL((__VA_ARGS__), absl::bad_any_cast, \
Dany.h67 using std::bad_any_cast;
/third_party/boost/boost/spirit/home/support/detail/
Dhold_any.hpp45 struct bad_any_cast struct
48 bad_any_cast(boost::core::typeinfo const& src, boost::core::typeinfo const& dest) in bad_any_cast() function
356 throw bad_any_cast(type(), BOOST_CORE_TYPEID(T)); in cast()
441 boost::throw_exception(bad_any_cast(operand.type(), BOOST_CORE_TYPEID(T))); in any_cast()
/third_party/boost/boost/type_erasure/
Dexception.hpp36 class bad_any_cast : public std::bad_cast {}; class
Dany_cast.hpp128 BOOST_THROW_EXCEPTION(::boost::type_erasure::bad_any_cast()); in any_cast()
143 BOOST_THROW_EXCEPTION(::boost::type_erasure::bad_any_cast()); in any_cast()
/third_party/boost/libs/any/test/
Dany_test.cpp186 bad_any_cast, in test_bad_cast()
254 bad_any_cast, in test_cast_to_reference()
259 bad_any_cast, in test_cast_to_reference()
/third_party/boost/boost/contract/detail/condition/
Dcond_subcontracting.hpp290 } catch(boost::bad_any_cast const&) {
294 } catch(boost::bad_any_cast const&) {
306 } catch(boost::bad_any_cast const&) {
/third_party/boost/libs/type_erasure/src/
Ddynamic_binding.cpp55 throw bad_any_cast(); in lookup_function_impl()
/third_party/abseil-cpp/CMake/
DAbseilDll.cmake285 "types/bad_any_cast.cc"
286 "types/bad_any_cast.h"
329 "bad_any_cast"
/third_party/skia/third_party/externals/abseil-cpp/CMake/
DAbseilDll.cmake324 "types/bad_any_cast.cc"
325 "types/bad_any_cast.h"
370 "bad_any_cast"
/third_party/skia/third_party/externals/abseil-cpp/
DBUILD.gn93 "absl/types:bad_any_cast",

12