HomeSort by relevance Sort by last modified time
    Searched refs:dynamic_cast (Results 26 - 50 of 230) sorted by null

12 3 4 5 6 7 8 910

  /external/ceres-solver/internal/ceres/
casts.h 78 // use dynamic_cast<> to double-check the downcast is legal (we die
82 // This is the only place in the code we should use dynamic_cast<>.
83 // In particular, you SHOULDN'T be using dynamic_cast<> in order to
85 // if (dynamic_cast<Subclass1>(foo)) HandleASubclass1Object(foo);
86 // if (dynamic_cast<Subclass2>(foo)) HandleASubclass2Object(foo);
102 assert(f == NULL || dynamic_cast<To>(f) != NULL); // NOLINT
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/
p3-0x.cpp 28 (void)dynamic_cast<struct W {}*>((K*)0); // expected-error {{'W' can not be defined in a type specifier}}
  /ndk/sources/cxx-stl/gabi++/tests/
test_aux_runtime.cpp 45 try { D &dr = dynamic_cast<D&> (*bp); }
  /external/chromium_org/third_party/cld/base/
casts.h 44 // use dynamic_cast<> to double-check the downcast is legal (we die
48 // This is the only place in the code we should use dynamic_cast<>.
49 // In particular, you SHOULDN'T be using dynamic_cast<> in order to
51 // if (dynamic_cast<Subclass1>(foo)) HandleASubclass1Object(foo);
52 // if (dynamic_cast<Subclass2>(foo)) HandleASubclass2Object(foo);
65 assert(f == NULL || dynamic_cast<To>(f) != NULL); // RTTI: debug mode only!
86 assert(dynamic_cast<ToAsPointer>(&f) != NULL); // RTTI: debug mode only
  /external/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/
sema.cpp 137 P(dynamic_cast<V&>(*pd));
138 P(dynamic_cast<V*>(pd));
139 N(dynamic_cast<D&>(*pv));
140 P(dynamic_cast<D*>(pv));
189 P(dynamic_cast<S3&>(f2<T&>()));
  /external/compiler-rt/lib/ubsan/
ubsan_type_hash.cc 123 dynamic_cast<const abi::__si_class_type_info*>(Derived))
127 dynamic_cast<const abi::__vmi_class_type_info*>(Derived);
160 dynamic_cast<const abi::__si_class_type_info*>(Derived))
164 dynamic_cast<const abi::__vmi_class_type_info*>(Derived);
225 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo);
  /external/clang/test/Analysis/
misc-ps-cxx0x.cpp 77 // Tests that dynamic_cast handles references to C++ classes. Previously
87 operator=(dynamic_cast<const rdar11817693_BaseBase&>(src));
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
p5.cpp 49 (void)dynamic_cast<auto&>(n); // expected-error{{'auto' not allowed here}}
  /external/clang/test/Parser/
cxx-casting.cpp 17 return dynamic_cast<struct B*>(a);
45 (void)dynamic_cast<::a>(b); // expected-error{{found '<::' after a dynamic_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}}
  /external/clang/test/SemaTemplate/
virtual-member-functions.cpp 96 Y* f(X<void>* x) { return dynamic_cast<Y*>(x); } // expected-note {{in instantiation of member function 'DynamicCast::X<void>::foo' requested here}}
97 Y* f2(X<void>* x) { return dynamic_cast<Y*>(x); }
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/exception/
get_error_info.hpp 38 BOOST_ASSERT( 0!=dynamic_cast<ErrorInfo *>(eib.get()) );
119 if( exception const * x = dynamic_cast<exception const *>(&some_exception) )
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/
cast.h 68 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
96 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
nested_exception.h 90 { return dynamic_cast<const nested_exception*>(&__ex); }
98 { return dynamic_cast<const nested_exception*>(__ex); }
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/
cast.h 75 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
103 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
nested_exception.h 90 { return dynamic_cast<const nested_exception*>(&__ex); }
98 { return dynamic_cast<const nested_exception*>(__ex); }
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/
cast.h 75 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
103 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/
cast.h 68 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
96 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/
cast.h 68 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
96 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/
cast.h 68 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
96 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/
cast.h 68 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
96 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
nested_exception.h 90 { return dynamic_cast<const nested_exception*>(&__ex); }
98 { return dynamic_cast<const nested_exception*>(__ex); }
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/
cast.h 75 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
103 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/
nested_exception.h 90 { return dynamic_cast<const nested_exception*>(&__ex); }
98 { return dynamic_cast<const nested_exception*>(__ex); }
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/
cast.h 75 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
103 { return _ToType(dynamic_cast<typename _Caster<_ToType>::
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
nested_exception.h 90 { return dynamic_cast<const nested_exception*>(&__ex); }
98 { return dynamic_cast<const nested_exception*>(__ex); }

Completed in 652 milliseconds

12 3 4 5 6 7 8 910