HomeSort by relevance Sort by last modified time
    Searched full:retain (Results 26 - 50 of 31093) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/clang/test/SemaObjC/
nsobject-attribute-1.m 14 @property(retain) Foo_ref dict;
29 // do Properties retain?
36 // do Blocks retain?
protocol-lookup.m 4 - retain;
37 _foo = [foo retain];
38 _bar = [bar retain];
iboutletcollection-attr.m 13 @property (nonatomic, retain) __attribute__((iboutletcollection(I))) id prop1;
14 @property (nonatomic, retain) __attribute__((iboutletcollection(id))) id prop2;
15 @property (nonatomic, retain) __attribute__((iboutletcollection())) id prop3;
16 @property (nonatomic, retain) __attribute__((iboutletcollection)) id prop4;
28 @property (nonatomic, retain) __attribute__((iboutletcollection(I,2,3))) id prop1; // expected-error {{'iboutletcollection' attribute takes one argument}}
29 @property (nonatomic, retain) __attribute__((iboutletcollection(B))) id prop2; // expected-error {{invalid type 'B' as argument of iboutletcollection attribute}}
property-12.m 8 @property(readonly,retain) id X; // expected-warning {{property attributes 'readonly' and 'retain' are mutually exclusive}}
24 @property(assign,retain) id X; // expected-error {{property attributes 'assign' and 'retain' are mutually exclusive}}
28 @property(copy,retain) id X; // expected-error {{property attributes 'copy' and 'retain' are mutually exclusive}}
warn-retain-cycle.m 1 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime-has-weak -fobjc-arc -fblocks -verify -Wno-objc-root-class -Wno-implicit-retain-self %s
12 ^{ [x actNow]; }]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
14 ^{ [x actNow]; }; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
17 ^{ [x actNow]; }]; // 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 x.block = ^{ (void)x.actNow; }; // 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 copy the block - use copy attribute instead}}
43 @property (retain) BlockOwner *owner
    [all...]
  /external/clang/test/ARCMT/
releases.m 13 - (id)retain;
23 @property (retain) id bar;
33 [x retain];
70 id bar = [p retain];
76 return [p retain];
95 internal_var = [newone retain];
check-with-serialized-diag.m 3 - (id)retain;
32 [unsafeS->unsafeObj retain];
33 id foo = [unsafeS->unsafeObj retain]; // no warning.
34 [global_foo retain];
42 // CHECK: {{.*}}check-with-serialized-diag.m:32:4: error: [rewriter] it is not safe to remove 'retain' message on an __unsafe_unretained type
44 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:34:4: error: [rewriter] it is not safe to remove 'retain' message on a global variable
46 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:32:23: error: ARC forbids explicit message send of 'retain'
49 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:34:15: error: ARC forbids explicit message send of 'retain'
autoreleases.m 19 @property (retain) id prop;
20 @property (retain) xpc_object_t xpc_prop;
36 _prop = [newVal retain];
65 prevVal = [newVal retain];
69 [[val retain] autorelease];
  /external/clang/test/Analysis/
PR2978.m 22 @property(retain) id X;
23 @property(retain) id Y;
27 @property(retain) id M;
28 @property(retain) id V;
29 @property(retain) id W;
55 [self setW:@"newW"]; // This will release '_W', but retain the new value
  /external/clang/test/SemaObjCXX/
related-result-type-inference.mm 11 - (id)retain; // expected-note 2{{instance method 'retain' is assumed to return an instance of its receiver type ('NSArray *')}}
51 __typeof__(([[[[NSString new] self] retain] autorelease])) *str2 = (NSString **)0;
68 NSMutableArray *marr = [arr retain]; // expected-warning{{incompatible pointer types initializing 'NSMutableArray *' with an expression of type 'NSArray *'}}
69 marr = [arr retain]; // expected-warning{{incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *'}}
70 arr = [marr retain];
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRTreeIterator.h 13 // 1. Redistributions of source code must retain the above copyright
52 @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;
ANTLRTreeIterator.m 12 // 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...]
ANTLRRecognizerSharedState.m 8 // 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...]
ANTLRUnbufferedCommonTreeNodeStream.h 8 // 1. Redistributions of source code must retain the above copyright
59 @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
    [all...]
ANTLRCommonTreeNodeStream.m 8 // 1. Redistributions of source code must retain the above copyright
58 adaptor = [[ANTLRCommonTreeAdaptor newTreeAdaptor] retain];
59 root = [theTree retain];
60 navigationNodeEOF = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain]; // set EOF
61 it = [[ANTLRTreeIterator newANTRLTreeIteratorWithAdaptor:adaptor andTree:root] retain];
62 calls = [[ANTLRIntArray newArrayWithLen:INITIAL_CALL_STACK_SIZE] retain];
73 adaptor = [anAdaptor retain];
74 root = [theTree retain];
75 navigationNodeEOF = [[adaptor createTree:ANTLRTokenTypeEOF Text:@"EOF"] retain]; // set EOF
77 it = [[ANTLRTreeIterator newANTRLTreeIteratorWithAdaptor:adaptor andTree:root] retain];
    [all...]
ANTLRMapElement.m 13 // 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...]
ANTLRReaderStream.h 19 @property (retain) NSFileHandle *fh;
22 //@property (retain) NSData *data;
  /external/chromium_org/base/memory/
scoped_policy.h 17 // The scoped object will retain the the object and any initial ownership is
19 RETAIN
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/token/
ANTLRCommonTokenTest.m 17 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 *stream = [[ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"] retain];
54 ANTLRCommonToken *token = [[ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefault Start:4 Stop:5] retain];
65 ANTLRStringStream *stream = [[ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"] retain];
66 ANTLRCommonToken *token = [[ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefault Start:4 Stop:5] retain];
72 ANTLRCommonToken *newToken = [[ANTLRCommonToken newTokenWithToken:token] retain];
90 ANTLRStringStream *stream = [[ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"] retain];
    [all...]
  /external/clang/test/CodeGenObjC/
objc2-property-encode.m 8 @property(retain) StoreVersionID* foo;
  /external/llvm/test/Assembler/
2007-03-19-NegValue.ll 1 ; Test whether negative values > 64 bits retain their negativeness.
  /external/clang/test/Rewriter/
rewrite-modern-default-property-synthesis.mm 11 - (id) retain;
17 @property (retain) NSString* what;
26 @property (nonatomic, retain) NSString* what;
45 @property (nonatomic, retain) NSString* what;
58 _what = [value retain];
  /external/iproute2/tc/
m_pedit.h 50 extern int parse_cmd(int *argc_p, char ***argv_p, __u32 len, int type,__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey);
52 extern int pack_key32(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey);
53 extern int pack_key16(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey);
54 extern int pack_key8(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey);
56 extern int parse_cmd(int *argc_p, char ***argv_p, __u32 len, int type,__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey);
  /external/chromium/chrome/browser/ui/cocoa/
vertical_gradient_view.mm 14 gradient_.reset([gradient retain]);
22 strokeColor_.reset([strokeColor retain]);
  /external/chromium_org/chrome/browser/ui/cocoa/download/
download_shelf_context_menu_controller.mm 15 // Retain itemController since the lifetime of the ui::MenuModel is bound to
17 itemController_.reset([itemController retain]);

Completed in 3329 milliseconds

12 3 4 5 6 7 8 91011>>