Home
last modified time | relevance | path

Searched refs:thrown_type (Results 1 – 13 of 13) sorted by relevance

/ndk/sources/cxx-stl/gabi++/src/
Dpbase_type_info.cc69 const __pbase_type_info *thrown_type = in can_catch_typeinfo_wrapper() local
73 if (~__flags & thrown_type->__flags) { in can_catch_typeinfo_wrapper()
96 return can_catch_ptr(thrown_type, adjustedPtr, tracker); in can_catch_typeinfo_wrapper()
99 bool __pbase_type_info::can_catch_ptr(const __pbase_type_info* thrown_type, in can_catch_ptr() argument
103 if (do_can_catch_ptr(thrown_type, adjustedPtr, tracker, in can_catch_ptr()
112 return ptr_pointee->can_catch_typeinfo_wrapper(thrown_type->__pointee, in can_catch_ptr()
116 return __pointee->can_catch(thrown_type->__pointee, adjustedPtr); in can_catch_ptr()
Dcxxabi_defines.h45 virtual bool can_catch(const __shim_type_info* thrown_type,
54 virtual bool can_catch(const __shim_type_info* thrown_type,
63 virtual bool can_catch(const __shim_type_info* thrown_type,
72 virtual bool can_catch(const __shim_type_info* thrown_type,
81 virtual bool can_catch(const __shim_type_info* thrown_type,
143 virtual bool can_catch(const __shim_type_info* thrown_type,
209 virtual bool can_catch(const __shim_type_info* thrown_type,
223 virtual bool can_catch_typeinfo_wrapper(const __shim_type_info* thrown_type,
236 bool can_catch_ptr(const __pbase_type_info *thrown_type,
241 virtual bool do_can_catch_ptr(const __pbase_type_info* thrown_type,
[all …]
Dpointer_to_member_type_info.cc42 const __pointer_to_member_type_info *thrown_type = in do_can_catch_ptr() local
44 if (!thrown_type) { in do_can_catch_ptr()
49 if (*__context != *thrown_type->__context) { in do_can_catch_ptr()
Denum_type_info.cc38 bool __enum_type_info::can_catch(const __shim_type_info* thrown_type, in can_catch() argument
40 return *this == *thrown_type; in can_catch()
Dfundamental_type_info.cc38 bool __fundamental_type_info::can_catch(const __shim_type_info* thrown_type, in can_catch() argument
40 return *this == *thrown_type; in can_catch()
Dclass_type_info.cc38 bool __class_type_info::can_catch(const __shim_type_info* thrown_type, in can_catch() argument
40 if (*this == *thrown_type) { in can_catch()
45 dynamic_cast<const __class_type_info*>(thrown_type); in can_catch()
Dpointer_type_info.cc38 bool __pointer_type_info::do_can_catch_ptr(const __pbase_type_info* thrown_type, in do_can_catch_ptr() argument
46 if (dynamic_cast<const __function_type_info*>(thrown_type->__pointee)) { in do_can_catch_ptr()
Dfunction_type_info.cc38 bool __function_type_info::can_catch(const __shim_type_info* thrown_type, in can_catch() argument
Darray_type_info.cc38 bool __array_type_info::can_catch(const __shim_type_info* thrown_type, in can_catch() argument
Dcall_unexpected.cc99 const __shim_type_info* thrown_type = in __cxa_type_match() local
101 if (!catch_type || !thrown_type) { in __cxa_type_match()
105 if (catch_type->can_catch(thrown_type, adjustedPtr)) { in __cxa_type_match()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_default_handlers.cpp47 const __shim_type_info* thrown_type = in default_terminate_handler() local
53 const char* name = __cxa_demangle(thrown_type->name(), buf, &len, &status); in default_terminate_handler()
55 name = thrown_type->name(); in default_terminate_handler()
59 if (catch_type->can_catch(thrown_type, thrown_object)) in default_terminate_handler()
Dprivate_typeinfo.cpp188 __fundamental_type_info::can_catch(const __shim_type_info* thrown_type, in can_catch() argument
191 return is_equal(this, thrown_type, false); in can_catch()
216 __enum_type_info::can_catch(const __shim_type_info* thrown_type, in can_catch() argument
219 return is_equal(this, thrown_type, false); in can_catch()
227 __class_type_info::can_catch(const __shim_type_info* thrown_type, in can_catch() argument
231 if (is_equal(this, thrown_type, false)) in can_catch()
234 dynamic_cast<const __class_type_info*>(thrown_type); in can_catch()
347 __pbase_type_info::can_catch(const __shim_type_info* thrown_type, in can_catch() argument
350 return is_equal(this, thrown_type, false) || in can_catch()
351 is_equal(thrown_type, &typeid(std::nullptr_t), false); in can_catch()
[all …]
Dprivate_typeinfo.h29 …isibility__("hidden"))) virtual bool can_catch(const __shim_type_info* thrown_type, void*& adjuste…