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
3948
) 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() {
/development/ndk/platforms/android-3/arch-arm/src/
__dso_handle_so.h
34
__attribute__
((visibility ("hidden")))
35
__attribute__
((section (".data")))
/external/clang/test/Sema/
constructor-attribute.c
3
int x
__attribute__
((constructor)); // expected-warning {{'constructor' attribute only applies to functions}}
4
int f()
__attribute__
((constructor));
5
int f()
__attribute__
((constructor(1)));
6
int f()
__attribute__
((constructor(1,2))); // expected-error {{attribute takes no more than 1 argument}}
7
int f()
__attribute__
((constructor(1.0))); // expected-error {{'constructor' attribute requires parameter 1 to be an integer constant}}
9
int x
__attribute__
((destructor)); // expected-warning {{'destructor' attribute only applies to functions}}
10
int f()
__attribute__
((destructor));
11
int f()
__attribute__
((destructor(1)));
12
int f()
__attribute__
((destructor(1,2))); // expected-error {{attribute takes no more than 1 argument}}
13
int f()
__attribute__
((destructor(1.0))); // expected-error {{'destructor' attribute requires parameter 1 to be an integ (…)
[
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-section.c
3
int x
__attribute__
((section(
8
int y
__attribute__
((section(
13
__attribute__
((section("NEAR,x"))) int n1; // expected-error {{'section' attribute is not valid on local variables}}
14
__attribute__
((section("NEAR,x"))) static int n2; // ok.
18
void
__attribute__
((section("foo,zed"))) test2(void); // expected-note {{previous attribute is here}}
19
void
__attribute__
((section("bar,zed"))) test2(void) {} // expected-warning {{section does not match previous declaration}}
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-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 {{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
...]
attr-naked.c
3
int a
__attribute__
((naked)); // expected-warning {{'naked' attribute only applies to functions}}
5
__attribute__
((naked)) int t0(void) {
9
void t1()
__attribute__
((naked));
11
void t2()
__attribute__
((naked(2))); // expected-error {{attribute takes no arguments}}
attr-nodebug.c
3
int a
__attribute__
((nodebug));
6
int b
__attribute__
((nodebug)); // expected-warning {{'nodebug' only applies to variables with static storage duration and functions}}
9
void t1()
__attribute__
((nodebug));
11
void t2()
__attribute__
((nodebug(2))); // expected-error {{attribute takes no arguments}}
block-return-2.c
4
^ (void)
__attribute__
((noreturn)) { }(); // expected-error {{block declared 'noreturn' should not return}}
mips16_attr_not_allowed.c
3
void
__attribute__
((nomips16)) foo32(); // expected-warning {{unknown attribute 'nomips16' ignored}}
4
void
__attribute__
((mips16)) foo16(); // expected-warning {{unknown attribute 'mips16' ignored}}
attr-decl-after-definition.c
4
void foo()
__attribute__
((unused));
5
void foo()
__attribute__
((unused));
7
void foo()
__attribute__
((constructor)); // expected-warning {{must precede definition}}
13
int bar
__attribute__
((weak));
14
int bar
__attribute__
((used));
15
extern int bar
__attribute__
((weak));
17
int bar
__attribute__
((weak)); // no warning as it matches the existing
19
int bar
__attribute__
((used,
25
struct
__attribute__
((visibility("hidden"))) zed; // expected-warning {{must precede definition}}
27
struct
__attribute__
((visibility("hidden"))) zed2
[
all
...]
/external/clang/test/CodeGen/
attr-used.c
7
int g0
__attribute__
((used));
9
static void
__attribute__
((used)) f0(void) {
13
static int l0
__attribute__
((used)) = 5225;
2009-03-01-MallocNoAlias.c
3
void *
__attribute__
((malloc)) foo (void) { return 0; }
attr-coldhot.c
3
int test1()
__attribute__
((__cold__)) {
hidden-visibility.c
4
int X
__attribute__
((__visibility__ ("hidden"))) = 123;
/external/clang/test/PCH/Inputs/
chain-ext_vector1.h
3
typedef
__attribute__
((ext_vector_type(2))) float float2;
chain-ext_vector2.h
3
typedef
__attribute__
((ext_vector_type(4))) float float4;
/external/clang/test/SemaCXX/
attr-declspec-ignored.cpp
4
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) class A; // expected-warning{{attribute 'visibility' is ignored, place it after "class" to apply attribute to type declaration}} \
6
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) struct B; // expected-warning{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
8
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) union C; // expected-warning{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
10
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) enum D {D}; // expected-warning{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
15
__attribute__
((visibility("hidden")))
__attribute__
((aligned)) class A {} a
[
all
...]
/external/clang/test/SemaObjC/
nonnull.h
2
#define NONNULL_ATTR
__attribute__
((nonnull))
/external/compiler-rt/SDKs/linux/usr/include/
stdlib.h
24
void abort(void)
__attribute__
((__nothrow__))
__attribute__
((__noreturn__));
25
int atoi(const char *)
__attribute__
((__nothrow__));
26
void free(void *)
__attribute__
((__nothrow__));
27
char *getenv(const char *)
__attribute__
((__nothrow__))
28
__attribute__
((__nonnull__(1)));
29
__attribute__
((__warn_unused_result__));
30
void *malloc(size_t)
__attribute__
((__nothrow__)) __attribute((__malloc__))
31
__attribute__
((__warn_unused_result__));
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/
functexcept.h
43
__throw_bad_exception(void)
__attribute__
((__noreturn__));
47
__throw_bad_alloc(void)
__attribute__
((__noreturn__));
51
__throw_bad_cast(void)
__attribute__
((__noreturn__));
54
__throw_bad_typeid(void)
__attribute__
((__noreturn__));
58
__throw_logic_error(const char*)
__attribute__
((__noreturn__));
61
__throw_domain_error(const char*)
__attribute__
((__noreturn__));
64
__throw_invalid_argument(const char*)
__attribute__
((__noreturn__));
67
__throw_length_error(const char*)
__attribute__
((__noreturn__));
70
__throw_out_of_range(const char*)
__attribute__
((__noreturn__));
73
__throw_runtime_error(const char*)
__attribute__
((__noreturn__))
[
all
...]
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/
functexcept.h
43
__throw_bad_exception(void)
__attribute__
((__noreturn__));
47
__throw_bad_alloc(void)
__attribute__
((__noreturn__));
51
__throw_bad_cast(void)
__attribute__
((__noreturn__));
54
__throw_bad_typeid(void)
__attribute__
((__noreturn__));
58
__throw_logic_error(const char*)
__attribute__
((__noreturn__));
61
__throw_domain_error(const char*)
__attribute__
((__noreturn__));
64
__throw_invalid_argument(const char*)
__attribute__
((__noreturn__));
67
__throw_length_error(const char*)
__attribute__
((__noreturn__));
70
__throw_out_of_range(const char*)
__attribute__
((__noreturn__));
73
__throw_runtime_error(const char*)
__attribute__
((__noreturn__))
[
all
...]
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/
functexcept.h
43
__throw_bad_exception(void)
__attribute__
((__noreturn__));
47
__throw_bad_alloc(void)
__attribute__
((__noreturn__));
51
__throw_bad_cast(void)
__attribute__
((__noreturn__));
54
__throw_bad_typeid(void)
__attribute__
((__noreturn__));
58
__throw_logic_error(const char*)
__attribute__
((__noreturn__));
61
__throw_domain_error(const char*)
__attribute__
((__noreturn__));
64
__throw_invalid_argument(const char*)
__attribute__
((__noreturn__));
67
__throw_length_error(const char*)
__attribute__
((__noreturn__));
70
__throw_out_of_range(const char*)
__attribute__
((__noreturn__));
73
__throw_runtime_error(const char*)
__attribute__
((__noreturn__))
[
all
...]
Completed in 1736 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>