Home
last modified time | relevance | path

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

/external/chromium/base/
Datomicops_unittest.cc94 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()
[all …]
/external/chromium/base/allocator/
Dallocator_unittests.cc168 const AtomicType k_test_val = (GG_ULONGLONG(1) << in TestCompareAndSwap() local
170 value = k_test_val; in TestCompareAndSwap()
172 EXPECT_EQ(k_test_val, value); in TestCompareAndSwap()
173 EXPECT_EQ(k_test_val, prev); in TestCompareAndSwap()
175 value = k_test_val; in TestCompareAndSwap()
176 prev = base::subtle::NoBarrier_CompareAndSwap(&value, k_test_val, 5); in TestCompareAndSwap()
178 EXPECT_EQ(k_test_val, prev); in TestCompareAndSwap()
191 const AtomicType k_test_val = (GG_ULONGLONG(1) << in TestAtomicExchange() local
193 value = k_test_val; in TestAtomicExchange()
194 new_value = base::subtle::NoBarrier_AtomicExchange(&value, k_test_val); in TestAtomicExchange()
[all …]