Home
last modified time | relevance | path

Searched refs:retain (Results 1 – 25 of 2337) sorted by relevance

12345678910>>...94

/external/clang/test/ARCMT/
Dretains.m12 @property (retain) id bar;
28 [x retain];
31 [obj retain];
33 [Something_Macro(@"foo", "@bar") retain];
35 [IhaveSideEffect() retain];
37 [[self something] retain];
39 [[self retain] something];
41 [[IhaveSideEffect() retain] release];
42 [[x retain] release];
45 return [self retain];
[all …]
Dcheck-with-serialized-diag.m3 - (id)retain; method
32 [unsafeS->unsafeObj retain];
33 id foo = [unsafeS->unsafeObj retain]; // no warning.
34 [global_foo retain];
42 …with-serialized-diag.m:32:4: error: [rewriter] it is not safe to remove 'retain' message on an __u…
44 …with-serialized-diag.m:34:4: error: [rewriter] it is not safe to remove 'retain' message on a glob…
46 …EXT: {{.*}}check-with-serialized-diag.m:32:23: error: ARC forbids explicit message send of 'retain'
49 …EXT: {{.*}}check-with-serialized-diag.m:34:15: error: ARC forbids explicit message send of 'retain'
Dassign-prop-with-arc-runtime.m40 @property (retain) id def1;
41 @property (atomic,retain) id def2;
42 @property (retain,atomic) id def3;
55 assign_plus3 = [parm retain];
60 @property (retain,readonly) TestExt *x1;
65 @property (retain,readwrite) TestExt *x1; category
67 @property (retain) TestExt *x3;
/external/clang/test/SemaObjC/
Dwarn-retain-block-property.m14 @property (retain) void (^aBlock)(void);
15 @property (weak, retain) void (^aBlockW)(void);
16 @property (strong, retain) void (^aBlockS)(void); // OK
17 @property (readonly, retain) void (^aBlockR)(void); // OK
18 @property (copy, retain) void (^aBlockC)(void);
19 @property (assign, retain) void (^aBlockA)(void);
34 // CHECK-ARC: 14:1: warning: retain'ed block property does not copy the block - use copy attribute …
35 // CHECK-ARC: @property (retain) void (^aBlock)(void);
37 // CHECK-ARC: 15:1: error: property attributes 'retain' and 'weak' are mutually exclusive
38 // CHECK-ARC: @property (weak, retain) void (^aBlockW)(void);
[all …]
Dproperty-10.m8 @property(retain) int p1; // expected-error {{property with 'retain (or strong)' attribute must be …
9 @property(strong) int s1; // expected-error {{property with 'retain (or strong)' attribute must be …
14 @property(assign, retain) id p3_1; // expected-error {{property attributes 'assign' and 'retain' ar…
16 @property(copy, retain) id p3_2; // expected-error {{property attributes 'copy' and 'retain' are mu…
18retain) id p3_3; // expected-error {{property attributes 'assign' and 'copy' are mutually exclusiv…
22 @property(unsafe_unretained, retain) id p4_1; // expected-error {{property attributes 'unsafe_unret…
24retain) id p4_3; // expected-error {{property attributes 'unsafe_unretained' and 'copy' are mutual…
27 @property id p4; // expected-warning {{no 'assign', 'retain', or 'copy' attribute is specified - 'a…
35 @property (retain) int PROP; // expected-error {{property with 'retain (or strong)' attribute must … category
36 @property (strong) int SPROP; // expected-error {{property with 'retain (or strong)' attribute must…
Dwarn-retain-cycle.m1 …objc-runtime-has-weak -fobjc-arc -fblocks -verify -Wno-objc-root-class -Wno-implicit-retain-self %s
12 …]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
14 …}; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
17 …]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
19 // These actually don't cause retain cycles.
25 // These do cause retain cycles, but we're not clever enough to figure that out.
31 … // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}} \
36 @property (retain) void (^strong)(void); // expected-warning {{retain'ed block property does not co…
43 @property (retain) BlockOwner *owner;
48 …x->owner.strong = ^{ (void) x; }; // expected-warning {{retain cycle}} expected-note {{block will …
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/content_settings/
Dcookie_details.mm126 name_.reset([base::SysUTF8ToNSString(cookie->Name()) retain]);
127 content_.reset([base::SysUTF8ToNSString(cookie->Value()) retain]);
128 path_.reset([base::SysUTF8ToNSString(cookie->Path()) retain]);
129 domain_.reset([base::SysUTF8ToNSString(cookie->Domain()) retain]);
133 base::TimeFormatFriendlyDateAndTime(cookie->ExpiryDate())) retain]);
136 IDS_COOKIES_COOKIE_EXPIRES_SESSION) retain]);
140 base::TimeFormatFriendlyDateAndTime(cookie->CreationDate())) retain]);
144 IDS_COOKIES_COOKIE_SENDFOR_SECURE) retain]);
147 IDS_COOKIES_COOKIE_SENDFOR_ANY) retain]);
159 databaseInfo->description) retain]);
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.h72 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
91 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
110 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
129 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
148 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
167 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
186 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
205 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
224 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
243 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
[all …]
DSimpleCParser.m60 return [[[DFA2 alloc] initWithRecognizer:aRecognizer] retain];
237 return [[[SimpleCParser_program_return alloc] init] retain];
256 if (aTree != nil) [aTree retain];
277 return [[[SimpleCParser_declaration_return alloc] init] retain];
296 if (aTree != nil) [aTree retain];
317 return [[[SimpleCParser_variable_return alloc] init] retain];
336 if (aTree != nil) [aTree retain];
357 return [[[SimpleCParser_declarator_return alloc] init] retain];
376 if (aTree != nil) [aTree retain];
397 return [[[SimpleCParser_functionHeader_return alloc] init] retain];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCParser.h54 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
68 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
82 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
96 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
110 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
124 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
138 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
152 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
166 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
180 @property (retain, getter=getTree, setter=setTree:) ANTLRCommonTree *tree;
[all …]
DSimpleCParser.m21 // 1. Redistributions of source code must retain the above copyright
85 return [[[DFA2 alloc] initWithRecognizer:aRecognizer] retain];
261 return [[[SimpleCParser_program_return alloc] init] retain];
274 if (aTree != nil) [aTree retain];
293 return [[[SimpleCParser_declaration_return alloc] init] retain];
306 if (aTree != nil) [aTree retain];
325 return [[[SimpleCParser_variable_return alloc] init] retain];
338 if (aTree != nil) [aTree retain];
357 return [[[SimpleCParser_declarator_return alloc] init] retain];
370 if (aTree != nil) [aTree retain];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreeIterator.h52 @property(retain) id<ANTLRTreeAdaptor> adaptor;
53 @property(retain) id<ANTLRBaseTree> root;
54 @property(retain) id<ANTLRBaseTree> tree;
55 @property(retain) ANTLRFastQueue *nodes;
56 @property(retain, readwrite) id<ANTLRBaseTree> up;
57 @property(retain, readwrite) id<ANTLRBaseTree> down;
58 @property(retain, readwrite) id<ANTLRBaseTree> eof;
DANTLRTreeIterator.m12 // 1. Redistributions of source code must retain the above copyright
53 nodes = [[ANTLRFastQueue newANTLRFastQueue] retain];
54 down = [[adaptor createTree:ANTLRTokenTypeDOWN Text:@"DOWN"] retain];
55 up = [[adaptor createTree:ANTLRTokenTypeUP Text:@"UP"] retain];
56 eof = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain];
68 adaptor = [[ANTLRCommonTreeAdaptor newTreeAdaptor] retain];
69 tree = [t retain];
71 nodes = [[ANTLRFastQueue newANTLRFastQueue] retain];
72 down = [[adaptor createTree:ANTLRTokenTypeDOWN Text:@"DOWN"] retain];
73 up = [[adaptor createTree:ANTLRTokenTypeUP Text:@"UP"] retain];
[all …]
DANTLRBufferedTreeNodeStream.h85 @property (retain, getter=getUp, setter=setUp:) id up;
86 @property (retain, getter=getDown, setter=setDown:) id down;
87 @property (retain, getter=eof, setter=setEof:) id eof;
88 @property (retain, getter=getNodes, setter=setNodes:) AMutableArray *nodes;
89 @property (retain, getter=getTreeSource, setter=setTreeSource:) id root;
90 @property (retain, getter=getTokenStream, setter=setTokenStream:) id<ANTLRTokenStream> tokens;
91 @property (retain, getter=getAdaptor, setter=setAdaptor:) ANTLRCommonTreeAdaptor *adaptor;
95 @property (retain, getter=getCalls, setter=setCalls:) ANTLRIntArray *calls;
96 @property (retain, getter=getEnum, setter=setEnum:) NSEnumerator *e;
97 @property (retain, getter=getCurrentSymbol, setter=setCurrentSymbol:) id currentSymbol;
DANTLRUnbufferedCommonTreeNodeStream.h59 @property (retain, getter=getRoot, setter=setRoot:) ANTLRCommonTree *root;
60 @property (retain, getter=getCurrentNode, setter=setCurrentNode:) ANTLRCommonTree *currentNode;
61 @property (retain, getter=getPreviousNode, setter=setPreviousNode:) ANTLRCommonTree *previousNode;
62 @property (retain, getter=getTreeAdaptor, setter=setTreeAdaptor:) id<ANTLRTreeAdaptor> treeAdaptor;
63 @property (retain, getter=getTokenStream, setter=setTokenStream:) id<ANTLRTokenStream> tokenStream;
64 @property (retain, getter=getNodeStack, setter=setNodeStack:) NSMutableArray *nodeStack;
65 @property (retain, getter=getIndexStack, setter=setIndexStackStack:) NSMutableArray *indexStack;
66 @property (retain, getter=getMarkers, setter=setMarkers:) ANTLRPtrBuffer *markers;
70 @property (retain, getter=getLookahead, setter=setLookahead:) NSMutableArray *lookahead;
DANTLRMapElement.m13 // 1. Redistributions of source code must retain the above copyright
80 index = [[NSNumber numberWithInteger: aTType] retain];
81 name = [[NSString stringWithString:aName] retain];
91 if ( node ) [node retain];
100 name = [[NSString stringWithString:aName] retain];
102 if ( node ) [node retain];
112 if ( node ) [node retain];
163 [aName retain];
176 [aNode retain];
185 name = [((ANTLRMapElement *)aNode).name retain];
[all …]
DANTLRRecognizerSharedState.m8 // 1. Redistributions of source code must retain the above copyright
53 return [[[ANTLRRecognizerSharedState alloc] init] retain];
58 return [[[ANTLRRecognizerSharedState alloc] initWithRuleLen:aLen] retain];
63 return [[[ANTLRRecognizerSharedState alloc] initWithState:aState] retain];
70 following = [[AMutableArray arrayWithCapacity:10] retain];
80 ruleMemo = [[ANTLRRuleStack newANTLRRuleStack:cnt] retain];
82 aHashRule = [[ANTLRHashRule newANTLRHashRuleWithLen:17] retain];
101 following = [[AMutableArray arrayWithCapacity:10] retain];
110 ruleMemo = [[ANTLRRuleStack newANTLRRuleStack:aLen] retain];
112 aHashRule = [[ANTLRHashRule newANTLRHashRuleWithLen:17] retain];
[all …]
/external/iproute2/tc/
Dm_pedit.c146 pack_key32(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey) in pack_key32() argument
154 tkey->val = htonl(tkey->val & retain); in pack_key32()
155 tkey->mask = htonl(tkey->mask | ~retain); in pack_key32()
162 pack_key16(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey) in pack_key16() argument
192 retain <<= stride; in pack_key16()
194 tkey->mask = retain|m[ind]; in pack_key16()
205 pack_key8(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey) in pack_key8() argument
227 retain <<= stride; in pack_key8()
228 tkey->mask = retain|m[ind]; in pack_key8()
268 parse_cmd(int *argc_p, char ***argv_p, __u32 len, int type,__u32 retain,struct tc_pedit_sel *sel,st… in parse_cmd() argument
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRBufferedTreeNodeStream.h84 @property (retain, getter=getUp, setter=setUp:) id<ANTLRTree> up;
85 @property (retain, getter=getDown, setter=setDown:) id<ANTLRTree> down;
86 @property (retain, getter=getEof, setter=setEof:) id<ANTLRTree> eof;
87 @property (retain, getter=getNodes, setter=setNodes:) NSMutableArray *nodes;
88 @property (retain, getter=getTreeSource, setter=setTreeSource:) id<ANTLRTree> root;
89 @property (retain, getter=getTokenStream, setter=setTokenStream:) id<ANTLRTokenStream> tokens;
90 @property (retain, getter=getAdaptor, setter=setAdaptor:) ANTLRCommonTreeAdaptor *adaptor;
94 @property (retain, getter=getCalls, setter=setCalls:) ANTLRIntArray *calls;
95 @property (retain, getter=getEnum, setter=setEnum:) NSEnumerator *e;
96 @property (retain, getter=getCurrentSymbol, setter=setCurrentSymbol:) id currentSymbol;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRBufferedTreeNodeStream.h84 @property (retain, getter=getUp, setter=setUp:) id<ANTLRTree> up;
85 @property (retain, getter=getDown, setter=setDown:) id<ANTLRTree> down;
86 @property (retain, getter=getEof, setter=setEof:) id<ANTLRTree> eof;
87 @property (retain, getter=getNodes, setter=setNodes:) NSMutableArray *nodes;
88 @property (retain, getter=getTreeSource, setter=setTreeSource:) id<ANTLRTree> root;
89 @property (retain, getter=getTokenStream, setter=setTokenStream:) id<ANTLRTokenStream> tokens;
90 @property (retain, getter=getAdaptor, setter=setAdaptor:) ANTLRCommonTreeAdaptor *adaptor;
94 @property (retain, getter=getCalls, setter=setCalls:) ANTLRIntArray *calls;
95 @property (retain, getter=getEnum, setter=setEnum:) NSEnumerator *e;
96 @property (retain, getter=getCurrentSymbol, setter=setCurrentSymbol:) id currentSymbol;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRBufferedTreeNodeStream.h84 @property (retain, getter=getUp, setter=setUp:) id<ANTLRTree> up;
85 @property (retain, getter=getDown, setter=setDown:) id<ANTLRTree> down;
86 @property (retain, getter=getEof, setter=setEof:) id<ANTLRTree> eof;
87 @property (retain, getter=getNodes, setter=setNodes:) NSMutableArray *nodes;
88 @property (retain, getter=getTreeSource, setter=setTreeSource:) id<ANTLRTree> root;
89 @property (retain, getter=getTokenStream, setter=setTokenStream:) id<ANTLRTokenStream> tokens;
90 @property (retain, getter=getAdaptor, setter=setAdaptor:) ANTLRCommonTreeAdaptor *adaptor;
94 @property (retain, getter=getCalls, setter=setCalls:) ANTLRIntArray *calls;
95 @property (retain, getter=getEnum, setter=setEnum:) NSEnumerator *e;
96 @property (retain, getter=getCurrentSymbol, setter=setCurrentSymbol:) id currentSymbol;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
DLangParser.m50 return [[[LangParser_start_return alloc] init] retain];
69 if (aTree != nil) [aTree retain];
90 return [[[LangParser_decl_return alloc] init] retain];
109 if (aTree != nil) [aTree retain];
130 return [[[LangParser_type_return alloc] init] retain];
149 if (aTree != nil) [aTree retain];
189 …itSetWithBits:(const unsigned long long *)FOLLOW_decl_in_start41_data Count:(NSUInteger)1] retain];
190 …BitSetWithBits:(const unsigned long long *)FOLLOW_type_in_decl50_data Count:(NSUInteger)1] retain];
191 …LRBitSetWithBits:(const unsigned long long *)FOLLOW_ID_in_decl52_data Count:(NSUInteger)1] retain];
192 …LRBitSetWithBits:(const unsigned long long *)FOLLOW_10_in_decl54_data Count:(NSUInteger)1] retain];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/
DSimpleCParser.m60 return [[[DFA2 alloc] initWithRecognizer:aRecognizer] retain];
251 …Bits:(const unsigned long long *)FOLLOW_declaration_in_program28_data Count:(NSUInteger)1] retain];
252 …its:(const unsigned long long *)FOLLOW_variable_in_declaration50_data Count:(NSUInteger)1] retain];
253 …onst unsigned long long *)FOLLOW_functionHeader_in_declaration60_data Count:(NSUInteger)1] retain];
254 …tWithBits:(const unsigned long long *)FOLLOW_11_in_declaration62_data Count:(NSUInteger)1] retain];
255 …onst unsigned long long *)FOLLOW_functionHeader_in_declaration75_data Count:(NSUInteger)1] retain];
256 …thBits:(const unsigned long long *)FOLLOW_block_in_declaration77_data Count:(NSUInteger)1] retain];
257 …etWithBits:(const unsigned long long *)FOLLOW_type_in_variable99_data Count:(NSUInteger)1] retain];
258 …its:(const unsigned long long *)FOLLOW_declarator_in_variable101_data Count:(NSUInteger)1] retain];
259 …SetWithBits:(const unsigned long long *)FOLLOW_11_in_variable103_data Count:(NSUInteger)1] retain];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/token/
DANTLRCommonTokenTest.m17 ANTLRCommonToken *token = [[ANTLRCommonToken newToken] retain];
24 ANTLRCommonToken *token = [[ANTLRCommonToken eofToken] retain];
32 ANTLRCommonToken *token = [[ANTLRCommonToken newToken:ANTLRTokenTypeUP] retain];
43 ANTLRCommonToken *token = [[ANTLRCommonToken newToken:ANTLRTokenTypeUP Text:@"<UP>"] retain];
53 … = [[ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"] retain];
54 …ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefault Start:4 Stop:5] retain];
65 … = [[ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"] retain];
66 …ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefault Start:4 Stop:5] retain];
72 ANTLRCommonToken *newToken = [[ANTLRCommonToken newTokenWithToken:token] retain];
90 … = [[ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"] retain];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
DTreeRewriteParser.m48 return [[[TreeRewriteParser_rule_return alloc] init] retain];
67 if (aTree != nil) [aTree retain];
88 return [[[TreeRewriteParser_subrule_return alloc] init] retain];
107 if (aTree != nil) [aTree retain];
147 …RBitSetWithBits:(const unsigned long long *)FOLLOW_INT_in_rule26_data Count:(NSUInteger)1] retain];
148 …SetWithBits:(const unsigned long long *)FOLLOW_subrule_in_rule28_data Count:(NSUInteger)1] retain];
149 …tSetWithBits:(const unsigned long long *)FOLLOW_INT_in_subrule53_data Count:(NSUInteger)1] retain];
152 @"INT", @"WS", nil] retain]];
165 …:aStream State:[[ANTLRRecognizerSharedState newANTLRRecognizerSharedStateWithRuleLen:2+1] retain]];
172 [self setTreeAdaptor:[[ANTLRCommonTreeAdaptor newTreeAdaptor] retain]];
[all …]

12345678910>>...94