Home
last modified time | relevance | path

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

/art/libartbase/base/
Datomic.h61 void StoreJavaData(T desired_value) { in PACKED()
62 this->store(desired_value, std::memory_order_relaxed); in PACKED()
67 bool CompareAndSetStrongSequentiallyConsistent(T expected_value, T desired_value) { in PACKED()
68 return this->compare_exchange_strong(expected_value, desired_value, std::memory_order_seq_cst); in PACKED()
72 bool CompareAndSetWeakSequentiallyConsistent(T expected_value, T desired_value) { in PACKED()
73 return this->compare_exchange_weak(expected_value, desired_value, std::memory_order_seq_cst); in PACKED()
78 bool CompareAndSetStrongRelaxed(T expected_value, T desired_value) { in PACKED()
79 return this->compare_exchange_strong(expected_value, desired_value, std::memory_order_relaxed); in PACKED()
85 bool CompareAndSetStrongRelease(T expected_value, T desired_value) { in PACKED()
86 return this->compare_exchange_strong(expected_value, desired_value, std::memory_order_release); in PACKED()
[all …]
/art/runtime/mirror/
Dvar_handle.cc340 AtomicStrongCompareAndSetAccessor(T expected_value, T desired_value, JValue* result) in AtomicStrongCompareAndSetAccessor() argument
341 : expected_value_(expected_value), desired_value_(desired_value), result_(result) {} in AtomicStrongCompareAndSetAccessor()
362 AtomicStrongCompareAndExchangeAccessor(T expected_value, T desired_value, JValue* result) in AtomicStrongCompareAndExchangeAccessor() argument
363 : expected_value_(expected_value), desired_value_(desired_value), result_(result) {} in AtomicStrongCompareAndExchangeAccessor()
384 AtomicWeakCompareAndSetAccessor(T expected_value, T desired_value, JValue* result) in AtomicWeakCompareAndSetAccessor() argument
385 : expected_value_(expected_value), desired_value_(desired_value), result_(result) {} in AtomicWeakCompareAndSetAccessor()
817 T desired_value = ValueGetter<T>::Get(getter); in Dispatch() local
818 CompareAndSetAccessor<T> accessor(expected_value, desired_value, result); in Dispatch()
826 T desired_value = ValueGetter<T>::Get(getter); in Dispatch() local
827 CompareAndExchangeAccessor<T> accessor(expected_value, desired_value, result); in Dispatch()
[all …]