Lines Matching refs:volatile_value
845 volatile fbl::atomic<T> volatile_value;
848 volatile_value.store(value);
849 ASSERT_EQ(volatile_value.load(), value, "Member load/store busted");
853 fbl::atomic_store(&volatile_value, value);
854 ASSERT_EQ(atomic_load(&volatile_value), value, "Nonmember load/store busted");
881 volatile fbl::atomic<T> volatile_value(last_value);
884 ASSERT_EQ(volatile_value.load(), last_value, "Member exchange busted");
885 ASSERT_EQ(volatile_value.exchange(value), last_value, "Member exchange busted");
890 volatile_value.store(last_value);
893 ASSERT_EQ(fbl::atomic_load(&volatile_value), last_value, "Nonmember exchange busted");
894 ASSERT_EQ(fbl::atomic_exchange(&volatile_value, value), last_value, "Nonmember exchange busted");