Searched refs:__alignof__ (Results 1 – 8 of 8) sorted by relevance
/PHP-8.0/ext/standard/ |
H A D | crypt_sha256.c | 12 # define __alignof__ __alignof macro 17 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro 273 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes() 331 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char alt_result[32]); in php_sha256_crypt_r() 332 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char temp_result[32]); in php_sha256_crypt_r() 374 if ((uintptr_t)key % __alignof__ (uint32_t) != 0) { in php_sha256_crypt_r() 375 char *tmp = (char *) alloca(key_len + __alignof__(uint32_t)); in php_sha256_crypt_r() 376 …key = copied_key = memcpy(tmp + __alignof__(uint32_t) - (uintptr_t)tmp % __alignof__(uint32_t), k… in php_sha256_crypt_r() 379 if ((uintptr_t)salt % __alignof__(uint32_t) != 0) { in php_sha256_crypt_r() 380 char *tmp = (char *) alloca(salt_len + 1 + __alignof__(uint32_t)); in php_sha256_crypt_r() [all …]
|
H A D | crypt_sha512.c | 11 # define __alignof__ __alignof macro 16 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro 303 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint64_t) != 0) in sha512_process_bytes() 365 ZEND_SET_ALIGNED(__alignof__ (uint64_t), unsigned char alt_result[64]); in php_sha512_crypt_r() 366 ZEND_SET_ALIGNED(__alignof__ (uint64_t), unsigned char temp_result[64]); in php_sha512_crypt_r() 408 if ((uintptr_t)key % __alignof__ (uint64_t) != 0) { in php_sha512_crypt_r() 409 char *tmp = (char *) alloca (key_len + __alignof__ (uint64_t)); in php_sha512_crypt_r() 411 memcpy(tmp + __alignof__(uint64_t) - (uintptr_t)tmp % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r() 414 if ((uintptr_t)salt % __alignof__ (uint64_t) != 0) { in php_sha512_crypt_r() 415 char *tmp = (char *) alloca(salt_len + 1 + __alignof__(uint64_t)); in php_sha512_crypt_r() [all …]
|
H A D | config.m4 | 288 unsigned char test[32] __attribute__ ((__aligned__ (__alignof__ (int))));
|
/PHP-8.0/ext/opcache/ |
H A D | zend_shared_alloc.h | 156 # define PLATFORM_ALIGNMENT (__alignof__(align_test) < 8 ? 8 : __alignof__(align_test))
|
/PHP-8.0/ext/hash/ |
H A D | hash.c | 36 # define __alignof__ __alignof macro 40 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro 139 alignment = __alignof__(uint16_t); /* usually 2 */ in parse_serialize_spec() 142 alignment = __alignof__(uint32_t); /* usually 4 */ in parse_serialize_spec() 145 alignment = __alignof__(uint64_t); /* usually 8 */ in parse_serialize_spec() 148 alignment = __alignof__(int); /* usually 4 */ in parse_serialize_spec()
|
/PHP-8.0/Zend/ |
H A D | Zend.m4 | 211 #define ZEND_MM_ALIGNMENT (__alignof__ (mm_align_test))
|
/PHP-8.0/ |
H A D | configure.ac | 504 dnl Check for __alignof__ support in the compiler 505 AC_CACHE_CHECK(whether the compiler supports __alignof__, ac_cv_alignof_exists,[ 508 int align = __alignof__(int); 515 AC_DEFINE([HAVE_ALIGNOF], 1, [whether the compiler supports __alignof__])
|
/PHP-8.0/ext/ffi/ |
H A D | ffi.g | 775 | ("__alignof"|"__alignof__")
|
Completed in 58 milliseconds