/external/clang/test/ARCMT/ |
retains.m | 12 @property (retain) id bar; 28 [x retain]; 31 [obj retain]; 33 [Something_Macro(@"foo", "@bar") retain]; 35 [IhaveSideEffect() retain]; 37 [[self something] retain]; 39 [[self retain] something]; 41 [[IhaveSideEffect() retain] release]; 42 [[x retain] release]; 45 return [self retain]; [all...] |
remove-dealloc-method.m | 8 @property (retain) id x; 9 @property (retain) id y; 10 @property (retain) id w; 11 @property (retain) id z;
|
assign-prop-with-arc-runtime.m | 41 @property (retain) id def1; 42 @property (atomic,retain) id def2; 43 @property (retain,atomic) id def3; 56 assign_plus3 = [parm retain]; 61 @property (retain,readonly) TestExt *x1; 66 @property (retain,readwrite) TestExt *x1; 68 @property (retain) TestExt *x3;
|
objcmt-property.m.result | 21 @property(retain) NSString * StrongProp; 53 @property(retain) NSArray * names2; 54 @property(retain) NSArray * names3; 55 @property(retain) NSArray * names4; 56 @property(retain) NSArray * names1; 72 @property(retain) id MYtarget; 75 @property(retain) id targetX;
|
remove-dealloc-zerouts.m | 6 @property (retain) id x; 7 @property (retain) id y; 8 @property (retain) id w; 9 @property (retain) id z; 31 @property (retain) Foo *a;
|
/external/clang/test/Driver/ |
retain-comments-from-system-headers.c | 3 // RUN: %clang -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-NO-RETAIN 4 // RUN: %clang -c %s -fretain-comments-from-system-headers -### 2>&1 | FileCheck %s --check-prefix=CHECK-RETAIN 6 // CHECK-RETAIN: -fretain-comments-from-system-headers 8 // CHECK-NO-RETAIN-NOT: -fretain-comments-from-system-headers
|
/external/clang/test/SemaObjC/ |
narrow-property-type-in-cont-class.m | 11 @property(nonatomic,readonly,retain) NSArray* outline; 12 @property(nonatomic,readonly,retain) NSMutableArray* err_outline; // expected-note {{property declared here}} 16 @property(nonatomic,readwrite,retain) NSMutableArray* outline; 17 @property(nonatomic,readwrite,retain) NSArray* err_outline; // expected-error {{type of property 'NSArray *' in class extension does not match property type in primary class}}
|
warn-retain-block-property.m | 14 @property (retain) void (^aBlock)(void); 15 @property (weak, retain) void (^aBlockW)(void); 16 @property (strong, retain) void (^aBlockS)(void); // OK 17 @property (readonly, retain) void (^aBlockR)(void); // OK 18 @property (copy, retain) void (^aBlockC)(void); 19 @property (assign, retain) void (^aBlockA)(void); 34 // CHECK-ARC: 14:1: warning: retain'ed block property does not copy the block - use copy attribute instead 35 // CHECK-ARC: @property (retain) void (^aBlock)(void); 37 // CHECK-ARC: 15:1: error: property attributes 'retain' and 'weak' are mutually exclusive 38 // CHECK-ARC: @property (weak, retain) void (^aBlockW)(void) [all...] |
duplicate-property.m | 6 @property (nonatomic, retain) id x; // expected-note{{property declared here}} 7 @property (nonatomic, retain) id x; // expected-error{{property has a previous declaration}}
|
ivar-sem-check-2.m | 6 @property(retain) id value; 7 @property(retain) id value1; 8 @property(retain) id prop;
|
property-ns-returns-not-retained-attr.m | 5 @property (nonatomic, retain) id newName __attribute__((ns_returns_not_retained)) ; 7 @property (nonatomic, retain) id newName1 __attribute__((ns_returns_not_retained)) ; 10 @property (nonatomic, retain) id newName2 __attribute__((ns_returns_not_retained)); // expected-note {{roperty declared here}}
|
property-10.m | 8 @property(retain) int p1; // expected-error {{property with 'retain (or strong)' attribute must be of object type}} 9 @property(strong) int s1; // expected-error {{property with 'retain (or strong)' attribute must be of object type}} 14 @property(assign, retain) id p3_1; // expected-error {{property attributes 'assign' and 'retain' are mutually exclusive}} 16 @property(copy, retain) id p3_2; // expected-error {{property attributes 'copy' and 'retain' are mutually exclusive}} 18 @property(assign, copy, retain) id p3_3; // expected-error {{property attributes 'assign' and 'copy' are mutually exclusive}}, expected-error {{property attributes 'assign' and 'retain' are mutually exclusive}} 22 @property(unsafe_unretained, retain) id p4_1; // expected-error {{property attributes 'unsafe_unretained' and 'retain' are mutually ex (…) [all...] |
bad-receiver-1.m | 4 - (id) retain; 10 [objc_lookUpClass("NSString") retain]; // expected-warning {{receiver type 'int' is not 'id'}}
|
/external/clang/test/CodeGenObjC/ |
synthesize_ivar-cont-class.m | 7 @property (readonly, retain) id viewController; 14 @property (retain) id viewController;
|
no-vararg-messaging.m | 9 -(id)retain; 16 [[[[[[Foo alloc] init] retain] autorelease] self] release];
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
onfocus-alert-blinking-caret.html | 4 Focus the field below, then dismiss the alert. The field should retain the focus,
|
/external/clang/test/Modules/Inputs/ |
category_left_sub.h | 7 @property (retain) id p3_prop;
|
category_right_sub.h | 13 @property (retain) id p4_prop;
|
/external/clang/test/SemaObjCXX/ |
protocol-lookup.mm | 3 - retain; 36 _foo = [foo retain]; 37 _bar = [bar retain]; 53 [id<NSObject>(a) retain];
|
/external/clang/test/CodeGenObjCXX/ |
refence-assign-write-barrier.mm | 5 - (NSArray*) retain; 16 target = [newValue retain];
|
/external/clang/test/Index/ |
retain-comments-from-system-headers.c | 3 #include "retain-comments-from-system-headers.h" 12 // RUN: c-index-test -test-load-source all %s -fretain-comments-from-system-headers -I %S/Inputs | FileCheck %s -check-prefix=RETAIN 14 // CHECK: retain-comments-from-system-headers.h:7:5: FunctionDecl=system_function:7:5 Extent=[7:1 - 7:27] 15 // CHECK: retain-comments-from-system-headers.c:9:5: FunctionDecl=user_function:9:5 RawComment=[/**\n * user_function\n * \param a Aaa.\n */] RawCommentRange=[5:1 - 8:4] BriefComment=[user_function] 17 // CHECK-RETAIN: retain-comments-from-system-headers.h:7:5: FunctionDecl=system_function:7:5 RawComment=[/**\n * system_function\n * \param a Aaa.\n */] RawCommentRange=[3:1 - 6:4] BriefComment=[system_function] 18 // CHECK-RETAIN: retain-comments-from-system-headers.c:9:5: FunctionDecl=user_function:9:5 RawComment=[/**\n * user_function\n * \param a Aaa.\n */] RawCommentRange=[5:1 - 8:4] BriefComment=[user_function]
|
/external/chromium/chrome/browser/ui/cocoa/content_settings/ |
cookie_details.mm | 125 name_.reset([base::SysUTF8ToNSString(cookie->Name()) retain]); 126 content_.reset([base::SysUTF8ToNSString(cookie->Value()) retain]); 127 path_.reset([base::SysUTF8ToNSString(cookie->Path()) retain]); 128 domain_.reset([origin retain]); 132 base::TimeFormatFriendlyDateAndTime(cookie->ExpiryDate())) retain]); 135 IDS_COOKIES_COOKIE_EXPIRES_SESSION) retain]); 139 base::TimeFormatFriendlyDateAndTime(cookie->CreationDate())) retain]); 143 IDS_COOKIES_COOKIE_SENDFOR_SECURE) retain]); 146 IDS_COOKIES_COOKIE_SENDFOR_ANY) retain]); 158 databaseInfo->description) retain]); [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/content_settings/ |
cookie_details.mm | 126 name_.reset([base::SysUTF8ToNSString(cookie->Name()) retain]); 127 content_.reset([base::SysUTF8ToNSString(cookie->Value()) retain]); 128 path_.reset([base::SysUTF8ToNSString(cookie->Path()) retain]); 129 domain_.reset([base::SysUTF8ToNSString(cookie->Domain()) retain]); 133 base::TimeFormatFriendlyDateAndTime(cookie->ExpiryDate())) retain]); 136 IDS_COOKIES_COOKIE_EXPIRES_SESSION) retain]); 140 base::TimeFormatFriendlyDateAndTime(cookie->CreationDate())) retain]); 144 IDS_COOKIES_COOKIE_SENDFOR_SECURE) retain]); 147 IDS_COOKIES_COOKIE_SENDFOR_ANY) retain]); 159 databaseInfo->description) retain]); [all...] |
/external/chromium/chrome/browser/ui/cocoa/importer/ |
import_progress_dialog_cocoa.h | 49 @property(nonatomic, retain) NSString* explanatoryText; 50 @property(nonatomic, retain) NSString* favoritesStatusText; 51 @property(nonatomic, retain) NSString* searchStatusText; 52 @property(nonatomic, retain) NSString* savedPasswordStatusText; 53 @property(nonatomic, retain) NSString* historyStatusText; 55 @property(nonatomic, retain) NSColor* favoritesImportEnabled; 56 @property(nonatomic, retain) NSColor* searchImportEnabled; 57 @property(nonatomic, retain) NSColor* passwordImportEnabled; 58 @property(nonatomic, retain) NSColor* historyImportEnabled;
|
/external/chromium_org/ui/base/cocoa/ |
hover_image_button.mm | 22 defaultImage_.reset([image retain]); 26 hoverImage_.reset([image retain]); 30 pressedImage_.reset([image retain]);
|