Home
last modified time | relevance | path

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

/php-src/ext/standard/
H A Dcrypt_sha256.c12 # define __alignof__ __alignof macro
16 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro
267 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes()
325 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char alt_result[32]); in php_sha256_crypt_r()
326 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char temp_result[32]); in php_sha256_crypt_r()
375 if ((uintptr_t)key % __alignof__ (uint32_t) != 0) { in php_sha256_crypt_r()
376 tmp_key = (char *) do_alloca(key_len + __alignof__(uint32_t), use_heap_key); in php_sha256_crypt_r()
377 …key = copied_key = memcpy(tmp_key + __alignof__(uint32_t) - (uintptr_t)tmp_key % __alignof__(uint3… in php_sha256_crypt_r()
380 if ((uintptr_t)salt % __alignof__(uint32_t) != 0) { in php_sha256_crypt_r()
381 tmp_salt = (char *) do_alloca(salt_len + 1 + __alignof__(uint32_t), use_heap_salt); in php_sha256_crypt_r()
[all …]
H A Dcrypt_sha512.c11 # define __alignof__ __alignof macro
15 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro
301 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint64_t) != 0) in sha512_process_bytes()
363 ZEND_SET_ALIGNED(__alignof__ (uint64_t), unsigned char alt_result[64]); in php_sha512_crypt_r()
364 ZEND_SET_ALIGNED(__alignof__ (uint64_t), unsigned char temp_result[64]); in php_sha512_crypt_r()
413 if ((uintptr_t)key % __alignof__ (uint64_t) != 0) { in php_sha512_crypt_r()
414 tmp_key = (char *) do_alloca(key_len + __alignof__ (uint64_t), use_heap_key); in php_sha512_crypt_r()
416 …memcpy(tmp_key + __alignof__(uint64_t) - (uintptr_t)tmp_key % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r()
419 if ((uintptr_t)salt % __alignof__ (uint64_t) != 0) { in php_sha512_crypt_r()
420 tmp_salt = (char *) do_alloca(salt_len + 1 + __alignof__(uint64_t), use_heap_salt); in php_sha512_crypt_r()
[all …]
H A Dconfig.m4284 unsigned char test[32] __attribute__ ((__aligned__ (__alignof__ (int))));
/php-src/ext/opcache/
H A Dzend_shared_alloc.h169 # define PLATFORM_ALIGNMENT (__alignof__(align_test) < 8 ? 8 : __alignof__(align_test))
/php-src/ext/hash/
H A Dhash.c37 # define __alignof__ __alignof macro
41 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro
147 alignment = __alignof__(uint16_t); /* usually 2 */ in parse_serialize_spec()
150 alignment = __alignof__(uint32_t); /* usually 4 */ in parse_serialize_spec()
153 alignment = __alignof__(uint64_t); /* usually 8 */ in parse_serialize_spec()
156 alignment = __alignof__(int); /* usually 4 */ in parse_serialize_spec()
/php-src/Zend/
H A DZend.m4243 #define ZEND_MM_ALIGNMENT (__alignof__ (mm_align_test))
/php-src/
H A Dconfigure.ac528 dnl Check for __alignof__ support in the compiler
529 AC_CACHE_CHECK(whether the compiler supports __alignof__, ac_cv_alignof_exists,[
532 int align = __alignof__(int);
539 AC_DEFINE([HAVE_ALIGNOF], 1, [whether the compiler supports __alignof__])
/php-src/ext/ffi/
H A Dffi.g775 | ("__alignof"|"__alignof__")

Completed in 30 milliseconds