/external/clang/test/SemaObjCXX/ |
D | arc-unavailable-for-weakref.mm | 11 __weak sub *w2; // expected-error {{class is incompatible with __weak references}} 13 __weak NSOptOut1072 *ns1; // expected-error {{class is incompatible with __weak references}} 17 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o… 18 // expected-error {{class is incompatible with __weak references}} \ 30 __weak id weak1; 31 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} 33 …__weak id weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak… 34 …return (__weak id)strong1; // expected-error {{cast of weak-unavailable object of type 'NOWEAK *' … 43 __weak id<P> weak1; 44 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} [all …]
|
D | arc-type-traits.mm | 17 struct HasWeak { __weak id obj; }; 22 TRAIT_IS_TRUE(__has_nothrow_assign, __weak id); 31 TRAIT_IS_TRUE(__has_nothrow_copy, __weak id); 40 TRAIT_IS_TRUE(__has_nothrow_constructor, __weak id); 49 TRAIT_IS_FALSE(__has_trivial_assign, __weak id); 58 TRAIT_IS_FALSE(__has_trivial_copy, __weak id); 67 TRAIT_IS_FALSE(__has_trivial_constructor, __weak id); 76 TRAIT_IS_FALSE(__has_trivial_destructor, __weak id); 85 TRAIT_IS_TRUE(__is_literal, __weak id); 91 TRAIT_IS_TRUE(__is_literal_type, __weak id); [all …]
|
D | arc-type-conversion.mm | 50 …(void)static_cast<__weak id*>(idp); // expected-error{{static_cast from '__strong id *' to '__weak… 53 void test_const_cast(__strong id *sip, __weak id *wip, 54 const __strong id *csip, __weak const id *cwip) { 58 (void)const_cast<__weak id *>(sip); // expected-error{{is not allowed}} 62 (void)const_cast<__weak id *>(cwip); 65 void test_reinterpret_cast(__strong id *sip, __weak id *wip, 66 const __strong id *csip, __weak const id *cwip) { 70 (void)reinterpret_cast<__weak id *>(sip); 74 …(void)reinterpret_cast<__weak id *>(cwip); // expected-error{{reinterpret_cast from '__weak id con… 75 …(void)reinterpret_cast<__weak id *>(csip); // expected-error{{reinterpret_cast from '__strong id c… [all …]
|
D | arc-templates.mm | 52 int check_ptr_strong2[is_pointer_strong<__weak id*>::value? -1 : 1]; 64 struct make_strong_pointer<__weak T> { 88 int check_make_strong6[is_same<make_strong_pointer<__weak id>::type, __strong id *>::value ? 1 : -1… 92 typedef __weak T type; 95 int check_make_weak0[is_same<make_weak<id>::type, __weak id>::value? 1 : -1]; 96 int check_make_weak1[is_same<make_weak<__strong id>::type, __weak id>::value? 1 : -1]; 97 int check_make_weak2[is_same<make_weak<__autoreleasing id>::type, __weak id>::value? 1 : -1]; 102 …typedef __weak T_type type; // expected-error{{the type 'T_type' (aka '__weak id') is already expl… 106 …<make_weak_fail<__weak id>::type, __weak id>::value? 1 : -1]; // expected-note{{in instantiation o… 108 int check_make_weak_fail1[is_same<make_weak_fail<id>::type, __weak id>::value? -1 : 1]; // expected… [all …]
|
D | overload-gc.mm | 4 void f0(__weak id *); 13 void f1(__weak id*); 14 void test_f1(__weak A** a) { 21 void f2(__weak A**); 22 void test_f2(__weak B** b) {
|
D | arc-overloading.mm | 4 …// expected-note{{candidate function not viable: 1st argument ('__weak id *') has __weak ownership… 9 id __weak *wip; 22 float &f1(id __weak const *); 27 id __weak *wip; 45 id __weak *wip; 62 id __weak wip; 78 id __weak wip; 80 extern __weak id weak_global_ptr; 94 id __weak wip; 110 A* __weak wip; [all …]
|
D | gc-attributes.mm | 6 …/ expected-note{{candidate function not viable: 1st argument ('A *__weak *') has __weak ownership,… 10 static __weak A *a2; 15 …id f1(__weak A**); // expected-note{{candidate function not viable: 1st argument ('A *__strong *')…
|
/external/clang/test/SemaObjC/ |
D | arc-unavailable-for-weakref.m | 11 __weak sub *w2; // expected-error {{class is incompatible with __weak references}} 13 __weak NSOptOut1072 *ns1; // expected-error {{class is incompatible with __weak references}} 17 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o… 18 // expected-error {{class is incompatible with __weak references}} \ 30 __weak id weak1; 31 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} 33 …__weak id weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak… 34 …return (__weak id)strong1; // expected-error {{cast of weak-unavailable object of type 'NOWEAK *' … 43 __weak id<P> weak1; 44 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} [all …]
|
D | error-property-gc-attr.m | 7 __weak id II; 8 __weak id WID; 10 __weak INTF* AWEAK; 11 __weak INTF* WI; 13 @property (assign) __weak id pweak; 14 @property (assign) __weak id WID; 18 @property (assign) __weak INTF* WI; 22 … // expected-error {{existing instance variable 'IVAR' for __weak property 'pweak' must be __weak}} 23 …; // expected-error {{existing instance variable 'II' for strong property 'NOT' may not be __weak}} 26 …expected-error {{existing instance variable 'AWEAK' for strong property 'AWEAK' may not be __weak}}
|
D | arc-property.m | 5 …id __weak myString; // expected-error {{existing instance variable 'myString' for strong property … 7 …id __weak myString2; // expected-error {{existing instance variable 'myString2' for strong propert… 8 id __weak myString3; 9 …d-error {{existing instance variable 'StrongIvar5' for __weak property 'myString5' must be __weak}} 17 @property __weak id myString5; // expected-note {{property declared here}} 34 …ined x; // expected-error {{existing instance variable 'x' for __weak property 'x' must be __weak}} 35 …ong y; // expected-error {{existing instance variable 'y' for __weak property 'y' must be __weak}}
|
D | arc-objc-lifetime.m | 91 __weak id *(^myBlock)(void); 92 __weak id *var = myBlock(); 94 (void) (__weak id *) &myBlock; // expected-error {{cast}} 97 __weak id (^myBlock)(void); 98 (void) (__weak id *) &myBlock; 102 __weak id (^*(^myBlock)(void))(void); 103 (void) (__weak id*) myBlock(); 105 (void) (__weak id*) &myBlock; // expected-error {{cast}} 111 __weak Test9 **(^myBlock)(void); 112 __weak Test9 **var = myBlock(); [all …]
|
D | arc-no-runtime.m | 5 …__weak id x; // expected-error {{the current deployment target does not support automated __weak r… 6 …__weak void *v; // expected-warning {{'__weak' only applies to Objective-C object or block pointer… 15 …y; // expected-error {{the current deployment target does not support automated __weak references}}
|
D | arc-property-decl-attrs.m | 7 id __weak y; 18 id __weak y; 29 id __weak y; 41 @property(strong) __weak id y; // expected-error {{strong property 'y' may not also be declared __w… 47 @property(retain) __weak id y; // expected-error {{strong property 'y' may not also be declared __w… 53 @property(copy) __weak id y; // expected-error {{strong property 'y' may not also be declared __wea… 59 @property(assign) __weak id y; // expected-error {{property attributes 'assign' and 'weak' are mutu… 65 @property(unsafe_unretained) __weak id y; // expected-error {{property attributes 'unsafe_unretaine…
|
D | weak-property.m | 6 __weak id value; 7 … id x; // expected-error {{existing instance variable 'x' for __weak property 'x' must be __weak}} 10 @property __weak id value; 11 @property () __weak id value2; 18 @property () __weak id x; // expected-note {{property declared here}}
|
D | warn-weak-field.m | 5 __weak id w; // expected-warning {{__weak attribute cannot be specified on a field declaration}} 11 __weak id w; // OK 23 … __weak id w1; // expected-warning {{__weak attribute cannot be specified on a field declaration}}
|
D | gc-attributes.m | 10 static __weak A *a2; 12 …f0(&a2); // expected-warning{{passing 'A *__weak *' to parameter of type 'A *__strong *' discards … 15 void f1(__weak A**); // expected-note{{passing argument to parameter here}} 21 …f1(&a2); // expected-warning{{passing 'A *__strong *' to parameter of type 'A *__weak *' discards …
|
/external/clang/test/ARCMT/ |
D | GC-no-finalize-removal.m | 45 __weak id s; 46 __weak QQ *q; 51 @property (assign) I3 *__weak pw1, *__weak pw2; 59 __weak I4Impl *pw3; 60 __weak I4Impl *pw4; 62 @property (assign) I4Impl *__weak pw1, *__weak pw2; 68 @property (readonly) __weak I4Impl *pw3; 69 @property (assign) __weak I4Impl *pw4; 84 @property (assign) id __weak weak_prop;
|
D | GC.m | 45 __weak id s; 46 __weak QQ *q; 51 @property (assign) I3 *__weak pw1, *__weak pw2; 59 __weak I4Impl *pw3; 60 __weak I4Impl *pw4; 62 @property (assign) I4Impl *__weak pw1, *__weak pw2; 68 @property (readonly) __weak I4Impl *pw3; 69 @property (assign) __weak I4Impl *pw4; 84 @property (assign) id __weak weak_prop;
|
D | GC-no-arc-runtime.m | 45 __weak id s; 46 __weak QQ *q; 51 @property (assign) I3 *__weak pw1, *__weak pw2; 59 @property (assign) I4Impl *__weak pw1, *__weak pw2; 74 __weak id prop; 76 @property (readonly) __weak id prop;
|
/external/clang/test/CodeGenObjC/ |
D | objc2-weak-assign.m | 6 __weak id* x; 7 id* __weak y; 8 id* __weak* z; 10 __weak id* a1[20]; 11 id* __weak a2[30]; 12 id** __weak a3[40]; 14 void foo (__weak id *param) {
|
D | arc-captured-32bit-block-var-layout.m | 12 __weak id wid; 64 __weak id weak_delegate; 326 __weak id wid; 327 __weak id wid1, wid2, wid3, wid4; 328 __weak id wid5, wid6, wid7, wid8; 329 __weak id wid9, wid10, wid11, wid12; 330 __weak id wid13, wid14, wid15, wid16; 357 __weak id wid; 358 __weak id wid1, wid2, wid3, wid4; 359 __weak id wid5, wid6, wid7, wid8; [all …]
|
D | arc-captured-block-var-layout.m | 12 __weak id wid; 66 __weak id weak_delegate; 325 __weak id wid; 326 __weak id wid1, wid2, wid3, wid4; 327 __weak id wid5, wid6, wid7, wid8; 328 __weak id wid9, wid10, wid11, wid12; 329 __weak id wid13, wid14, wid15, wid16; 356 __weak id wid; 357 __weak id wid1, wid2, wid3, wid4; 358 __weak id wid5, wid6, wid7, wid8; [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/profiles/ |
D | avatar_menu_bubble_controller.h | 58 __weak AvatarMenuBubbleController* controller_; 71 __weak NSImageView* iconView_; 72 __weak NSImageView* activeView_; 73 __weak NSTextField* nameField_; 77 __weak NSTextField* emailField_; 78 __weak NSButton* editButton_; 111 __weak AvatarMenuItemController* viewController_;
|
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/ |
D | parse-utils.c | 26 #define __weak __attribute__((weak)) macro 53 void __weak die(const char *fmt, ...) in die() 83 void __weak warning(const char *fmt, ...) in warning() 107 void __weak vpr_stat(const char *fmt, va_list ap) in vpr_stat() 112 void __weak pr_stat(const char *fmt, ...) in pr_stat() 121 void __weak *malloc_or_die(unsigned int size) in malloc_or_die()
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | password_generation_popup_view_cocoa.h | 24 __weak autofill::PasswordGenerationPopupController* controller_; 26 __weak NSTextField* passwordField_; 27 __weak NSTextField* passwordSubtextField_; 28 __weak HyperlinkTextView* helpTextView_;
|