Home
last modified time | relevance | path

Searched full:autorelease (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/external/cronet/tot/third_party/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m64 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 …]
/external/cronet/stable/third_party/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m64 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 …]
/external/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m64 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 …]
/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 __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/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/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…
Dnullability-no-arc.mm8 - (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
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}}
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] )
/external/cronet/tot/base/apple/
Dscoped_nsautorelease_pool.h17 // ScopedNSAutoreleasePool creates an autorelease pool when instantiated and
18 // pops it when destroyed. This allows an autorelease pool to be maintained in
21 // Before using, please be aware that the semantics of autorelease pools do not
48 // Pushes the autorelease pool and does all required verification.
51 // Pops the autorelease pool and does all required verification.
Dscoped_nsautorelease_pool.mm18 // Note that this uses the direct runtime interface to the autorelease pool.
50 // the stack for each invocation of an autorelease pool push. Even though one is
51 // allowed to clear out an entire stack of autorelease pools by releasing one
101 NSLog(@"Popping autorelease pool at level %lu while pools exist through "
109 @"release; expect the autorelease machinery to crash.");
119 NSLog(@"Autorelease pool level %lu was pushed:\n%@",
/external/cronet/stable/base/apple/
Dscoped_nsautorelease_pool.h17 // ScopedNSAutoreleasePool creates an autorelease pool when instantiated and
18 // pops it when destroyed. This allows an autorelease pool to be maintained in
21 // Before using, please be aware that the semantics of autorelease pools do not
48 // Pushes the autorelease pool and does all required verification.
51 // Pops the autorelease pool and does all required verification.
Dscoped_nsautorelease_pool.mm18 // Note that this uses the direct runtime interface to the autorelease pool.
50 // the stack for each invocation of an autorelease pool push. Even though one is
51 // allowed to clear out an entire stack of autorelease pools by releasing one
101 NSLog(@"Popping autorelease pool at level %lu while pools exist through "
109 @"release; expect the autorelease machinery to crash.");
119 NSLog(@"Autorelease pool level %lu was pushed:\n%@",
/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/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp16 /// autorelease pools.
39 /// \brief Autorelease pool elimination.
58 "ObjC ARC autorelease pool elimination",
102 // If this pop matches a push and nothing in between can autorelease, in OptimizeBB()
107 "autorelease pair:\n" in OptimizeBB()
139 // identifying the global constructors. In theory, unnecessary autorelease in runOnModule()
141 // ctors are a place where autorelease pools get inserted automatically, in runOnModule()
DARCRuntimeEntryPoints.h35 Autorelease, enumerator
51 Autorelease(nullptr), in ARCRuntimeEntryPoints()
63 Autorelease = nullptr; in init()
83 case ARCRuntimeEntryPointKind::Autorelease: in get()
84 return getI8XRetI8XEntryPoint(Autorelease, "objc_autorelease", true); in get()
114 Constant *Autorelease; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp15 /// autorelease pools.
39 /// Autorelease pool elimination.
58 "ObjC ARC autorelease pool elimination",
102 // If this pop matches a push and nothing in between can autorelease, in OptimizeBB()
107 "autorelease pair:\n" in OptimizeBB()
141 // identifying the global constructors. In theory, unnecessary autorelease in runOnModule()
143 // ctors are a place where autorelease pools get inserted automatically, in runOnModule()
DARCRuntimeEntryPoints.h46 Autorelease, enumerator
65 Autorelease = nullptr; in init()
85 case ARCRuntimeEntryPointKind::Autorelease: in get()
86 return getIntrinsicEntryPoint(Autorelease, Intrinsic::objc_autorelease); in get()
120 Function *Autorelease = nullptr; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DObjCARCInstKind.cpp42 case ARCInstKind::Autorelease: in operator <<()
43 return OS << "ARCInstKind::Autorelease"; in operator <<()
93 return ARCInstKind::Autorelease; in GetFunctionClass()
321 case ARCInstKind::Autorelease: in IsUser()
354 case ARCInstKind::Autorelease: in IsRetain()
383 case ARCInstKind::Autorelease: in IsAutorelease()
421 case ARCInstKind::Autorelease: in IsForwarding()
457 case ARCInstKind::Autorelease: in IsNoopOnNull()
492 case ARCInstKind::Autorelease: in IsNoopOnGlobal()
530 case ARCInstKind::Autorelease: in IsAlwaysTail()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
DObjCARCInstKind.cpp41 case ARCInstKind::Autorelease: in operator <<()
42 return OS << "ARCInstKind::Autorelease"; in operator <<()
92 return ARCInstKind::Autorelease; in GetFunctionClass()
320 case ARCInstKind::Autorelease: in IsUser()
353 case ARCInstKind::Autorelease: in IsRetain()
382 case ARCInstKind::Autorelease: in IsAutorelease()
420 case ARCInstKind::Autorelease: in IsForwarding()
456 case ARCInstKind::Autorelease: in IsNoopOnNull()
491 case ARCInstKind::Autorelease: in IsNoopOnGlobal()
529 case ARCInstKind::Autorelease: in IsAlwaysTail()
[all …]
/external/google-breakpad/src/common/mac/testing/
DGTMSenTestCase.m65 [[[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/llvm/lib/Analysis/
DObjCARCInstKind.cpp43 case ARCInstKind::Autorelease: in operator <<()
44 return OS << "ARCInstKind::Autorelease"; in operator <<()
112 .Case("objc_autorelease", ARCInstKind::Autorelease) in GetFunctionClass()
340 case ARCInstKind::Autorelease: in IsUser()
373 case ARCInstKind::Autorelease: in IsRetain()
402 case ARCInstKind::Autorelease: in IsAutorelease()
440 case ARCInstKind::Autorelease: in IsForwarding()
476 case ARCInstKind::Autorelease: in IsNoopOnNull()
514 case ARCInstKind::Autorelease: in IsAlwaysTail()
544 /// reclaimed from the autorelease pool which violates the semantics of in IsNeverTail()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h42 Autorelease, enumerator
62 Autorelease = nullptr; in init()
83 case ARCRuntimeEntryPointKind::Autorelease: in get()
84 return getIntrinsicEntryPoint(Autorelease, Intrinsic::objc_autorelease); in get()
121 Function *Autorelease = nullptr; variable

12345678910>>...13