/external/clang/test/SemaObjC/ |
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...] |
nowarn-superclass-method-mismatch.m | 9 @property () __weak id PROP;
|
property-in-class-extension-1.m | 20 @property (readonly) __weak id weak_prop; 21 @property (readonly) __weak id weak_prop1; 43 @property () __weak id weak_prop; 44 @property (readwrite) __weak id weak_prop1;
|
warn-direct-ivar-access.m | 50 id Test32(__weak ITest32 *x) { 51 __weak ITest32 *y; 52 x->ivar = 0; // expected-error {{dereferencing a __weak pointer is not allowed}} 53 return y ? y->ivar // expected-error {{dereferencing a __weak pointer is not allowed}} 54 : (*x).ivar; // expected-error {{dereferencing a __weak pointer is not allowed}}
|
arc-type-conversion.m | 30 void to_void(__strong id *sip, __weak id *wip, 49 __weak id *wip = (__weak id *)vp; 54 __weak id **wipp = (__weak id **)vp; 59 wip = vp; // expected-error{{implicit conversion of a non-Objective-C pointer type 'void *' to '__weak id *' is disallowed with ARC}} 72 __weak NSString **wip = (NSString**)(__weak id *)vp; 77 __weak id **wipp = (id**)(__weak id **)vp [all...] |
arc-readonly-property-ivar.m | 12 __weak id _ReadOnlyProperty;
|
arc-readonly-property-ivar-1.m | 13 __weak id _ReadOnlyProperty; 27 __weak id _ReadOnlyProperty;
|
nonarc-weak.m | 9 __weak id weakSelf = self; 12 // CHECK: 9:13: warning: __weak attribute cannot be specified on an automatic variable when ARC is not enabled
|
objc2-merge-gc-attribue-decl.m | 13 extern __weak id WLoopGetMain(); // expected-note {{previous declaration is here}} 17 extern __weak id p3; // expected-error {{redefinition of 'p3' with a different type}}
|
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/ |
parse-utils.c | 26 #define __weak __attribute__((weak)) macro 53 void __weak die(const char *fmt, ...) 83 void __weak warning(const char *fmt, ...) 107 void __weak vpr_stat(const char *fmt, va_list ap) 112 void __weak pr_stat(const char *fmt, ...) 121 void __weak *malloc_or_die(unsigned int size)
|
/external/clang/test/CodeGenObjC/ |
objc2-weak-compare.m | 7 PBXTarget * __weak _lastKnownTarget; 8 PBXTarget * __weak _KnownTarget;
|
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...] |
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...] |
objc2-weak-ivar.m | 7 __weak NSObject *nsobject;
|
/external/clang/test/SemaObjCXX/ |
arc-libstdcxx.mm | 7 int check1[std::__is_scalar<__weak id>::__value? -1 : 1]; 10 int check4[std::__is_scalar<__weak A*>::__value? -1 : 1];
|
objc2-merge-gc-attribue-decl.mm | 35 extern __weak id WLoopGetMain(); // expected-note {{previous declaration is here}} 39 extern __weak id p3; // expected-error {{redefinition of 'p3' with a different type}}
|
/external/clang/test/ARCMT/ |
assign-prop-with-arc-runtime.m.result | 17 Foo *__weak x, *__weak w, *__weak q1, *__weak q2;
|
rewrite-block-var.m.result | 14 __weak Foo *x = p; // __block used just to break cycle. 38 __weak Foo *x = p; // __block used just to break cycle.
|
GC-no-finalize-removal.m.result | 53 __weak id s; 67 __weak I4Impl *pw3; 68 __weak I4Impl *pw4;
|
GC.m.result | 40 __weak id s; 54 __weak I4Impl *pw3; 55 __weak I4Impl *pw4;
|
/external/clang/test/Rewriter/ |
rewrite-weak-attr.m | 3 __weak __block id foo = nil;
|
weak_byref_objects.m | 5 __weak __block id foo = nil;
|
/external/chromium_org/chrome/browser/ui/cocoa/profiles/ |
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/clang/test/CodeGenObjCXX/ |
arc-mangle.mm | 6 void f(__weak id *) {} 14 void f(const __weak id *) {}
|
arc-new-delete.mm | 4 typedef __weak id weak_id; 28 new __weak id; 37 new __weak id(invalue); 58 void test_delete(__strong id *sptr, __weak id *wptr) { 73 void test_array_delete(__strong id *sptr, __weak id *wptr) {
|