Home
last modified time | relevance | path

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

123

/PHP-7.4/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) {
H A D032.phpt11 struct __attribute__((packed)) {
/PHP-7.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-7.4/Zend/
H A Dzend_portability.h189 # define ZEND_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
223 # define ZEND_ATTRIBUTE_UNUSED __attribute__((unused))
229 # define ZEND_COLD __attribute__((cold))
230 # define ZEND_HOT __attribute__((hot))
232 # define ZEND_OPT_SIZE __attribute__((optimize("Os")))
247 # define ZEND_ATTRIBUTE_COLD_LABEL __attribute__((cold));
248 # define ZEND_ATTRIBUTE_HOT_LABEL __attribute__((hot));
256 # define ZEND_FASTCALL __attribute__((fastcall))
267 # define ZEND_NORETURN __attribute__((noreturn))
299 # define zend_never_inline __attribute__((noinline))
[all …]
/PHP-7.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-7.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)));
H A Dfpm_config.h13 # define __attribute__(x) /*NOTHING*/ macro
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_defs.h54 #define MBFLAPI __attribute__((visibility("default")))
/PHP-7.4/ext/hash/sha3/generic32lc/
H A Dalign.h25 #define ALIGN(x) __attribute__ ((aligned(x)))
/PHP-7.4/ext/hash/sha3/generic64lc/
H A Dalign.h25 #define ALIGN(x) __attribute__ ((aligned(x)))
/PHP-7.4/sapi/cli/
H A Dcli.h25 # define PHP_CLI_API __attribute__ ((visibility("default")))
/PHP-7.4/ext/gmp/
H A Dphp_gmp_int.h14 # define PHP_GMP_API __attribute__ ((visibility("default")))
/PHP-7.4/ext/zend_test/
H A Dphp_test.h43 # define PHP_ZEND_TEST_API __attribute__ ((visibility("default")))
/PHP-7.4/ext/phar/
H A Dtar.h28 # define PHAR_TAR_PACK __attribute__((__packed__))
/PHP-7.4/ext/standard/
H A Dbase64.c342 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) ZEND_API func __attribute__((target("ssse3")))
353 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) ZEND_API func __attribute__((target("ssse3")))
385 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) __attribute__((ifunc…
386 …_decode_ex(const unsigned char *str, size_t length, zend_bool strict) __attribute__((ifunc("resolv…
456 static __m256i php_base64_encode_avx2_reshuffle(__m256i in) __attribute__((target("avx2")));
457 static __m256i php_base64_encode_avx2_translate(__m256i in) __attribute__((target("avx2")));
522 static __m128i php_base64_encode_ssse3_reshuffle(__m128i in) __attribute__((target("ssse3")));
523 static __m128i php_base64_encode_ssse3_translate(__m128i in) __attribute__((target("ssse3")));
674 static __m256i php_base64_decode_avx2_reshuffle(__m256i in) __attribute__((target("avx2")));
695 static __m128i php_base64_decode_ssse3_reshuffle(__m128i in) __attribute__((target("ssse3")));
/PHP-7.4/ext/pdo/
H A Dphp_pdo.h39 # define PDO_API __attribute__ ((visibility("default")))
/PHP-7.4/ext/spl/
H A Dphp_spl.h39 # define SPL_API __attribute__ ((visibility("default")))
/PHP-7.4/ext/bz2/
H A Dphp_bz2.h43 # define PHP_BZ2_API __attribute__ ((visibility("default")))
/PHP-7.4/ext/iconv/
H A Dphp_iconv.h30 # define PHP_ICONV_API __attribute__ ((visibility("default")))
/PHP-7.4/ext/odbc/
H A Dphp_odbc.h105 # define PHP_ODBC_API __attribute__ ((visibility("default")))
/PHP-7.4/ext/dom/
H A Dxml_common.h49 # define PHP_DOM_EXPORT __attribute__ ((visibility("default")))

Completed in 52 milliseconds

123