/external/clang/test/SemaTemplate/ |
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> {
|
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
|
qualified-id.cpp | 14 template <class T> class Base { }; 15 template <class T> class Derived : public Base<T> {
|
/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); } 54 void PrintStats() { Base.PrintStats(); }
|
/external/llvm/lib/Analysis/ |
Loads.cpp | 90 Value *Base = V; 92 Base = getUnderlyingObjectWithOffset(V, TD, ByteOffset); 96 if (const AllocaInst *AI = dyn_cast<AllocaInst>(Base)) { 100 } else if (const GlobalValue *GV = dyn_cast<GlobalValue>(Base)) {
|
/external/llvm/lib/Support/ |
FileOutputBuffer.cpp | 115 void *Base; 116 EC = sys::fs::map_file_pages(Twine(TempFilePath), 0, Size, true, Base); 121 uint8_t *Start = reinterpret_cast<uint8_t*>(Base);
|
/external/llvm/lib/Target/MSP430/ |
MSP430AsmPrinter.cpp | 85 // register base, we should not emit any prefix symbol here, e.g. 113 const MachineOperand &Base = MI->getOperand(OpNum); 119 if (Disp.isImm() && !Base.getReg()) 123 // Print register base field 124 if (Base.getReg()) {
|
/external/webkit/Source/JavaScriptCore/runtime/ |
JSActivation.h | 43 typedef JSVariableObject Base;
|
JSByteArray.h | 38 typedef JSNonFinalObject Base;
|
JSFunction.h | 45 typedef JSObjectWithGlobalObject Base;
|
RegExpObject.h | 31 typedef JSObjectWithGlobalObject Base;
|
/external/webkit/Source/WebCore/bindings/js/ |
JSDOMWindowShell.h | 41 typedef JSC::JSNonFinalObject Base; 69 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames | Base::StructureFlags;
|
JSDOMGlobalObject.h | 45 typedef JSC::JSGlobalObject Base;
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebContextUserMessageCoders.h | 42 typedef UserMessageEncoder<WebContextUserMessageEncoder> Base; 45 : Base(root) 85 typedef UserMessageDecoder<WebContextUserMessageDecoder> Base; 88 : Base(root) 94 : Base(root) 102 if (!Base::baseDecode(decoder, coder, type))
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
InjectedBundleUserMessageCoders.h | 45 typedef UserMessageEncoder<InjectedBundleUserMessageEncoder> Base; 48 : Base(root) 88 typedef UserMessageDecoder<InjectedBundleUserMessageDecoder> Base; 91 : Base(root) 96 : Base(root) 103 if (!Base::baseDecode(decoder, coder, type))
|
/dalvik/tests/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...] |
/dalvik/tests/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/base/memory/ |
weak_ptr_unittest.cc | 5 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/weak_ptr.h" 8 #include "base/message_loop.h" 9 #include "base/threading/thread.h" 11 namespace base { namespace 35 struct Base {}; 36 struct Derived : Base {}; 86 WeakPtr<Base> ptr = factory.GetWeakPtr(); 137 } // namespace 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/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();
|
/external/clang/test/SemaCXX/ |
class-base-member-init.cpp | 14 S() // expected-error {{multiple initializations given for base 'S'}} 35 A<T>() { } // expected-error {{multiple initializations given for base 'A<T>'}} 42 T() { } // expected-error {{multiple initializations given for base 'T'}} 79 struct Base { 80 Base(int); 82 struct A : Base { 83 A() : decltype(Base(1))(3) { 85 A(int) : Base(3), // expected-note {{previous initialization is here}} 86 decltype(Base(1))(2), // expected-error {{multiple initializations given for base 'decltype(test5::Base(1))' (aka 'test5::Base')} [all...] |
using-decl-templates.cpp | 13 using A<double>::f; // expected-error{{using declaration refers into 'A<double>::', which is not a base class of 'B<int>'}} 39 struct Base { 42 template<typename T> struct E : Base { 43 using Base::foo; 70 class Base { 76 class Derived : public Base<T> { 78 using Base<T>::Container;
|
warn-overloaded-virtual.cpp | 44 struct Base { 48 void Base::foo(int) { } 50 struct Derived : public Base {
|
/external/webkit/Source/WebCore/svg/properties/ |
SVGStaticListPropertyTearOff.h | 31 typedef SVGListProperty<PropertyType> Base; 45 Base::clearValues(m_values, ec); 50 return Base::numberOfItemsValues(m_values); 55 return Base::initializeValues(m_values, newItem, ec); 60 return Base::getItemValues(m_values, index, ec); 65 return Base::insertItemBeforeValues(m_values, newItem, index, ec); 70 return Base::replaceItemValues(m_values, newItem, index, ec); 75 return Base::removeItemValues(m_values, index, ec); 80 return Base::appendItemValues(m_values, newItem, ec);
|