Home
last modified time | relevance | path

Searched refs:weak (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/external/clang/test/CodeGen/
Dpragma-weak.c28 #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 …]
Dglobal-decls.c4 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/
D2011-08-22-ResolveAlias.ll10 @_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 …]
D2011-08-22-ResolveAlias2.ll13 @_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 …]
Dvisibility2.ll6 @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/
Dattr-weak.cpp3 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…
25 void test7() __attribute__((weak)) {} in test7()
/external/clang/test/Parser/
Dpragma-weak.c7 /* 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/
Dweak-property.m1 // 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…
Dweak-receiver-warn.m1 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime-has-weak -fobjc-arc -fblocks -Wreceiver-is-weak -ve…
12 …[x addBlock: ^{ [weakx actNow]; }]; // expected-warning {{weak receiver may be unpredictably null …
13 …[x setBlock: ^{ [weakx actNow]; }]; // expected-warning {{weak receiver may be unpredictably null …
14 …x.block = ^{ [weakx actNow]; }; // expected-warning {{weak receiver may be unpredictably null in A…
16 …[weakx addBlock: ^{ [x actNow]; }]; // expected-warning {{weak receiver may be unpredictably null …
17 …[weakx setBlock: ^{ [x actNow]; }]; // expected-warning {{weak receiver may be unpredictably null …
Darc-unavailable-for-weakref.m1 // 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…
Dattr-objc-gc.m2 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;
Darc-property.m1 // 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;
Darc-property-decl-attrs.m1 // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -…
41 …o be declared __weak}} expected-error {{property attributes 'strong' and 'weak' are mutually exclu…
47 …o be declared __weak}} expected-error {{property attributes 'retain' and 'weak' are mutually exclu…
53 …lso be declared __weak}} expected-error {{property attributes 'copy' and 'weak' are mutually exclu…
59 @property(assign) __weak id y; // expected-error {{property attributes 'assign' and 'weak' are mutu…
65 …ak id y; // expected-error {{property attributes 'unsafe_unretained' and 'weak' are mutually exclu…
72 @property (readonly, weak) id fee;
/external/llvm/test/CodeGen/X86/
D2010-09-16-asmcrash.ll4 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/
D2009-03-17-LSR-APInt.ll33 @_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/
Dassign-prop-with-arc-runtime.m.result1 // 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;
DGC.m.result1 // 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;
DGC-no-finalize-removal.m.result1 // 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/
Darc-unavailable-for-weakref.mm1 // 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/clang/test/Sema/
Dattr-weak.c3 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…
Dattr-decl-after-definition.c13 int bar __attribute__((weak));
15 extern int bar __attribute__((weak));
17 int bar __attribute__((weak)); // expected-warning {{must precede definition}}
/external/llvm/test/Transforms/GVN/
D2009-03-10-PREOnVoid.ll20 @_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/
Dthreads.c55 __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 …]
/external/e2fsprogs/debian/
Dsource.lintian-overrides1 e2fsprogs source: weak-library-dev-dependency ss-dev on libss2 (= ${mainBinary})
2 e2fsprogs source: weak-library-dev-dependency comerr-dev on libcomerr2 (= ${mainBinary})
3 e2fsprogs source: weak-library-dev-dependency uuid-dev on libuuid1 (= ${mainBinary})
/external/llvm/test/CodeGen/ARM/
Dweak.ll1 ; RUN: llc < %s -march=arm | grep .weak.*f
2 ; RUN: llc < %s -march=arm | grep .weak.*h
4 define weak i32 @f() {

12345678910>>...14