Home
last modified time | relevance | path

Searched refs:SomeClass (Results 1 – 25 of 31) sorted by relevance

12

/external/clang/test/SemaObjC/
Divar-in-class-extension.m3 @interface SomeClass @end interface
5 int fn1(SomeClass *obj) {
6 … obj->privateIvar = 1; // expected-error {{'SomeClass' does not have a member named 'privateIvar}}
7 …return obj->publicIvar; // expected-error {{'SomeClass' does not have a member named 'publicIv…
10 @interface SomeClass () { interface in int
18 int fn2(SomeClass *obj) {
24 @implementation SomeClass implementation in SomeClass
26 int fn3(SomeClass *obj) { category
33 @interface SomeClass (Category) interface in Category
39 @interface SomeClass (Category1) interface in Category1
Dproperty-and-class-extension.m20 @interface SomeClass : Super { interface
28 @interface SomeClass () { interface in int
33 @implementation SomeClass implementation
/external/clang/test/Analysis/inlining/
Dfalse-positive-suppression.cpp43 class SomeClass { class
91 SomeClass *&getSomeClass() { in getSomeClass()
93 extern SomeClass *&opaqueClass(); in getSomeClass()
96 static SomeClass *sharedClass; in getSomeClass()
109 SomeClass *object = getSomeClass(); in testClass()
116 SomeClass *getNull() { in getNull()
120 SomeClass &returnNullReference() { in returnNullReference()
121 SomeClass *x = getNull(); in returnNullReference()
182 SomeClass *getNull() { in getNull()
195 SomeClass *ptr = NonTrivial().getNull(); in testAssignment()
[all …]
Dfalse-positive-suppression.m43 @interface SomeClass interface
52 @interface SubOfSomeClass : SomeClass
58 @implementation SomeClass implementation
72 void testMethodReturningNull(SomeClass *sc) {
80 void testPropertyReturningNull(SomeClass *sc) {
99 int *result = SomeClass.classPropertyReturningNull;
106 void testSynthesizedPropertyReturningNull(SomeClass *sc) {
/external/clang/test/SemaObjCXX/Inputs/
Dnullability-consistency-2.h11 @interface SomeClass
13 @property (retain,nullable) SomeClass *property2;
14 - (nullable SomeClass *)method1;
15 - (void)method2:(nonnull SomeClass *)param;
16 @property (readonly, weak) SomeClass *property3; // expected-warning{{missing a nullability type sp…
19 @interface SomeClass ()
20 @property (readonly, weak) SomeClass *property4; // expected-warning{{missing a nullability type sp…
/external/clang/test/Analysis/
DNewDelete-checker-test.cpp118 class SomeClass { class
124 void g(SomeClass &c, ...);
147 void testUseRefArgAfterDelete(SomeClass &c) { in testUseRefArgAfterDelete()
153 SomeClass c; in testVariadicArgAfterDelete()
160 SomeClass *c = new SomeClass; in testUseMethodArgAfterDelete()
166 SomeClass *c = new SomeClass; in testUseThisAfterDelete()
Dnullability_nullonly.mm127 @interface SomeClass : NSObject interface
130 @implementation SomeClass (MethodReturn) implementation in MethodReturn
131 - (SomeClass * _Nonnull)testReturnsNilInNonnull {
132 SomeClass *local = nil;
136 - (SomeClass * _Nonnull)testReturnsCastSuppressedNilInNonnull {
137 SomeClass *local = nil;
138 return (SomeClass * _Nonnull)local; // no-warning
141 - (SomeClass * _Nonnull)testReturnsNilInNonnullWhenPreconditionViolated:(SomeClass * _Nonnull) p {
142 SomeClass *local = nil;
Dobjc-message.m6 @interface SomeClass interface
11 void consistencyOfReturnWithNilReceiver(SomeClass *o) {
22 void maybeNilReceiverIsNotNilAfterMessage(SomeClass *o) {
31 void nilReceiverIsStillNilAfterMessage(SomeClass *o) {
Dnew.cpp12 class SomeClass { class
111 SomeClass *c = new SomeClass; in testUseAfter()
168 SomeClass *c = new SomeClass; in testUsingThisAfterDelete()
Dblocks.m218 @interface SomeClass : SuperClass interface
223 @implementation SomeClass implementation
225 /*__weak*/ SomeClass *weakSelf = self;
227 SomeClass *self = weakSelf;
/external/clang/test/CodeGenObjC/
Dproperty-incr-decr-1.m7 @interface SomeClass : Object interface
14 @implementation SomeClass implementation
21 SomeClass *o = [SomeClass new];
Darc-loadweakretained-release.m6 @interface SomeClass : NSObject interface
10 @implementation SomeClass implementation
21 SomeClass *objPtr1 = [[SomeClass alloc] init];
22 __weak SomeClass *weakRef = objPtr1;
/external/clang/test/CodeGenCXX/
Ddebug-info-friend.cpp5 class SomeClass { class
10 SomeClass *x;
13 static void func(SomeClass::SomeType) { in func()
/external/mockito/src/test/java/org/mockitousage/junitrunner/
DDeepStubbingWithJUnitRunnerTest.java12 private final SomeClass someClass = new SomeClass();
24 public static class SomeClass { class in DeepStubbingWithJUnitRunnerTest
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DAbstractByteBuddyMockMakerTest.java68 SomeClass mockOne = mockMaker.createMock(settingsFor(SomeClass.class), dummyH()); in should_mocks_have_different_interceptors()
69 SomeClass mockTwo = mockMaker.createMock(settingsFor(SomeClass.class), dummyH()); in should_mocks_have_different_interceptors()
80SomeClass mock = mockMaker.createMock(settingsFor(SomeClass.class, SomeInterface.class), dummyH()); in should_use_ancillary_Types()
121 class SomeClass {} class in AbstractByteBuddyMockMakerTest
DSubclassByteBuddyMockMakerTest.java43 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(SomeClass.class); in is_type_mockable_give_empty_reason_if_type_is_mockable()
/external/mockito/src/test/java/org/mockito/internal/util/
DMockNameImplTest.java17 String name = new MockNameImpl(null, SomeClass.class).toString(); in shouldProvideTheNameForClass()
35 String name = new MockNameImpl("The Hulk", SomeClass.class).toString(); in shouldProvideTheGivenName()
40 private class SomeClass {} class in MockNameImplTest
DMockUtilTest.java81 class SomeClass {} class in MockUtilTest
91 assertTrue(MockUtil.typeMockabilityOf(SomeClass.class).mockable()); in should_know_if_type_is_mockable()
/external/python/cpython2/Lib/test/
Dtest_weakset.py19 class SomeClass(object): class
31 return hash((SomeClass, self.value))
41 self.items = [SomeClass(c) for c in ('a', 'b', 'c')]
42 self.items2 = [SomeClass(c) for c in ('x', 'y', 'z')]
43 self.letters = [SomeClass(c) for c in string.ascii_letters]
44 self.ab_items = [SomeClass(c) for c in 'ab']
45 self.abcde_items = [SomeClass(c) for c in 'abcde']
46 self.def_items = [SomeClass(c) for c in 'def']
52 self.obj = SomeClass('F')
79 self.assertNotIn(SomeClass('F'), self.fs)
[all …]
/external/mockito/src/test/java/org/mockito/internal/creation/instance/
DConstructorInstantiatorTest.java13 static class SomeClass { class in ConstructorInstantiatorTest
33 …sertEquals(new ConstructorInstantiator(null).newInstance(SomeClass.class).getClass(), SomeClass.cl… in creates_instances()
/external/clang/test/Index/
Dindex-pch-objc.m4 @interface SomeClass interface
7 @implementation SomeClass implementation
/external/clang/test/SemaCXX/
Dtypo-correction-delayed.cpp121 class SomeClass { class
124 …explicit SomeClass() : Kind(kSum) {} // expected-error {{use of undeclared identifier 'kSum'; did… in SomeClass() function in SomeClass
/external/clang/test/SemaTemplate/
Dinstantiate-function-1.cpp243 class SomeClass { class
248 int i = HasIndexMetamethod<SomeClass>::value;
/external/v8/tools/clang/plugins/tests/
Dipc.cpp129 struct SomeClass { struct
174 SomeClass<long>::Write(nullptr); in TestWriteParamInTemplates()
175 SomeClass<long>::WriteEx<uint64_t>(nullptr); in TestWriteParamInTemplates()
/external/r8/src/test/proguard/valid/
Dassume-values-with-return-value.flags5 -assumevalues class com.example.SomeClass {

12