Searched refs:NUM_BITS (Results 1 – 3 of 3) sorted by relevance
82 #define NUM_BITS(T) (sizeof(T) * 8) macro102 (NUM_BITS(AtomicType) - 2)) + 11; in TestCompareAndSwap()125 (NUM_BITS(AtomicType) - 2)) + 11; in TestAtomicExchange()142 (NUM_BITS(AtomicType) - 1)); in TestAtomicIncrementBounds()152 test_val = static_cast<uint64_t>(1) << (NUM_BITS(AtomicType) / 2); in TestAtomicIncrementBounds()
49 #define NUM_BITS 32 macro62 for (mask = num; mask < (1ULL << (NUM_BITS + 1)); mask += NUM_THREADS) { in thread_func()
434 #define NUM_BITS(x) ((x) >> 16) macro437 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1)443 if (NUM_BITS(size)) { \444 v <<= (sizeof(v)*8 - LOW_BIT(size) - NUM_BITS(size)); \445 v >>= (sizeof(v)*8 - NUM_BITS(size)); \450 (NUM_BITS(size) ? \