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.cc433 AtomicStrongCompareAndSetAccessor(T expected_value, T desired_value, JValue* result) in AtomicStrongCompareAndSetAccessor() argument
434 : expected_value_(expected_value), desired_value_(desired_value), result_(result) {} in AtomicStrongCompareAndSetAccessor()
455 AtomicStrongCompareAndExchangeAccessor(T expected_value, T desired_value, JValue* result) in AtomicStrongCompareAndExchangeAccessor() argument
456 : expected_value_(expected_value), desired_value_(desired_value), result_(result) {} in AtomicStrongCompareAndExchangeAccessor()
477 AtomicWeakCompareAndSetAccessor(T expected_value, T desired_value, JValue* result) in AtomicWeakCompareAndSetAccessor() argument
478 : expected_value_(expected_value), desired_value_(desired_value), result_(result) {} in AtomicWeakCompareAndSetAccessor()
910 T desired_value = ValueGetter<T>::Get(getter); in Dispatch() local
911 CompareAndSetAccessor<T> accessor(expected_value, desired_value, result); in Dispatch()
919 T desired_value = ValueGetter<T>::Get(getter); in Dispatch() local
920 CompareAndExchangeAccessor<T> accessor(expected_value, desired_value, result); in Dispatch()
[all …]