/external/clang/test/SemaObjC/ |
D | invalid-objc-decls-1.m | 3 @interface Super @end interface 4 Super s1; // expected-error{{interface type cannot be statically allocated}} 6 extern Super e1; // expected-error{{interface type cannot be statically allocated}} 9 Super s1; // expected-error{{interface type cannot be statically allocated}} 16 Super ivar1; // expected-error{{interface type cannot be statically allocated}} 21 Super objField; // expected-error{{interface type cannot be statically allocated}} 26 Super<P1> ivar1; // expected-error{{interface type cannot be statically allocated}} 30 Super foo( // expected-error{{interface type 'Super' cannot be returned by value; did you forget * … 31 …Super parm1) { // expected-error{{interface type 'Super' cannot be passed by value; did you forget… 32 Super p1; // expected-error{{interface type cannot be statically allocated}}
|
D | block-type-safety.m | 4 @interface Super @end interface 5 @interface Sub : Super @end 7 void f2(void(^f)(Super *)) { // expected-note{{passing argument to parameter 'f' here}} 8 Super *o; 17 void r0(Super* (^f)()) { 18 Super *o = f(); 34 f3(^(Super *o) { }); // OK, block taking Super* may be called with a Sub* category 36 r0(^Super* () { return 0; }); // OK category 37 r0(^Sub* () { return 0; }); // OK, variable of type Super* gets return value of type Sub* 40 r1(^Super* () { return 0; }); // expected-error {{incompatible block pointer types passing}} category
|
D | property-and-class-extension.m | 10 @interface Super { interface 15 @interface Super() { interface in int 20 @interface SomeClass : Super { 34 …roperty 'Property' attempting to use instance variable 'Property' declared in super class 'Super'}}
|
D | conditional-expr-7.m | 5 @interface Super @end interface 7 @interface NSArray : Super @end 8 @interface NSSet : Super @end
|
D | alias-test-2.m | 4 @interface Super @end // expected-note {{previous definition is here}} interface 10 @compatibility_alias AliasForSuper Super; 12 @implementation MyAlias : AliasForSuper // expected-error {{conflicting super class name 'Super'}}
|
D | ivar-sem-check-2.m | 3 @interface Super { interface 11 @interface Sub : Super 20 …or {{property 'prop' attempting to use instance variable 'value2' declared in super class 'Super'}}
|
D | ivar-in-implementations.m | 3 @interface Super @end interface 5 @interface INTFSTANDALONE : Super 12 @implementation INTFSTANDALONE : Super // expected-warning {{class implementation may not have supe…
|
D | tentative-property-decl.m | 11 @interface Super { interface 17 @interface MyClass : Super 37 @interface YourClass : Super <P>
|
/external/python/cpython3/Lib/test/ |
D | test_isinstance.py | 175 class Super: class 178 class Child(Super): 191 self.assertEqual(True, isinstance(Super(), Super)) 192 self.assertEqual(False, isinstance(Super(), Child)) 193 self.assertEqual(False, isinstance(Super(), AbstractSuper)) 194 self.assertEqual(False, isinstance(Super(), AbstractChild)) 196 self.assertEqual(True, isinstance(Child(), Super)) 203 self.assertEqual(False, isinstance(AbstractSuper(), Super)) 208 self.assertEqual(False, isinstance(AbstractChild(), Super)) 213 self.assertEqual(True, issubclass(Super, Super)) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_isinstance.py | 163 class Super: class 166 class Child(Super): 188 self.assertEqual(True, isinstance(Super(), Super)) 189 self.assertEqual(False, isinstance(Super(), Child)) 190 self.assertEqual(False, isinstance(Super(), AbstractSuper)) 191 self.assertEqual(False, isinstance(Super(), AbstractChild)) 193 self.assertEqual(True, isinstance(Child(), Super)) 200 self.assertEqual(False, isinstance(AbstractSuper(), Super)) 205 self.assertEqual(False, isinstance(AbstractChild(), Super)) 210 self.assertEqual(True, issubclass(Super, Super)) [all …]
|
/external/v8/tools/clang/blink_gc_plugin/tests/ |
D | trace_templated_super.cpp | 10 void Super<T>::clearWeakMembers(Visitor* visitor) in clearWeakMembers() 16 void Super<T>::Trace(Visitor* visitor) in Trace() 18 visitor->RegisterWeakMembers<Super<T>, &Super<T>::clearWeakMembers>(this); in Trace() 27 Super<T>::Trace(visitor); in Trace()
|
D | trace_templated_super.h | 20 class Super : public GarbageCollected<Super<T> >, public Mixin { 21 USING_GARBAGE_COLLECTED_MIXIN(Super); 31 class Sub : public Super<T> {
|
/external/mockito/src/test/java/org/mockitousage/puzzlers/ |
D | BridgeMethodPuzzleTest.java | 27 private class Super<T> { class in BridgeMethodPuzzleTest 33 private class Sub extends Super<String> { 42 Super s = new Sub(); in shouldHaveBridgeMethod() 55 Super<String> s_down = s; in shouldVerifyCorrectlyWhenBridgeMethodCalled() 66 Super<String> s_down = s; in shouldVerifyCorrectlyWhenBridgeMethodVerified()
|
D | OverloadingPuzzleTest.java | 17 private Super mock; 19 private void setMockWithDowncast(Super mock) { in setMockWithDowncast() 23 private interface Super { interface in OverloadingPuzzleTest 27 private interface Sub extends Super {
|
/external/turbine/javatests/com/google/turbine/lower/testdata/ |
D | nested_member_import_noncanon.test | 1 === Super.java === 3 public class Super { 10 public static class Inner extends Super { 15 // non-canonical static member import, we'd prefer `p.Super.Y`
|
D | annouse8.test | 1 === pkg/Super.java === 4 public class Super { 11 public class Simple extends Super {
|
D | visible_package_private_toplevel.test | 8 public class Base extends Super {} 11 === Super.java === 13 public class Super {
|
D | anno_self_const.test | 1 === p/Super.java === 3 public abstract class Super { 23 class N extends Super {}
|
/external/libxkbcommon/xkbcommon/test/data/compat/ |
D | misc | 3 virtual_modifiers Alt,Meta,Super,Hyper,ScrollLock; 57 // Sets the "Super" virtual modifier. 61 virtualModifier= Super; 66 action = SetMods(modifiers=Super); 71 virtualModifier= Super; 76 action = SetMods(modifiers=Super);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 128 const TargetRegisterClass *Super = RC; in getLargestLegalSuperClass() local 131 switch (Super->getID()) { in getLargestLegalSuperClass() 136 getRegSizeInBits(*Super) == getRegSizeInBits(*RC)) in getLargestLegalSuperClass() 137 return Super; in getLargestLegalSuperClass() 143 getRegSizeInBits(*Super) == getRegSizeInBits(*RC)) in getLargestLegalSuperClass() 144 return Super; in getLargestLegalSuperClass() 150 getRegSizeInBits(*Super) == getRegSizeInBits(*RC)) in getLargestLegalSuperClass() 151 return Super; in getLargestLegalSuperClass() 157 getRegSizeInBits(*Super) == getRegSizeInBits(*RC)) in getLargestLegalSuperClass() 158 return Super; in getLargestLegalSuperClass() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/filter/targets/ |
D | Constructor.java | 27 private static class Super extends Constructor { class in Constructor 28 private Super() { in Super() method in Constructor.Super 67 new Super(); in main()
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | DiamondInheritanceIsConfusingMockitoTest.java | 27 public class Super<T> { class in DiamondInheritanceIsConfusingMockitoTest 30 public Super(T value) { in Super() method in DiamondInheritanceIsConfusingMockitoTest.Super 38 extends Super<String>
|
D | ConfusedSignatureTest.java | 27 public class Super<T> { class in ConfusedSignatureTest 30 public Super(T value) { in Super() method in ConfusedSignatureTest.Super 38 extends Super<String>
|
/external/clang/test/CodeGenObjC/ |
D | default-property-synthesis.m | 23 @interface Super <PROTO> interface 28 @interface Sub : Super <PROTO1> 30 …ted-warning {{property 'P2' 'copy' attribute does not match the property inherited from 'Super'}} \ 31 …ted-warning {{property 'P2' 'atomic' attribute does not match the property inherited from 'Super'}}
|
/external/clang/test/Modules/Inputs/ |
D | redecl-merge-right.h | 3 @interface Super 6 @interface A : Super 7 - (Super*)init;
|