Home
last modified time | relevance | path

Searched refs:Super (Results 1 – 25 of 234) sorted by relevance

12345678910

/external/clang/test/SemaObjC/
Dinvalid-objc-decls-1.m3 @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 * …
31Super 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}}
Dblock-type-safety.m4 @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
Dproperty-and-class-extension.m10 @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'}}
Dconditional-expr-7.m5 @interface Super @end interface
7 @interface NSArray : Super @end
8 @interface NSSet : Super @end
Dalias-test-2.m4 @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'}}
Divar-sem-check-2.m3 @interface Super { interface
11 @interface Sub : Super
20 …or {{property 'prop' attempting to use instance variable 'value2' declared in super class 'Super'}}
Divar-in-implementations.m3 @interface Super @end interface
5 @interface INTFSTANDALONE : Super
12 @implementation INTFSTANDALONE : Super // expected-warning {{class implementation may not have supe…
Dtentative-property-decl.m11 @interface Super { interface
17 @interface MyClass : Super
37 @interface YourClass : Super <P>
/external/python/cpython3/Lib/test/
Dtest_isinstance.py175 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/
Dtest_isinstance.py163 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/mockito/src/test/java/org/mockitousage/puzzlers/
DBridgeMethodPuzzleTest.java27 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()
DOverloadingPuzzleTest.java17 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/
Dnested_member_import_noncanon.test1 === 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`
Dannouse8.test1 === pkg/Super.java ===
4 public class Super {
11 public class Simple extends Super {
Dvisible_package_private_toplevel.test8 public class Base extends Super {}
11 === Super.java ===
13 public class Super {
Danno_self_const.test1 === p/Super.java ===
3 public abstract class Super {
23 class N extends Super {}
Dvisible_qualified.test3 public static class Super {
7 public static final double A = Super.PI;
/external/libxkbcommon/xkbcommon/test/data/compat/
Dmisc3 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/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/targets/
DConstructorsTarget.java29 private static class Super extends ConstructorsTarget { class in ConstructorsTarget
30 private Super() { in Super() method in ConstructorsTarget.Super
85 new Super(); in main()
/external/mockito/src/test/java/org/mockitousage/bugs/
DDiamondInheritanceIsConfusingMockitoTest.java27 public class Super<T> { class in DiamondInheritanceIsConfusingMockitoTest
30 public Super(T value) { in Super() method in DiamondInheritanceIsConfusingMockitoTest.Super
38 extends Super<String>
DConfusedSignatureTest.java27 public class Super<T> { class in ConfusedSignatureTest
30 public Super(T value) { in Super() method in ConfusedSignatureTest.Super
38 extends Super<String>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86RegisterInfo.cpp128 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/clang/test/CodeGenObjC/
Ddefault-property-synthesis.m23 @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/
Dredecl-merge-right.h3 @interface Super
6 @interface A : Super
7 - (Super*)init;
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
DClassWithTypes.java.txt1 class Super {
7 class A extends Super {

12345678910