Lines Matching refs:atomic_value
833 fbl::atomic<T> atomic_value;
836 atomic_value.store(value);
837 ASSERT_EQ(atomic_value.load(), value, "Member load/store busted");
841 fbl::atomic_store(&atomic_value, value);
842 ASSERT_EQ(atomic_load(&atomic_value), value, "Nonmember load/store busted");
863 fbl::atomic<T> atomic_value(last_value);
866 ASSERT_EQ(atomic_value.load(), last_value, "Member exchange busted");
867 ASSERT_EQ(atomic_value.exchange(value), last_value, "Member exchange busted");
872 atomic_value.store(last_value);
875 ASSERT_EQ(fbl::atomic_load(&atomic_value), last_value, "Nonmember exchange busted");
876 ASSERT_EQ(fbl::atomic_exchange(&atomic_value, value), last_value, "Nonmember exchange busted");
1067 fbl::atomic<T> atomic_value(actual);
1070 EXPECT_FALSE(cas.function(&atomic_value, &expected, desired,
1078 fbl::atomic<T> atomic_value(actual);
1082 bool succeeded = cas.function(&atomic_value, &expected, desired,
1099 fbl::atomic<T> atomic_value(actual);
1102 EXPECT_FALSE(cas.function(&atomic_value, &expected, desired,
1110 fbl::atomic<T> atomic_value(actual);
1115 bool succeeded = cas.function(&atomic_value, &expected, desired,