Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-atomicops.cc40 #define NUM_BITS(T) (sizeof(T) * 8) macro
122 (static_cast<AtomicType>(1) << (NUM_BITS(AtomicType) - 2)) + 11; in TestCompareAndSwap()
145 (static_cast<AtomicType>(1) << (NUM_BITS(AtomicType) - 2)) + 11; in TestAtomicExchange()
162 static_cast<AtomicType>(1) << (NUM_BITS(AtomicType) - 1); in TestAtomicIncrementBounds()
172 test_val = static_cast<AtomicType>(1) << (NUM_BITS(AtomicType) / 2); in TestAtomicIncrementBounds()