Home
last modified time | relevance | path

Searched refs:__attribute__ (Results 1 – 25 of 82) sorted by relevance

1234

/PHP-8.4/build/
H A Dax_gcc_func_attribute.m485 AC_CACHE_CHECK([for __attribute__(($1))], [ac_var], [
105 int foo( void ) __attribute__(($1));
108 int foo( void ) __attribute__(($1));
114 int foo( void ) __attribute__(($1));
120 int foo( void ) __attribute__(($1));
126 int foo( void ) __attribute__(($1));
132 int foo( void ) __attribute__(($1));
138 int foo( void ) __attribute__(($1));
150 int foo( void ) __attribute__(($1));
164 int foo( void ) __attribute__(($1));
[all …]
/PHP-8.4/ext/ffi/tests/
H A D022.phpt25 test_size(5, "struct __attribute__((packed)) {char a; uint32_t b;}");
26 test_size(5, "struct __attribute__((packed)) {uint32_t a; char b;}");
39 test_align(1, "union __attribute__((packed)) {char a; uint32_t b;}");
40 test_align(1, "union __attribute__((packed)) {uint32_t a; char b;}");
42 test_size(8, "struct {char a __attribute__((packed)); uint32_t b;}");
43 test_size(5, "struct {char a; uint32_t b __attribute__((packed));}");
44 test_size(5, "struct {uint32_t a __attribute__((packed)); char b;}");
45 test_size(8, "struct {uint32_t a; char b __attribute__((packed));}");
47 test_align(4, "struct {char a __attribute__((packed)); uint32_t b;}");
49 test_align(1, "struct {uint32_t a __attribute__((packed)); char b;}");
[all …]
H A D044.phpt10 typedef int a __attribute__ ((__mode__ (__QI__)));
11 typedef unsigned int ua __attribute__ ((__mode__ (__QI__)));
12 typedef int b __attribute__ ((__mode__ (__HI__)));
13 typedef unsigned int ub __attribute__ ((__mode__ (__HI__)));
14 typedef int c __attribute__ ((__mode__ (__SI__)));
15 typedef unsigned int uc __attribute__ ((__mode__ (__SI__)));
16 typedef int d __attribute__ ((__mode__ (__DI__)));
17 typedef unsigned int ud __attribute__ ((__mode__ (__DI__)));
18 typedef float e __attribute__ ((__mode__ (__SF__)));
19 typedef float f __attribute__ ((__mode__ (__DF__)));
H A D021.phpt16 test(1, "enum __attribute__((packed)) {a2, b2}");
24 test(1, "enum __attribute__((packed)) {a8=0, b8=0xff}");
25 test(2, "enum __attribute__((packed)) {a9=0, b9=0x100}");
27 test(1, "enum __attribute__((packed)) {a10=-1, b10=0x7f}");
28 test(2, "enum __attribute__((packed)) {a11=-1, b11=0x80}");
32 test(2, "enum __attribute__((packed)) {a8=0, b8=0xffff}");
33 test(4, "enum __attribute__((packed)) {a9=0, b9=0x10000}");
48 test(1, "enum __attribute__((packed)) {a14=-0x80}");
49 test(2, "enum __attribute__((packed)) {a14=-0x81}");
50 test(2, "enum __attribute__((packed)) {a14=-0x8000}");
[all …]
H A D031.phpt21 test_size( 1, "struct __attribute__((packed)) {int a:2; int b:2;}");
23 test_size( 9, "struct __attribute__((packed)) {int a:2; unsigned long long :64; int b:2;}");
25 test_size( 1, "union __attribute__((packed)) {int a:2; int b:8;}");
H A Dutils.inc23 foreach (['__attribute__((fastcall))', '__fastcall', '__vectorcall'] as $spec) {
/PHP-8.4/Zend/
H A Dzend_portability.h123 # define ZEND_FALLTHROUGH __attribute__((__fallthrough__))
241 # define ZEND_ATTRIBUTE_CONST __attribute__((const))
267 # define ZEND_ATTRIBUTE_UNUSED __attribute__((unused))
274 # define ZEND_ATTRIBUTE_NONNULL __attribute__((nonnull))
283 # define ZEND_COLD __attribute__((cold))
285 # define ZEND_OPT_SIZE __attribute__((optimize("Os")))
299 # define ZEND_ATTRIBUTE_COLD_LABEL __attribute__((cold));
306 # define ZEND_FASTCALL __attribute__((fastcall))
317 # define ZEND_NORETURN __attribute__((noreturn))
363 # define zend_never_inline __attribute__((noinline))
[all …]
/PHP-8.4/ext/pcre/pcre2lib/
H A Dconfig.h15 # define PCRE2_EXP_DECL extern "C" __attribute__ ((visibility("default")))
17 # define PCRE2_EXP_DECL extern __attribute__ ((visibility("default")))
19 # define PCRE2_EXP_DEFN __attribute__ ((visibility("default")))
/PHP-8.4/ext/dom/lexbor/lexbor/core/
H A Ddef.h24 #define LXB_DEPRECATED(func) func __attribute__((deprecated))
46 #define LXB_API __attribute__ ((visibility("default")))
/PHP-8.4/ext/fileinfo/libmagic/
H A Dfile.h104 #define file_public __attribute__ ((__visibility__("default")))
106 #define file_protected __attribute__ ((__visibility__("hidden")))
130 #ifndef __attribute__
131 #define __attribute__(a) macro
502 #define file_locale_used __attribute__((__unused__))
526 __attribute__((__format__(__printf__, 2, 0)));
535 __attribute__((__format__(__printf__, 2, 3)));
571 __attribute__((__format__(__printf__, 3, 4)));
573 __attribute__((__format__(__printf__, 2, 3)));
575 __attribute__((__format__(__printf__, 2, 3)));
[all …]
/PHP-8.4/sapi/fpm/fpm/
H A Dzlog.h31 __attribute__ ((format(printf,4,5)));
101 __attribute__ ((format(printf,2,3)));
108 __attribute__ ((format(printf,2,3)));
/PHP-8.4/ext/fileinfo/
H A Dphp_fileinfo.h28 #define PHP_FILEINFO_API __attribute__((visibility("default")))
/PHP-8.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_defs.h54 #define MBFLAPI __attribute__((visibility("default")))
/PHP-8.4/ext/hash/sha3/generic64lc/
H A Dalign.h25 #define ALIGN(x) __attribute__ ((aligned(x)))
/PHP-8.4/ext/hash/sha3/generic32lc/
H A Dalign.h25 #define ALIGN(x) __attribute__ ((aligned(x)))
/PHP-8.4/ext/curl/
H A Dphp_curl.h30 # define PHP_CURL_API __attribute__ ((visibility("default")))
/PHP-8.4/ext/gmp/
H A Dphp_gmp_int.h16 # define PHP_GMP_API __attribute__ ((visibility("default")))
/PHP-8.4/ext/odbc/
H A Dphp_odbc.h48 # define PHP_ODBC_API __attribute__ ((visibility("default")))
/PHP-8.4/TSRM/
H A DTSRM.h33 # define TSRM_API __attribute__ ((visibility("default")))
159 # define TSRM_TLS_MODEL_ATTR __attribute__((tls_model("initial-exec")))
162 # define TSRM_TLS_MODEL_ATTR __attribute__((tls_model("local-exec")))
/PHP-8.4/ext/phar/
H A Dtar.h28 # define PHAR_TAR_PACK __attribute__((__packed__))
/PHP-8.4/sapi/cli/
H A Dcli.h23 # define PHP_CLI_API __attribute__ ((visibility("default")))
/PHP-8.4/ext/standard/
H A Dcrc32.c71 # pragma clang attribute push(__attribute__((target("crc"))), apply_to=function)
73 # pragma clang attribute push(__attribute__((target("+nothing+crc"))), apply_to=function)
/PHP-8.4/ext/pdo/
H A Dphp_pdo.h40 # define PDO_API __attribute__ ((visibility("default")))
/PHP-8.4/ext/iconv/
H A Dphp_iconv.h28 # define PHP_ICONV_API __attribute__ ((visibility("default")))
/PHP-8.4/ext/bz2/
H A Dphp_bz2.h41 # define PHP_BZ2_API __attribute__ ((visibility("default")))

Completed in 62 milliseconds

1234