Lines Matching refs:k_test_val
94 const AtomicType k_test_val = (GG_ULONGLONG(1) << in TestCompareAndSwap() local
96 value = k_test_val; in TestCompareAndSwap()
98 EXPECT_EQ(k_test_val, value); in TestCompareAndSwap()
99 EXPECT_EQ(k_test_val, prev); in TestCompareAndSwap()
101 value = k_test_val; in TestCompareAndSwap()
102 prev = base::subtle::NoBarrier_CompareAndSwap(&value, k_test_val, 5); in TestCompareAndSwap()
104 EXPECT_EQ(k_test_val, prev); in TestCompareAndSwap()
117 const AtomicType k_test_val = (GG_ULONGLONG(1) << in TestAtomicExchange() local
119 value = k_test_val; in TestAtomicExchange()
120 new_value = base::subtle::NoBarrier_AtomicExchange(&value, k_test_val); in TestAtomicExchange()
121 EXPECT_EQ(k_test_val, value); in TestAtomicExchange()
122 EXPECT_EQ(k_test_val, new_value); in TestAtomicExchange()
124 value = k_test_val; in TestAtomicExchange()
127 EXPECT_EQ(k_test_val, new_value); in TestAtomicExchange()