Home
last modified time | relevance | path

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

1234567891011

/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'}}
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DFilterTrivialTest.kt40 open class Super in <lambda>() class
41 class Sub : Super() in <lambda>()
43 val flow = flowOf(Super(), Super(), Super(), Sub(), Sub(), Sub()) in <lambda>()
44 assertEquals(6, flow.filterIsInstance<Super>().count()) in <lambda>()
50 open class Super in <lambda>() class
51 class Sub : Super() in <lambda>()
53 val flow = flowOf(Super(), Super(), Super(), Sub(), Sub(), Sub()) in <lambda>()
54 assertEquals(6, flow.filterIsInstance(Super::class).count()) in <lambda>()
/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/python/cpython3/Lib/test/
Dtest_isinstance.py177 class Super: class
180 class Child(Super):
193 self.assertEqual(True, isinstance(Super(), Super))
194 self.assertEqual(False, isinstance(Super(), Child))
195 self.assertEqual(False, isinstance(Super(), AbstractSuper))
196 self.assertEqual(False, isinstance(Super(), AbstractChild))
198 self.assertEqual(True, isinstance(Child(), Super))
205 self.assertEqual(False, isinstance(AbstractSuper(), Super))
210 self.assertEqual(False, isinstance(AbstractChild(), Super))
214 self.assertTrue(isinstance(Super(), Super | int))
[all …]
/external/cronet/base/win/
Devent_trace_provider.h42 using Super = EtwMofEventBase<N>;
49 EtwMofEvent() { memset(static_cast<Super*>(this), 0, sizeof(Super)); } in EtwMofEvent()
54 memset(static_cast<Super*>(this), 0, sizeof(Super)); in EtwMofEvent()
55 header.Size = sizeof(Super); in EtwMofEvent()
66 memset(static_cast<Super*>(this), 0, sizeof(Super)); in EtwMofEvent()
67 header.Size = sizeof(Super); in EtwMofEvent()
/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 {}
/external/libxkbcommon/test/data/symbols/
Daltwin11 // Alt is mapped to the Super and the usual Alt.
19 // Ctrl is mapped to the Super and the usual Ctrl keys.
27 // Ctrl is mapped to the Alt, Alt to the Super, and Win to the Ctrl keys.
42 // Meta is mapped to the Super.
63 // Hyper is mapped to the Super.
94 // Swap the Alt and Super.
101 // Swap the left Alt and Super.
109 // Swap the right Alt and Super.
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestTypedSerialization.java72 public class Super {} class in TestTypedSerialization
73 public class A extends Super {}
74 public class B extends Super {}
196 Map<Long, Collection<Super>> map = new HashMap<Long, Collection<Super>>(); in testTypedMaps()
197 List<Super> list = new ArrayList<Super>(); in testTypedMaps()
200 …String json = mapper.writerFor(new TypeReference<Map<Long, Collection<Super>>>() {}).writeValueAsS… in testTypedMaps()
/external/libxkbcommon/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RegisterInfo.cpp127 const TargetRegisterClass *Super = RC; in getLargestLegalSuperClass() local
130 switch (Super->getID()) { in getLargestLegalSuperClass()
135 getRegSizeInBits(*Super) == getRegSizeInBits(*RC)) in getLargestLegalSuperClass()
136 return Super; in getLargestLegalSuperClass()
142 getRegSizeInBits(*Super) == getRegSizeInBits(*RC)) in getLargestLegalSuperClass()
143 return Super; in getLargestLegalSuperClass()
149 getRegSizeInBits(*Super) == getRegSizeInBits(*RC)) in getLargestLegalSuperClass()
150 return Super; in getLargestLegalSuperClass()
156 getRegSizeInBits(*Super) == getRegSizeInBits(*RC)) in getLargestLegalSuperClass()
157 return Super; in getLargestLegalSuperClass()
[all …]
/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/targets/
DConstructorsTarget.java30 private static class Super extends ConstructorsTarget { class in ConstructorsTarget
31 private Super() { in Super() method in ConstructorsTarget.Super
86 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/cronet/base/types/
Dtoken_type.h23 using Super = StrongAlias<TypeMarker, UnguessableToken>;
26 TokenType() : Super(UnguessableToken::Create()) {} in TokenType()
27 explicit TokenType(const UnguessableToken& token) : Super(token) { in TokenType()
/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'}}

1234567891011