/external/clang/test/ARCMT/ |
D | autoreleases.m | 34 [_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];
|
D | checking.m | 20 - (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}}
|
D | Common.h | 36 - (id)autorelease NS_AUTOMATED_REFCOUNT_UNAVAILABLE; 102 return [(id)CFMakeCollectable(X) autorelease]; in CFBridgingRelease()
|
D | atautorelease-2.m.result | 10 -autorelease;
|
D | dealloc.m.result | 7 - (id)autorelease;
|
/external/clang/test/SemaObjC/ |
D | gcc-cast-ext.m | 9 - 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-…
|
D | ivar-access-package.m | 12 -autorelease; method 42 A *a = [[A new] autorelease]; 43 B *b = [[B new] autorelease];
|
/external/clang/test/Analysis/ |
D | variadic-method-types.m | 22 - (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…
|
D | objc-subscript.m | 9 -(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}}
|
D | properties.m | 21 -(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 …]
|
D | PR2599.m | 15 - (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] )
|
D | analyzeOneFunction.m | 14 -(id)autorelease; method 39 Test1 *cell = [[[Test1 alloc] init] autorelease]; 48 Test1 *cell = [[[Test1 alloc] init] autorelease];
|
D | NSString.m | 48 - (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/ |
D | GTMLogger.m | 51 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/ |
D | complete-objc-message-id.m | 11 - (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/ |
D | no-vararg-messaging.m | 11 -(id)autorelease; method 16 [[[[[[Foo alloc] init] retain] autorelease] self] release];
|
/external/skia/src/views/mac/ |
D | SkOptionsTableView.mm | 170 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/ |
D | GTMSenTestCase.m | 69 [[[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/ |
D | conversion-to-objc-pointer-2.mm | 9 - (id) autorelease; method 82 NSObject* object1 = [[[NSObject alloc] init] autorelease];
|
D | related-result-type-inference.mm | 12 - autorelease; method 51 __typeof__(([[[[NSString new] self] retain] autorelease])) *str2 = (NSString **)0;
|
/external/skia/experimental/iOSSampleApp/Shared/ |
D | SkOptionsTableViewController.mm | 179 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/ |
D | empty-block.ll | 12 ; Don't delete the autorelease. 36 ; Do delete the autorelease, even with the retain in a different block.
|
D | rv.ll | 139 ; 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,
|
D | contract.ll | 60 ; 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/ |
D | fixit-autoreleasepool.m | 5 @autorelease {
|