Searched refs:volatile_value (Results 1 - 1 of 1) sorted by relevance
/fuchsia/zircon/system/utest/fbl/ |
H A D | atomic_tests.cpp | 845 volatile fbl::atomic<T> volatile_value; local 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_valu [all...] |
Completed in 19 milliseconds