Searched refs:__alignof__ (Results 1 – 5 of 5) sorted by relevance
/PHP-7.3/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 277 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes() 335 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char alt_result[32]); in php_sha256_crypt_r() 336 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char temp_result[32]); in php_sha256_crypt_r() 374 if ((key - (char *) 0) % __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) - (tmp - (char *) 0) % __alignof__(uint32_t)… in php_sha256_crypt_r() 379 if ((salt - (char *) 0) % __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 307 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint64_t) != 0) in sha512_process_bytes() 369 ZEND_SET_ALIGNED(__alignof__ (uint64_t), unsigned char alt_result[64]); in php_sha512_crypt_r() 370 ZEND_SET_ALIGNED(__alignof__ (uint64_t), unsigned char temp_result[64]); in php_sha512_crypt_r() 408 if ((key - (char *) 0) % __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) - (tmp - (char *) 0) % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r() 414 if ((salt - (char *) 0) % __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 | 262 dnl Check for __alignof__ support in the compiler 264 AC_CACHE_CHECK(whether the compiler supports __alignof__, ac_cv_alignof_exists,[ 267 int align = __alignof__(int); 274 AC_DEFINE([HAVE_ALIGNOF], 1, [whether the compiler supports __alignof__]) 290 unsigned char test[32] __attribute__ ((__aligned__ (__alignof__ (int))));
|
/PHP-7.3/ext/opcache/ |
H A D | zend_shared_alloc.h | 140 # define PLATFORM_ALIGNMENT (__alignof__(align_test) < 8 ? 8 : __alignof__(align_test))
|
/PHP-7.3/Zend/ |
H A D | Zend.m4 | 232 #define ZEND_MM_ALIGNMENT (__alignof__ (mm_align_test))
|
Completed in 13 milliseconds