Searched refs:weak (Results 1 – 25 of 395) sorted by relevance
12345678910>>...16
/external/clang/test/CodeGen/ |
D | pragma-weak.c | 28 #pragma weak weakvar 31 #pragma weak weakdef 34 #pragma weak param // expected-warning {{weak identifier 'param' never declared}} 35 #pragma weak correct_linkage 40 #pragma weak weakvar_alias = __weakvar_alias 43 #pragma weak foo = __foo 49 #pragma weak foo2 = __foo2 55 #pragma weak unused // expected-warning {{weak identifier 'unused' never declared}} 56 #pragma weak unused_alias = __unused_alias // expected-warning {{weak identifier '__unused_alias' … 58 #pragma weak td // expected-warning {{weak identifier 'td' never declared}} [all …]
|
D | global-decls.c | 4 extern int g0_ext __attribute__((weak)); 6 extern int __attribute__((weak)) g1_ext (void); 9 int g0_common __attribute__((weak)); 12 int g0_def __attribute__((weak)) = 52; 14 int __attribute__((weak)) g1_def (void) { return 0; } in g1_def()
|
/external/llvm/test/Linker/ |
D | 2011-08-22-ResolveAlias.ll | 10 @_ZL20__gthrw_pthread_oncePiPFvvE = alias weak i32 (i32*, void ()*)* @pthread_once 11 @_ZL27__gthrw_pthread_getspecificj = alias weak i8* (i32)* @pthread_getspecific 12 @_ZL27__gthrw_pthread_setspecificjPKv = alias weak i32 (i32, i8*)* @pthread_setspecific 13 @_ZL22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_ = alias weak i32 (i64*, %union.pthread_… 14 @_ZL20__gthrw_pthread_joinmPPv = alias weak i32 (i64, i8**)* @pthread_join 15 @_ZL21__gthrw_pthread_equalmm = alias weak i32 (i64, i64)* @pthread_equal 16 @_ZL20__gthrw_pthread_selfv = alias weak i64 ()* @pthread_self 17 @_ZL22__gthrw_pthread_detachm = alias weak i32 (i64)* @pthread_detach 18 @_ZL22__gthrw_pthread_cancelm = alias weak i32 (i64)* @pthread_cancel 19 @_ZL19__gthrw_sched_yieldv = alias weak i32 ()* @sched_yield [all …]
|
D | 2011-08-22-ResolveAlias2.ll | 13 @_ZL20__gthrw_pthread_oncePiPFvvE = alias weak i32 (i32*, void ()*)* @pthread_once 14 @_ZL27__gthrw_pthread_getspecificj = alias weak i8* (i32)* @pthread_getspecific 15 @_ZL27__gthrw_pthread_setspecificjPKv = alias weak i32 (i32, i8*)* @pthread_setspecific 16 @_ZL22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_ = alias weak i32 (i64*, %union.pthread_… 17 @_ZL20__gthrw_pthread_joinmPPv = alias weak i32 (i64, i8**)* @pthread_join 18 @_ZL21__gthrw_pthread_equalmm = alias weak i32 (i64, i64)* @pthread_equal 19 @_ZL20__gthrw_pthread_selfv = alias weak i64 ()* @pthread_self 20 @_ZL22__gthrw_pthread_detachm = alias weak i32 (i64)* @pthread_detach 21 @_ZL22__gthrw_pthread_cancelm = alias weak i32 (i64)* @pthread_cancel 22 @_ZL19__gthrw_sched_yieldv = alias weak i32 ()* @sched_yield [all …]
|
D | visibility2.ll | 6 @v1 = weak hidden global i32 0 7 @v2 = weak protected global i32 0 8 @v3 = weak hidden global i32 0 11 @a1 = hidden alias weak i32* @v1 12 @a2 = protected alias weak i32* @v2 13 @a3 = hidden alias weak i32* @v3 16 define weak hidden void @f1() { 20 define weak protected void @f2() { 24 define weak hidden void @f3() {
|
/external/clang/test/SemaCXX/ |
D | attr-weak.cpp | 3 static int test0 __attribute__((weak)); // expected-error {{weak declaration cannot have internal l… 4 static void test1() __attribute__((weak)); // expected-error {{weak declaration cannot have interna… 6 namespace test2 __attribute__((weak)) { // expected-warning {{'weak' attribute only applies to vari… 10 …int test3 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage… 11 …void test4() __attribute__((weak)); // expected-error {{weak declaration cannot have internal link… 15 static void test5() __attribute__((weak)); // no error 20 …static void test6() __attribute__((weak)); // expected-error {{weak declaration cannot have intern… 29 void test7() __attribute__((weak)) {} in test7() 30 static int var __attribute__((weak));
|
/external/bison/lib/glthread/ |
D | lock.h | 124 # pragma weak pthread_mutex_init 125 # pragma weak pthread_mutex_lock 126 # pragma weak pthread_mutex_unlock 127 # pragma weak pthread_mutex_destroy 128 # pragma weak pthread_rwlock_init 129 # pragma weak pthread_rwlock_rdlock 130 # pragma weak pthread_rwlock_wrlock 131 # pragma weak pthread_rwlock_unlock 132 # pragma weak pthread_rwlock_destroy 133 # pragma weak pthread_once [all …]
|
/external/clang/test/Parser/ |
D | pragma-weak.c | 7 /* expected-warning {{expected identifier in '#pragma weak'}}*/ #pragma weak 8 #pragma weak x 11 /* expected-warning {{expected identifier in '#pragma weak'}}*/ #pragma weak z = = 12 /* expected-warning {{expected identifier in '#pragma weak'}}*/ #pragma weak z = 13 /* expected-warning {{weak identifier 'y' never declared}} */ #pragma weak z = y 16 /* expected-warning {{extra tokens at end of '#pragma weak'}}*/ #pragma weak a b 17 /* expected-warning {{extra tokens at end of '#pragma weak'}}*/ #pragma weak a = x c
|
/external/clang/test/SemaObjC/ |
D | weak-property.m | 1 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime-has-weak -fobjc-arc -verify -Wno-objc-root-class %s 9 @property (weak) id value1; 13 @property (weak, assign) id v1; // expected-error {{property attributes 'assign' and 'weak' are mu… 14 @property (weak, copy) id v2; // expected-error {{property attributes 'copy' and 'weak' are mutuall… 15 @property (weak, retain) id v3; // expected-error {{property attributes 'retain' and 'weak' are mut… 16 @property (weak, assign) id v4; // expected-error {{property attributes 'assign' and 'weak' are mu…
|
D | weak-receiver-warn.m | 1 …%clang_cc1 -fsyntax-only -fobjc-runtime-has-weak -fobjc-arc -fblocks -Wno-objc-root-class -Wreceiv… 12 …[x addBlock: ^{ [weakx actNow]; }]; // expected-warning {{weak receiver may be unpredictably set t… 13 …[x setBlock: ^{ [weakx actNow]; }]; // expected-warning {{weak receiver may be unpredictably set t… 14 …x.block = ^{ [weakx actNow]; }; // expected-warning {{weak receiver may be unpredictably set to ni… 16 …[weakx addBlock: ^{ [x actNow]; }]; // expected-warning {{weak receiver may be unpredictably set t… 17 …[weakx setBlock: ^{ [x actNow]; }]; // expected-warning {{weak receiver may be unpredictably set t… 18 …weakx.block = ^{ [x actNow]; }; // expected-warning {{weak receiver may be unpredictably set t… 27 @property (weak, atomic) id weak_atomic_prop; // expected-note {{property declared here}} 39 …[self.weak_prop Meth]; // expected-warning {{weak property may be unpredictably set to nil}} expec… 42 …[self.weak_atomic_prop Meth]; // expected-warning {{weak property may be unpredictably set to nil… [all …]
|
D | arc-repeated-weak.mm | 1 …1 -fsyntax-only -fobjc-runtime-has-weak -fobjc-arc -fblocks -Wno-objc-root-class -std=c++11 -Warc-… 8 @property(weak) Test *weakProp; 22 …use(a.weakProp); // expected-warning{{weak property 'weakProp' is accessed multiple times in this … 57 use(a.weakProp); // expected-warning{{weak property 'weakProp' is accessed multiple times}} 66 …use(a.strongProp.weakProp); // expected-warning{{weak property 'weakProp' may be accessed multiple… 71 …use(a.strongProp.weakProp); // expected-warning{{weak property 'weakProp' may be accessed multiple… 76 …use(a.implicitProp); // expected-warning{{weak implicit property 'implicitProp' is accessed multip… 81 …use(Test.weakProp); // expected-warning{{weak implicit property 'weakProp' is accessed multiple ti… 92 …use(a->weakIvar); // expected-warning{{weak instance variable 'weakIvar' is accessed multiple time… 98 use(a); // expected-warning{{weak variable 'a' is accessed multiple times}} [all …]
|
D | arc-unavailable-for-weakref.m | 1 // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -… 17 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o… 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 *' … 44 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} 46 …__weak id<P> weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __w… 47 …return (__weak id<P>)strong1; // expected-error {{cast of weak-unavailable object of type 'NOWEAK<… 59 @property (weak) NSFont *font; // expected-note {{property declared here}} 63 @synthesize font = _font; // expected-error {{synthesis of a weak-unavailable property is disallowe…
|
D | attr-objc-gc.m | 2 static id __attribute((objc_gc(weak))) a; 10 static int __attribute__((objc_gc(weak))) g; // expected-warning {{'objc_gc' only applies to pointe… 23 id __attribute((objc_gc(weak))) *weak) { 28 opaque = weak; 29 weak = opaque;
|
D | warn-retain-block-property.m | 15 @property (weak, retain) void (^aBlockW)(void); 37 // CHECK-ARC: 15:1: error: property attributes 'retain' and 'weak' are mutually exclusive 38 // CHECK-ARC: @property (weak, retain) void (^aBlockW)(void); 46 // CHECK-ARC: 30:13: warning: assigning block literal to a weak property; object will be released a… 54 // CHECK: 15:1: error: property attributes 'retain' and 'weak' are mutually exclusive 55 // CHECK: @property (weak, retain) void (^aBlockW)(void);
|
D | arc-property.m | 1 // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -… 15 @property (weak) id myString3; 16 @property (weak) id myString4; 38 @property(weak) id x; // expected-note {{property declared here}} 39 @property(weak) id y; // expected-note {{property declared here}} 40 @property(weak) id z;
|
/external/clang/test/CodeGenCXX/ |
D | pragma-weak.cpp | 3 #pragma weak zex 10 #pragma weak foo 15 #pragma weak zed 19 #pragma weak bah 23 #pragma weak baz 27 #pragma weak _Z3baxv
|
/external/clang/test/Sema/ |
D | attr-weak.c | 3 extern int g0 __attribute__((weak)); 5 int g2 __attribute__((weak)); 11 struct __attribute__((weak)) s0 {}; // expected-warning {{'weak' attribute only applies to variable… 14 static int x __attribute__((weak)); // expected-error {{weak declaration cannot have internal linka… 21 extern int pr14946_x __attribute__((weak)); // expected-error {{weak declaration cannot have inter… 24 void pr14946_f() __attribute__((weak)); // expected-error {{weak declaration cannot have internal l…
|
/external/llvm/test/CodeGen/X86/ |
D | 2010-09-16-asmcrash.ll | 4 module asm ".weak sem_close" 6 module asm ".weak sem_destroy" 8 module asm ".weak sem_getvalue" 10 module asm ".weak sem_init" 12 module asm ".weak sem_open" 14 module asm ".weak sem_post" 16 module asm ".weak sem_timedwait" 18 module asm ".weak sem_trywait" 20 module asm ".weak sem_unlink" 22 module asm ".weak sem_wait"
|
/external/llvm/test/CodeGen/Generic/ |
D | 2009-03-17-LSR-APInt.ll | 33 @_ZL20__gthrw_pthread_oncePiPFvvE = alias weak i32 (i32*, void ()*)* @pthread_once ; <i32 (i32*, v… 34 @_ZL27__gthrw_pthread_getspecificj = alias weak i8* (i32)* @pthread_getspecific ; <i8* (i32)*> [#u… 35 @_ZL27__gthrw_pthread_setspecificjPKv = alias weak i32 (i32, i8*)* @pthread_setspecific ; <i32 (i3… 36 @_ZL22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_ = alias weak i32 (i64*, %struct.pthread… 37 @_ZL22__gthrw_pthread_cancelm = alias weak i32 (i64)* @pthread_cancel ; <i32 (i64)*> [#uses=0] 38 @_ZL26__gthrw_pthread_mutex_lockP15pthread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @pt… 39 @_ZL29__gthrw_pthread_mutex_trylockP15pthread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* … 40 @_ZL28__gthrw_pthread_mutex_unlockP15pthread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @… 41 @_ZL26__gthrw_pthread_mutex_initP15pthread_mutex_tPK19pthread_mutexattr_t = alias weak i32 (%struct… 42 @_ZL26__gthrw_pthread_key_createPjPFvPvE = alias weak i32 (i32*, void (i8*)*)* @pthread_key_create … [all …]
|
/external/clang/test/ARCMT/ |
D | assign-prop-with-arc-runtime.m.result | 1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -… 26 @property (weak, readonly) Foo *x; 27 @property (weak) Foo *w; 28 @property (weak) Foo *q1, *q2; 38 @property (weak) Foo *no_user_ivar1; 39 @property (weak, readonly) Foo *no_user_ivar2; 62 @property (weak, readonly) TestExt *x2; 67 @property (weak, readwrite) TestExt *x2;
|
D | GC.m.result | 1 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-runtime-has-weak -fobjc-arc… 47 @property (weak) I3 * pw1, * pw2; 58 @property (weak) I4Impl * pw1, * pw2; 64 @property (weak, readonly) I4Impl *pw3; 65 @property (weak) I4Impl *pw4; 80 @property (weak) id weak_prop;
|
D | GC-no-finalize-removal.m.result | 1 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.7 -fsyntax-only -fobjc-runtime-has-weak -fobjc-arc… 60 @property (weak) I3 * pw1, * pw2; 71 @property (weak) I4Impl * pw1, * pw2; 77 @property (weak, readonly) I4Impl *pw3; 78 @property (weak) I4Impl *pw4; 93 @property (weak) id weak_prop;
|
/external/clang/test/SemaObjCXX/ |
D | arc-unavailable-for-weakref.mm | 1 // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-… 17 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o… 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 *' … 44 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} 46 …__weak id<P> weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __w… 47 …return (__weak id<P, P1>)strong1; // expected-error {{cast of weak-unavailable object of type 'NOW…
|
/external/llvm/test/Transforms/GVN/ |
D | 2009-03-10-PREOnVoid.ll | 20 @_ZL20__gthrw_pthread_oncePiPFvvE = alias weak i32 (i32*, void ()*)* @pthread_once ; <i32 (i32*, v… 21 @_ZL27__gthrw_pthread_getspecificj = alias weak i8* (i32)* @pthread_getspecific ; <i8* (i32)*> [#u… 22 @_ZL27__gthrw_pthread_setspecificjPKv = alias weak i32 (i32, i8*)* @pthread_setspecific ; <i32 (i3… 23 @_ZL22__gthrw_pthread_createPmPK16__pthread_attr_sPFPvS3_ES3_ = alias weak i32 (i32*, %struct.pthre… 24 @_ZL22__gthrw_pthread_cancelm = alias weak i32 (i32)* @pthread_cancel ; <i32 (i32)*> [#uses=0] 25 @_ZL26__gthrw_pthread_mutex_lockP15pthread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @pt… 26 @_ZL29__gthrw_pthread_mutex_trylockP15pthread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* … 27 @_ZL28__gthrw_pthread_mutex_unlockP15pthread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @… 28 @_ZL26__gthrw_pthread_mutex_initP15pthread_mutex_tPK19pthread_mutexattr_t = alias weak i32 (%struct… 29 @_ZL26__gthrw_pthread_key_createPjPFvPvE = alias weak i32 (i32*, void (i8*)*)* @pthread_key_create … [all …]
|
/external/libxml2/ |
D | threads.c | 55 __attribute((weak)); 57 __attribute((weak)); 60 __attribute((weak)); 63 __attribute((weak)); 65 __attribute((weak)); 67 __attribute((weak)); 69 __attribute((weak)); 71 __attribute((weak)); 73 __attribute((weak)); 75 __attribute((weak)); [all …]
|
12345678910>>...16