/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/ |
D | MockStatic.java | 66 private static final class SubClass extends SuperClass { class in MockStatic 160 MockitoSession session = mockitoSession().mockStatic(SubClass.class).startMocking(); in mockOverriddenStaticMethod() 163 assertNull(SubClass.returnB()); in mockOverriddenStaticMethod() 164 assertNull(SubClass.returnC()); in mockOverriddenStaticMethod() 170 when(SubClass.returnB()).thenReturn("fakeB"); in mockOverriddenStaticMethod() 171 when(SubClass.returnC()).thenReturn("fakeC"); in mockOverriddenStaticMethod() 174 assertEquals("fakeB", SubClass.returnB()); in mockOverriddenStaticMethod() 175 assertEquals("fakeC", SubClass.returnC()); in mockOverriddenStaticMethod() 185 assertEquals("superB", SubClass.returnB()); in mockOverriddenStaticMethod() 186 assertEquals("subC", SubClass.returnC()); in mockOverriddenStaticMethod() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | OperandTraits.h | 30 template <typename SubClass, unsigned ARITY> 32 static Use *op_begin(SubClass* U) { in op_begin() 34 !std::is_polymorphic<SubClass>::value, in op_begin() 38 static Use *op_end(SubClass* U) { in op_end() 53 template <typename SubClass, unsigned ARITY = 1> 54 struct OptionalOperandTraits : public FixedNumOperandTraits<SubClass, ARITY> { 68 template <typename SubClass, unsigned MINARITY = 0> 70 static Use *op_begin(SubClass* U) { in op_begin() 72 !std::is_polymorphic<SubClass>::value, in op_begin() 76 static Use *op_end(SubClass* U) { in op_end()
|
D | InstVisitor.h | 31 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() 119 static_assert(std::is_base_of<InstVisitor, SubClass>::value, in visit() 127 static_cast<SubClass*>(this)-> \ in visit() 231 return static_cast<SubClass*>(this)->visitCallSite(&I); in visitCallInst() 234 return static_cast<SubClass*>(this)->visitCallSite(&I); in visitInvokeInst()
|
/external/llvm/include/llvm/Support/ |
D | Recycler.h | 81 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()
|
D | RecyclingAllocator.h | 43 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-7.0/llvm/include/llvm/Support/ |
D | Recycler.h | 83 template<class SubClass, class AllocatorType> 84 SubClass *Allocate(AllocatorType &Allocator) { in Allocate() 85 static_assert(alignof(SubClass) <= Align, in Allocate() 87 static_assert(sizeof(SubClass) <= Size, in Allocate() 89 return FreeList ? reinterpret_cast<SubClass *>(pop_val()) in Allocate() 90 : static_cast<SubClass *>(Allocator.Allocate(Size, Align)); in Allocate() 98 template<class SubClass, class AllocatorType> 99 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) { in Deallocate()
|
D | RecyclingAllocator.h | 43 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/guava/guava-tests/test/com/google/common/eventbus/outside/ |
D | AnnotatedSubscriberFinderTests.java | 96 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/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | Recycler.h | 89 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) {
|
D | RecyclingAllocator.h | 43 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()
|
D | InstVisitor.h | 28 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/swiftshader/third_party/LLVM/include/llvm/ |
D | OperandTraits.h | 30 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/llvm/include/llvm/IR/ |
D | OperandTraits.h | 30 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()
|
D | InstVisitor.h | 31 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-subzero/include/llvm/IR/ |
D | OperandTraits.h | 30 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/dexmaker/dexmaker-mockito-inline-tests/src/main/java/com/android/dx/mockito/inline/tests/ |
D | MockFinal.java | 124 private static final class SubClass extends SuperClass { class in MockFinal 133 SubClass mocked = mock(SubClass.class); in mockSubClass() 135 SubClass nonMocked = new SubClass(); in mockSubClass() 182 SubClass spied = spy(SubClass.class); in spySubClass() 184 SubClass nonSpied = new SubClass(); in spySubClass()
|
/external/clang/test/CodeGenObjC/ |
D | newproperty-nested-synthesis-1.m | 38 @interface SubClass : Tester interface 55 @implementation SubClass implementation 72 SubClass *f = [SubClass new];
|
D | protocol-property-synth.m | 22 @interface SubClass : BaseClass <SubProtocol, AnotherProtocol> { interface 29 @implementation SubClass implementation
|
/external/mockito/src/test/java/org/mockitousage/annotation/ |
D | SpyAnnotationInitializedInBaseClassTest.java | 29 class SubClass extends BaseClass { class in SpyAnnotationInitializedInBaseClassTest 36 SubClass subClass = new SubClass(); in shouldInitSpiesInBaseClass()
|
/external/clang/test/SemaObjC/ |
D | duplicate-ivar-in-class-extension.m | 11 @interface SubClass : SuperClass { interface 28 @implementation SubClass implementation
|
D | property-2.m | 34 @interface SubClass : Tester interface 51 @implementation SubClass implementation
|
D | super-class-protocol-conformance.m | 16 @interface SubClass : TopClass <SubProtocol> {} interface 27 @implementation SubClass // Test3 - No Warning implementation
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | TGParser.cpp | 146 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | TGParser.cpp | 229 bool TGParser::AddSubClass(Record *CurRec, SubClassReference &SubClass) { in AddSubClass() argument 230 Record *SC = SubClass.Rec; in AddSubClass() 233 if (AddValue(CurRec, SubClass.RefRange.Start, Val)) in AddSubClass() 239 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass() 240 return Error(SubClass.RefRange.Start, in AddSubClass() 248 if (i < SubClass.TemplateArgs.size()) { in AddSubClass() 250 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass() 251 None, SubClass.TemplateArgs[i])) in AddSubClass() 254 return Error(SubClass.RefRange.Start, in AddSubClass() 280 return Error(SubClass.RefRange.Start, in AddSubClass() [all …]
|
/external/clang/test/Index/ |
D | subclass-comment.mm | 23 @interface SubClass : SuperClass interface 30 @interface SubSubClass : SubClass
|