/external/clang/test/SemaObjC/ |
D | ivar-in-class-extension.m | 3 @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
|
D | property-and-class-extension.m | 20 @interface SomeClass : Super { interface 28 @interface SomeClass () { interface in int 33 @implementation SomeClass implementation
|
/external/clang/test/Analysis/inlining/ |
D | false-positive-suppression.cpp | 43 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 …]
|
D | false-positive-suppression.m | 43 @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/ |
D | nullability-consistency-2.h | 11 @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/ |
D | NewDelete-checker-test.cpp | 118 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()
|
D | nullability_nullonly.mm | 127 @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;
|
D | objc-message.m | 6 @interface SomeClass interface 11 void consistencyOfReturnWithNilReceiver(SomeClass *o) { 22 void maybeNilReceiverIsNotNilAfterMessage(SomeClass *o) { 31 void nilReceiverIsStillNilAfterMessage(SomeClass *o) {
|
D | new.cpp | 12 class SomeClass { class 111 SomeClass *c = new SomeClass; in testUseAfter() 168 SomeClass *c = new SomeClass; in testUsingThisAfterDelete()
|
D | blocks.m | 218 @interface SomeClass : SuperClass interface 223 @implementation SomeClass implementation 225 /*__weak*/ SomeClass *weakSelf = self; 227 SomeClass *self = weakSelf;
|
/external/clang/test/CodeGenObjC/ |
D | property-incr-decr-1.m | 7 @interface SomeClass : Object interface 14 @implementation SomeClass implementation 21 SomeClass *o = [SomeClass new];
|
D | arc-loadweakretained-release.m | 6 @interface SomeClass : NSObject interface 10 @implementation SomeClass implementation 21 SomeClass *objPtr1 = [[SomeClass alloc] init]; 22 __weak SomeClass *weakRef = objPtr1;
|
/external/clang/test/CodeGenCXX/ |
D | debug-info-friend.cpp | 5 class SomeClass { class 10 SomeClass *x; 13 static void func(SomeClass::SomeType) { in func()
|
/external/mockito/src/test/java/org/mockitousage/junitrunner/ |
D | DeepStubbingWithJUnitRunnerTest.java | 12 private final SomeClass someClass = new SomeClass(); 24 public static class SomeClass { class in DeepStubbingWithJUnitRunnerTest
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | AbstractByteBuddyMockMakerTest.java | 68 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() 80 …SomeClass mock = mockMaker.createMock(settingsFor(SomeClass.class, SomeInterface.class), dummyH()); in should_use_ancillary_Types() 121 class SomeClass {} class in AbstractByteBuddyMockMakerTest
|
D | SubclassByteBuddyMockMakerTest.java | 43 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/ |
D | MockNameImplTest.java | 17 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
|
D | MockUtilTest.java | 81 class SomeClass {} class in MockUtilTest 91 assertTrue(MockUtil.typeMockabilityOf(SomeClass.class).mockable()); in should_know_if_type_is_mockable()
|
/external/python/cpython2/Lib/test/ |
D | test_weakset.py | 19 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/ |
D | ConstructorInstantiatorTest.java | 13 static class SomeClass { class in ConstructorInstantiatorTest 33 …sertEquals(new ConstructorInstantiator(null).newInstance(SomeClass.class).getClass(), SomeClass.cl… in creates_instances()
|
/external/clang/test/Index/ |
D | index-pch-objc.m | 4 @interface SomeClass interface 7 @implementation SomeClass implementation
|
/external/clang/test/SemaCXX/ |
D | typo-correction-delayed.cpp | 121 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/ |
D | instantiate-function-1.cpp | 243 class SomeClass { class 248 int i = HasIndexMetamethod<SomeClass>::value;
|
/external/v8/tools/clang/plugins/tests/ |
D | ipc.cpp | 129 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/ |
D | assume-values-with-return-value.flags | 5 -assumevalues class com.example.SomeClass {
|