Lines Matching refs:x
144 uintptr_t x; in zend_jit_hash() local
146 x = (uintptr_t)ptr >> 3; in zend_jit_hash()
148 x = ((x >> 16) ^ x) * 0x45d9f3b; in zend_jit_hash()
149 x = ((x >> 16) ^ x) * 0x45d9f3b; in zend_jit_hash()
150 x = (x >> 16) ^ x; in zend_jit_hash()
152 x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9; in zend_jit_hash()
153 x = (x ^ (x >> 27)) * 0x94d049bb133111eb; in zend_jit_hash()
154 x = x ^ (x >> 31); in zend_jit_hash()
156 return x; in zend_jit_hash()
727 static zend_always_inline bool zend_long_is_power_of_two(zend_long x) in zend_long_is_power_of_two() argument
729 return (x > 0) && !(x & (x - 1)); in zend_long_is_power_of_two()
733 static zend_always_inline uint32_t ones32(uint32_t x) in ones32() argument
735 x -= ((x >> 1) & 0x55555555); in ones32()
736 x = (((x >> 2) & 0x33333333) + (x & 0x33333333)); in ones32()
737 x = (((x >> 4) + x) & 0x0f0f0f0f); in ones32()
738 x += (x >> 8); in ones32()
739 x += (x >> 16); in ones32()
740 return x & 0x0000003f; in ones32()
743 static zend_always_inline uint32_t floor_log2(uint32_t x) in floor_log2() argument
745 ZEND_ASSERT(x != 0); in floor_log2()
746 x |= (x >> 1); in floor_log2()
747 x |= (x >> 2); in floor_log2()
748 x |= (x >> 4); in floor_log2()
749 x |= (x >> 8); in floor_log2()
750 x |= (x >> 16); in floor_log2()
751 return ones32(x) - 1; in floor_log2()
754 static zend_always_inline bool is_power_of_two(uint32_t x) in is_power_of_two() argument
756 return !(x & (x - 1)) && x != 0; in is_power_of_two()