Home
last modified time | relevance | path

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

123

/PHP-8.0/ext/ffi/tests/
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 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 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.0/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.0/Zend/
H A Dzend_portability.h191 # define ZEND_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
225 # define ZEND_ATTRIBUTE_UNUSED __attribute__((unused))
231 # define ZEND_COLD __attribute__((cold))
232 # define ZEND_HOT __attribute__((hot))
234 # define ZEND_OPT_SIZE __attribute__((optimize("Os")))
249 # define ZEND_ATTRIBUTE_COLD_LABEL __attribute__((cold));
250 # define ZEND_ATTRIBUTE_HOT_LABEL __attribute__((hot));
258 # define ZEND_FASTCALL __attribute__((fastcall))
269 # define ZEND_NORETURN __attribute__((noreturn))
301 # define zend_never_inline __attribute__((noinline))
[all …]
/PHP-8.0/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.0/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.0/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_defs.h54 #define MBFLAPI __attribute__((visibility("default")))
/PHP-8.0/ext/hash/sha3/generic64lc/
H A Dalign.h25 #define ALIGN(x) __attribute__ ((aligned(x)))
/PHP-8.0/ext/hash/sha3/generic32lc/
H A Dalign.h25 #define ALIGN(x) __attribute__ ((aligned(x)))
/PHP-8.0/ext/curl/
H A Dphp_curl.h30 # define PHP_CURL_API __attribute__ ((visibility("default")))
/PHP-8.0/sapi/cli/
H A Dcli.h23 # define PHP_CLI_API __attribute__ ((visibility("default")))
/PHP-8.0/ext/opcache/jit/libudis86/
H A Dsyn.h40 __attribute__ ((format (printf, 2, 3)));
/PHP-8.0/TSRM/
H A DTSRM.h32 # define TSRM_API __attribute__ ((visibility("default")))
153 # define TSRM_TLS_MODEL_ATTR __attribute__((tls_model("initial-exec")))
155 # define TSRM_TLS_MODEL_ATTR __attribute__((tls_model("local-exec")))
/PHP-8.0/ext/gmp/
H A Dphp_gmp_int.h14 # define PHP_GMP_API __attribute__ ((visibility("default")))
/PHP-8.0/ext/zend_test/
H A Dphp_test.h41 # define PHP_ZEND_TEST_API __attribute__ ((visibility("default")))
/PHP-8.0/ext/odbc/
H A Dphp_odbc.h48 # define PHP_ODBC_API __attribute__ ((visibility("default")))
/PHP-8.0/ext/phar/
H A Dtar.h28 # define PHAR_TAR_PACK __attribute__((__packed__))
/PHP-8.0/ext/pdo/
H A Dphp_pdo.h37 # define PDO_API __attribute__ ((visibility("default")))
/PHP-8.0/ext/standard/
H A Dbase64.c340 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) ZEND_API func __attribute__((target("ssse3")))
351 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) ZEND_API func __attribute__((target("ssse3")))
383 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) __attribute__((ifunc…
384 …_decode_ex(const unsigned char *str, size_t length, zend_bool strict) __attribute__((ifunc("resolv…
457 static __m256i php_base64_encode_avx2_reshuffle(__m256i in) __attribute__((target("avx2")));
458 static __m256i php_base64_encode_avx2_translate(__m256i in) __attribute__((target("avx2")));
523 static __m128i php_base64_encode_ssse3_reshuffle(__m128i in) __attribute__((target("ssse3")));
524 static __m128i php_base64_encode_ssse3_translate(__m128i in) __attribute__((target("ssse3")));
675 static __m256i php_base64_decode_avx2_reshuffle(__m256i in) __attribute__((target("avx2")));
696 static __m128i php_base64_decode_ssse3_reshuffle(__m128i in) __attribute__((target("ssse3")));
/PHP-8.0/ext/spl/
H A Dphp_spl.h37 # define SPL_API __attribute__ ((visibility("default")))
/PHP-8.0/ext/bz2/
H A Dphp_bz2.h41 # define PHP_BZ2_API __attribute__ ((visibility("default")))
/PHP-8.0/ext/gd/
H A Dphp_gd.h60 # define PHP_GD_API __attribute__ ((visibility("default")))

Completed in 45 milliseconds

123