Home
last modified time | relevance | path

Searched refs:__alignof__ (Results 1 – 5 of 5) sorted by relevance

/PHP-7.2/ext/standard/
H A Dcrypt_sha256.c12 # define __alignof__ __alignof macro
17 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro
282 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes()
347 unsigned char alt_result[32] ALIGNED(__alignof__ (uint32_t)); in php_sha256_crypt_r()
348 unsigned char temp_result[32] ALIGNED(__alignof__ (uint32_t)); in php_sha256_crypt_r()
386 if ((key - (char *) 0) % __alignof__ (uint32_t) != 0) { in php_sha256_crypt_r()
387 char *tmp = (char *) alloca(key_len + __alignof__(uint32_t)); in php_sha256_crypt_r()
388 …key = copied_key = memcpy(tmp + __alignof__(uint32_t) - (tmp - (char *) 0) % __alignof__(uint32_t)… in php_sha256_crypt_r()
391 if ((salt - (char *) 0) % __alignof__(uint32_t) != 0) { in php_sha256_crypt_r()
392 char *tmp = (char *) alloca(salt_len + 1 + __alignof__(uint32_t)); in php_sha256_crypt_r()
[all …]
H A Dcrypt_sha512.c11 # define __alignof__ __alignof macro
16 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro
312 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint64_t) != 0) in sha512_process_bytes()
381 unsigned char alt_result[64] ALIGNED(__alignof__ (uint64_t)); in php_sha512_crypt_r()
382 unsigned char temp_result[64] ALIGNED(__alignof__ (uint64_t)); in php_sha512_crypt_r()
420 if ((key - (char *) 0) % __alignof__ (uint64_t) != 0) { in php_sha512_crypt_r()
421 char *tmp = (char *) alloca (key_len + __alignof__ (uint64_t)); in php_sha512_crypt_r()
423 memcpy(tmp + __alignof__(uint64_t) - (tmp - (char *) 0) % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r()
426 if ((salt - (char *) 0) % __alignof__ (uint64_t) != 0) { in php_sha512_crypt_r()
427 char *tmp = (char *) alloca(salt_len + 1 + __alignof__(uint64_t)); in php_sha512_crypt_r()
[all …]
H A Dconfig.m4248 dnl Check for __alignof__ support in the compiler
250 AC_CACHE_CHECK(whether the compiler supports __alignof__, ac_cv_alignof_exists,[
253 int align = __alignof__(int);
260 AC_DEFINE([HAVE_ALIGNOF], 1, [whether the compiler supports __alignof__])
276 unsigned char test[32] __attribute__ ((__aligned__ (__alignof__ (int))));
/PHP-7.2/ext/opcache/
H A Dzend_shared_alloc.h140 # define PLATFORM_ALIGNMENT (__alignof__(align_test) < 8 ? 8 : __alignof__(align_test))
/PHP-7.2/Zend/
H A DZend.m4235 #define ZEND_MM_ALIGNMENT (__alignof__ (mm_align_test))

Completed in 32 milliseconds