/external/clang/test/ARCMT/ |
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];
|
atautorelease-2.m.result | 10 -autorelease;
|
dealloc.m | 7 - (id)autorelease;
|
dealloc.m.result | 7 - (id)autorelease;
|
atautorelease-2.m | 10 -autorelease;
|
atautorelease-3.m | 10 -autorelease;
|
atautorelease-3.m.result | 10 -autorelease;
|
cxx-rewrite.mm | 29 foo f([[NSString string] autorelease]);
|
remove-statements.m | 17 return [[x retain] autorelease];
|
/external/clang/test/SemaObjC/ |
gcc-cast-ext.m | 9 - autorelease; // expected-note {{method 'autorelease' declared here}} 17 @implementation PBXDocBookmark // expected-warning {{method definition for 'autorelease' not found}}\ 23 return [[[self alloc] initWithFileReference:fileRef gylphRange:(NSRange)range anchor:(NSString *)htmlAnchor] autorelease]; // expected-warning {{method '-initWithFileReference:gylphRange:anchor:' not found (return type defaults to 'id')}}
|
ivar-access-package.m | 12 -autorelease; 42 A *a = [[A new] autorelease]; 43 B *b = [[B new] autorelease];
|
/external/clang/test/CodeGenObjC/ |
no-vararg-messaging.m | 11 -(id)autorelease; 16 [[[[[[Foo alloc] init] retain] autorelease] self] release];
|
/external/clang/test/FixIt/ |
fixit-autoreleasepool.m | 5 @autorelease {
|
/external/opencv3/modules/core/include/opencv2/core/ |
opengl.hpp | 110 @param autoRelease Auto release mode (if true, release will be called in object's destructor). 112 Buffer(int arows, int acols, int atype, unsigned int abufId, bool autoRelease = false); 118 @param autoRelease Auto release mode (if true, release will be called in object's destructor). 120 Buffer(Size asize, int atype, unsigned int abufId, bool autoRelease = false); 127 @param autoRelease Auto release mode (if true, release will be called in object's destructor). 129 Buffer(int arows, int acols, int atype, Target target = ARRAY_BUFFER, bool autoRelease = false); 135 @param autoRelease Auto release mode (if true, release will be called in object's destructor). 137 Buffer(Size asize, int atype, Target target = ARRAY_BUFFER, bool autoRelease = false); 142 @param autoRelease Auto release mode (if true, release will be called in object's destructor). 144 explicit Buffer(InputArray arr, Target target = ARRAY_BUFFER, bool autoRelease = false) [all...] |
/external/clang/test/Analysis/ |
analyzeOneFunction.m | 14 -(id)autorelease; 39 Test1 *cell = [[[Test1 alloc] init] autorelease]; 48 Test1 *cell = [[[Test1 alloc] init] autorelease];
|
PR2599.m | 15 - (id)autorelease; 45 [[[NSString alloc] initWithBytesNoCopy: (void*)(bytes) length: (len) encoding: NSUTF8StringEncoding freeWhenDone: (BOOL)0] autorelease] 47 #define UTIL_AUTORELEASE_CF_AS_ID(cf) ( (((void*)0) == (cf)) ? ((void*)0) : [(id) CFMakeCollectable( (CFTypeRef) cf) autorelease] ) 49 #define UTIL_AUTORELEASE_CF_AS_ID_WITHOUT_TEST(cf) ( [(id) CFMakeCollectable( (CFTypeRef) cf) autorelease] )
|
objc-subscript.m | 9 -(id)autorelease; 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}}
|
variadic-method-types.m | 22 - (id)autorelease; 82 [[[NSArray alloc] initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument to 'NSArray' method 'initWithObjects:' should be an Objective-C pointer type, not 'char *'}} 83 [[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument to 'NSDictionary' method 'initWithObjectsAndKeys:' should be an Objective-C pointer type, not 'char *'}} 84 [[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", (void*) 0, nil] autorelease]; // no-warning 85 [[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", kCGImageSourceShouldCache, nil] autorelease]; // no-warning 86 [[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", fooType, nil] autorelease]; // no-warning 87 [[[NSDictionary alloc] initWithObjectsAndKeys:@"Foo", barType, nil] autorelease]; // expected-warning {{Argument to 'NSDictionary' method 'initWithObjectsAndKeys:' should be an Objective-C pointer type, not 'BarType'}} 88 [[[NSSet alloc] initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument to 'NSSet' method 'initWithObjects:' should be an Objective-C pointer type, not 'char *'}} 89 [[[NSOrderedSet alloc] initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument to 'NSOrderedSet' method 'initWithObjects:' should be an Objective-C pointer type, not 'char *'}}
|
/external/clang/test/SemaObjCXX/ |
conversion-to-objc-pointer-2.mm | 9 - (id) autorelease; 82 NSObject* object1 = [[[NSObject alloc] init] autorelease];
|
/external/webrtc/webrtc/base/ |
maccocoathreadhelper.mm | 24 // The sole purpose of this autorelease pool is to avoid a console 26 // with no autorelease pool in place.
|
/external/opencv3/modules/core/src/ |
opengl.cpp | 301 Impl(GLuint bufId, bool autoRelease); 302 Impl(GLsizeiptr size, const GLvoid* data, GLenum target, bool autoRelease); 348 cv::ogl::Buffer::Impl::Impl(GLuint abufId, bool autoRelease) : bufId_(abufId), autoRelease_(autoRelease) 353 cv::ogl::Buffer::Impl::Impl(GLsizeiptr size, const GLvoid* data, GLenum target, bool autoRelease) : bufId_(0), autoRelease_(autoRelease) 466 cv::ogl::Buffer::Buffer(int arows, int acols, int atype, unsigned int abufId, bool autoRelease) : rows_(0), cols_(0), type_(0) 473 (void) autoRelease; 476 impl_.reset(new Impl(abufId, autoRelease)); 483 cv::ogl::Buffer::Buffer(Size asize, int atype, unsigned int abufId, bool autoRelease) : rows_(0), cols_(0), type_(0 [all...] |
/external/google-breakpad/src/common/mac/ |
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/llvm/lib/Transforms/ObjCARC/ |
ObjCARCAPElim.cpp | 16 /// 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, 107 "autorelease pair:\n" 136 // identifying the global constructors. In theory, unnecessary autorelease 138 // ctors are a place where autorelease pools get inserted automatically,
|
/external/libchrome/base/mac/ |
scoped_nsobject.h | 60 // Shift reference to the autorelease pool to be released later. 61 NST autorelease() { return [this->release() autorelease]; } function in class:base::scoped_nsprotocol
|
/external/clang/test/Analysis/inlining/ |
InlineObjCInstanceMethod.h | 16 -(id)autorelease;
|