/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
|
class-template-ctor-initializer.cpp | 11 typedef A<X> Base; 12 B1() : Base() {} 24 TmplB<int>() { } // expected-error {{type 'TmplB<int>' is not a direct or virtual base of 'TmplC'}} 30 Tmpl<int>(), // expected-error {{type 'Tmpl<int>' is not a direct or virtual base of 'TmplD'}} 35 class Base { 37 Base() {} 43 Derived() : Base() {} 46 class Final : public Derived<Base> { 58 struct Base { Base(int); }; // expected-note 2{{candidate} [all...] |
qualified-id.cpp | 14 template <class T> class Base { }; 15 template <class T> class Derived : public Base<T> {
|
/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) {}
|
Flagged.h | 44 typedef MatrixBase<Flagged> Base;
|
/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.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)
|
/external/llvm/include/llvm/Support/ |
RecyclingAllocator.h | 29 /// Base - Implementation details. 31 Recycler<T, Size, Align> Base; 38 ~RecyclingAllocator() { Base.clear(Allocator); } 44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } 46 T *Allocate() { return Base.Allocate(Allocator); } 52 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } 56 Base.PrintStats();
|
/external/llvm/lib/Analysis/ |
Loads.cpp | 59 Value *Base = V; 60 Base = GetPointerBaseWithConstantOffset(V, ByteOffset, TD); 67 if (const AllocaInst *AI = dyn_cast<AllocaInst>(Base)) { 71 } else if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Base)) {
|
/external/llvm/lib/Target/MSP430/ |
MSP430AsmPrinter.cpp | 85 // register base, we should not emit any prefix symbol here, e.g. 107 const MachineOperand &Base = MI->getOperand(OpNum); 113 if (Disp.isImm() && !Base.getReg()) 117 // Print register base field 118 if (Base.getReg()) {
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_buffer_objects.h | 42 struct gl_buffer_object Base;
|
intel_fbo.h | 50 struct swrast_renderbuffer Base; 79 * gl_renderbuffer is a base class which we subclass. The Class field 94 if (irb && irb->Base.Base.ClassID == INTEL_RB_CLASS) { 129 return rb->Base.Base.Format;
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_fbo.h | 48 struct gl_renderbuffer Base;
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
type_traits_unittest.cc | 160 // A base class and a derived class that inherits from it, used for 162 class Base { 164 virtual ~Base() { } 167 class Derived : public Base { 603 EXPECT_TRUE((is_same<Base*, Base*>::value)); 605 EXPECT_FALSE((is_same<Base*, Derived*>::value)); 606 EXPECT_FALSE((is_same<Derived*, Base*>::value)); 618 EXPECT_TRUE((is_convertible<Derived*, Base*>::value)); 619 EXPECT_FALSE((is_convertible<Base*, Derived*>::value)) [all...] |
/external/clang/test/CXX/except/except.spec/ |
p14.cpp | 13 struct X2 : public X0, public X1 { }; // expected-error 2{{exception specification of overriding function is more lax than base version}} 106 struct Base { 107 virtual ~Base() {} 110 struct Derived : Base { 118 struct Base { 119 Base(X<0>) noexcept(true); 120 Base(X<1>) noexcept(false); 121 Base(X<2>) throw(X<2>); 122 template<typename T> Base(T) throw(T); 127 struct Derived : Base, Throw<X<3>> [all...] |
/art/test/077-method-override/src/ |
Base.java | 17 public class Base { 19 System.out.println("declaredInBase: Base"); 23 System.out.println("overridden: Base"); 28 System.out.println("wasOverridden: Base"); 35 System.out.println("overrideWithPublic: Base"); 43 System.out.println("overridePublicWithProtected: Base"); 50 System.out.println("overrideProtectedWithPublic: Base"); 58 System.out.println("overridePublicWithPrivate: Base"); 65 System.out.println("overridePrivateWithPublic: Base"); 73 System.out.println("overrideVirtualWithStatic: Base"); [all...] |
/art/test/077-method-override/src2/ |
Base.java | 17 public class Base { 19 System.out.println("declaredInBase: Base"); 23 System.out.println("overridden: Base"); 28 // System.out.println("wasOverridden: Base"); 35 System.out.println("overrideWithPublic: Base"); 43 System.out.println("overridePublicWithProtected: Base"); 50 System.out.println("overrideProtectedWithPublic: Base"); 58 System.out.println("overridePublicWithPrivate: Base"); 65 System.out.println("overridePrivateWithPublic: Base"); 73 System.out.println("overrideVirtualWithStatic: Base"); [all...] |
/external/chromium_org/printing/backend/ |
win_helper.h | 15 #include "base/memory/scoped_ptr.h" 16 #include "base/strings/string16.h" 17 #include "base/win/scoped_handle.h" 46 : public base::win::GenericScopedHandle<PrinterHandleTraits, 47 base::win::VerifierTraits> { 59 typedef base::win::GenericScopedHandle<PrinterHandleTraits, 60 base::win::VerifierTraits> Base; 84 typedef base::win::GenericScopedHandle<PrinterChangeHandleTraits, 85 base::win::DummyVerifierTraits [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/ |
wmesadef.h | 26 struct gl_framebuffer Base;
|
/external/clang/include/clang/AST/ |
BaseSubobject.h | 25 // BaseSubobject - Uniquely identifies a direct or indirect base class. 26 // Stores both the base class decl and the offset from the most derived class to 27 // the base class. Used for vtable and VTT generation. 29 /// Base - The base class declaration. 30 const CXXRecordDecl *Base; 32 /// BaseOffset - The offset from the most derived class to the base class. 37 BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset) 38 : Base(Base), BaseOffset(BaseOffset) { [all...] |
/external/clang/test/CXX/class.access/class.access.base/ |
p1.cpp | 3 // C++0x [class.access.base]p1(a): 4 // If a class is declared to be a base class for another class using 5 // the public access specifier, the public members of the base class 7 // members of the base class are accessible as protected members of 10 class Base { 16 class Test : public Base { 25 Base::pub++; 26 Base::spub++; 27 Base::prot++; 28 Base::sprot++ [all...] |
/external/clang/test/CodeGenCXX/ |
apple-kext-indirect-call-2.C | 28 struct Base { virtual char* abc(void) const; }; 30 char* Base::abc() const { return 0; } 32 struct Derived : public Base { 38 char* c = p->Base::abc();
|