/external/libcxxabi/test/ |
D | catch_pointer_reference.pass.cpp | 34 struct Derived : Base {}; struct 36 struct Ambiguous : Derived, Derived2 {}; 102 assert_catches< Base * , Derived *, Derived>(); in f1() 103 assert_catches<const Base * , Derived *, Derived>(); in f1() 104 assert_catches< volatile Base * , Derived *, Derived>(); in f1() 105 assert_catches<const volatile Base * , Derived *, Derived>(); in f1() 106 assert_catches< Base * const , Derived *, Derived>(); in f1() 107 assert_catches<const Base * const , Derived *, Derived>(); in f1() 108 assert_catches< volatile Base * const , Derived *, Derived>(); in f1() 109 assert_catches<const volatile Base * const , Derived *, Derived>(); in f1() [all …]
|
/external/eigen/Eigen/src/Core/ |
D | 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 …]
|
D | 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 …]
|
D | 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) in run() 27 return all_unroller<Derived, UnrollCount-1>::run(mat) && mat.coeff(row, col); in run() 31 template<typename Derived> 32 struct all_unroller<Derived, 0> 34 static inline bool run(const Derived &/*mat*/) { return true; } 37 template<typename Derived> 38 struct all_unroller<Derived, Dynamic> [all …]
|
D | GlobalFunctions.h | 15 template<typename Derived> \ 16 …line const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> \ 17 NAME(const Eigen::ArrayBase<Derived>& x) { \ 23 template<typename Derived> \ 24 struct NAME##_retval<ArrayBase<Derived> > \ 26 … const Eigen::CwiseUnaryOp<Eigen::internal::FUNCTOR<typename Derived::Scalar>, const Derived> type… 28 template<typename Derived> \ 29 struct NAME##_impl<ArrayBase<Derived> > \ 31 …static inline typename NAME##_retval<ArrayBase<Derived> >::type run(const Eigen::ArrayBase<Derived… 53 template<typename Derived> in EIGEN_ARRAY_DECLARE_GLOBAL_UNARY() [all …]
|
D | Fuzzy.h | 19 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Sca… 22 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) in run() 25 typename internal::nested<Derived,2>::type nested(x); in run() 31 template<typename Derived, typename OtherDerived> 32 struct isApprox_selector<Derived, OtherDerived, true> 34 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar&) 40 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Sca… 43 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) 49 template<typename Derived, typename OtherDerived> 50 struct isMuchSmallerThan_object_selector<Derived, OtherDerived, true> [all …]
|
D | DenseBase.h | 41 template<typename Derived> class DenseBase 43 : public internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar, 44 … typename NumTraits<typename internal::traits<Derived>::Scalar>::Real> 46 : public DenseCoeffsBase<Derived> 50 using internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar, 51 typename NumTraits<typename internal::traits<Derived>::Scalar>::Real>::operator*; 55 typedef typename internal::traits<Derived>::StorageKind StorageKind; 61 typedef typename internal::traits<Derived>::Index Index; 63 typedef typename internal::traits<Derived>::Scalar Scalar; 67 typedef DenseCoeffsBase<Derived> Base; [all …]
|
D | ArrayBase.h | 39 template<typename Derived> class ArrayBase 40 : public DenseBase<Derived> 49 using internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar, 50 typename NumTraits<typename internal::traits<Derived>::Scalar>::Real>::operator*; 52 typedef typename internal::traits<Derived>::StorageKind StorageKind; 53 typedef typename internal::traits<Derived>::Index Index; 54 typedef typename internal::traits<Derived>::Scalar Scalar; 58 typedef DenseBase<Derived> Base; 93 typedef Array<typename internal::traits<Derived>::Scalar, 94 internal::traits<Derived>::RowsAtCompileTime, [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>::Index Index; 56 typedef typename internal::traits<Derived>::Scalar Scalar; 60 typedef DenseBase<Derived> Base; 109 typedef Matrix<typename internal::traits<Derived>::Scalar, 110 internal::traits<Derived>::RowsAtCompileTime, 111 internal::traits<Derived>::ColsAtCompileTime, 112 AutoAlign | (internal::traits<Derived>::Flags&RowMajorBit ? RowMajor : ColMajor), [all …]
|
D | Visitor.h | 17 template<typename Visitor, typename Derived, int UnrollCount> 21 col = (UnrollCount-1) / Derived::RowsAtCompileTime, 22 row = (UnrollCount-1) % Derived::RowsAtCompileTime 25 static inline void run(const Derived &mat, Visitor& visitor) in run() 27 visitor_impl<Visitor, Derived, UnrollCount-1>::run(mat, visitor); in run() 32 template<typename Visitor, typename Derived> 33 struct visitor_impl<Visitor, Derived, 1> 35 static inline void run(const Derived &mat, Visitor& visitor) 41 template<typename Visitor, typename Derived> 42 struct visitor_impl<Visitor, Derived, Dynamic> [all …]
|
D | Dot.h | 60 template<typename Derived> 62 typename internal::scalar_product_traits<typename internal::traits<Derived>::Scalar,typename intern… 63 MatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const 65 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) 67 EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,OtherDerived) 73 return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other); 86 template<typename Derived> 88 typename internal::traits<Derived>::Scalar 89 MatrixBase<Derived>::eigen2_dot(const MatrixBase<OtherDerived>& other) const 91 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) [all …]
|
D | Ref.h | 15 template<typename Derived> class RefBase; 101 template<typename Derived> struct match { 103 HasDirectAccess = internal::has_direct_access<Derived>::ret, 104 …bjectType::IsVectorAtCompileTime || Derived::IsVectorAtCompileTime || ((PlainObjectType::Flags&Row… 106 … || int(StrideType::InnerStrideAtCompileTime)==int(Derived::InnerStrideAtCompileTime) 107 … || (int(StrideType::InnerStrideAtCompileTime)==0 && int(Derived::InnerStrideAtCompileTime)==1), 108 OuterStrideMatch = Derived::IsVectorAtCompileTime 109 …ileTime)==int(Dynamic) || int(StrideType::OuterStrideAtCompileTime)==int(Derived::OuterStrideAtCom… 110 …ptions!=Aligned) || ((PlainObjectType::Flags&AlignedBit)==0) || ((traits<Derived>::Flags&AlignedBi… 111 …ScalarTypeMatch = internal::is_same<typename PlainObjectType::Scalar, typename Derived::Scalar>::v… [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>::Index Index; 39 typedef typename internal::traits<Derived>::Scalar Scalar; 49 typedef typename internal::conditional<bool(internal::traits<Derived>::Flags&LvalueBit), 58 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() [all …]
|
D | Random.h | 47 template<typename Derived> 48 …nst CwiseNullaryOp<internal::scalar_random_op<typename internal::traits<Derived>::Scalar>, Derived> 49 DenseBase<Derived>::Random(Index rows, Index cols) 74 template<typename Derived> 75 …nst CwiseNullaryOp<internal::scalar_random_op<typename internal::traits<Derived>::Scalar>, Derived> 76 DenseBase<Derived>::Random(Index size) 95 template<typename Derived> 96 …nst CwiseNullaryOp<internal::scalar_random_op<typename internal::traits<Derived>::Scalar>, Derived> 97 DenseBase<Derived>::Random() 109 template<typename Derived> [all …]
|
D | Assign.h | 23 template <typename Derived, typename OtherDerived> 28 DstIsAligned = Derived::Flags & AlignedBit, 29 DstHasDirectAccess = Derived::Flags & DirectAccessBit, 36 InnerSize = int(Derived::IsVectorAtCompileTime) ? int(Derived::SizeAtCompileTime) 37 : int(Derived::Flags)&RowMajorBit ? int(Derived::ColsAtCompileTime) 38 : int(Derived::RowsAtCompileTime), 39 InnerMaxSize = int(Derived::IsVectorAtCompileTime) ? int(Derived::MaxSizeAtCompileTime) 40 : int(Derived::Flags)&RowMajorBit ? int(Derived::MaxColsAtCompileTime) 41 : int(Derived::MaxRowsAtCompileTime), 42 MaxSizeAtCompileTime = Derived::SizeAtCompileTime, [all …]
|
/external/eigen/Eigen/src/Eigen2Support/ |
D | VectorBlock.h | 17 template<typename Derived> 18 inline VectorBlock<Derived> 19 MatrixBase<Derived>::start(Index size) in start() 21 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) in start() 22 return VectorBlock<Derived>(derived(), 0, size); in start() 26 template<typename Derived> 27 inline const VectorBlock<const Derived> 28 MatrixBase<Derived>::start(Index size) const in start() 30 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) in start() 31 return VectorBlock<const Derived>(derived(), 0, size); in start() [all …]
|
D | Block.h | 32 template<typename Derived> 33 inline Block<Derived> DenseBase<Derived> 41 return Block<Derived>(derived(), 0, 0, cRows, cCols); in corner() 43 return Block<Derived>(derived(), 0, cols() - cCols, cRows, cCols); in corner() 45 return Block<Derived>(derived(), rows() - cRows, 0, cRows, cCols); in corner() 47 return Block<Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols); in corner() 52 template<typename Derived> 53 inline const Block<Derived> 54 DenseBase<Derived>::corner(CornerType type, Index cRows, Index cCols) const in corner() 61 return Block<Derived>(derived(), 0, 0, cRows, cCols); in corner() [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/plugins/ |
D | BlockMethods.h | 15 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr; 16 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> Co… 18 typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr; 19 typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> Con… 21 typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBloc… 22 typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMaj… 24 typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlock… 25 typedef const Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajo… 27 template<int N> struct NColsBlockXpr { typedef Block<Derived, internal::traits<Derived>::RowsAtComp… 28 …nt N> struct ConstNColsBlockXpr { typedef const Block<const Derived, internal::traits<Derived>::Ro… [all …]
|
D | CommonCwiseUnaryOps.h | 16 typedef CwiseUnaryOp<internal::scalar_multiple_op<Scalar>, const Derived> ScalarMultipleReturnType; 18 typedef CwiseUnaryOp<internal::scalar_quotient1_op<Scalar>, const Derived> ScalarQuotient1ReturnTyp… 21 const CwiseUnaryOp<internal::scalar_conjugate_op<Scalar>, const Derived>, 22 const Derived& 26 const CwiseUnaryOp<internal::scalar_real_op<Scalar>, const Derived>, 27 const Derived& 31 CwiseUnaryView<internal::scalar_real_ref_op<Scalar>, Derived>, 32 Derived& 35 typedef CwiseUnaryOp<internal::scalar_imag_op<Scalar>, const Derived> ImagReturnType; 37 typedef CwiseUnaryView<internal::scalar_imag_ref_op<Scalar>, Derived> NonConstImagReturnType; [all …]
|
D | ArrayCwiseBinaryOps.h | 6 EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived) in EIGEN_CWISE_PRODUCT_RETURN_TYPE() argument 9 return EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived)(derived(), other.derived()); in EIGEN_CWISE_PRODUCT_RETURN_TYPE() 17 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const Derived, const … 20 …return CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived>(deri… 36 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar>, const Derived, in EIGEN_MAKE_CWISE_BINARY_OP() 45 return (min)(Derived::PlainObject::Constant(rows(), cols(), other)); in EIGEN_MAKE_CWISE_BINARY_OP() 61 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar>, const Derived, in EIGEN_MAKE_CWISE_BINARY_OP() 70 return (max)(Derived::PlainObject::Constant(rows(), cols(), other)); in EIGEN_MAKE_CWISE_BINARY_OP() 76 …yOp<internal::scalar_cmp_op<Scalar, internal::cmp_ ## COMPARATOR>, const Derived, const OtherDeriv… 79 …return CwiseBinaryOp<internal::scalar_cmp_op<Scalar, internal::cmp_ ## COMPARATOR>, const Derived,… [all …]
|
/external/v8/test/mjsunit/es6/ |
D | super.js | 21 function Derived() { class in TestSuperNamedLoads 24 Derived.prototype = { class 39 assertEquals("Derived", new Derived().f()); 61 function Derived() { class in TestSuperKeyedLoads 64 Derived.prototype = { 79 assertEquals("Derived", new Derived().f()); 110 function Derived() {} class in TestGetter 111 Derived.__proto__ = Base; 112 Derived.prototype = { 114 constructor: Derived, [all …]
|
D | class-computed-property-names-super.js | 20 class Derived extends Base { class in TestComputedMethodSuper 27 assertSame(Derived.prototype, Derived.prototype.a[%HomeObjectSymbol()]); 29 assertEquals('a base m', new Derived().a()); 30 assertEquals('b base m', new Derived().b()); 31 assertEquals('0 base m', new Derived()[0]()); 32 assertEquals('1 base m', new Derived()[1]()); 42 class Derived extends Base { class in TestComputedGetterSuper 48 assertEquals('a base m', new Derived().a); 49 assertEquals('b base m', new Derived().b); 50 assertEquals('0 base m', new Derived()[0]); [all …]
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseMatrixBase.h | 26 template<typename Derived> class SparseMatrixBase : public EigenBase<Derived> 30 typedef typename internal::traits<Derived>::Scalar Scalar; 32 typedef typename internal::traits<Derived>::StorageKind StorageKind; 33 typedef typename internal::traits<Derived>::Index Index; 39 typedef EigenBase<Derived> Base; 42 Derived& operator=(const EigenBase<OtherDerived> &other) 50 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, 56 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, 63 … SizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::RowsAtCompileTime, 64 … internal::traits<Derived>::ColsAtCompileTime>::ret), [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 …]
|