Home
last modified time | relevance | path

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

12345678910>>...85

/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 …NEXT: {{.*}}check-with-serialized-diag.m:32:4: error: ARC forbids explicit message send of 'retain'
49 …NEXT: {{.*}}check-with-serialized-diag.m:34:4: error: ARC forbids explicit message send of 'retain'
/external/clang/test/Analysis/
Dretain-release-path-notes.m8 This file is for testing the path-sensitive notes for retain/release errors.
10 not to actually check all possible retain/release errors.
13 GC-specific notes should go in retain-release-path-notes-gc.m.
23 - (id)retain; method
30 @property(retain) id propertyValue;
45 …pected-warning{{leak}} expected-note{{Method returns an Objective-C object with a +1 retain count}}
46 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
50 …ote{{Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count}}
51 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
55 …pected-warning{{leak}} expected-note{{Method returns an Objective-C object with a +0 retain count}}
[all …]
Dretain-release-path-notes-gc.m4 This file is for testing the path-sensitive notes for retain/release errors.
6 not to actually check all possible retain/release errors.
9 Non-specific and ref-count-only notes should go in retain-release-path-notes.m.
19 - (id)retain; method
26 @property(retain) id propertyValue;
41 … function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Found…
42 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
46 … function 'CFCreateSomething' returns a Core Foundation object with a +1 retain count. Core Found…
47 …CFRetain(leaked); // expected-note{{Reference count incremented. The object now has a +2 retain co…
48retain count and registers the object with the garbage collector. An object must have a 0 retain c…
[all …]
/external/chromium/chrome/browser/ui/cocoa/content_settings/
Dcookie_details.mm125 name_.reset([base::SysUTF8ToNSString(cookie->Name()) retain]);
126 content_.reset([base::SysUTF8ToNSString(cookie->Value()) retain]);
127 path_.reset([base::SysUTF8ToNSString(cookie->Path()) retain]);
128 domain_.reset([origin retain]);
132 base::TimeFormatFriendlyDateAndTime(cookie->ExpiryDate())) retain]);
135 IDS_COOKIES_COOKIE_EXPIRES_SESSION) retain]);
139 base::TimeFormatFriendlyDateAndTime(cookie->CreationDate())) retain]);
143 IDS_COOKIES_COOKIE_SENDFOR_SECURE) retain]);
146 IDS_COOKIES_COOKIE_SENDFOR_ANY) retain]);
158 databaseInfo->description) retain]);
[all …]
/external/clang/test/SemaObjC/
Darc-retain-block-property.m11 @property (retain) void (^aBlock)(void); // expected-warning {{retain'ed block property does not co…
12 @property (weak, retain) void (^aBlockW)(void); // expected-error {{property attributes 'retain' an…
13 @property (strong, retain) void (^aBlockS)(void); // OK
14 @property (readonly, retain) void (^aBlockR)(void); // OK
15 @property (copy, retain) void (^aBlockC)(void); // expected-error {{property attributes 'copy' and …
16 @property (assign, retain) void (^aBlockA)(void); // expected-error {{property attributes 'assign' …
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.m10 …]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
12 …}; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
15 …]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
17 // These actually don't cause retain cycles.
23 // These do cause retain cycles, but we're not clever enough to figure that out.
30 @property (retain) void (^strong)(void); // expected-warning {{retain'ed block property does not co…
37 @property (retain) BlockOwner *owner;
42 …x->owner.strong = ^{ (void) x; }; // expected-warning {{retain cycle}} expected-note {{block will …
43 …x.owner.strong = ^{ (void) x; }; // expected-warning {{retain cycle}} expected-note {{block will b…
57 …self.owner.strong = ^{ (void) owner; }; // expected-warning {{retain cycle}} expected-note {{block…
[all …]
Dproperty-12.m8 @property(readonly,retain) id X; // expected-warning {{property attributes 'readonly' and 'retain' …
24 @property(assign,retain) id X; // expected-error {{property attributes 'assign' and 'retain' are mu…
28 @property(copy,retain) id X; // expected-error {{property attributes 'copy' and 'retain' are mutual…
/external/chromium/chrome/browser/ui/cocoa/importer/
Dimport_progress_dialog_cocoa.h49 @property(nonatomic, retain) NSString* explanatoryText;
50 @property(nonatomic, retain) NSString* favoritesStatusText;
51 @property(nonatomic, retain) NSString* searchStatusText;
52 @property(nonatomic, retain) NSString* savedPasswordStatusText;
53 @property(nonatomic, retain) NSString* historyStatusText;
55 @property(nonatomic, retain) NSColor* favoritesImportEnabled;
56 @property(nonatomic, retain) NSColor* searchImportEnabled;
57 @property(nonatomic, retain) NSColor* passwordImportEnabled;
58 @property(nonatomic, retain) NSColor* historyImportEnabled;
/external/webkit/Source/WebCore/bindings/objc/
DPublicDOMInterfaces.h37 @property(readonly, retain) DOMElement *ownerElement;
38 @property(readonly, retain) DOMCSSStyleDeclaration *style AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;
74 @property(readonly, retain) DOMDocument *document;
78 @property(readonly, retain) DOMDocumentType *doctype;
79 @property(readonly, retain) DOMImplementation *implementation;
80 @property(readonly, retain) DOMElement *documentElement;
81 @property(readonly, retain) DOMAbstractView *defaultView;
82 @property(readonly, retain) DOMStyleSheetList *styleSheets;
83 @property(readonly, retain) DOMHTMLCollection *images;
84 @property(readonly, retain) DOMHTMLCollection *applets;
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
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 …]
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 …]
/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 …]
/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/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/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/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 …]

12345678910>>...85