/external/eigen/Eigen/src/IterativeLinearSolvers/ |
IterativeSolverBase.h | 20 template< typename Derived> 24 typedef typename internal::traits<Derived>::MatrixType MatrixType; 25 typedef typename internal::traits<Derived>::Preconditioner Preconditioner; 32 Derived& derived() { return *static_cast<Derived*>(this); } function in class:Eigen::IterativeSolverBase 33 const Derived& derived() const { return *static_cast<const Derived*>(this); } function in class:Eigen::IterativeSolverBase 65 Derived& analyzePattern(const MatrixType& A [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-using-decl.cpp | 25 template <class Derived> struct Visitor1 { 28 template <class Derived> struct Visitor2 { 32 template <class Derived> struct JoinVisitor 33 : Visitor1<Derived>, Visitor2<Derived> { 34 typedef Visitor1<Derived> Base1; 35 typedef Visitor2<Derived> Base2;
|
member-access-ambig.cpp | 38 template<typename Derived> class A; 39 template<typename Derived> class B : A<Derived> { 40 typedef A<Derived> Base;
|
temp.cpp | 14 template<typename T> struct Derived : A::Base<char>, B::Base<int> { 16 typename Derived::Base<float>::t x; // expected-error {{found in multiple base classes of different types}} \
|
class-template-ctor-initializer.cpp | 41 class Derived : public ParentClass { 43 Derived() : Base() {} 46 class Final : public Derived<Base> {
|
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/ |
SVGListPropertyHelper.h | 15 * contributors may be used to endorse or promote products derived from 46 template<typename Derived, typename ItemProperty> 47 class SVGListPropertyHelper : public SVGPropertyHelper<Derived> { 71 return const_cast<SVGListPropertyHelper<Derived, ItemProperty>*>(this)->at(index); 120 bool operator==(const Derived&) const; 121 bool operator!=(const Derived& other) const 131 virtual PassRefPtr<Derived> clone() 133 RefPtr<Derived> svgList = Derived::create(); 134 svgList->deepCopy(static_cast<Derived*>(this)) [all...] |
/external/clang/test/SemaCXX/ |
direct-initializer.cpp | 42 struct Derived : Base { 46 void foo(const Derived cd, Derived d) { 47 int *pi = cd; // expected-error {{no viable conversion from 'const Derived' to 'int *'}}
|
warn-weak-vtables.cpp | 42 class Derived : public Parent { 44 Derived(); 48 class VeryDerived : public Derived { // expected-warning{{'VeryDerived' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit}} 55 void uses(Parent &p, Derived &d, VeryDerived &vd) {
|
offsetof.cpp | 17 struct Derived : Base { int y; }; 18 int o = __builtin_offsetof(Derived, x); // expected-warning{{offset of on non-POD type}} 20 const int o2 = sizeof(__builtin_offsetof(Derived, x)); 81 struct Derived : virtual Base { 82 void Fun() { (void)__builtin_offsetof(Derived, Field); } // expected-warning {{offset of on non-POD type}} \
|
conversion-delete-expr.cpp | 84 struct Derived : Base { 89 void foo6(const Derived cd, Derived d) { 90 // overload resolution selects Derived::operator int*() const;
|
/frameworks/base/include/androidfw/ |
AttributeFinder.h | 56 template <typename Derived, typename Iterator> 83 template <typename Derived, typename Iterator> inline 84 BackTrackingAttributeFinder<Derived, Iterator>::BackTrackingAttributeFinder(const Iterator& begin, const Iterator& end) 96 template <typename Derived, typename Iterator> 97 void BackTrackingAttributeFinder<Derived, Iterator>::jumpToClosestAttribute(const uint32_t packageId) { 125 mCurrentAttr = static_cast<const Derived*>(this)->getAttribute(mCurrent); 129 template <typename Derived, typename Iterator> 130 void BackTrackingAttributeFinder<Derived, Iterator>::markCurrentPackageId(const uint32_t packageId) { 144 template <typename Derived, typename Iterator> 145 Iterator BackTrackingAttributeFinder<Derived, Iterator>::find(uint32_t attr) [all...] |
/external/eigen/Eigen/src/SparseCore/ |
SparseUtil.h | 21 #define EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATOR(Derived, Op) \ 23 EIGEN_STRONG_INLINE Derived& operator Op(const Eigen::SparseMatrixBase<OtherDerived>& other) \ 25 return Base::operator Op(other.derived()); \ 27 EIGEN_STRONG_INLINE Derived& operator Op(const Derived& other) \ 32 #define EIGEN_SPARSE_INHERIT_SCALAR_ASSIGNMENT_OPERATOR(Derived, Op) \ 34 EIGEN_STRONG_INLINE Derived& operator Op(const Other& scalar) \ 39 #define EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATORS(Derived) \ 40 EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATOR(Derived, =) \ 41 EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATOR(Derived, +=) [all...] |
/external/chromium_org/tools/clang/blink_gc_plugin/tests/ |
class_multiple_trace_bases.h | 22 class Derived : public Base, public Mixin {
|
/external/clang/test/CodeGenCXX/ |
copy-constructor-elim-2.cpp | 20 struct Derived : public virtual Base { 21 Derived(const Other &O); 24 // CHECK: define {{.*}} @_ZN13no_elide_base7DerivedC1ERKNS_5OtherE(%"struct.no_elide_base::Derived"* returned %this, %"struct.no_elide_base::Other"* nonnull %O) unnamed_addr 25 Derived::Derived(const Other &O)
|
derived-to-base-conv.cpp | 50 struct Derived; 55 operator Derived &(); 58 struct Derived : Base { 62 void test1(Derived bb) { 71 // Don't crash after devirtualizing a derived-to-base conversion
|
/external/clang/test/Index/ |
annotate-context-sensitive.cpp | 6 class Derived final : public Base { 23 // CHECK-OVERRIDE-FINAL: Keyword: "class" [6:1 - 6:6] ClassDecl=Derived:6:7 (Definition) 24 // CHECK-OVERRIDE-FINAL: Identifier: "Derived" [6:7 - 6:14] ClassDecl=Derived:6:7 (Definition) 26 // CHECK-OVERRIDE-FINAL: Punctuation: ":" [6:21 - 6:22] ClassDecl=Derived:6:7 (Definition) 29 // CHECK-OVERRIDE-FINAL: Punctuation: "{" [6:35 - 6:36] ClassDecl=Derived:6:7 (Definition) 37 // CHECK-OVERRIDE-FINAL: Punctuation: ";" [7:34 - 7:35] ClassDecl=Derived:6:7 (Definition) 42 // CHECK-OVERRIDE-FINAL: Punctuation: ";" [9:19 - 9:20] ClassDecl=Derived:6:7 (Definition)
|
/external/eigen/Eigen/src/Core/util/ |
Macros.h | 132 // Eval.h:91: sorry, unimplemented: inlining failed in call to 'const Eigen::Eval<Derived> Eigen::MatrixBase<Scalar, Derived>::eval() const' 310 #define EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ 313 #define EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ 315 EIGEN_STRONG_INLINE Derived& operator=(const Derived& other) { Base::operator=(other); return *this; } \ 317 EIGEN_STRONG_INLINE Derived& operator=(const DenseBase<OtherDerived>& other) { Base::operator=(other.derived()); return *this; } 319 #define EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ 321 EIGEN_STRONG_INLINE Derived& operator=(const Derived& other) [all...] |
/external/eigen/Eigen/src/Core/ |
CommaInitializer.h | 137 template<typename Derived> 138 inline CommaInitializer<Derived> DenseBase<Derived>::operator<< (const Scalar& s) 140 return CommaInitializer<Derived>(*static_cast<Derived*>(this), s); 144 template<typename Derived> 146 inline CommaInitializer<Derived> 147 DenseBase<Derived>::operator<<(const DenseBase<OtherDerived>& other) 149 return CommaInitializer<Derived>(*static_cast<Derived *>(this), other) [all...] |
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 [all...] |
ProductBase.h | 21 template<typename Derived, typename _Lhs, typename _Rhs> 22 struct traits<ProductBase<Derived,_Lhs,_Rhs> > 46 #define EIGEN_PRODUCT_PUBLIC_INTERFACE(Derived) \ 47 typedef ProductBase<Derived, Lhs, Rhs > Base; \ 48 EIGEN_DENSE_PUBLIC_INTERFACE(Derived) \ 62 template<typename Derived, typename Lhs, typename Rhs> 63 class ProductBase : public MatrixBase<Derived> 66 typedef MatrixBase<Derived> Base; 111 inline void scaleAndAddTo(Dest& dst, const Scalar& alpha) const { derived().scaleAndAddTo(dst,alpha); } 120 derived().evalTo(m_result) [all...] |
Transpose.h | 109 inline Index innerStride() const { return derived().nestedExpression().innerStride(); } 110 inline Index outerStride() const { return derived().nestedExpression().outerStride(); } 118 inline ScalarWithConstIfNotLvalue* data() { return derived().nestedExpression().data(); } 119 inline const Scalar* data() const { return derived().nestedExpression().data(); } 124 return derived().nestedExpression().const_cast_derived().coeffRef(colId, rowId); 130 return derived().nestedExpression().const_cast_derived().coeffRef(index); 135 return derived().nestedExpression().coeffRef(colId, rowId); 140 return derived().nestedExpression().coeffRef(index); 145 return derived().nestedExpression().coeff(colId, rowId); 150 return derived().nestedExpression().coeff(index) [all...] |
Select.h | 121 template<typename Derived> 123 inline const Select<Derived,ThenDerived,ElseDerived> 124 DenseBase<Derived>::select(const DenseBase<ThenDerived>& thenMatrix, 127 return Select<Derived,ThenDerived,ElseDerived>(derived(), thenMatrix.derived(), elseMatrix.derived()); 135 template<typename Derived> 137 inline const Select<Derived,ThenDerived, typename ThenDerived::ConstantReturnType> 138 DenseBase<Derived>::select(const DenseBase<ThenDerived>& thenMatrix [all...] |
/external/chromium_org/base/memory/ |
weak_ptr.h | 149 // A safe static downcast of a WeakPtr<Base> to WeakPtr<Derived>. This 153 template<typename Derived> 154 static WeakPtr<Derived> StaticAsWeakPtr(Derived* t) { 156 is_convertible<Derived, internal::SupportsWeakPtrBase&> convertible; 159 return AsWeakPtrImpl<Derived>(t, *t); 163 // This template function uses type inference to find a Base of Derived 165 // static_cast the Base* to a Derived*. 166 template <typename Derived, typename Base> 167 static WeakPtr<Derived> AsWeakPtrImpl [all...] |
/external/clang/test/CXX/class/class.friend/ |
p1.cpp | 16 struct Derived : public Base { 49 friend void Derived::missing_member(); // expected-error {{no function named 'missing_member' with type 'void ()' was found in the specified scope}} 51 friend void Derived::base_member(); // expected-error {{no function named 'base_member' with type 'void ()' was found in the specified scope}}
|
/external/eigen/Eigen/src/Eigen2Support/ |
QR.h | 58 template<typename Derived> 59 const QR<typename MatrixBase<Derived>::PlainObject> 60 MatrixBase<Derived>::qr() const
|