Home
last modified time | relevance | path

Searched refs:SubClass (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/include/llvm/Support/
DRecycler.h81 template<class SubClass, class AllocatorType>
82 SubClass *Allocate(AllocatorType &Allocator) { in Allocate()
83 static_assert(AlignOf<SubClass>::Alignment <= Align, in Allocate()
85 static_assert(sizeof(SubClass) <= Size, in Allocate()
87 return FreeList ? reinterpret_cast<SubClass *>(pop_val()) in Allocate()
88 : static_cast<SubClass *>(Allocator.Allocate(Size, Align)); in Allocate()
96 template<class SubClass, class AllocatorType>
97 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) { in Deallocate()
DRecyclingAllocator.h43 template<class SubClass>
44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } in Allocate()
51 template<class SubClass>
52 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } in Deallocate()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DRecycler.h89 template<class SubClass, class AllocatorType>
90 SubClass *Allocate(AllocatorType &Allocator) {
91 assert(sizeof(SubClass) <= Size &&
93 assert(AlignOf<SubClass>::Alignment <= Align &&
96 reinterpret_cast<SubClass *>(FreeList.remove(FreeList.begin())) :
97 static_cast<SubClass *>(Allocator.Allocate(Size, Align));
105 template<class SubClass, class AllocatorType>
106 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) {
DRecyclingAllocator.h43 template<class SubClass>
44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } in Allocate()
51 template<class SubClass>
52 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } in Deallocate()
DInstVisitor.h28 return static_cast<SubClass*>(this)-> \
77 template<typename SubClass, typename RetTy=void>
89 static_cast<SubClass*>(this)->visit(*Start++); in visit()
95 static_cast<SubClass*>(this)->visitModule(M); in visit()
99 static_cast<SubClass*>(this)->visitFunction(F); in visit()
103 static_cast<SubClass*>(this)->visitBasicBlock(BB); in visit()
121 static_cast<SubClass*>(this)-> \ in visit()
/external/guava/guava-tests/test/com/google/common/eventbus/outside/
DAnnotatedSubscriberFinderTests.java96 AbstractEventBusTest<AnnotatedAndAbstractInSuperclassTest.SubClass> {
105 static class SubClass extends SuperClass { class in AnnotatedSubscriberFinderTests.AnnotatedAndAbstractInSuperclassTest
130 SubClass createSubscriber() { in createSubscriber()
131 return new SubClass(); in createSubscriber()
136 AbstractEventBusTest<AnnotatedNotAbstractInSuperclassTest.SubClass> {
173 static class SubClass extends SuperClass { class in AnnotatedSubscriberFinderTests.AnnotatedNotAbstractInSuperclassTest
226 SubClass createSubscriber() { in createSubscriber()
227 return new SubClass(); in createSubscriber()
232 AbstractEventBusTest<AbstractNotAnnotatedInSuperclassTest.SubClass> {
239 static class SubClass extends SuperClass { class in AnnotatedSubscriberFinderTests.AbstractNotAnnotatedInSuperclassTest
[all …]
/external/llvm/include/llvm/IR/
DOperandTraits.h30 template <typename SubClass, unsigned ARITY>
32 static Use *op_begin(SubClass* U) { in op_begin()
35 static Use *op_end(SubClass* U) { in op_end()
50 template <typename SubClass, unsigned ARITY = 1>
51 struct OptionalOperandTraits : public FixedNumOperandTraits<SubClass, ARITY> {
65 template <typename SubClass, unsigned MINARITY = 0>
67 static Use *op_begin(SubClass* U) { in op_begin()
70 static Use *op_end(SubClass* U) { in op_end()
DInstVisitor.h31 return static_cast<SubClass*>(this)-> \
80 template<typename SubClass, typename RetTy=void>
92 static_cast<SubClass*>(this)->visit(*Start++); in visit()
98 static_cast<SubClass*>(this)->visitModule(M); in visit()
102 static_cast<SubClass*>(this)->visitFunction(F); in visit()
106 static_cast<SubClass*>(this)->visitBasicBlock(BB); in visit()
124 static_cast<SubClass*>(this)-> \ in visit()
227 return static_cast<SubClass*>(this)->visitCallSite(&I); in visitCallInst()
230 return static_cast<SubClass*>(this)->visitCallSite(&I); in visitInvokeInst()
/external/swiftshader/third_party/LLVM/include/llvm/
DOperandTraits.h30 template <typename SubClass, unsigned ARITY>
32 static Use *op_begin(SubClass* U) { in op_begin()
35 static Use *op_end(SubClass* U) { in op_end()
50 template <typename SubClass, unsigned ARITY = 1>
51 struct OptionalOperandTraits : public FixedNumOperandTraits<SubClass, ARITY> {
65 template <typename SubClass, unsigned MINARITY = 0>
67 static Use *op_begin(SubClass* U) { in op_begin()
70 static Use *op_end(SubClass* U) { in op_end()
/external/clang/test/CodeGenObjC/
Dnewproperty-nested-synthesis-1.m38 @interface SubClass : Tester interface
55 @implementation SubClass implementation
72 SubClass *f = [SubClass new];
Dprotocol-property-synth.m22 @interface SubClass : BaseClass <SubProtocol, AnotherProtocol> { interface
29 @implementation SubClass implementation
/external/mockito/src/test/java/org/mockitousage/annotation/
DSpyAnnotationInitializedInBaseClassTest.java29 class SubClass extends BaseClass { class in SpyAnnotationInitializedInBaseClassTest
36 SubClass subClass = new SubClass(); in shouldInitSpiesInBaseClass()
/external/clang/test/SemaObjC/
Dduplicate-ivar-in-class-extension.m11 @interface SubClass : SuperClass { interface
28 @implementation SubClass implementation
Dproperty-2.m34 @interface SubClass : Tester interface
51 @implementation SubClass implementation
Dsuper-class-protocol-conformance.m16 @interface SubClass : TopClass <SubProtocol> {} interface
27 @implementation SubClass // Test3 - No Warning implementation
Ddefault-synthesize.m100 @interface SubClass : TopClass <TopProtocol> interface
103 @implementation SubClass @end implementation
Ddefault-synthesize-3.m211 @interface SubClass : SuperClass <r16089191Protocol> interface
214 @implementation SubClass implementation
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGParser.cpp146 bool TGParser::AddSubClass(Record *CurRec, SubClassReference &SubClass) { in AddSubClass() argument
147 Record *SC = SubClass.Rec; in AddSubClass()
151 if (AddValue(CurRec, SubClass.RefLoc, Vals[i])) in AddSubClass()
157 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass()
158 return Error(SubClass.RefLoc, "More template args specified than expected"); in AddSubClass()
163 if (i < SubClass.TemplateArgs.size()) { in AddSubClass()
165 if (SetValue(CurRec, SubClass.RefLoc, TArgs[i], std::vector<unsigned>(), in AddSubClass()
166 SubClass.TemplateArgs[i])) in AddSubClass()
176 return Error(SubClass.RefLoc,"Value not specified for template argument #" in AddSubClass()
187 return Error(SubClass.RefLoc, in AddSubClass()
[all …]
DTGParser.h77 bool AddSubClass(Record *Rec, SubClassReference &SubClass);
/external/clang/test/Index/
Dsubclass-comment.mm23 @interface SubClass : SuperClass interface
30 @interface SubSubClass : SubClass
/external/llvm/lib/TableGen/
DTGParser.cpp147 bool TGParser::AddSubClass(Record *CurRec, SubClassReference &SubClass) { in AddSubClass() argument
148 Record *SC = SubClass.Rec; in AddSubClass()
151 if (AddValue(CurRec, SubClass.RefRange.Start, Val)) in AddSubClass()
157 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass()
158 return Error(SubClass.RefRange.Start, in AddSubClass()
164 if (i < SubClass.TemplateArgs.size()) { in AddSubClass()
166 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
167 None, SubClass.TemplateArgs[i])) in AddSubClass()
177 return Error(SubClass.RefRange.Start, in AddSubClass()
189 return Error(SubClass.RefRange.Start, in AddSubClass()
[all …]
DTGParser.h116 bool AddSubClass(Record *Rec, SubClassReference &SubClass);
/external/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp160 const TargetRegisterClass *SubClass = getAllocatableClass(RC); in getAllocatableSet() local
161 if (SubClass) in getAllocatableSet()
162 getAllocatableSetForRC(MF, SubClass, Allocatable); in getAllocatableSet()
/external/skia/src/sfnt/
DSkIBMFamilyClass.h32 union SubClass { union
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp1942 for (auto SubClass : SubClasses) { in emitAttrList() local
1943 SubClass->emitAttrList(OS); in emitAttrList()
1963 for (auto SubClass : SubClasses) { in classifyAttr() local
1964 if (SubClass->classifyAttr(Attr)) in classifyAttr()

12