Lines Matching refs:k_test_val
101 const AtomicType k_test_val = (static_cast<uint64_t>(1) << in TestCompareAndSwap() local
103 value = k_test_val; in TestCompareAndSwap()
105 EXPECT_EQ(k_test_val, value); in TestCompareAndSwap()
106 EXPECT_EQ(k_test_val, prev); in TestCompareAndSwap()
108 value = k_test_val; in TestCompareAndSwap()
109 prev = base::subtle::NoBarrier_CompareAndSwap(&value, k_test_val, 5); in TestCompareAndSwap()
111 EXPECT_EQ(k_test_val, prev); in TestCompareAndSwap()
124 const AtomicType k_test_val = (static_cast<uint64_t>(1) << in TestAtomicExchange() local
126 value = k_test_val; in TestAtomicExchange()
127 new_value = base::subtle::NoBarrier_AtomicExchange(&value, k_test_val); in TestAtomicExchange()
128 EXPECT_EQ(k_test_val, value); in TestAtomicExchange()
129 EXPECT_EQ(k_test_val, new_value); in TestAtomicExchange()
131 value = k_test_val; in TestAtomicExchange()
134 EXPECT_EQ(k_test_val, new_value); in TestAtomicExchange()