Home
last modified time | relevance | path

Searched refs:ivar (Results 1 – 25 of 116) sorted by relevance

12345

/external/clang/test/SemaObjC/
Dduplicate-ivar-in-class-extension.m12 int ivar; // expected-error {{duplicate member 'ivar'}} field
19 int ivar; // expected-note {{previous declaration is here}}
30 return self->ivar; // would be ambiguous if the duplicate ivar were allowed
Dinterface-layout-2.m5 int ivar; field
10 - (int)ivar; method
14 - (int)ivar { method
15 return ivar;
Dno-ivar-access-control.m9 int ivar; field
15 return self->ivar;
18 return p->ivar;
23 return p->ivar;
31 return arg->ivar;
Dstatic-ivar-ref-1.m7 int ivar; field
17 return pc->ivar2 + (*pc).ivar + pc->ivar1;
21 // CHECK: int ivar;
28 // CHECK: return pc->ivar2 + (*pc).ivar + pc->ivar1;
Dproperty-ivar-mismatch.m2 // Test that arithmatic types on property and its ivar have exact match.
6 char ivar; // expected-note{{instance variable is declared here}} field
12 @synthesize prop = ivar; // expected-error {{type of property 'prop' ('int') does not match type o…
Dproperty-13.m26 int ivar; field
37 @synthesize required = ivar;
40 - (int) optional_preexisting_setter_getter { return ivar; }
43 ivar = value;
45 - (void) setOptional_getter_attr:(int)value { ivar = value; }
Dwarn-direct-ivar-access.m1 …rc -fobjc-runtime-has-weak -fobjc-default-synthesize-properties -Wdirect-ivar-access -verify -Wno…
46 id ivar; field
52 x->ivar = 0; // expected-error {{dereferencing a __weak pointer is not allowed}}
53 return y ? y->ivar // expected-error {{dereferencing a __weak pointer is not allowed}}
54 : (*x).ivar; // expected-error {{dereferencing a __weak pointer is not allowed}}
Dobjc-buffered-methods.m22 - (int) func { return prop; } // compiles - synthesized ivar will be accessible here.
23 - (int)get_g { return global; } // No warning here - synthesized ivar will be accessible here.
/external/clang/test/Analysis/
Dunused-ivars.m16 // This test case tests the basic functionality of the unused ivar test.
24 // This test case tests whether the unused ivar check handles blocks that
30 @property (readwrite,retain) id ivar; property
34 - (id)ivar { method
48 // <rdar://problem/6260004> Detect that ivar is in use, if used in category
Dobjc-properties.m20 … (assign, nonatomic) MyClass* A; // explicitely synthesized, not implemented, non-default ivar name
26 @property (assign, nonatomic) MyClass* Z; // non synthesized ivar, implemented setter
27 …@property (readonly) id nonSynth; // non synthesized, explicitly implemented to return ivar with …
Dobjc_invalidation.m70 SomeInvalidationImplementingObject *Ivar1; // regular ivar
71 SomeInvalidationImplementingObject *Ivar2; // regular ivar, sending invalidate message
77 …SomeInvalidationImplementingObject *_propIvar; // property with custom named ivar, set to 0 via se…
78 Invalidation1Class *MultipleProtocols; // regular ivar belonging to a different class
79 Invalidation2Class *MultInheritance; // regular ivar belonging to a different class
198 // the parent and directly through a protocol. If a property backing ivar is
334 …/ TODO: It would be nice to check that the full invalidation method actually invalidates the ivar.
/external/clang/test/Rewriter/
Drewrite-cast-ivar-access.mm12 int ivar; field
19 int v = ((G *)arg)->ivar;
49 // CHECK-LP: ((struct G_IMPL *)arg)->ivar
Drewrite-modern-atautoreleasepool.mm12 id ivar;
23 return ivar;
Drewrite-cast-ivar-modern-access.mm11 int ivar; field
18 int v = ((G *)arg)->ivar;
/external/clang/test/SemaObjCXX/
Dmessage.mm14 typedef struct { int x; } ivar; typedef
17 id ivar; field
33 [ivar method];
41 [ivar method]; // expected-error{{receiver type 'ivar' is not an Objective-C class}}
Dpropert-dot-error.mm58 int ivar; field
66 …d->Forward::ivar = 12; // expected-error{{instance variable access cannot be qualified with 'Forwa…
68 d->D::ivar = 12; // expected-error{{expected a class or namespace}}
Dinstantiate-expr.mm5 int ivar; field
21 get_an_A(N)->ivar = value; // expected-error{{assigning to 'int' from incompatible type 'int *'}}
33 // ivar reference.
36 ptr->ivar = value; // expected-error{{assigning to 'int' from incompatible type 'int *'}}
/external/clang/test/Analysis/objc/
Ddirect-ivar-assignment-in-annotated-functions.m29 … (assign, nonatomic) MyClass* A; // explicitely synthesized, not implemented, non-default ivar name
35 @property (assign, nonatomic) MyClass* Z; // non synthesized ivar, implemented setter
36 …@property (readonly) id nonSynth; // non synthesized, explicitly implemented to return ivar with …
38 @property (assign) MyClass* NotA; // warnings should be suppressed, backing ivar is annotated
/external/clang/test/FixIt/
Dtypo-crash.m5 - (int)method { return ivar; } // expected-error{{use of undeclared identifier 'ivar'}}
/external/clang/test/Index/
Dindex-decls.m45 // CHECK: [indexDeclaration]: kind: objc-ivar | name: _prop | {{.*}} | loc: 11:20
49 // CHECK: [indexDeclaration]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 20:33
50 // CHECK: [indexEntityReference]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 25:3
/external/clang/test/PCH/
Dobjcxx-ivar-class.mm2 // RUN: %clang_cc1 -include %S/objcxx-ivar-class.h -verify %s -emit-llvm -o - | FileCheck %s
5 // RUN: %clang_cc1 -x objective-c++-header -emit-pch -o %t %S/objcxx-ivar-class.h
/external/clang/test/CodeGenObjC/
Dautorelease.m8 id ivar; field
19 return ivar;
Ddebug-info-blocks.m27 int ivar; field
43 ivar = 42 + (int)[d count];
/external/clang/lib/CodeGen/
DCGObjC.cpp486 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, in emitStructGetterCall() argument
492 ivar, 0).getAddress(); in emitStructGetterCall()
504 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); in emitStructGetterCall()
594 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy() local
595 QualType ivarType = ivar->getType(); in PropertyImplStrategy()
650 if (ivar->isBitField()) { in PropertyImplStrategy()
755 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall() argument
767 CGF.LoadObjCSelf(), ivar, 0).getAddress(); in emitCPPObjectAtomicGetterCall()
796 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody() local
798 ivar, AtomicHelperFn); in generateObjCGetterBody()
[all …]
/external/svox/pico/lib/
Dpicocep.c967 picoos_int32 mean, ivar; in makeWUWandWUm() local
1015 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm()
1017 … prev_diag0 = cep->diag0[i] = ivar << 2; /* multiply ivar by 4 (4 used to be first entry of xsq) */ in makeWUWandWUm()
1026 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm()
1028 cep->diag0[i] += xsq[j] * ivar; in makeWUWandWUm()
1040 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm()
1042 cep->diag0[i] += xsq[numd + j] * ivar; in makeWUWandWUm()
1110 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm()
1112 cep->diag2[i] -= (ivar + 2) / 4; in makeWUWandWUm()
1139 picoos_int32 mean = 0, ivar = 0; in getFromPdf() local
[all …]

12345