/external/libcxxabi/test/ |
D | catch_pointer_reference.pass.cpp | 36 struct Derived : Base {}; struct 38 struct Ambiguous : Derived, Derived2 {}; 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() 111 assert_catches<const volatile Base * const , Derived *, Derived>(); in f1() [all …]
|
/external/eigen/Eigen/src/Core/ |
D | CwiseNullaryOp.h | 106 template<typename Derived> 108 …EIGEN_STRONG_INLINE const CwiseNullaryOp<CustomNullaryOp, typename DenseBase<Derived>::PlainObject> 109 DenseBase<Derived>::NullaryExpr(Index rows, Index cols, const CustomNullaryOp& func) 132 template<typename Derived> 134 EIGEN_STRONG_INLINE const CwiseNullaryOp<CustomNullaryOp, typename DenseBase<Derived>::PlainObject> 135 DenseBase<Derived>::NullaryExpr(Index size, const CustomNullaryOp& func) 137 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) 151 template<typename Derived> 153 …EIGEN_STRONG_INLINE const CwiseNullaryOp<CustomNullaryOp, typename DenseBase<Derived>::PlainObject> 154 DenseBase<Derived>::NullaryExpr(const CustomNullaryOp& func) [all …]
|
D | Redux.h | 26 template<typename Func, typename Derived> 30 …typedef typename find_best_packet<typename Derived::Scalar,Derived::SizeAtCompileTime>::type Packe… 33 InnerMaxSize = int(Derived::IsRowMajor) 34 ? Derived::MaxColsAtCompileTime 35 : Derived::MaxRowsAtCompileTime 39 MightVectorize = (int(Derived::Flags)&ActualPacketAccessBit) 41 MayLinearVectorize = bool(MightVectorize) && (int(Derived::Flags)&LinearAccessBit), 54 Cost = Derived::SizeAtCompileTime == Dynamic ? HugeCost 55 …: Derived::SizeAtCompileTime * Derived::CoeffReadCost + (Derived::SizeAtCompileTime-1) * functor_t… 67 std::cerr << "Xpr: " << typeid(typename Derived::XprType).name() << std::endl; in debug() [all …]
|
D | DenseCoeffsBase.h | 33 template<typename Derived> 34 class DenseCoeffsBase<Derived,ReadOnlyAccessors> : public EigenBase<Derived> 37 typedef typename internal::traits<Derived>::StorageKind StorageKind; 38 typedef typename internal::traits<Derived>::Scalar Scalar; 48 typedef typename internal::conditional<bool(internal::traits<Derived>::Flags&LvalueBit), 57 typedef EigenBase<Derived> Base; 66 return int(Derived::RowsAtCompileTime) == 1 ? 0 in rowIndexByOuterInner() 67 : int(Derived::ColsAtCompileTime) == 1 ? inner in rowIndexByOuterInner() 68 : int(Derived::Flags)&RowMajorBit ? outer in rowIndexByOuterInner() 75 return int(Derived::ColsAtCompileTime) == 1 ? 0 in colIndexByOuterInner() [all …]
|
D | Fuzzy.h | 19 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Sca… 23 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) in run() 25 typename internal::nested_eval<Derived,2>::type nested(x); in run() 31 template<typename Derived, typename OtherDerived> 32 struct isApprox_selector<Derived, OtherDerived, true> 35 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar&) 41 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Sca… 45 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) 51 template<typename Derived, typename OtherDerived> 52 struct isMuchSmallerThan_object_selector<Derived, OtherDerived, true> [all …]
|
D | Dot.h | 65 template<typename Derived> 68 typename ScalarBinaryOpTraits<typename internal::traits<Derived>::Scalar,typename internal::traits<… 69 MatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const 71 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) 73 EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,OtherDerived) 81 return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other); 92 template<typename Derived> 93 …NG_INLINE typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>… 104 template<typename Derived> 105 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::no… [all …]
|
D | DenseBase.h | 41 template<typename Derived> class DenseBase 43 : public DenseCoeffsBase<Derived> 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> Base; 100 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, 106 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, [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 …return Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived>(x.de… 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 | BooleanRedux.h | 17 template<typename Derived, int UnrollCount> 20 typedef typename Derived::ExpressionTraits Traits; 26 static inline bool run(const Derived &mat) in run() 28 return all_unroller<Derived, UnrollCount-1>::run(mat) && mat.coeff(row, col); in run() 32 template<typename Derived> 33 struct all_unroller<Derived, 0> 35 static inline bool run(const Derived &/*mat*/) { return true; } 38 template<typename Derived> 39 struct all_unroller<Derived, Dynamic> 41 static inline bool run(const Derived &) { return false; } [all …]
|
D | MatrixBase.h | 48 template<typename Derived> class MatrixBase 49 : public DenseBase<Derived> 54 typedef typename internal::traits<Derived>::StorageKind StorageKind; 55 typedef typename internal::traits<Derived>::StorageIndex StorageIndex; 56 typedef typename internal::traits<Derived>::Scalar Scalar; 60 typedef DenseBase<Derived> Base; 114 …typedef Matrix<std::complex<RealScalar>, internal::traits<Derived>::ColsAtCompileTime, 1, ColMajor… 119 internal::traits<Derived>::RowsAtCompileTime, 120 internal::traits<Derived>::ColsAtCompileTime> BasisReturnType; 139 Derived& operator=(const MatrixBase& other); [all …]
|
D | Visitor.h | 17 template<typename Visitor, typename Derived, int UnrollCount> 21 col = (UnrollCount-1) / Derived::RowsAtCompileTime, 22 row = (UnrollCount-1) % Derived::RowsAtCompileTime 26 static inline void run(const Derived &mat, Visitor& visitor) in run() 28 visitor_impl<Visitor, Derived, UnrollCount-1>::run(mat, visitor); in run() 33 template<typename Visitor, typename Derived> 34 struct visitor_impl<Visitor, Derived, 1> 37 static inline void run(const Derived &mat, Visitor& visitor) 43 template<typename Visitor, typename Derived> 44 struct visitor_impl<Visitor, Derived, Dynamic> [all …]
|
D | Assign.h | 17 template<typename Derived> 19 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() 36 template<typename Derived> 39 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator=(const DenseBase<OtherDerived>& other) 45 template<typename Derived> 47 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator=(const DenseBase& other) 53 template<typename Derived> [all …]
|
D | Ref.h | 29 template<typename Derived> struct match { 31 HasDirectAccess = internal::has_direct_access<Derived>::ret, 32 …bjectType::IsVectorAtCompileTime || Derived::IsVectorAtCompileTime || ((PlainObjectType::Flags&Row… 34 … || int(StrideType::InnerStrideAtCompileTime)==int(Derived::InnerStrideAtCompileTime) 35 … || (int(StrideType::InnerStrideAtCompileTime)==0 && int(Derived::InnerStrideAtCompileTime)==1), 36 OuterStrideMatch = Derived::IsVectorAtCompileTime 37 …ileTime)==int(Dynamic) || int(StrideType::OuterStrideAtCompileTime)==int(Derived::OuterStrideAtCom… 43 DerivedAlignment = int(evaluator<Derived>::Alignment), 45 …ScalarTypeMatch = internal::is_same<typename PlainObjectType::Scalar, typename Derived::Scalar>::v… 53 template<typename Derived> [all …]
|
D | ArrayBase.h | 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; 107 Derived& operator=(const ArrayBase& other) 116 Derived& operator=(const Scalar &value) 120 Derived& operator+=(const Scalar& scalar); 122 Derived& operator-=(const Scalar& scalar); 126 Derived& operator+=(const ArrayBase<OtherDerived>& other); [all …]
|
D | SolverBase.h | 40 template<typename Derived> 41 class SolverBase : public EigenBase<Derived> 45 typedef EigenBase<Derived> Base; 46 typedef typename internal::traits<Derived>::Scalar Scalar; 50 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, 51 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, 52 … SizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::RowsAtCompileTime, 53 … internal::traits<Derived>::ColsAtCompileTime>::ret), 54 MaxRowsAtCompileTime = internal::traits<Derived>::MaxRowsAtCompileTime, 55 MaxColsAtCompileTime = internal::traits<Derived>::MaxColsAtCompileTime, [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_fluent.cpp | 24 template<typename Derived> 25 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation() 26 Derived copy(*this); in notation() 32 template<typename Derived> 33 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation() 34 Derived move(std::move(*this)); in notation() 40 template<typename Derived> 41 Derived NumberFormatterSettings<Derived>::unit(const icu::MeasureUnit& unit) const& { in unit() 42 Derived copy(*this); in unit() 49 template<typename Derived> [all …]
|
D | numrange_fluent.cpp | 29 template<typename Derived> 30 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(const UnlocalizedNumberFormatter… in numberFormatterBoth() 31 Derived copy(*this); in numberFormatterBoth() 38 template<typename Derived> 39 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(const UnlocalizedNumberFormatter… in numberFormatterBoth() 40 Derived move(std::move(*this)); in numberFormatterBoth() 47 template<typename Derived> 48 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(UnlocalizedNumberFormatter&& for… in numberFormatterBoth() 49 Derived copy(*this); in numberFormatterBoth() 56 template<typename Derived> [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorBase.h | 26 template<typename Derived> 27 class TensorBase<Derived, ReadOnlyAccessors> 30 typedef internal::traits<Derived> DerivedTraits; 38 EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<CustomNullaryOp, const Derived> 40 return TensorCwiseNullaryOp<CustomNullaryOp, const Derived>(derived(), func); in nullaryExpr() 45 …EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> 51 …N_STRONG_INLINE const TensorCwiseNullaryOp<internal::UniformRandomGenerator<Scalar>, const Derived> 56 EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<RandomGenerator, const Derived> 63 EIGEN_STRONG_INLINE const TensorGeneratorOp<Generator, const Derived> 65 return TensorGeneratorOp<Generator, const Derived>(derived(), generator); in generate() [all …]
|
D | TensorInitializer.h | 26 template <typename Derived, int N> 29 typename Initializer<Derived, N - 1>::InitList> InitList; 31 static void run(TensorEvaluator<Derived, DefaultDevice>& tensor, in run() 32 … Eigen::array<typename traits<Derived>::Index, traits<Derived>::NumDimensions>* indices, in run() 36 (*indices)[traits<Derived>::NumDimensions - N] = i++; in run() 37 Initializer<Derived, N - 1>::run(tensor, indices, v); in run() 42 template <typename Derived> 43 struct Initializer<Derived, 1> { 44 typedef std::initializer_list<typename traits<Derived>::Scalar> InitList; 46 static void run(TensorEvaluator<Derived, DefaultDevice>& tensor, [all …]
|
/external/clang/test/Profile/ |
D | cxx-implicit.cpp | 33 struct Derived : public Base { struct 34 Derived(); 35 Derived(const Derived &); 36 Derived(Derived &&); 37 Derived &operator=(const Derived &); 38 Derived &operator=(Derived &&); 41 Derived::Derived() {} in Derived() function in Derived 42 Derived::Derived(const Derived &d) : Base(d) {} in Derived() function in Derived 43 Derived::Derived(Derived &&d) : Base(static_cast<Base&&>(d)) {} in Derived() function in Derived 44 Derived& Derived::operator=(const Derived &d) { in operator =() [all …]
|
/external/eigen/Eigen/src/LU/ |
D | Determinant.h | 17 template<typename Derived> 18 inline const typename Derived::Scalar bruteforce_det3_helper in bruteforce_det3_helper() 19 (const MatrixBase<Derived>& matrix, int a, int b, int c) in bruteforce_det3_helper() 25 template<typename Derived> 26 const typename Derived::Scalar bruteforce_det4_helper in bruteforce_det4_helper() 27 (const MatrixBase<Derived>& matrix, int j, int k, int m, int n) in bruteforce_det4_helper() 33 template<typename Derived, 34 int DeterminantType = Derived::RowsAtCompileTime 37 static inline typename traits<Derived>::Scalar run(const Derived& m) in run() 39 if(Derived::ColsAtCompileTime==Dynamic && m.rows()==0) in run() [all …]
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseMatrixBase.h | 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, 65 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, 72 … SizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::RowsAtCompileTime, 73 … internal::traits<Derived>::ColsAtCompileTime>::ret), [all …]
|
D | SparseDot.h | 15 template<typename Derived> 17 typename internal::traits<Derived>::Scalar 18 SparseMatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const in dot() 20 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) in dot() 22 EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,OtherDerived) in dot() 29 internal::evaluator<Derived> thisEval(derived()); in dot() 30 typename internal::evaluator<Derived>::InnerIterator i(thisEval, 0); in dot() 40 template<typename Derived> 42 typename internal::traits<Derived>::Scalar 43 SparseMatrixBase<Derived>::dot(const SparseMatrixBase<OtherDerived>& other) const in dot() [all …]
|
/external/eigen/Eigen/src/plugins/ |
D | ArrayCwiseUnaryOps.h | 3 typedef CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> AbsReturnType; 4 typedef CwiseUnaryOp<internal::scalar_arg_op<Scalar>, const Derived> ArgReturnType; 5 typedef CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> Abs2ReturnType; 6 typedef CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> SqrtReturnType; 7 typedef CwiseUnaryOp<internal::scalar_rsqrt_op<Scalar>, const Derived> RsqrtReturnType; 8 typedef CwiseUnaryOp<internal::scalar_sign_op<Scalar>, const Derived> SignReturnType; 9 typedef CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> InverseReturnType; 10 typedef CwiseUnaryOp<internal::scalar_boolean_not_op<Scalar>, const Derived> BooleanNotReturnType; 12 typedef CwiseUnaryOp<internal::scalar_exp_op<Scalar>, const Derived> ExpReturnType; 13 typedef CwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived> LogReturnType; [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 …int (Derived::*d) = data_ptr; // expected-error {{ambiguous conversion from pointer to member of b… in test() 34 …int (Derived::*m)() = method_ptr; // expected-error {{ambiguous conversion from pointer to member … in test() 40 struct Derived : virtual Base {}; struct [all …]
|