Lines Matching refs:expected_value
235 bool CompareExchangeStrongSequentiallyConsistent(T expected_value, T desired_value) { in PACKED()
236 return this->compare_exchange_strong(expected_value, desired_value, std::memory_order_seq_cst); in PACKED()
240 bool CompareExchangeWeakSequentiallyConsistent(T expected_value, T desired_value) { in PACKED()
241 return this->compare_exchange_weak(expected_value, desired_value, std::memory_order_seq_cst); in PACKED()
246 bool CompareExchangeStrongRelaxed(T expected_value, T desired_value) { in PACKED()
247 return this->compare_exchange_strong(expected_value, desired_value, std::memory_order_relaxed); in PACKED()
251 bool CompareExchangeWeakRelaxed(T expected_value, T desired_value) { in PACKED()
252 return this->compare_exchange_weak(expected_value, desired_value, std::memory_order_relaxed); in PACKED()
258 bool CompareExchangeWeakAcquire(T expected_value, T desired_value) { in PACKED()
259 return this->compare_exchange_weak(expected_value, desired_value, std::memory_order_acquire); in PACKED()
265 bool CompareExchangeWeakRelease(T expected_value, T desired_value) { in PACKED()
266 return this->compare_exchange_weak(expected_value, desired_value, std::memory_order_release); in PACKED()