/ndk/tests/device/test-stlport_static-exception/jni/ |
eh-global-1.cpp | 13 class Base {}; 15 struct A : virtual public Base
|
eh-inline-1.cpp | 13 class Base {}; 15 struct A : virtual public Base
|
/external/clang/test/CodeGenCXX/ |
microsoft-abi-methods.cpp | 62 class Base { 64 Base() {} 65 ~Base() {} 68 class Child: public Base { }; 72 // Make sure that the Base constructor call in the Child constructor uses 75 // CHECK: %{{[.0-9A-Z_a-z]+}} = call x86_thiscallcc %class.Base* @"\01??0Base@@QAE@XZ" 78 // Make sure that the Base constructor definition uses the right CC: 79 // CHECK: define linkonce_odr x86_thiscallcc %class.Base* @"\01??0Base@@QAE@XZ [all...] |
sanitize-dtor-nontrivial-virtual-base.cpp | 13 struct Base { 16 Base() { 20 virtual ~Base() {} 33 struct Derived : public Base, public virtual VirtualBase { 46 // Derived: int, Vector, Base, VirtualBase
|
copy-constructor-elim-2.cpp | 9 // Verify that we do not elide copies when constructing a base class. 11 struct Base { 12 Base(const Base&); 13 ~Base(); 17 operator Base() const; 20 struct Derived : public virtual Base { 29 : Base(O)
|
derived-to-base-conv.cpp | 44 struct Base; 47 operator Base&(); 52 struct Base : Root { 53 Base(const Base &); 54 Base(); 58 struct Derived : Base { 61 void test1_helper(Base); 71 // Don't crash after devirtualizing a derived-to-base conversion 72 // to an empty base allocated at offset zero [all...] |
/external/v8/test/mjsunit/es6/ |
super.js | 9 function Base() { } 11 Base.prototype = { 13 return "Base " + this.toString(); 17 return "this is Base"; 25 __proto__: Base.prototype, 29 assertEquals("Base this is Derived", super.f()); 38 assertEquals("Base this is Base", new Base().f()); 50 class Base { [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
ARC4.java | 18 public static class Base 21 public Base() 98 provider.addAlgorithm("Cipher.ARC4", PREFIX + "$Base");
|
/external/clang/include/clang/AST/ |
DeclVisitor.h | 31 class Base { 40 #define DECL(DERIVED, BASE) \ 50 #define DECL(DERIVED, BASE) \ 51 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); } 68 : public declvisitor::Base<declvisitor::make_ptr, ImplClass, RetTy> {}; 75 : public declvisitor::Base<declvisitor::make_const_ptr, ImplClass, RetTy> {};
|
/external/clang/test/CXX/class/class.friend/ |
p1.cpp | 9 struct Base { 16 struct Derived : public Base { 53 friend int Base::typedeffed_member(); // okay: should look through typedef
|
/external/clang/test/CXX/class.derived/class.member.lookup/ |
p8.cpp | 7 struct Base { 12 struct D1 : public Base {}; 13 struct D2 : public Base {}; 53 this->Foo(); // expected-error{{non-static member 'Foo' found in multiple base-class subobjects of type 'BaseT<int>'}}
|
/external/clang/test/CXX/conv/conv.mem/ |
p4.cpp | 3 struct Base { 7 int (Base::*data_ptr) = &Base::data; 8 int (Base::*method_ptr)() = &Base::method; 11 struct Derived : Base {}; 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'} [all...] |
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
p13.cpp | 9 // were a pointer to the derived class rather than to the base 11 // other respects the function remains a member of the base class. 17 struct Base { 24 struct Derived : Base { 25 using Base::test0; 28 using Base::test1; 31 using Base::test2; 34 using Base::test3;
|
p3-cxx0x.cpp | 19 using C::g; // expected-error{{using declaration refers into 'C::', which is not a base class of 'D2'}} 23 struct Base { 31 struct Subclass : Base { 39 template <class T> struct C : Base { 41 using Base::bar; // expected-error {{no member named 'bar'}} 42 using Unrelated::foo; // expected-error {{not a base class}} 44 using Subclass::foo; // expected-error {{not a base class}}
|
p8.cpp | 70 template <class T> struct Base { 71 typedef Base type; 75 template <class T> struct Derived : Base<T> { 78 using Base<T>::foo; // expected-note {{previous using decl}} 79 using Base<T>::type::foo; //expected-error {{redeclaration of using decl}}
|
/external/clang/test/SemaCXX/ |
composite-pointer-type.cpp | 3 class Base { }; 4 class Derived1 : public Base { }; 5 class Derived2 : public Base { }; 7 void f0(volatile Base *b, Derived1 *d1, const Derived2 *d2) { 18 void f1(volatile Base *b, Derived1 *d1, const Derived2 *d2) {
|
direct-initializer.cpp | 48 struct Base { 52 struct Derived : Base {
|
pragma-pack.cpp | 6 struct Base { 11 struct Sub : public Base { 22 struct Base { 23 virtual ~Base(); 28 struct Sub : virtual Base {
|
/external/clang/test/SemaTemplate/ |
instantiate-cast.cpp | 5 class Base { 10 class Derived : public Base { }; 57 template struct DynamicCast0<Base*, Derived*>; 58 template struct DynamicCast0<Base*, A>; // expected-note{{instantiation}} 113 struct Derived2 : public Base { }; 115 void test_derived_to_base(Base *&bp, Derived2<int> *dp) {
|
member-access-ambig.cpp | 14 class Base 20 class Derived1 : public Base { }; 22 class Derived2 : public Base { }; 40 typedef A<Derived> Base; 41 using Base::member; 57 S<A>().f(); // ok, &T::X is 'int (A::*)', not 'int *', even though T is a base class
|
/external/eigen/Eigen/src/Core/ |
Stride.h | 87 typedef Stride<0, Value> Base; 90 InnerStride() : Base() {} 91 InnerStride(Index v) : Base(0, v) {} 99 typedef Stride<Value, 0> Base; 102 OuterStride() : Base() {} 103 OuterStride(Index v) : Base(v,0) {}
|
/external/eigen/Eigen/src/Eigen2Support/ |
QR.h | 21 typedef HouseholderQR<MatrixType> Base; 24 QR() : Base() {} 27 explicit QR(const T& t) : Base(t) {} 32 *result = static_cast<const Base*>(this)->solve(b);
|
/external/eigen/Eigen/src/Eigenvalues/ |
GeneralizedSelfAdjointEigenSolver.h | 50 typedef SelfAdjointEigenSolver<_MatrixType> Base; 53 typedef typename Base::Index Index; 63 GeneralizedSelfAdjointEigenSolver() : Base() {} 78 : Base(size) 109 : Base(matA.cols()) 189 Base::compute(matC, computeEigVecs ? ComputeEigenvectors : EigenvaluesOnly ); 193 cholB.matrixU().solveInPlace(Base::m_eivec); 202 Base::compute(matC, computeEigVecs ? ComputeEigenvectors : EigenvaluesOnly); 206 cholB.matrixU().solveInPlace(Base::m_eivec); 215 Base::compute(matC, computeEigVecs ? ComputeEigenvectors : EigenvaluesOnly) [all...] |
/external/eigen/Eigen/src/SparseCore/ |
SparseTranspose.h | 36 typedef typename _MatrixTypeNested::InnerIterator Base; 41 : Base(trans.derived().nestedExpression(), outer) 43 typename TransposeImpl<MatrixType,Sparse>::Index row() const { return Base::col(); } 44 typename TransposeImpl<MatrixType,Sparse>::Index col() const { return Base::row(); } 50 typedef typename _MatrixTypeNested::ReverseInnerIterator Base; 55 : Base(xpr.derived().nestedExpression(), outer) 57 typename TransposeImpl<MatrixType,Sparse>::Index row() const { return Base::col(); } 58 typename TransposeImpl<MatrixType,Sparse>::Index col() const { return Base::row(); }
|
/external/libcxxabi/test/ |
inherited_exception.pass.cpp | 16 // | * the handler is of type cv T or cv T& and T is an unambiguous base | 30 struct Base { 38 struct Child : public Base, public Base2 { 77 catch (const Base& b) 91 catch (const Base& c) 131 catch (const Base& b) 149 catch (const Base* c)
|