| /external/libcxxabi/test/ |
| D | catch_pointer_reference.pass.cpp | 36 struct Derived : Base {}; struct 38 struct Ambiguous : Derived, Derived2 {}; 103 // Derived * in f1() 104 assert_catches< Base * , Derived *, Derived>(); in f1() 105 assert_catches<const Base * , Derived *, Derived>(); in f1() 106 assert_catches< volatile Base * , Derived *, Derived>(); in f1() 107 assert_catches<const volatile Base * , Derived *, Derived>(); in f1() 108 assert_catches< Base * const , Derived *, Derived>(); in f1() 109 assert_catches<const Base * const , Derived *, Derived>(); in f1() 110 assert_catches< volatile Base * const , Derived *, Derived>(); in f1() [all …]
|
| /external/cronet/third_party/libc++abi/src/test/ |
| D | catch_pointer_reference.pass.cpp | 35 struct Derived : Base {}; struct 37 struct Ambiguous : Derived, Derived2 {}; 102 // Derived * in f1() 103 assert_catches< Base * , Derived *, Derived>(); in f1() 104 assert_catches<const Base * , Derived *, Derived>(); in f1() 105 assert_catches< volatile Base * , Derived *, Derived>(); in f1() 106 assert_catches<const volatile Base * , Derived *, Derived>(); in f1() 107 assert_catches< Base * const , Derived *, Derived>(); in f1() 108 assert_catches<const Base * const , Derived *, Derived>(); in f1() 109 assert_catches< volatile Base * const , Derived *, Derived>(); in f1() [all …]
|
| /external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
| D | TensorBase.h | 28 template<typename Derived> 29 class TensorBase<Derived, ReadOnlyAccessors> 32 typedef internal::traits<Derived> DerivedTraits; 40 EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<CustomNullaryOp, const Derived> 42 return TensorCwiseNullaryOp<CustomNullaryOp, const Derived>(derived(), func); in nullaryExpr() 47 …EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> 53 …N_STRONG_INLINE const TensorCwiseNullaryOp<internal::UniformRandomGenerator<Scalar>, const Derived> 58 EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<RandomGenerator, const Derived> 65 EIGEN_STRONG_INLINE const TensorGeneratorOp<Generator, const Derived> 67 return TensorGeneratorOp<Generator, const Derived>(derived(), generator); in generate() [all …]
|
| /external/icu/icu4c/source/i18n/ |
| D | number_fluent.cpp | 34 template<typename Derived> 35 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation() 36 Derived copy(*this); in notation() 42 template<typename Derived> 43 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation() 44 Derived move(std::move(*this)); in notation() 50 template<typename Derived> 51 Derived NumberFormatterSettings<Derived>::unit(const icu::MeasureUnit& unit) const& { in unit() 52 Derived copy(*this); in unit() 59 template<typename Derived> [all …]
|
| D | numrange_fluent.cpp | 30 template<typename Derived> 31 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(const UnlocalizedNumberFormatter… in numberFormatterBoth() 32 Derived copy(*this); in numberFormatterBoth() 39 template<typename Derived> 40 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(const UnlocalizedNumberFormatter… in numberFormatterBoth() 41 Derived move(std::move(*this)); in numberFormatterBoth() 48 template<typename Derived> 49 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(UnlocalizedNumberFormatter&& for… in numberFormatterBoth() 50 Derived copy(*this); in numberFormatterBoth() 57 template<typename Derived> [all …]
|
| /external/cronet/third_party/icu/source/i18n/ |
| D | number_fluent.cpp | 34 template<typename Derived> 35 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation() 36 Derived copy(*this); in notation() 42 template<typename Derived> 43 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation() 44 Derived move(std::move(*this)); in notation() 50 template<typename Derived> 51 Derived NumberFormatterSettings<Derived>::unit(const icu::MeasureUnit& unit) const& { in unit() 52 Derived copy(*this); in unit() 59 template<typename Derived> [all …]
|
| D | numrange_fluent.cpp | 30 template<typename Derived> 31 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(const UnlocalizedNumberFormatter… in numberFormatterBoth() 32 Derived copy(*this); in numberFormatterBoth() 39 template<typename Derived> 40 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(const UnlocalizedNumberFormatter… in numberFormatterBoth() 41 Derived move(std::move(*this)); in numberFormatterBoth() 48 template<typename Derived> 49 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(UnlocalizedNumberFormatter&& for… in numberFormatterBoth() 50 Derived copy(*this); in numberFormatterBoth() 57 template<typename Derived> [all …]
|
| /external/sdv/vsomeip/third_party/boost/type_index/include/boost/type_index/ |
| D | type_index_facade.hpp | 54 /// \tparam Derived Class derived from type_index_facade. 57 /// Protected member functions raw_name() \b must be defined in Derived class. All the other 61 template <class Derived, class TypeInfo> 65 BOOST_CXX14_CONSTEXPR const Derived & derived() const BOOST_NOEXCEPT { in derived() function in boost::typeindex::type_index_facade 66 return *static_cast<Derived const*>(this); in derived() 72 … /// \b Override: This function \b may be redefined in Derived class. Overrides \b must not throw. 73 /// \return Name of a type. By default returns Derived::raw_name(). 75 return derived().raw_name(); in name() 78 /// \b Override: This function \b may be redefined in Derived class. Overrides may throw. 79 /// \return Human readable type name. By default returns Derived::name(). [all …]
|
| /external/eigen/Eigen/src/Core/ |
| D | Assign.h | 17 template<typename Derived> 19 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase<Derived> 23 SameType = internal::is_same<typename Derived::Scalar,typename OtherDerived::Scalar>::value in lazyAssign() 26 EIGEN_STATIC_ASSERT_LVALUE(Derived) in lazyAssign() 27 EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(Derived,OtherDerived) in lazyAssign() 31 internal::call_assignment_no_alias(derived(),other.derived()); in lazyAssign() 33 return derived(); in lazyAssign() 36 template<typename Derived> 39 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator=(const DenseBase<OtherDerived>& other) 41 internal::call_assignment(derived(), other.derived()); [all …]
|
| D | CwiseNullaryOp.h | 106 template<typename Derived> 110 const CwiseNullaryOp<CustomNullaryOp,typename DenseBase<Derived>::PlainObject> 114 DenseBase<Derived>::NullaryExpr(Index rows, Index cols, const CustomNullaryOp& func) 137 template<typename Derived> 141 const CwiseNullaryOp<CustomNullaryOp, typename DenseBase<Derived>::PlainObject> 145 DenseBase<Derived>::NullaryExpr(Index size, const CustomNullaryOp& func) 147 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) 161 template<typename Derived> 165 const CwiseNullaryOp<CustomNullaryOp, typename DenseBase<Derived>::PlainObject> 169 DenseBase<Derived>::NullaryExpr(const CustomNullaryOp& func) [all …]
|
| D | ArrayBase.h | 32 * \tparam Derived is the derived type, e.g., an array or an expression type. 39 template<typename Derived> class ArrayBase 40 : public DenseBase<Derived> 49 typedef typename internal::traits<Derived>::StorageKind StorageKind; 50 typedef typename internal::traits<Derived>::Scalar Scalar; 54 typedef DenseBase<Derived> Base; 64 using Base::derived; 107 Derived& operator=(const ArrayBase& other) 109 internal::call_assignment(derived(), other.derived()); 110 return derived(); [all …]
|
| D | GlobalFunctions.h | 23 template<typename Derived> \ 24 …line const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> \ 25 NAME(const Eigen::ArrayBase<Derived>& x); 30 template<typename Derived> \ 31 …line const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> \ 32 (NAME)(const Eigen::ArrayBase<Derived>& x) { \ 33 … Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived>(x.derived(… 40 template<typename Derived> \ 41 struct NAME##_retval<ArrayBase<Derived> > \ 43 … const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> type… [all …]
|
| D | DenseCoeffsBase.h | 24 * \tparam Derived Type of the derived class 31 * \sa DenseCoeffsBase<Derived, WriteAccessors>, DenseCoeffsBase<Derived, DirectAccessors>, 34 template<typename Derived> 35 class DenseCoeffsBase<Derived,ReadOnlyAccessors> : public EigenBase<Derived> 38 typedef typename internal::traits<Derived>::StorageKind StorageKind; 39 typedef typename internal::traits<Derived>::Scalar Scalar; 49 typedef typename internal::conditional<bool(internal::traits<Derived>::Flags&LvalueBit), 58 typedef EigenBase<Derived> Base; 62 using Base::derived; 67 return int(Derived::RowsAtCompileTime) == 1 ? 0 in rowIndexByOuterInner() [all …]
|
| D | BooleanRedux.h | 17 template<typename Derived, int UnrollCount, int Rows> 25 EIGEN_DEVICE_FUNC static inline bool run(const Derived &mat) in run() 27 return all_unroller<Derived, UnrollCount-1, Rows>::run(mat) && mat.coeff(row, col); in run() 31 template<typename Derived, int Rows> 32 struct all_unroller<Derived, 0, Rows> 34 EIGEN_DEVICE_FUNC static inline bool run(const Derived &/*mat*/) { return true; } 37 template<typename Derived, int Rows> 38 struct all_unroller<Derived, Dynamic, Rows> 40 EIGEN_DEVICE_FUNC static inline bool run(const Derived &) { return false; } 43 template<typename Derived, int UnrollCount, int Rows> [all …]
|
| D | EigenBase.h | 23 …* Besides MatrixBase-derived classes, this also includes special matrix classes such as diagonal m… 29 template<typename Derived> struct EigenBase 31 // typedef typename internal::plain_matrix_type<Derived>::type PlainObject; 42 typedef typename internal::traits<Derived>::StorageKind StorageKind; 44 /** \returns a reference to the derived object */ 46 Derived& derived() { return *static_cast<Derived*>(this); } in derived() function 47 /** \returns a const reference to the derived object */ 49 const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function 52 inline Derived& const_cast_derived() const in const_cast_derived() 53 { return *static_cast<Derived*>(const_cast<EigenBase*>(this)); } in const_cast_derived() [all …]
|
| D | DenseBase.h | 34 * \tparam Derived is the derived type, e.g., a matrix type or an expression. 41 template<typename Derived> class DenseBase 43 : public DenseCoeffsBase<Derived, internal::accessors_level<Derived>::value> 45 : public DenseCoeffsBase<Derived,DirectWriteAccessors> 53 typedef Eigen::InnerIterator<Derived> InnerIterator; 55 typedef typename internal::traits<Derived>::StorageKind StorageKind; 63 typedef typename internal::traits<Derived>::StorageIndex StorageIndex; 66 typedef typename internal::traits<Derived>::Scalar Scalar; 74 typedef DenseCoeffsBase<Derived, internal::accessors_level<Derived>::value> Base; 76 using Base::derived; [all …]
|
| /external/sdv/vsomeip/third_party/boost/multi_index/include/boost/multi_index/detail/ |
| D | iter_adaptor.hpp | 82 template<class Derived,class Base> 85 Derived, 99 friend bool operator==(const Derived& x,const Derived& y) in operator ==() 104 Derived& operator++() in operator ++() 111 Derived& final(){return *static_cast<Derived*>(this);} in final() 112 const Derived& final()const{return *static_cast<const Derived*>(this);} in final() 115 template<class Derived,class Base> 117 const forward_iter_adaptor_base<Derived,Base>& x, in operator ==() argument 118 const forward_iter_adaptor_base<Derived,Base>& y) in operator ==() 121 static_cast<const Derived&>(x),static_cast<const Derived&>(y)); in operator ==() [all …]
|
| /external/eigen/unsupported/Eigen/src/SpecialFunctions/ |
| D | BesselFunctionsArrayAPI.h | 29 template <typename Derived> 31 Eigen::internal::scalar_bessel_i0_op<typename Derived::Scalar>, const Derived> 32 bessel_i0(const Eigen::ArrayBase<Derived>& x) { in bessel_i0() 34 Eigen::internal::scalar_bessel_i0_op<typename Derived::Scalar>, in bessel_i0() 35 const Derived>(x.derived()); in bessel_i0() 52 template <typename Derived> 54 Eigen::internal::scalar_bessel_i0e_op<typename Derived::Scalar>, const Derived> 55 bessel_i0e(const Eigen::ArrayBase<Derived>& x) { in bessel_i0e() 57 Eigen::internal::scalar_bessel_i0e_op<typename Derived::Scalar>, in bessel_i0e() 58 const Derived>(x.derived()); in bessel_i0e() [all …]
|
| /external/sdv/vsomeip/third_party/boost/conversion/test/ |
| D | polymorphic_cast_test.cpp | 64 struct Derived : public Base, Base2 struct 66 virtual std::string kind() { return "Derived"; } in kind() argument 71 Base * base = new Derived; in test_polymorphic_cast() 73 Derived * derived; in test_polymorphic_cast() local 77 derived = boost::polymorphic_cast<Derived*>( base ); in test_polymorphic_cast() 79 BOOST_TEST( derived != 0 ); in test_polymorphic_cast() 81 if( derived != 0 ) in test_polymorphic_cast() 83 BOOST_TEST_EQ( derived->kind(), "Derived" ); in test_polymorphic_cast() 88 BOOST_ERROR( "boost::polymorphic_cast<Derived*>( base ) threw std::bad_cast" ); in test_polymorphic_cast() 114 Base * base = new Derived; in test_polymorphic_pointer_cast() [all …]
|
| /external/eigen/Eigen/src/Core/util/ |
| D | SymbolicIndex.h | 76 template<typename Derived> 80 const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function 89 Index eval(const T& values) const { return derived().eval_impl(values); } in eval() 93 Index eval(Types&&... values) const { return derived().eval_impl(std::make_tuple(values...)); } in eval() 96 NegateExpr<Derived> operator-() const { return NegateExpr<Derived>(derived()); } 98 AddExpr<Derived,ValueExpr<> > operator+(Index b) const 99 { return AddExpr<Derived,ValueExpr<> >(derived(), b); } 100 AddExpr<Derived,ValueExpr<> > operator-(Index a) const 101 { return AddExpr<Derived,ValueExpr<> >(derived(), -a); } 102 ProductExpr<Derived,ValueExpr<> > operator*(Index a) const [all …]
|
| /external/sdv/vsomeip/third_party/boost/numeric/odeint/include/boost/numeric/odeint/external/eigen/ |
| D | eigen_resize.hpp | 37 template< class Derived > 38 struct is_resizeable_sfinae< Derived , 39 …e boost::enable_if< typename boost::is_base_of< Eigen::MatrixBase< Derived > , Derived >::type >::… 46 template < class Derived > 47 struct is_resizeable_sfinae< Derived , 48 …me boost::enable_if< typename boost::is_base_of< Eigen::ArrayBase< Derived > , Derived >::type >::… 56 template< class Derived > 57 struct same_size_impl_sfinae< Derived , Derived , 58 …e boost::enable_if< typename boost::is_base_of< Eigen::MatrixBase< Derived > , Derived >::type >::… 60 …static bool same_size( const Eigen::MatrixBase< Derived > &m1 , const Eigen::MatrixBase< Derived >… in same_size() [all …]
|
| /external/pigweed/pw_sync/pw_sync_private/ |
| D | borrow_lockable_tests.h | 48 struct Derived : public Base { struct 92 Derived derived; 93 Borrowable<Derived, Lock> borrowable(derived, lock); 95 BorrowedPointer<Derived, Lock> borrowed = borrowable.acquire(); 97 EXPECT_EQ(borrowed->value, Derived::kInitialValue); 101 EXPECT_EQ(derived.value, 13); 107 Derived derived; 108 Borrowable<Derived, Lock> borrowable(derived, lock); 109 const Borrowable<Derived, Lock> const_borrowable(borrowable); 111 BorrowedPointer<Derived, Lock> borrowed = const_borrowable.acquire(); [all …]
|
| /external/grpc-grpc/src/core/lib/channel/ |
| D | promise_based_filter.h | 185 template <typename Derived> 187 return HasAsyncErrorInterceptor(&Derived::Call::OnClientToServerMessage, in CallHasAsyncErrorInterceptor() 188 &Derived::Call::OnServerInitialMetadata, in CallHasAsyncErrorInterceptor() 189 &Derived::Call::OnServerToClientMessage); in CallHasAsyncErrorInterceptor() 226 template <typename Derived> 228 return HasChannelAccess(&Derived::Call::OnClientInitialMetadata, in CallHasChannelAccess() 229 &Derived::Call::OnClientToServerMessage, in CallHasChannelAccess() 230 &Derived::Call::OnServerInitialMetadata, in CallHasChannelAccess() 231 &Derived::Call::OnServerToClientMessage, in CallHasChannelAccess() 232 &Derived::Call::OnServerTrailingMetadata, in CallHasChannelAccess() [all …]
|
| /external/eigen/Eigen/src/SparseCore/ |
| D | SparseMatrixBase.h | 21 * \tparam Derived is the derived type, e.g. a sparse matrix type, or an expression, etc. 26 template<typename Derived> class SparseMatrixBase 27 : public EigenBase<Derived> 31 typedef typename internal::traits<Derived>::Scalar Scalar; 39 typedef typename internal::traits<Derived>::StorageKind StorageKind; 43 typedef typename internal::traits<Derived>::StorageIndex StorageIndex; 55 Derived& operator=(const EigenBase<OtherDerived> &other); 59 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, 61 * by the \a Derived type. If a value is not known at compile-time, 65 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, [all …]
|
| /external/clang/test/CXX/conv/conv.mem/ |
| D | p4.cpp | 11 struct Derived : Base {}; struct 13 int (Derived::*d) = data_ptr; in test() 14 int (Derived::*m)() = method_ptr; in test() 20 struct Derived : private Base {}; // expected-note 2 {{declared private here}} struct 22 …int (Derived::*d) = data_ptr; // expected-error {{cannot cast private base class 'Base' to 'test1:… in test() 23 …int (Derived::*m)() = method_ptr; // expected-error {{cannot cast private base class 'Base' to 'te… in test() 31 struct Derived : A, B {}; struct 33 …Derived::*d) = data_ptr; // expected-error {{ambiguous conversion from pointer to member of base c… in test() 34 …Derived::*m)() = method_ptr; // expected-error {{ambiguous conversion from pointer to member of ba… in test() 40 struct Derived : virtual Base {}; struct [all …]
|