Home
last modified time | relevance | path

Searched refs:autorelease (Results 1 – 25 of 84) sorted by relevance

1234

/external/clang/test/ARCMT/
Dautoreleases.m34 [_prop autorelease];
38 [_prop autorelease];
46 [_xpc_prop autorelease];
55 A *a = [[A new] autorelease];
56 B *b = [[B new] autorelease];
63 [prevVal autorelease];
68 [[val retain] autorelease];
74 [a autorelease];
Dchecking.m20 - (id)autorelease NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
49 - (id)autorelease; // expected-note 2 {{'autorelease' has been explicitly marked unavailable here}} method
67 - (id)autorelease { return self; } // expected-error {{ARC forbids implementation}} method
93 …[a autorelease]; // expected-error {{it is not safe to remove an unused 'autorelease' message; its…
95 // expected-error {{'autorelease' is unavailable}}
96 …[a autorelease]; // expected-error {{it is not safe to remove an unused 'autorelease' message; its…
98 // expected-error {{'autorelease' is unavailable}}
112 s = @selector(autorelease); // expected-error {{ARC forbids use of 'autorelease' in a @selector}}
DCommon.h36 - (id)autorelease NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
102 return [(id)CFMakeCollectable(X) autorelease]; in CFBridgingRelease()
Datautorelease-2.m.result10 -autorelease;
Ddealloc.m.result7 - (id)autorelease;
/external/clang/test/SemaObjC/
Dgcc-cast-ext.m9 - autorelease; // expected-note {{method 'autorelease' declared here}} method
17 @implementation PBXDocBookmark // expected-warning {{method definition for 'autorelease' not found}…
23 …rence:fileRef gylphRange:(NSRange)range anchor:(NSString *)htmlAnchor] autorelease]; // expected-…
Divar-access-package.m12 -autorelease; method
42 A *a = [[A new] autorelease];
43 B *b = [[B new] autorelease];
/external/clang/test/Analysis/
Dvariadic-method-types.m22 - (id)autorelease; method
82 …[[[NSArray alloc] initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument…
83 …[[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", "Bar", nil] autorelease]; // expected-warnin…
84 [[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", (void*) 0, nil] autorelease]; // no-warning
85 …[[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", kCGImageSourceShouldCache, nil] autorelease]…
86 [[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", fooType, nil] autorelease]; // no-warning
87 …[[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", barType, nil] autorelease]; // expected-warn…
88 …[[[NSSet alloc] initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument t…
89 …[[[NSOrderedSet alloc] initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Arg…
Dobjc-subscript.m9 -(id)autorelease; method
29 Test *cell = [[[Test alloc] init] autorelease];
42 return [self[self] autorelease]; // expected-warning{{Object autoreleased too many times}}
44 return [self[0] autorelease]; // expected-warning{{Object autoreleased too many times}}
Dproperties.m21 -(id)autorelease; method
54 Test1 *cell = [[[Test1 alloc] init] autorelease];
115 return [value autorelease]; // expected-warning {{Object autoreleased too many times}}
124 return [result autorelease]; // expected-warning {{Object autoreleased too many times}}
145 Person *p = [[[Person alloc] init] autorelease];
448 [_ownedProp autorelease];
454 [_ivarOnly autorelease];
460 [_ownedProp autorelease];
461 [_ownedProp autorelease];
467 [_ivarOnly autorelease];
[all …]
DPR2599.m15 - (id)autorelease; method
45 …py: (void*)(bytes) length: (len) encoding: NSUTF8StringEncoding freeWhenDone: (BOOL)0] autorelease]
47 …D(cf) ( (((void*)0) == (cf)) ? ((void*)0) : [(id) CFMakeCollectable( (CFTypeRef) cf) autorelease] )
49 …TIL_AUTORELEASE_CF_AS_ID_WITHOUT_TEST(cf) ( [(id) CFMakeCollectable( (CFTypeRef) cf) autorelease] )
DanalyzeOneFunction.m14 -(id)autorelease; method
39 Test1 *cell = [[[Test1 alloc] init] autorelease];
48 Test1 *cell = [[[Test1 alloc] init] autorelease];
DNSString.m48 - (id)autorelease; method
194 // Test regular use of -autorelease
201 return [str autorelease]; // no-warning
207 [s autorelease];
211 NSString *s = [[[NSString alloc] init] autorelease]; // expected-warning{{leak}}
216 NSString *s = [[[NSString alloc] init] autorelease];
218 [s autorelease];
228 [s autorelease];
/external/google-breakpad/src/common/mac/
DGTMLogger.m51 return [[gSharedLogger retain] autorelease];
56 [gSharedLogger autorelease];
66 autorelease];
67 id<GTMLogFilter> filter = [[[GTMLogLevelFilter alloc] init] autorelease];
70 filter:filter] autorelease];
101 autorelease];
107 autorelease]];
113 autorelease]];
118 filter:[[[GTMLogNoFilter alloc] init] autorelease]];
148 filter:filter] autorelease];
[all …]
/external/clang/test/Index/
Dcomplete-objc-message-id.m11 - (id)autorelease; method
51 // CHECK-CC1: ObjCInstanceMethodDecl:{ResultType id}{TypedText autorelease}
55 // CHECK-CC2: ObjCInstanceMethodDecl:{ResultType id}{TypedText autorelease}
59 // CHECK-CC3: ObjCInstanceMethodDecl:{ResultType id}{TypedText autorelease}
/external/clang/test/CodeGenObjC/
Dno-vararg-messaging.m11 -(id)autorelease; method
16 [[[[[[Foo alloc] init] retain] autorelease] self] release];
/external/skia/src/views/mac/
DSkOptionsTableView.mm170 return [[[SkTextFieldCell alloc] init] autorelease];
249 NSButtonCell* cell = [[[NSButtonCell alloc] init] autorelease];
257 NSPopUpButtonCell* cell = [[[NSPopUpButtonCell alloc] init] autorelease];
266 NSSliderCell* cell = [[[NSSliderCell alloc] init] autorelease];
274 NSButtonCell* cell = [[[NSButtonCell alloc] init] autorelease];
282 SkTextFieldCell* cell = [[[SkTextFieldCell alloc] init] autorelease];
290 NSButtonCell* cell = [[[NSButtonCell alloc] init] autorelease];
/external/google-breakpad/src/common/mac/testing/
DGTMSenTestCase.m69 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease];
89 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease];
110 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease];
133 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease];
161 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease];
182 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease];
207 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease];
224 return [[[self alloc] initWithInvocation:anInvocation] autorelease];
284 // Wrap things in autorelease pools because they may
317 [e autorelease];
/external/clang/test/SemaObjCXX/
Dconversion-to-objc-pointer-2.mm9 - (id) autorelease; method
82 NSObject* object1 = [[[NSObject alloc] init] autorelease];
Drelated-result-type-inference.mm12 - autorelease; method
51 __typeof__(([[[[NSString new] self] retain] autorelease])) *str2 = (NSString **)0;
/external/skia/experimental/iOSSampleApp/Shared/
DSkOptionsTableViewController.mm179 reuseIdentifier:nil] autorelease];
187 reuseIdentifier:nil] autorelease];
206 reuseIdentifier:nil] autorelease];
225 reuseIdentifier:nil] autorelease];
244 reuseIdentifier:nil] autorelease];
265 reuseIdentifier:nil] autorelease];
/external/llvm/test/Transforms/ObjCARC/
Dempty-block.ll12 ; Don't delete the autorelease.
36 ; Do delete the autorelease, even with the retain in a different block.
Drv.ll139 ; Don't apply the RV optimization to autorelease if there's no retain.
237 ; Like test19 but with plain autorelease.
261 ; Like test19 but with plain retain and autorelease.
273 ; Convert autoreleaseRV to autorelease.
283 ; Don't convert autoreleaseRV to autorelease if the result is returned,
Dcontract.ll60 ; Merge a retain,autorelease pair around a call.
74 ; Trivial retain,autorelease pair with intervening call, but it's post-dominated
75 ; by another release. The retain and autorelease can be merged.
93 ; Don't merge retain and autorelease if they're not control-equivalent.
/external/clang/test/FixIt/
Dfixit-autoreleasepool.m5 @autorelease {

1234