Searched refs:weak (Results 1 - 25 of 178) sorted by relevance

12345678

/external/clang/test/PCH/
H A Dpragma-weak.h1 // Header for PCH test pragma-weak.c
3 #pragma weak weakvar
10 #pragma weak undeclaredvar
/external/clang/test/Parser/
H A 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'}}*/ #pragm
[all...]
/external/clang/test/Modules/Inputs/
H A Dlookup_left.hpp3 #pragma weak weak_identifier // expected-warning{{weak identifier 'weak_identifier' never declared}}
/external/clang/test/SemaCXX/
H A Dpragma-weak.cpp3 #pragma weak foo
11 #pragma weak test = Test
H A Dattr-weak.cpp3 static int test0 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
4 static void test1() __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
6 namespace test2 __attribute__((weak)) { // expected-warning {{'weak' attribute only applies to variables, functions and classes}}
10 int test3 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
11 void test4() __attribute__((weak)); // expected-error {{weak declaratio
[all...]
/external/llvm/test/MC/ELF/
H A Dweak.s3 // Test that this produces a weak undefined symbol.
5 .weak foo
9 .weak bar
H A Dweak-relocation.s3 // Test that weak symbols always produce relocations
5 .weak foo
/external/clang/test/CodeGen/
H A Dglobal-decls.c4 extern int g0_ext __attribute__((weak));
6 extern int __attribute__((weak)) g1_ext (void);
8 // RUN: grep '@g0_common = weak global i32' %t
9 int g0_common __attribute__((weak));
11 // RUN: grep '@g0_def = weak global i32' %t
12 int g0_def __attribute__((weak)) = 52;
13 // RUN: grep 'define weak i32 @g1_def()' %t
14 int __attribute__((weak)) g1_def (void) { return 0; }
H A D2008-11-02-WeakAlias.c4 // CHECK: weak
5 void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));
H A Dpragma-weak.c3 // CHECK: @weakvar = weak global
5 // CHECK: @correct_linkage = weak global
10 // CHECK-DAG: @weakvar_alias = alias weak i32* @__weakvar_alias
11 // CHECK-DAG: @foo = alias weak void ()* @__foo
12 // CHECK-DAG: @foo2 = alias weak void ()* @__foo2
13 // CHECK-DAG: @stutter = alias weak void ()* @__stutter
14 // CHECK-DAG: @stutter2 = alias weak void ()* @__stutter2
15 // CHECK-DAG: @declfirst = alias weak void ()* @__declfirst
16 // CHECK-DAG: @declfirstattr = alias weak void ()* @__declfirstattr
17 // CHECK-DAG: @mix2 = alias weak voi
[all...]
H A D2008-07-29-override-alias-decl.c8 int f() __attribute__((weak, alias("x")));
H A Dunwind-attr.c19 // <rdar://problem/8283071>: not for weak functions
20 // CHECK: define weak [[INT:i.*]] @test2() [[TF]] {
21 // CHECK-NOEXC: define weak [[INT:i.*]] @test2() [[NUW]] {
22 __attribute__((weak)) int test2(void) {
H A Dweak-incomplete.c4 void __attribute__((weak)) foo1(struct S);
H A Dweak_constant.c4 const int x __attribute((weak)) = 123;
H A DPR2743-reference-missing-static.c15 void e2() __attribute__((weak));
/external/clang/test/Preprocessor/
H A Dignore-pragmas.c9 #pragma weak
/external/clang/test/CodeGenCXX/
H A Dpragma-weak.cpp3 #pragma weak zex
5 // GCC produces a weak symbol for this because it matches mangled names.
10 #pragma weak foo
15 #pragma weak zed
19 #pragma weak bah
23 #pragma weak baz
25 // CHECK-LABEL: define weak void @baz(
27 #pragma weak _Z3baxv
29 // GCC produces a weak symbol for this one, but it doesn't look like a good
/external/clang/test/Sema/
H A 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 variables and functions}}
14 static int x __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
21 extern int pr14946_x __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
24 void pr14946_f() __attribute__((weak)); // expected-error {{weak declaratio
[all...]
H A Dpragma-weak.c4 #pragma weak both3 = __both3 // expected-note {{previous definition}}
9 #pragma weak a3 = __a3 // expected-note {{previous definition}}
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/ios/
H A DAPPRTCViewController.h33 @property(weak, nonatomic) IBOutlet UITextField* roomInput;
34 @property(weak, nonatomic) IBOutlet UITextView* instructionsView;
35 @property(weak, nonatomic) IBOutlet UITextView* logView;
36 @property(weak, nonatomic) IBOutlet UIView* blackView;
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/Android.mk
19 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/default
23 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/weak_ptr
27 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/shared_ptr_Y
31 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/Android.mk
19 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/lock
23 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/owner_before_shared_ptr
27 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/expired
31 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/Android.mk
19 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/swap
23 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/reset
/external/chromium_org/ppapi/native_client/src/untrusted/nacl_ppapi_util/
H A Dppapi_srpc_main.c24 * The weak reference to the function __nacl_register_thread_creator
27 * so if this code is compiled and linked with irt=1, the weak symbol
33 * so the __nacl_register_thread_creator weak symbol will have the
40 * testing the irt bit, avoiding the weak attribute magic.
46 __attribute__((weak));
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/tests/
H A Delftypesize.asm0 weak weaksym
5 weak weaksym2 label
1 weak weaksym label

Completed in 943 milliseconds

12345678