/external/clang/test/SemaCXX/ |
PR9884.cpp | 9 class Derived : public Base { 11 Derived(int val); 15 Derived::Derived(int val)
|
PR7410.cpp | 9 struct Derived : Base { 13 Derived d;
|
/external/eigen/Eigen/src/Eigen2Support/ |
VectorBlock.h | 17 template<typename Derived> 18 inline VectorBlock<Derived> 19 MatrixBase<Derived>::start(Index size) 21 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) 22 return VectorBlock<Derived>(derived(), 0, size); 26 template<typename Derived> 27 inline const VectorBlock<const Derived> 28 MatrixBase<Derived>::start(Index size) const 30 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) [all...] |
Lazy.h | 24 template<typename Derived> 26 inline const Flagged<Derived, Added, 0> 27 MatrixBase<Derived>::marked() const 29 return derived(); 41 template<typename Derived> 42 inline const Flagged<Derived, 0, EvalBeforeAssigningBit> 43 MatrixBase<Derived>::lazy() const 45 return derived(); 51 template<typename Derived> 53 Derived& MatrixBase<Derived>::operator+=(const Flagged<ProductBase<ProductDerived, Lhs,Rhs>, 0 [all...] |
Block.h | 32 template<typename Derived> 33 inline Block<Derived> DenseBase<Derived> 41 return Block<Derived>(derived(), 0, 0, cRows, cCols); 43 return Block<Derived>(derived(), 0, cols() - cCols, cRows, cCols); 45 return Block<Derived>(derived(), rows() - cRows, 0, cRows, cCols); 47 return Block<Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols) [all...] |
/external/clang/test/CXX/conv/conv.mem/ |
p4.cpp | 11 struct Derived : Base {}; 13 int (Derived::*d) = data_ptr; 14 int (Derived::*m)() = method_ptr; 20 struct Derived : private Base {}; // expected-note 2 {{declared private here}} 22 int (Derived::*d) = data_ptr; // expected-error {{cannot cast private base class 'Base' to 'test1::Derived'}} 23 int (Derived::*m)() = method_ptr; // expected-error {{cannot cast private base class 'Base' to 'test1::Derived'}} 31 struct Derived : A, B {}; 33 int (Derived::*d) = data_ptr; // expected-error {{ambiguous conversion from pointer to member of base class 'Ba (…) [all...] |
/external/clang/test/CXX/class.derived/ |
p2.cpp | 8 struct Derived : Base {};
|
/external/clang/test/PCH/ |
cxx-offsetof-base.h | 4 struct Derived : Base { int y; }; 5 int o = __builtin_offsetof(Derived, x);
|
/external/eigen/Eigen/src/Core/ |
Random.h | 47 template<typename Derived> 48 inline const CwiseNullaryOp<internal::scalar_random_op<typename internal::traits<Derived>::Scalar>, Derived> 49 DenseBase<Derived>::Random(Index rows, Index cols) 74 template<typename Derived> 75 inline const CwiseNullaryOp<internal::scalar_random_op<typename internal::traits<Derived>::Scalar>, Derived> 76 DenseBase<Derived>::Random(Index size) 95 template<typename Derived> 96 inline const CwiseNullaryOp<internal::scalar_random_op<typename internal::traits<Derived>::Scalar>, Derived [all...] |
BooleanRedux.h | 17 template<typename Derived, int UnrollCount> 21 col = (UnrollCount-1) / Derived::RowsAtCompileTime, 22 row = (UnrollCount-1) % Derived::RowsAtCompileTime 25 static inline bool run(const Derived &mat) 27 return all_unroller<Derived, UnrollCount-1>::run(mat) && mat.coeff(row, col); 31 template<typename Derived> 32 struct all_unroller<Derived, 1> 34 static inline bool run(const Derived &mat) { return mat.coeff(0, 0); } 37 template<typename Derived> 38 struct all_unroller<Derived, Dynamic [all...] |
CwiseNullaryOp.h | 114 template<typename Derived> 116 EIGEN_STRONG_INLINE const CwiseNullaryOp<CustomNullaryOp, Derived> 117 DenseBase<Derived>::NullaryExpr(Index rows, Index cols, const CustomNullaryOp& func) 119 return CwiseNullaryOp<CustomNullaryOp, Derived>(rows, cols, func); 137 template<typename Derived> 139 EIGEN_STRONG_INLINE const CwiseNullaryOp<CustomNullaryOp, Derived> 140 DenseBase<Derived>::NullaryExpr(Index size, const CustomNullaryOp& func) 142 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) 143 if(RowsAtCompileTime == 1) return CwiseNullaryOp<CustomNullaryOp, Derived>(1, size, func); 144 else return CwiseNullaryOp<CustomNullaryOp, Derived>(size, 1, func) [all...] |
ReturnByValue.h | 23 template<typename Derived> 24 struct traits<ReturnByValue<Derived> > 25 : public traits<typename traits<Derived>::ReturnType> 31 Flags = (traits<typename traits<Derived>::ReturnType>::Flags 42 template<typename Derived,int n,typename PlainObject> 43 struct nested<ReturnByValue<Derived>, n, PlainObject> 45 typedef typename traits<Derived>::ReturnType type; 50 template<typename Derived> class ReturnByValue 51 : public internal::dense_xpr_base< ReturnByValue<Derived> >::type 54 typedef typename internal::traits<Derived>::ReturnType ReturnType [all...] |
EigenBase.h | 20 * Besides MatrixBase-derived classes, this also includes special matrix classes such as diagonal matrices, etc. 26 template<typename Derived> struct EigenBase 28 // typedef typename internal::plain_matrix_type<Derived>::type PlainObject; 30 typedef typename internal::traits<Derived>::StorageKind StorageKind; 31 typedef typename internal::traits<Derived>::Index Index; 33 /** \returns a reference to the derived object */ 34 Derived& derived() { return *static_cast<Derived*>(this); } function in struct:Eigen::EigenBase 35 /** \returns a const reference to the derived object * 36 const Derived& derived() const { return *static_cast<const Derived*>(this); } function in struct:Eigen::EigenBase [all...] |
Fuzzy.h | 19 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger> 22 static bool run(const Derived& x, const OtherDerived& y, typename Derived::RealScalar prec) 25 typename internal::nested<Derived,2>::type nested(x); 31 template<typename Derived, typename OtherDerived> 32 struct isApprox_selector<Derived, OtherDerived, true> 34 static bool run(const Derived& x, const OtherDerived& y, typename Derived::RealScalar) 40 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger [all...] |
GlobalFunctions.h | 15 template<typename Derived> \ 16 inline const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> \ 17 NAME(const Eigen::ArrayBase<Derived>& x) { \ 18 return x.derived(); \ 23 template<typename Derived> \ 24 struct NAME##_retval<ArrayBase<Derived> > \ 26 typedef const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> type; \ 28 template<typename Derived> \ [all...] |
Redux.h | 26 template<typename Func, typename Derived> 31 PacketSize = packet_traits<typename Derived::Scalar>::size, 32 InnerMaxSize = int(Derived::IsRowMajor) 33 ? Derived::MaxColsAtCompileTime 34 : Derived::MaxRowsAtCompileTime 38 MightVectorize = (int(Derived::Flags)&ActualPacketAccessBit) 40 MayLinearVectorize = MightVectorize && (int(Derived::Flags)&LinearAccessBit), 53 Cost = ( Derived::SizeAtCompileTime == Dynamic 54 || Derived::CoeffReadCost == Dynamic 55 || (Derived::SizeAtCompileTime!=1 && functor_traits<Func>::Cost == Dynamic [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-elab-type-specifier.cpp | 10 template <class T> struct Derived : Base<T> { 14 template struct Derived<int>;
|
/external/eigen/Eigen/src/LU/ |
Determinant.h | 17 template<typename Derived> 18 inline const typename Derived::Scalar bruteforce_det3_helper 19 (const MatrixBase<Derived>& matrix, int a, int b, int c) 25 template<typename Derived> 26 const typename Derived::Scalar bruteforce_det4_helper 27 (const MatrixBase<Derived>& matrix, int j, int k, int m, int n) 33 template<typename Derived, 34 int DeterminantType = Derived::RowsAtCompileTime 37 static inline typename traits<Derived>::Scalar run(const Derived& m [all...] |
/external/eigen/doc/examples/ |
class_Block.cpp | 6 template<typename Derived> 7 Eigen::Block<Derived> 8 topLeftCorner(MatrixBase<Derived>& m, int rows, int cols) 10 return Eigen::Block<Derived>(m.derived(), 0, 0, rows, cols); 13 template<typename Derived> 14 const Eigen::Block<const Derived> 15 topLeftCorner(const MatrixBase<Derived>& m, int rows, int cols) 17 return Eigen::Block<const Derived>(m.derived(), 0, 0, rows, cols) [all...] |
class_FixedBlock.cpp | 6 template<typename Derived> 7 Eigen::Block<Derived, 2, 2> 8 topLeft2x2Corner(MatrixBase<Derived>& m) 10 return Eigen::Block<Derived, 2, 2>(m.derived(), 0, 0); 13 template<typename Derived> 14 const Eigen::Block<const Derived, 2, 2> 15 topLeft2x2Corner(const MatrixBase<Derived>& m) 17 return Eigen::Block<const Derived, 2, 2>(m.derived(), 0, 0) [all...] |
class_FixedVectorBlock.cpp | 6 template<typename Derived> 7 Eigen::VectorBlock<Derived, 2> 8 firstTwo(MatrixBase<Derived>& v) 10 return Eigen::VectorBlock<Derived, 2>(v.derived(), 0); 13 template<typename Derived> 14 const Eigen::VectorBlock<const Derived, 2> 15 firstTwo(const MatrixBase<Derived>& v) 17 return Eigen::VectorBlock<const Derived, 2>(v.derived(), 0) [all...] |
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
p13.cpp | 6 // introduced by a using-declaration into a derived class will be 7 // treated as though they were members of the derived class. In 9 // were a pointer to the derived class rather than to the base 24 struct Derived : Base { 39 Opaque0 a = Derived().test0((int*) 0); 40 Opaque1 b = Derived().test0((const int*) 0); 44 Opaque1 a = Derived().test1((int*) 0); 45 Opaque0 b = Derived().test1((const int*) 0); 49 Opaque0 a = ((Derived*) 0)->test2((int*) 0); 50 Opaque1 b = ((const Derived*) 0)->test2((int*) 0) [all...] |
/external/eigen/Eigen/src/Eigenvalues/ |
MatrixBaseEigenvalues.h | 18 template<typename Derived, bool IsComplex> 22 static inline typename MatrixBase<Derived>::EigenvaluesReturnType const 23 run(const MatrixBase<Derived>& m) 25 typedef typename Derived::PlainObject PlainObject; 31 template<typename Derived> 32 struct eigenvalues_selector<Derived, false> 34 static inline typename MatrixBase<Derived>::EigenvaluesReturnType const 35 run(const MatrixBase<Derived>& m) 37 typedef typename Derived::PlainObject PlainObject; 65 template<typename Derived> [all...] |
/external/eigen/Eigen/src/plugins/ |
MatrixCwiseUnaryOps.h | 20 EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> 21 cwiseAbs() const { return derived(); } 30 EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> 31 cwiseAbs2() const { return derived(); } 40 inline const CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> 41 cwiseSqrt() const { return derived(); } 50 inline const CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> 51 cwiseInverse() const { return derived(); } 62 inline const CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >, const Derived> 65 return CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >,const Derived> [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/ |
convert.pass.cpp | 33 struct Derived : Base {}; 37 Derived d; 39 test<input_iterator<Base*> >(input_iterator<Derived*>(&d)); 40 test<forward_iterator<Base*> >(forward_iterator<Derived*>(&d)); 41 test<bidirectional_iterator<Base*> >(bidirectional_iterator<Derived*>(&d)); 42 test<random_access_iterator<const Base*> >(random_access_iterator<Derived*>(&d));
|