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 …]
/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.c36 # define __alignof__ __alignof macro
40 # define __alignof__(type) offsetof (struct { char c; type member;}, member) macro
146 alignment = __alignof__(uint16_t); /* usually 2 */ in parse_serialize_spec()
149 alignment = __alignof__(uint32_t); /* usually 4 */ in parse_serialize_spec()
152 alignment = __alignof__(uint64_t); /* usually 8 */ in parse_serialize_spec()
155 alignment = __alignof__(int); /* usually 4 */ in parse_serialize_spec()
/php-src/
H A Dconfigure.ac486 dnl Check for __alignof__ support in the compiler
487 AC_CACHE_CHECK([whether the compiler supports __alignof__],
490 int align = __alignof__(int);
497 [Define to 1 if the compiler supports '__alignof__'.])])
/php-src/Zend/
H A DZend.m4373 #define ZEND_MM_ALIGNMENT (__alignof__ (mm_align_test))
/php-src/ext/ffi/
H A Dffi.g779 | ("__alignof"|"__alignof__")
/php-src/build/
H A Dphp.m42517 [unsigned char test[32] __attribute__(($1(__alignof__(int))));],

Completed in 30 milliseconds