OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:__attribute__
(Results
1 - 25
of
6447
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/bionic/linker/
rt.cpp
33
extern "C" void
__attribute__
((noinline))
__attribute__
((visibility("default"))) rtld_db_dlactivity() {
/external/clang/test/Sema/
internal_linkage.c
3
int var
__attribute__
((internal_linkage));
4
int var2
__attribute__
((internal_linkage,common)); // expected-error{{'internal_linkage' and 'common' attributes are not compatible}} \
6
int var3
__attribute__
((common,internal_linkage)); // expected-error{{'common' and 'internal_linkage' attributes are not compatible}} \
9
int var4
__attribute__
((common)); // expected-error{{'common' and 'internal_linkage' attributes are not compatible}} \
11
int var4
__attribute__
((internal_linkage)); // expected-note{{conflicting attribute is here}} \
14
int var5
__attribute__
((internal_linkage)); // expected-error{{'internal_linkage' and 'common' attributes are not compatible}}
15
int var5
__attribute__
((common)); // expected-note{{conflicting attribute is here}}
17
__attribute__
((internal_linkage)) int f() {}
18
struct
__attribute__
((internal_linkage)) S { // expected-warning{{'internal_linkage' attribute only applies to variables and functions}}
21
__attribute__
((internal_linkage("foo"))) int g() {} // expected-error{{'internal_linkage' attribute takes no arg (…)
[
all
...]
2009-03-09-WeakDeclarations-1.c
5
extern int ext_weak_import
__attribute__
((__weak_import__));
8
int decl_weak_import
__attribute__
((__weak_import__)); // expected-warning {{'weak_import' attribute cannot be specified on a definition}}
9
int decl_initialized_weak_import
__attribute__
((__weak_import__)) = 13; // expected-warning {{'weak_import' attribute cannot be specified on a definition}}
12
extern int ext_f(void)
__attribute__
((__weak_import__));
15
int def_f(void)
__attribute__
((__weak_import__));
16
int
__attribute__
((__weak_import__)) decl_f(void) {return 0;};
attr-declspec-ignored.c
3
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) struct A; // expected-warning{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
5
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) union B; // expected-warning{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
7
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) enum C {C}; // expected-warning{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
10
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) struct D {} d;
11
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) union E {} e
[
all
...]
attr-kernel.c
3
int
__attribute__
((kernel)) g; // expected-warning {{'kernel' attribute only applies to functions}}
5
int
__attribute__
((kernel)) f1(void) { // expected-warning {{'kernel' attribute ignored}}
9
int
__attribute__
((kernel(1, 2))) f2(void) { // expected-error {{'kernel' attribute takes no more than 1 argument}}
attr-noduplicate.c
3
int a
__attribute__
((noduplicate)); // expected-warning {{'noduplicate' attribute only applies to functions}}
5
void t1()
__attribute__
((noduplicate));
7
void t2()
__attribute__
((noduplicate(2))); // expected-error {{'noduplicate' attribute takes no arguments}}
attr-noinline.c
3
int a
__attribute__
((noinline)); // expected-warning {{'noinline' attribute only applies to functions}}
5
void t1()
__attribute__
((noinline));
7
void t2()
__attribute__
((noinline(2))); // expected-error {{'noinline' attribute takes no arguments}}
attr-weak.c
3
extern int g0
__attribute__
((weak));
4
extern int g1
__attribute__
((weak_import));
5
int g2
__attribute__
((weak));
6
int g3
__attribute__
((weak_import)); // expected-warning {{'weak_import' attribute cannot be specified on a definition}}
7
int
__attribute__
((weak_import)) g4(void);
8
void
__attribute__
((weak_import)) g5(void) {
11
struct
__attribute__
((weak)) s0 {}; // expected-warning {{'weak' attribute only applies to variables and functions}}
12
struct
__attribute__
((weak_import)) s1 {}; // expected-warning {{'weak_import' attribute only applies to variables and functions}}
14
static int x
__attribute__
((weak)); // expected-error {{weak declaration cannot have internal linkage}}
18
extern int C
__attribute__
((weak_import)); // expected-warning {{an already-declared variable is made a weak_import declarati (…)
[
all
...]
xray-always-instrument-attr.c
2
void foo()
__attribute__
((xray_always_instrument));
4
struct
__attribute__
((xray_always_instrument)) a { int x; }; // expected-warning {{'xray_always_instrument' attribute only applies to functions and methods}}
6
void bar()
__attribute__
((xray_always_instrument("not-supported"))); // expected-error {{'xray_always_instrument' attribute takes no arguments}}
/external/clang/test/CodeGen/
arm-interrupt-attr.c
4
__attribute__
((interrupt)) void test_generic_interrupt() {
10
__attribute__
((interrupt("IRQ"))) void test_irq_interrupt() {
14
__attribute__
((interrupt("FIQ"))) void test_fiq_interrupt() {
18
__attribute__
((interrupt("SWI"))) void test_swi_interrupt() {
22
__attribute__
((interrupt("ABORT"))) void test_abort_interrupt() {
27
__attribute__
((interrupt("UNDEF"))) void test_undef_interrupt() {
address-safety-attr-kasan.cpp
2
// Also document that
__attribute__
((no_sanitize_address)) doesn't disable KASan instrumentation.
15
__attribute__
((no_sanitize("address")))
23
__attribute__
((no_sanitize_address))
31
__attribute__
((no_sanitize("kernel-address")))
2009-03-01-MallocNoAlias.c
3
void *
__attribute__
((malloc)) foo (void) { return 0; }
attr-coldhot.c
3
int test1()
__attribute__
((__cold__)) {
attr-optnone.c
11
__attribute__
((always_inline))
16
__attribute__
((optnone))
20
__attribute__
((optnone))
__attribute__
((cold))
attr-target-ppc.c
3
long
__attribute__
((target("power8-vector,no-vsx"))) foo (void) { return 0; } // expected-error {{option '-mpower8-vector' cannot be specified with '-mno-vsx'}}
hidden-visibility.c
4
int X
__attribute__
((__visibility__ ("hidden"))) = 123;
mips-interrupt-attr.c
3
void
__attribute__
((interrupt("vector=sw0")))
9
void
__attribute__
((interrupt("vector=sw1")))
15
void
__attribute__
((interrupt("vector=hw0")))
21
void
__attribute__
((interrupt("vector=hw1")))
27
void
__attribute__
((interrupt("vector=hw2")))
33
void
__attribute__
((interrupt("vector=hw3")))
39
void
__attribute__
((interrupt("vector=hw4")))
45
void
__attribute__
((interrupt("vector=hw5")))
51
void
__attribute__
((interrupt))
/external/clang/test/Index/
visibility.c
6
void
__attribute__
(( visibility("default") )) default_visibility();
8
void
__attribute__
(( visibility("hidden") )) hidden_visibility();
10
void
__attribute__
(( visibility("protected") )) protected_visibility();
attributes.c
3
struct
__attribute__
((packed)) Test2 {
7
void pure_fn()
__attribute__
((pure));
8
void const_fn()
__attribute__
((const));
9
void noduplicate_fn()
__attribute__
((noduplicate));
/toolchain/binutils/binutils-2.27/gold/testsuite/
text_section_grouping.cc
28
__attribute__
((section(".text.hot.foo")))
35
__attribute__
((section(".text.startup.foo")))
42
__attribute__
((section(".text.unlikely.foo")))
49
__attribute__
((section(".text.hot.bar")))
56
__attribute__
((section(".text.startup.bar")))
63
__attribute__
((section(".text.unlikely.bar")))
plugin_final_layout.cc
29
__attribute__
((section(".text._Z3barv")))
34
__attribute__
((section(".text.hot._Z3bazv")))
39
__attribute__
((section(".text.hot._Z3foov")))
/external/clang/test/Modules/Inputs/thread-safety/
a.h
1
struct
__attribute__
((lockable)) mutex {
2
void lock()
__attribute__
((exclusive_lock_function));
3
void unlock()
__attribute__
((unlock_function));
/external/clang/test/SemaCXX/
attr-used.cpp
3
extern char test1[]
__attribute__
((used)); // expected-warning {{'used' attribute ignored}}
4
extern const char test2[]
__attribute__
((used)); // expected-warning {{'used' attribute ignored}}
5
extern const char test3[]
__attribute__
((used)) = "";
/bionic/tests/libs/
dlsym_weak_function.cpp
17
extern "C" int
__attribute__
((weak)) weak_func() {
/external/clang/test/CodeGenCXX/
pr21989.cpp
5
void
__attribute__
((used)) f() {}
Completed in 1377 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>