Searched refs:NUM_BITS (Results 1 – 5 of 5) 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()
122 NUM_BITS = NumBits, enumerator125 MARK_SIZE = NUM_BITS - 1,
432 #define NUM_BITS(x) ((x) >> 16) macro435 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1)441 if (NUM_BITS(size)) { \442 v <<= (sizeof(v)*8 - LOW_BIT(size) - NUM_BITS(size)); \443 v >>= (sizeof(v)*8 - NUM_BITS(size)); \448 (NUM_BITS(size) ? \
442 #define NUM_BITS(x) ((x) >> 16) macro445 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1)451 if (NUM_BITS(size)) { \452 v <<= (sizeof(v)*8 - LOW_BIT(size) - NUM_BITS(size)); \453 v >>= (sizeof(v)*8 - NUM_BITS(size)); \458 (NUM_BITS(size) ? \