Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/
H A Dcrypt_sha256.c13 # define __alignof__ __alignof macro
23 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro
288 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes()
353 unsigned char alt_result[32] ALIGNED(__alignof__ (uint32_t)); in php_sha256_crypt_r()
354 unsigned char temp_result[32] ALIGNED(__alignof__ (uint32_t)); in php_sha256_crypt_r()
392 if ((key - (char *) 0) % __alignof__ (uint32_t) != 0) { in php_sha256_crypt_r()
393 char *tmp = (char *) alloca(key_len + __alignof__(uint32_t)); in php_sha256_crypt_r()
394 …key = copied_key = memcpy(tmp + __alignof__(uint32_t) - (tmp - (char *) 0) % __alignof__(uint32_t)… in php_sha256_crypt_r()
397 if ((salt - (char *) 0) % __alignof__(uint32_t) != 0) { in php_sha256_crypt_r()
398 char *tmp = (char *) alloca(salt_len + 1 + __alignof__(uint32_t)); in php_sha256_crypt_r()
[all …]
H A Dcrypt_sha512.c12 # define __alignof__ __alignof macro
22 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro
318 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint64_t) != 0) in sha512_process_bytes()
387 unsigned char alt_result[64] ALIGNED(__alignof__ (uint64_t)); in php_sha512_crypt_r()
388 unsigned char temp_result[64] ALIGNED(__alignof__ (uint64_t)); in php_sha512_crypt_r()
426 if ((key - (char *) 0) % __alignof__ (uint64_t) != 0) { in php_sha512_crypt_r()
427 char *tmp = (char *) alloca (key_len + __alignof__ (uint64_t)); in php_sha512_crypt_r()
429 memcpy(tmp + __alignof__(uint64_t) - (tmp - (char *) 0) % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r()
432 if ((salt - (char *) 0) % __alignof__ (uint64_t) != 0) { in php_sha512_crypt_r()
433 char *tmp = (char *) alloca(salt_len + 1 + __alignof__(uint64_t)); in php_sha512_crypt_r()
[all …]
H A Dconfig.m4239 dnl Check for __alignof__ support in the compiler
241 AC_CACHE_CHECK(whether the compiler supports __alignof__, ac_cv_alignof_exists,[
244 int align = __alignof__(int);
251 AC_DEFINE([HAVE_ALIGNOF], 1, [whether the compiler supports __alignof__])
260 unsigned char test[32] __attribute__ ((__aligned__ (__alignof__ (int))));
/PHP-5.5/ext/opcache/
H A Dzend_shared_alloc.h137 # define PLATFORM_ALIGNMENT (__alignof__ (align_test))
/PHP-5.5/Zend/
H A DZend.m4259 #define ZEND_MM_ALIGNMENT (__alignof__ (mm_align_test))

Completed in 12 milliseconds