Home
last modified time | relevance | path

Searched refs:Derived (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/external/libcxxabi/test/
Dcatch_pointer_reference.pass.cpp36 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/
DCwiseNullaryOp.h106 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 …]
DRedux.h26 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 …]
DDenseCoeffsBase.h33 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 …]
DFuzzy.h19 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 …]
DDot.h65 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 …]
DDenseBase.h41 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 …]
DGlobalFunctions.h23 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 …]
DBooleanRedux.h17 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 …]
DMatrixBase.h48 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 …]
DVisitor.h17 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 …]
DAssign.h17 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 …]
DRef.h29 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 …]
DArrayBase.h39 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 …]
DSolverBase.h40 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/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorBase.h26 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 …]
DTensorInitializer.h26 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/
Dcxx-implicit.cpp33 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/
DDeterminant.h17 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/icu/icu4c/source/i18n/
Dnumber_fluent.cpp18 template<typename Derived>
19 Derived NumberFormatterSettings<Derived>::notation(const Notation &notation) const { in notation()
20 Derived copy(*this); in notation()
26 template<typename Derived>
27 Derived NumberFormatterSettings<Derived>::unit(const icu::MeasureUnit &unit) const { in unit()
28 Derived copy(*this); in unit()
35 template<typename Derived>
36 Derived NumberFormatterSettings<Derived>::adoptUnit(const icu::MeasureUnit *unit) const { in adoptUnit()
37 Derived copy(*this); in adoptUnit()
48 template<typename Derived>
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseMatrixBase.h26 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 …]
DSparseDot.h15 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/
DArrayCwiseUnaryOps.h3 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/
Dp4.cpp11 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 …]
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-var.cpp6 struct Derived : Base { }; // expected-note{{candidate constructor (the implicit copy constructor) … struct
12 struct Diamond : Derived, Derived2 { };
19 operator Derived&() const;
23 operator Derived&(); // expected-note{{candidate function}}
36 operator Derived() const;
40 operator Derived(); // expected-note{{candidate function}}
51 void bind_lvalue_to_lvalue(Base b, Derived d, in bind_lvalue_to_lvalue()
52 const Base bc, const Derived dc, in bind_lvalue_to_lvalue()
58 Derived &dr1 = d; in bind_lvalue_to_lvalue()
59Derived &dr2 = b; // expected-error{{non-const lvalue reference to type 'Derived' cannot bind to a… in bind_lvalue_to_lvalue()
[all …]

12345678910>>...20