/external/protobuf/objectivec/Tests/ |
D | GPBUnknownFieldSetTest.m | 64 GPBUnknownFieldSet *set = [[[GPBUnknownFieldSet alloc] init] autorelease]; 65 GPBUnknownField* field = [[[GPBUnknownField alloc] initWithNumber:0] autorelease]; 72 GPBUnknownFieldSet *set1 = [[[GPBUnknownFieldSet alloc] init] autorelease]; 75 GPBUnknownFieldSet *set2 = [[[GPBUnknownFieldSet alloc] init] autorelease]; 81 GPBUnknownField* field1 = [[[GPBUnknownField alloc] initWithNumber:1] autorelease]; 85 GPBUnknownField* field2 = [[[GPBUnknownField alloc] initWithNumber:1] autorelease]; 93 field1 = [[[GPBUnknownField alloc] initWithNumber:2] autorelease]; 97 field2 = [[[GPBUnknownField alloc] initWithNumber:2] autorelease]; 105 field1 = [[[GPBUnknownField alloc] initWithNumber:3] autorelease]; 109 field2 = [[[GPBUnknownField alloc] initWithNumber:3] autorelease]; [all …]
|
D | GPBExtensionRegistryTest.m | 42 GPBExtensionRegistry *reg = [[[GPBExtensionRegistry alloc] init] autorelease]; 62 GPBExtensionRegistry *reg1 = [[[GPBExtensionRegistry alloc] init] autorelease]; 65 GPBExtensionRegistry *reg2 = [[reg1 copy] autorelease]; 100 GPBExtensionRegistry *reg1 = [[[GPBExtensionRegistry alloc] init] autorelease]; 103 GPBExtensionRegistry *reg2 = [[[GPBExtensionRegistry alloc] init] autorelease];
|
/external/cronet/third_party/protobuf/objectivec/Tests/ |
D | GPBUnknownFieldSetTest.m | 64 GPBUnknownFieldSet *set = [[[GPBUnknownFieldSet alloc] init] autorelease]; 65 GPBUnknownField* field = [[[GPBUnknownField alloc] initWithNumber:0] autorelease]; 72 GPBUnknownFieldSet *set1 = [[[GPBUnknownFieldSet alloc] init] autorelease]; 75 GPBUnknownFieldSet *set2 = [[[GPBUnknownFieldSet alloc] init] autorelease]; 81 GPBUnknownField* field1 = [[[GPBUnknownField alloc] initWithNumber:1] autorelease]; 85 GPBUnknownField* field2 = [[[GPBUnknownField alloc] initWithNumber:1] autorelease]; 93 field1 = [[[GPBUnknownField alloc] initWithNumber:2] autorelease]; 97 field2 = [[[GPBUnknownField alloc] initWithNumber:2] autorelease]; 105 field1 = [[[GPBUnknownField alloc] initWithNumber:3] autorelease]; 109 field2 = [[[GPBUnknownField alloc] initWithNumber:3] autorelease]; [all …]
|
D | GPBExtensionRegistryTest.m | 42 GPBExtensionRegistry *reg = [[[GPBExtensionRegistry alloc] init] autorelease]; 62 GPBExtensionRegistry *reg1 = [[[GPBExtensionRegistry alloc] init] autorelease]; 65 GPBExtensionRegistry *reg2 = [[reg1 copy] autorelease]; 100 GPBExtensionRegistry *reg1 = [[[GPBExtensionRegistry alloc] init] autorelease]; 103 GPBExtensionRegistry *reg2 = [[[GPBExtensionRegistry alloc] init] autorelease];
|
/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 __attribute__((unavailable)); // expected-note 2 {{'autorelease' has been explici… 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}}
|
/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 | 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 | nullability-no-arc.mm | 8 - (instancetype)autorelease; method 82 return [[[self alloc] initWithNonnullReturnAndSelfCheckingIdiom] autorelease]; // no-warning 86 return [[[self alloc] initWithNonnullReturnAndNilReturnViaLocal] autorelease]; // no-warning 90 return [[[self alloc] initWithPreconditionViolation:p] autorelease]; // no-warning
|
D | analyzeOneFunction.m | 14 -(id)autorelease; method 39 Test1 *cell = [[[Test1 alloc] init] autorelease]; 48 Test1 *cell = [[[Test1 alloc] init] autorelease];
|
D | properties.m | 21 -(id)autorelease; method 55 Test1 *cell = [[[Test1 alloc] init] autorelease]; 116 return [value autorelease]; // expected-warning {{Object autoreleased too many times}} 125 return [result autorelease]; // expected-warning {{Object autoreleased too many times}} 154 Person *p = [[[Person alloc] init] autorelease]; 729 [_ownedProp autorelease]; 735 [_ivarOnly autorelease]; 741 [_ownedProp autorelease]; 742 [_ownedProp autorelease]; 748 [_ivarOnly autorelease]; [all …]
|
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/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/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/google-breakpad/src/common/mac/testing/ |
D | GTMSenTestCase.m | 65 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 85 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 106 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 129 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 157 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 178 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 203 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 220 return [[[self alloc] initWithInvocation:anInvocation] autorelease]; 280 // Wrap things in autorelease pools because they may 313 [e autorelease];
|
/external/cronet/testing/iossim/ |
D | iossim.mm | 42 [[[NSString alloc] initWithFormat:format arguments:list] autorelease]; 114 [[simctl_list[@"runtimes"] mutableCopy] autorelease]; 132 [[simctl_list[@"devicetypes"] mutableCopy] autorelease]; 147 initWithArguments:@[ @"simctl", @"list", @"-j" ]] autorelease]; 237 autorelease]; 261 initWithArguments:@[ @"simctl", @"getenv", udid, @"HOME" ]] autorelease]; 268 initWithArguments:@[ @"simctl", @"shutdown", udid ]] autorelease]; 274 initWithArguments:@[ @"simctl", @"erase", udid ]] autorelease]; 280 initWithArguments:@[ @"killall", @"Simulator" ]] autorelease]; 359 ]] autorelease]; [all …]
|
/external/clang/test/CodeGenObjC/ |
D | no-vararg-messaging.m | 11 -(id)autorelease; method 16 [[[[[[Foo alloc] init] retain] autorelease] self] release];
|
/external/cronet/base/mac/ |
D | scoped_nsobject_unittest_arc.mm | 23 // result is an extra retain and pending autorelease. 27 // made within an autorelease pool to ensure that those pending autoreleases 31 // https://www.mikeash.com/pyblog/friday-qa-2014-05-09-when-an-autorelease-isnt.html 39 // pending autorelease. 105 p6.autorelease();
|
/external/clang/test/SemaObjCXX/ |
D | conversion-to-objc-pointer-2.mm | 9 - (id) autorelease; method 82 NSObject* object1 = [[[NSObject alloc] init] autorelease];
|
/external/cronet/third_party/protobuf/objectivec/ |
D | GPBArray.m | 84 //% return [[[self alloc] init] autorelease]; 90 //% return [[(GPB##NAME##Array*)[self alloc] initWithValues:&value count:1] autorelease]; 94 //% return [[(GPB##NAME##Array*)[self alloc] initWithValueArray:array] autorelease]; 98 //% return [[[self alloc] initWithCapacity:count] autorelease]; 312 return [[[self alloc] init] autorelease]; 318 return [[(GPBInt32Array*)[self alloc] initWithValues:&value count:1] autorelease]; 322 return [[(GPBInt32Array*)[self alloc] initWithValueArray:array] autorelease]; 326 return [[[self alloc] initWithCapacity:count] autorelease]; 562 return [[[self alloc] init] autorelease]; 568 return [[(GPBUInt32Array*)[self alloc] initWithValues:&value count:1] autorelease]; [all …]
|
/external/protobuf/objectivec/ |
D | GPBArray.m | 84 //% return [[[self alloc] init] autorelease]; 90 //% return [[(GPB##NAME##Array*)[self alloc] initWithValues:&value count:1] autorelease]; 94 //% return [[(GPB##NAME##Array*)[self alloc] initWithValueArray:array] autorelease]; 98 //% return [[[self alloc] initWithCapacity:count] autorelease]; 312 return [[[self alloc] init] autorelease]; 318 return [[(GPBInt32Array*)[self alloc] initWithValues:&value count:1] autorelease]; 322 return [[(GPBInt32Array*)[self alloc] initWithValueArray:array] autorelease]; 326 return [[[self alloc] initWithCapacity:count] autorelease]; 562 return [[[self alloc] init] autorelease]; 568 return [[(GPBUInt32Array*)[self alloc] initWithValues:&value count:1] autorelease]; [all …]
|
/external/antlr/runtime/ObjC/Framework/ |
D | LinkedList.m | 73 @throw [[[NoSuchElementException alloc] init] autorelease]; 89 @throw [[[NoSuchElementException alloc] init] autorelease]; 109 @throw [[[IllegalStateException alloc] init] autorelease]; 123 @throw [[[IllegalStateException alloc] init] autorelease]; 143 @throw [[[ConcurrentModificationException alloc] init] autorelease]; 257 LLNode *newNode = [[LLNode newNode:nil element:e next:f] autorelease]; 274 LLNode *newNode = [[LLNode newNode:l element:e next:nil] autorelease]; 291 LLNode *newNode = [[LLNode newNode:pred element:e next:succ] autorelease]; 381 @throw [[[NoSuchElementException alloc] init] autorelease]; 396 @throw [[[NoSuchElementException alloc] init] autorelease]; [all …]
|