/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | OptionalMethodTest.java | 36 private static class BaseClass { class in OptionalMethodTest 45 private static class SubClass1 extends BaseClass { 56 private static class SubClass2 extends BaseClass { 76 private final static OptionalMethod<BaseClass> STRING_METHOD_RETURNS_ANY = 77 new OptionalMethod<BaseClass>(null, "stringMethod"); 78 private final static OptionalMethod<BaseClass> STRING_METHOD_RETURNS_STRING = 79 new OptionalMethod<BaseClass>(String.class, "stringMethod"); 80 private final static OptionalMethod<BaseClass> STRING_METHOD_RETURNS_INT = 81 new OptionalMethod<BaseClass>(Integer.TYPE, "stringMethod"); 82 private final static OptionalMethod<BaseClass> VOID_METHOD_RETURNS_ANY = [all …]
|
/external/llvm-project/lldb/test/API/lang/objc/objc-property/ |
D | main.m | 11 @interface BaseClass : NSObject interface 25 +(BaseClass *) baseClassWithBackedInt: (int) inInt andUnbackedInt: (int) inOtherInt; 33 @implementation BaseClass implementation 37 + (BaseClass *) baseClassWithBackedInt: (int) inInt andUnbackedInt: (int) inOtherInt 39 BaseClass *new = [[BaseClass alloc] init]; 49 // NSLog (@"Getting BaseClass::unbackedInt - %d.\n", unbackedInt); 56 // NSLog (@"Setting BaseClass::unbackedInt from %d to %d.", unbackedInt, in_int); 63 // NSLog (@"Getting BaseClass::nonexistantInt - %d.\n", 5); 70 // NSLog (@"Setting BaseClass::nonexistantInt from 7 to %d.", in_int); 90 typedef BaseClass TypedefBaseClass; [all …]
|
/external/llvm-project/lldb/test/API/functionalities/dynamic_value_child_count/ |
D | pass-to-base.cpp | 4 class BaseClass class 7 BaseClass(); 8 virtual ~BaseClass() { } in ~BaseClass() 11 class DerivedClass : public BaseClass 20 BaseClass::BaseClass() in BaseClass() function in BaseClass 24 DerivedClass::DerivedClass() : BaseClass() in DerivedClass() 32 BaseClass *b = nullptr; // Break here and check b has 0 children in main()
|
/external/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/ |
D | global-classes.cpp | 61 struct BaseClass { struct 62 constexpr BaseClass(int N) in BaseClass() function 68 struct DerivedClass : public BaseClass<int> { argument 70 : BaseClass(Base), DerivedMember(Derived) {} in DerivedClass() 80 struct PaddedBases : public BaseClass<char>, public BaseClass<short>, BaseClass<int> { 82 : BaseClass<char>(CH), BaseClass<short>(S), BaseClass<int>(N), DerivedMember(D) {} in PaddedBases() 199 // CHECK-NEXT: (BaseClass<int>) BaseClass<int> = { 214 // CHECK-NEXT: (BaseClass<char>) BaseClass<char> = { 217 // CHECK-NEXT: (BaseClass<short>) BaseClass<short> = { 220 // CHECK-NEXT: (BaseClass<int>) BaseClass<int> = { [all …]
|
/external/llvm-project/llvm/utils/benchmark/include/benchmark/ |
D | benchmark.h | 1121 #define BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ argument 1122 class BaseClass##_##Method##_Benchmark : public BaseClass { \ 1124 BaseClass##_##Method##_Benchmark() : BaseClass() { \ 1125 this->SetName(#BaseClass "/" #Method); \ 1132 #define BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ argument 1133 class BaseClass##_##Method##_Benchmark : public BaseClass<a> { \ 1135 BaseClass##_##Method##_Benchmark() : BaseClass<a>() { \ 1136 this->SetName(#BaseClass"<" #a ">/" #Method); \ 1143 #define BENCHMARK_TEMPLATE2_PRIVATE_DECLARE_F(BaseClass, Method, a, b) \ argument 1144 class BaseClass##_##Method##_Benchmark : public BaseClass<a, b> { \ [all …]
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/object/ |
D | IsCompatibleTypeTest.java | 10 public static class BaseClass { class in IsCompatibleTypeTest 13 public static class ExtendedClass extends BaseClass { 27 return typeCompatibleWith(BaseClass.class); in createMatcher() 31 assertThat(BaseClass.class, typeCompatibleWith(BaseClass.class)); in testMatchesSameClass() 39 assertThat(ExtendedClass.class, typeCompatibleWith(BaseClass.class)); in testMatchesExtendedClass() 51 // assertThat(BaseClass.class, not(compatibleType(ExtendedClass.class)));
|
/external/google-benchmark/include/benchmark/ |
D | benchmark.h | 1110 #define BENCHMARK_PRIVATE_CONCAT_NAME(BaseClass, Method) \ argument 1111 BaseClass##_##Method##_Benchmark 1181 #define BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ argument 1182 class BaseClass##_##Method##_Benchmark : public BaseClass { \ 1184 BaseClass##_##Method##_Benchmark() : BaseClass() { \ 1185 this->SetName(#BaseClass "/" #Method); \ 1192 #define BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ argument 1193 class BaseClass##_##Method##_Benchmark : public BaseClass<a> { \ 1195 BaseClass##_##Method##_Benchmark() : BaseClass<a>() { \ 1196 this->SetName(#BaseClass "<" #a ">/" #Method); \ [all …]
|
/external/llvm-project/mlir/utils/spirv/ |
D | define_inst.sh | 9 # ./define_inst.sh <filename> <baseclass> (<opname>)* 13 # <baseclass> is required. It will be the direct base class the newly defined 23 baseclass=$2 25 case $baseclass in 29 echo "Usage : " $0 "<filename> <baseclass> (<opname>)*" 31 echo "<baseclass> must be one of " \ 46 --inst-category $baseclass --new-inst "$@"
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/mixins/ |
D | TestMixinDeserForCreators.java | 18 static class BaseClass class in TestMixinDeserForCreators 22 public BaseClass(String a) { in BaseClass() method in TestMixinDeserForCreators.BaseClass 26 private BaseClass(String value, boolean dummy) { in BaseClass() method in TestMixinDeserForCreators.BaseClass 30 public static BaseClass myFactory(String a) { in myFactory() 31 return new BaseClass(a+"X", true); in myFactory() 58 static BaseClass myFactory(String a) { return null; } in myFactory() 123 BaseClass result; in testForFactoryAndCtor() 126 result = m.readValue("\"string\"", BaseClass.class); in testForFactoryAndCtor() 131 m.addMixIn(BaseClass.class, MixIn.class); in testForFactoryAndCtor() 132 result = m.readValue("\"string\"", BaseClass.class); in testForFactoryAndCtor()
|
D | TestMixinDeserForClass.java | 13 static class BaseClass class in TestMixinDeserForClass 27 extends BaseClass { } 73 m.addMixIn(BaseClass.class, MixIn.class); in testClassMixInsMidLevel() 75 BaseClass result = m.readValue("{\"a\":\"value\"}", BaseClass.class); in testClassMixInsMidLevel() 93 // will be seen for BaseClass in testClassMixInsForObjectClass() 95 BaseClass result = m.readValue("{\"a\":\"\"}", BaseClass.class); in testClassMixInsForObjectClass()
|
D | TestMixinSerForFields.java | 19 static class BaseClass class in TestMixinSerForFields 24 public BaseClass(String a, String b) { in BaseClass() method in TestMixinSerForFields.BaseClass 31 extends BaseClass 63 BaseClass bean = new BaseClass("1", "2"); in testFieldMixInsTopLevel() 72 mapper.addMixIn(BaseClass.class, MixIn.class); in testFieldMixInsTopLevel() 85 mixins.put(BaseClass.class, MixIn2.class); in testMultipleFieldMixIns()
|
D | TestMixinSerForMethods.java | 23 static class BaseClass class in TestMixinSerForMethods 28 protected BaseClass() { } in BaseClass() method in TestMixinSerForMethods.BaseClass 30 public BaseClass(String a, String b) { in BaseClass() method in TestMixinSerForMethods.BaseClass 44 extends BaseClass 58 extends BaseClass 105 BaseClass bean = new BaseClass("a1", "b2"); in testLeafMixin() 114 mapper.addMixIn(BaseClass.class, MixIn.class); in testLeafMixin() 132 mapper.addMixIn(BaseClass.class, MixIn.class); in testIntermediateMixin()
|
D | TestMixinSerForClass.java | 14 static class BaseClass class in TestMixinSerForClass 19 protected BaseClass() { } in BaseClass() method in TestMixinSerForClass.BaseClass 21 public BaseClass(String a) { in BaseClass() method in TestMixinSerForClass.BaseClass 37 extends BaseClass 90 mapper.addMixIn(BaseClass.class, MixIn.class); in testClassMixInsTopLevel() 111 mapper.addMixIn(BaseClass.class, MixInAutoDetect.class); in testClassMixInsMidLevel() 121 mapper3.addMixIn(BaseClass.class, MixInAutoDetect.class); in testClassMixInsMidLevel()
|
D | TestMixinDeserForMethods.java | 19 static class BaseClass class in TestMixinDeserForMethods 23 public BaseClass() { } in BaseClass() method in TestMixinDeserForMethods.BaseClass 48 m.addMixIn(BaseClass.class, MixIn.class); in testWithAnySetter() 49 BaseClass result = m.readValue("{ \"a\" : 3, \"b\" : true }", BaseClass.class); in testWithAnySetter()
|
/external/libcxx/utils/google-benchmark/include/benchmark/ |
D | benchmark.h | 1158 #define BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ argument 1159 class BaseClass##_##Method##_Benchmark : public BaseClass { \ 1161 BaseClass##_##Method##_Benchmark() : BaseClass() { \ 1162 this->SetName(#BaseClass "/" #Method); \ 1169 #define BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ argument 1170 class BaseClass##_##Method##_Benchmark : public BaseClass<a> { \ 1172 BaseClass##_##Method##_Benchmark() : BaseClass<a>() { \ 1173 this->SetName(#BaseClass "<" #a ">/" #Method); \ 1180 #define BENCHMARK_TEMPLATE2_PRIVATE_DECLARE_F(BaseClass, Method, a, b) \ argument 1181 class BaseClass##_##Method##_Benchmark : public BaseClass<a, b> { \ [all …]
|
/external/llvm-project/libcxx/utils/google-benchmark/include/benchmark/ |
D | benchmark.h | 1158 #define BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ argument 1159 class BaseClass##_##Method##_Benchmark : public BaseClass { \ 1161 BaseClass##_##Method##_Benchmark() : BaseClass() { \ 1162 this->SetName(#BaseClass "/" #Method); \ 1169 #define BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ argument 1170 class BaseClass##_##Method##_Benchmark : public BaseClass<a> { \ 1172 BaseClass##_##Method##_Benchmark() : BaseClass<a>() { \ 1173 this->SetName(#BaseClass "<" #a ">/" #Method); \ 1180 #define BENCHMARK_TEMPLATE2_PRIVATE_DECLARE_F(BaseClass, Method, a, b) \ argument 1181 class BaseClass##_##Method##_Benchmark : public BaseClass<a, b> { \ [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_property.py | 20 class BaseClass(object): class 26 """BaseClass.getter""" 37 class SubClass(BaseClass): 39 @BaseClass.spam.getter 64 class PropertySubNewGetter(BaseClass): 65 @BaseClass.spam.getter 83 base = BaseClass() 112 base = BaseClass() 113 self.assertEqual(base.__class__.spam.__doc__, "BaseClass.getter")
|
/external/grpc-grpc/test/cpp/codegen/ |
D | compiler_test_golden | 229 template <class BaseClass> 230 class WithAsyncMethod_MethodA1 : public BaseClass { 249 template <class BaseClass> 250 class WithAsyncMethod_MethodA2 : public BaseClass { 269 template <class BaseClass> 270 class WithAsyncMethod_MethodA3 : public BaseClass { 289 template <class BaseClass> 290 class WithAsyncMethod_MethodA4 : public BaseClass { 310 template <class BaseClass> 311 class WithGenericMethod_MethodA1 : public BaseClass { [all …]
|
/external/grpc-grpc/test/core/gprpp/ |
D | ref_counted_ptr_test.cc | 178 class BaseClass : public RefCounted<BaseClass> { class 180 BaseClass() {} in BaseClass() function in grpc_core::testing::__anon6389ff3a0111::BaseClass 183 class Subclass : public BaseClass { 189 RefCountedPtr<BaseClass> p(New<Subclass>()); in TEST() 193 RefCountedPtr<BaseClass> b; in TEST() 201 RefCountedPtr<BaseClass> b; in TEST() 209 RefCountedPtr<BaseClass> b; in TEST() 217 RefCountedPtr<BaseClass> b(s); in TEST() 221 void FunctionTakingBaseClass(RefCountedPtr<BaseClass> p) { in FunctionTakingBaseClass()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SMInstructions.td | 88 RegisterClass BaseClass; 97 RegisterClass BaseClass; 119 RegisterClass baseClass, 123 (ins baseClass:$sbase, i32imm:$offset, i1imm:$glc, i1imm:$dlc), 126 let BaseClass = baseClass; 134 (ins baseClass:$sbase, SReg_32:$soff, i1imm:$glc, i1imm:$dlc), 136 let BaseClass = baseClass; 144 RegisterClass baseClass, 147 (ins srcClass:$sdata, baseClass:$sbase, i32imm:$offset, i1imm:$glc, i1imm:$dlc), 150 let BaseClass = baseClass; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SMInstructions.td | 79 RegisterClass BaseClass; 88 RegisterClass BaseClass; 110 RegisterClass baseClass, 114 (ins baseClass:$sbase, i32imm:$offset, i1imm:$glc, i1imm:$dlc), 117 let BaseClass = baseClass; 125 (ins baseClass:$sbase, SReg_32:$soff, i1imm:$glc, i1imm:$dlc), 127 let BaseClass = baseClass; 135 RegisterClass baseClass, 138 (ins srcClass:$sdata, baseClass:$sbase, i32imm:$offset, i1imm:$glc, i1imm:$dlc), 141 let BaseClass = baseClass; [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_dynamicclassattribute.py | 21 class BaseClass(object): class 27 """BaseClass.getter""" 38 class SubClass(BaseClass): 40 spam = BaseClass.__dict__['spam'] 68 class PropertySubNewGetter(BaseClass): 69 spam = BaseClass.__dict__['spam'] 100 base = BaseClass() 129 base = BaseClass() 130 self.assertEqual(base.__class__.__dict__['spam'].__doc__, "BaseClass.getter")
|
D | test_property.py | 20 class BaseClass(object): class 26 """BaseClass.getter""" 37 class SubClass(BaseClass): 39 @BaseClass.spam.getter 64 class PropertySubNewGetter(BaseClass): 65 @BaseClass.spam.getter 83 base = BaseClass() 112 base = BaseClass() 113 self.assertEqual(base.__class__.spam.__doc__, "BaseClass.getter")
|
/external/flatbuffers/tests/ |
D | monster_test.grpc.fb.h | 152 template <class BaseClass> 153 class WithAsyncMethod_Store : public BaseClass { 172 template <class BaseClass> 173 class WithAsyncMethod_Retrieve : public BaseClass { 192 template <class BaseClass> 193 class WithAsyncMethod_GetMaxHitPoint : public BaseClass { 212 template <class BaseClass> 213 class WithAsyncMethod_GetMinMaxHitPoints : public BaseClass { 233 template <class BaseClass> 234 class WithGenericMethod_Store : public BaseClass { [all …]
|
/external/llvm-project/clang/tools/clang-fuzzer/corpus_examples/objc/ |
D | SharedInstance.m | 7 @interface BaseClass : RootObject interface 13 static BaseClass *sharedInstance = (void *)0; 16 @implementation BaseClass implementation 21 sharedInstance = [[BaseClass alloc] initWithFoo:3];
|