OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:__attribute__
(Results
1 - 25
of
627
) sorted by relevancy
1
2
3
4
5
6
7
8
9
10
11
>>
/src/tests/usr.bin/xlint/lint1/
gcc_attribute_enum.c
5
* Tests for the GCC
__attribute__
for enumerators.
16
enum
__attribute__
(())
__attribute__
((__deprecated__)) tag;
18
enum
__attribute__
(())
__attribute__
((__deprecated__)) tag_with_declaration {
20
}
__attribute__
(())
__attribute__
((__deprecated__));
22
enum
__attribute__
(())
__attribute__
((__deprecated__)) {
24
}
__attribute__
(()) __attribute__((__deprecated__))
[
all
...]
gcc_attribute.c
13
void
__attribute__
((noinline))
19
void
__attribute__
((nonnull))
27
void
__attribute__
((nonnull()))
31
void
__attribute__
((nonnull(1, 2)))
38
void
__attribute__
((unknown_attribute))
70
__attribute__
((__noreturn__))
71
__attribute__
((__noreturn__))
84
__attribute__
((/* none */));
91
__attribute__
((/* none */, /* still none */));
94
* Ensure that
__attribute__
can be specified everywhere in a declaration
[
all
...]
gcc_attribute_func.c
5
* Tests for the GCC
__attribute__
for functions.
13
__attribute__
((__noreturn__))
14
__attribute__
((__aligned__(8), __cold__))
15
__attribute__
((__deprecated__("do not use while driving")));
17
__attribute__
((__cold__))
20
void
__attribute__
((__cold__)) attribute_after_type_spec(void);
21
void *
__attribute__
((__cold__)) attribute_before_name(void);
22
/*TODO: do not allow
__attribute__
after function name */
23
void *attribute_after_name
__attribute__
((__cold__))(void);
24
void *attribute_after_parameters(void)
__attribute__
((__cold__))
[
all
...]
gcc_attribute_var.c
5
* Tests for the GCC
__attribute__
for variables.
16
__attribute__
((__aligned__(4096)));
23
__attribute__
((__deprecated__)) int before,
24
int
__attribute__
((__deprecated__)) between,
25
int after
__attribute__
((__deprecated__))
31
* A GCC extension allows statement of the form
__attribute__
((fallthrough)),
38
__attribute__
((unused)) _Bool var1;
43
__attribute__
((unused)) _Bool var2;
44
__attribute__
((fallthrough));
52
const char *argv[]
__attribute__
((__unused__)
[
all
...]
gcc_attribute_type.c
5
* Tests for the GCC
__attribute__
for types.
10
struct
__attribute__
((__packed__))
__attribute__
(()) packed_record;
12
struct
__attribute__
((__packed__)) packed_record {
20
}
__attribute__
((__packed__));
22
/* TODO: do not allow
__attribute__
before 'struct' */
23
__attribute__
((__packed__))
gcc_attribute_label.c
5
* Tests for the GCC
__attribute__
for labels.
20
__attribute__
((__cold__))
__attribute__
((__cold__));
24
__attribute__
((__hot__))
__attribute__
((__hot__));
35
__attribute__
((__unused__))
40
__attribute__
((__unused__))
48
__attribute__
((__unused__))
gcc_attribute_stmt.c
5
* Tests for the GCC
__attribute__
for statements.
24
__attribute__
((__fallthrough__));
27
__attribute__
((__fallthrough__));
34
/* expect+2: error: syntax error '
__attribute__
' [249] */
36
__attribute__
((__fallthrough__));
parse_type_name.c
70
sink(sizeof(int *
__attribute__
(())[3]));
97
sink(sizeof(int (*)
__attribute__
(())));
98
sink(sizeof(int (*)
__attribute__
(())
__attribute__
(())));
106
sink(sizeof(void (*)()
__attribute__
(())));
109
* All following
__attribute__
come from direct_abstract_declarator.
111
sink(sizeof(void (*)()
__attribute__
(())
__attribute__
(())));
114
sink(sizeof(void (*)(void)
__attribute__
(())));
117
* All following
__attribute__
come from direct_abstract_declarator
[
all
...]
parse_init_declarator.c
16
__asm("")
__attribute__
((deprecated));
20
__attribute__
((deprecated)) __asm("");
23
__asm("")
__attribute__
((deprecated)) = &global_var;
27
__attribute__
((deprecated)) __asm("") = &global_var;
31
__asm("") = &global_var
__attribute__
((deprecated));
32
/* expect-1: error: syntax error '
__attribute__
' [249] */
msg_231.c
24
int param_scalar_attr
__attribute__
((__unused__)),
25
char *param_ptr_attr
__attribute__
((__unused__)),
26
char param_arr_attr[5]
__attribute__
((__unused__)),
27
void (*param_func_attr)(int, double)
__attribute__
((__unused__)),
28
void (*param_signal_attr(int sig, void (*handler)(int)))(int)
__attribute__
((__unused__))
/src/sys/rump/
linksyms_sun.c
4
__attribute__
((__section__("link_set_start_rump_components")));
6
__attribute__
((__section__("link_set_rump_components")));
8
__attribute__
((__section__("link_set_stop_rump_components")));
11
__attribute__
((__section__("link_set_start_evcnts")));
13
__attribute__
((__section__("link_set_evcnts")));
15
__attribute__
((__section__("link_set_stop_evcnts")));
18
__attribute__
((__section__("link_set_start_prop_linkpools")));
20
__attribute__
((__section__("link_set_prop_linkpools")));
22
__attribute__
((__section__("link_set_stop_prop_linkpools")));
25
__attribute__
((__section__("link_set_start_modules")))
[
all
...]
/src/sys/arch/x68k/stand/common/
exec_image.h
29
__attribute__
((__noreturn__));
/src/usr.sbin/tcpdchk/
percent_m.h
4
__attribute__
((__format_arg__(2)));
/src/common/include/libc/
extern.h
1
void __section(".text.startup")
__attribute__
((__visibility__("hidden")))
/src/lib/csu/arch/aarch64/
crtbegin.h
32
static void __do_global_ctors_aux(void)
__attribute__
((__constructor__)) __used;
34
static void __do_global_dtors_aux(void)
__attribute__
((__destructor__)) __used;
/src/lib/csu/arch/or1k/
crtbegin.h
32
static void __do_global_ctors_aux(void)
__attribute__
((__constructor__)) __used;
34
static void __do_global_dtors_aux(void)
__attribute__
((__destructor__)) __used;
/src/lib/csu/arch/riscv/
crtbegin.h
32
static void __do_global_ctors_aux(void)
__attribute__
((__constructor__)) __used;
34
static void __do_global_dtors_aux(void)
__attribute__
((__destructor__)) __used;
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/
aeabi_div0.c
33
AEABI_RTABI int
__attribute__
((weak))
__attribute__
((visibility("hidden")))
38
AEABI_RTABI long long
__attribute__
((weak))
__attribute__
((visibility("hidden")))
/src/usr.sbin/traceroute/
gnuc.h
17
* __dead void foo(void)
__attribute__
((volatile));
25
#ifndef
__attribute__
26
#define
__attribute__
(args)
macro
33
#ifndef
__attribute__
34
#define
__attribute__
(args)
macro
/src/tests/libexec/ld.elf_so/helper_onlydef_static/
h_onlydef_static.c
29
__thread int mysym
__attribute__
((tls_model("initial-exec"))) = 0;
/src/sys/external/bsd/gnu-efi/dist/inc/
eficompiler.h
20
#define EFI_UNUSED
__attribute__
((__unused__))
26
#define EFI_ALIGN(x)
__attribute__
((__aligned__(x)))
29
/* Also add a catch-all on
__attribute__
() for MS compilers */
31
#define
__attribute__
(x)
macro
/src/sys/arch/playstation2/include/
types.h
6
typedef int int128_t
__attribute__
((__mode__(TI)));
7
typedef unsigned int u_int128_t
__attribute__
((__mode__(TI)));
/src/usr.sbin/bootp/common/
report.h
7
__attribute__
((__format__(__printf__, 2, 3)));
/src/sys/arch/i386/include/
cdefs.h
7
#define __compactcall
__attribute__
((__regparm__(3)))
/src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_preinit.cc
23
__attribute__
((section(".preinit_array"), used))
Completed in 15 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>
Indexes created Wed Oct 15 16:09:53 GMT 2025