/ark/runtime_core/runtime/include/ |
D | object_header-inl.h | 133 inline bool ObjectHeader::CompareAndSetFieldPrimitive(size_t offset, T old_value, T new_value, in CompareAndSetFieldPrimitive() argument 136 …return ObjectAccessor::CompareAndSetFieldPrimitive(this, offset, old_value, new_value, memory_orde… in CompareAndSetFieldPrimitive() 141 …ctHeader::CompareAndSetFieldObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value, in CompareAndSetFieldObject() argument 144 …tAccessor::CompareAndSetFieldObject<need_write_barrier, is_dyn>(this, offset, old_value, new_value, in CompareAndSetFieldObject() 150 inline T ObjectHeader::CompareAndExchangeFieldPrimitive(size_t offset, T old_value, T new_value, in CompareAndExchangeFieldPrimitive() argument 153 …return ObjectAccessor::CompareAndSetFieldPrimitive(this, offset, old_value, new_value, memory_orde… in CompareAndExchangeFieldPrimitive() 159 ObjectHeader *new_value, in CompareAndExchangeFieldObject() argument 162 …tAccessor::CompareAndSetFieldObject<need_write_barrier, is_dyn>(this, offset, old_value, new_value, in CompareAndExchangeFieldObject()
|
D | object_accessor-inl.h | 245 … T new_value, std::memory_order memory_order, in CompareAndSetFieldPrimitive() argument 252 … return {atomic_addr->compare_exchange_strong(old_value, new_value, memory_order), old_value}; in CompareAndSetFieldPrimitive() 254 return {atomic_addr->compare_exchange_weak(old_value, new_value, memory_order), old_value}; in CompareAndSetFieldPrimitive() 262 … ObjectHeader *new_value, in CompareAndSetFieldObject() argument 273 …CompareAndSetFieldPrimitive<ObjectHeader *>(obj, offset, old_value, new_value, memory_order, stron… in CompareAndSetFieldObject() 278 … obj, offset, ToObjPtrType(old_value), ToObjPtrType(new_value), memory_order, strong); in CompareAndSetFieldObject() 292 barrier_set->PostBarrier(ToVoidPtr(ToUintPtr(obj)), new_value); in CompareAndSetFieldObject() 356 T new_value; in GetAndAddFieldPrimitive() local 358 new_value = old_value + value; in GetAndAddFieldPrimitive() 359 } while (!atomic_addr->compare_exchange_weak(old_value, new_value, memory_order)); in GetAndAddFieldPrimitive()
|
D | class-inl.h | 501 inline bool Class::CompareAndSetFieldPrimitive(size_t offset, T old_value, T new_value, std::memory… in CompareAndSetFieldPrimitive() argument 504 …return ObjectAccessor::CompareAndSetFieldPrimitive(this, offset, old_value, new_value, memory_orde… in CompareAndSetFieldPrimitive() 509 …ol Class::CompareAndSetFieldObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value, in CompareAndSetFieldObject() argument 512 …rn ObjectAccessor::CompareAndSetFieldObject<need_write_barrier>(this, offset, old_value, new_value, in CompareAndSetFieldObject() 518 inline T Class::CompareAndExchangeFieldPrimitive(size_t offset, T old_value, T new_value, in CompareAndExchangeFieldPrimitive() argument 521 …return ObjectAccessor::CompareAndSetFieldPrimitive(this, offset, old_value, new_value, memory_orde… in CompareAndExchangeFieldPrimitive() 527 … ObjectHeader *new_value, std::memory_order memory_order, in CompareAndExchangeFieldObject() argument 530 …rn ObjectAccessor::CompareAndSetFieldObject<need_write_barrier>(this, offset, old_value, new_value, in CompareAndExchangeFieldObject()
|
D | object_header.h | 228 …bool CompareAndSetFieldPrimitive(size_t offset, T old_value, T new_value, std::memory_order memory… 232 bool CompareAndSetFieldObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value, 236 …T CompareAndExchangeFieldPrimitive(size_t offset, T old_value, T new_value, std::memory_order memo… 240 …der *CompareAndExchangeFieldObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value,
|
D | object_accessor.h | 87 … std::pair<bool, T> CompareAndSetFieldPrimitive(void *obj, size_t offset, T old_value, T new_value, 92 ObjectHeader *new_value,
|
D | class.h | 648 …bool CompareAndSetFieldPrimitive(size_t offset, T old_value, T new_value, std::memory_order memory… 652 bool CompareAndSetFieldObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value, 656 …T CompareAndExchangeFieldPrimitive(size_t offset, T old_value, T new_value, std::memory_order memo… 660 …der *CompareAndExchangeFieldObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value,
|
D | method.h | 335 uint32_t new_value = MakeCompilationStatusValue(old_value, new_status); in AtomicSetCompilationStatus() local 336 if (stor_32_.access_flags_.compare_exchange_strong(old_value, new_value)) { in AtomicSetCompilationStatus()
|
/ark/runtime_core/runtime/include/coretypes/ |
D | array-inl.h | 83 inline bool Array::CompareAndSetPrimitive(size_t offset, T old_value, T new_value, std::memory_orde… in CompareAndSetPrimitive() argument 86 …n ObjectAccessor::CompareAndSetFieldPrimitive(this, GetDataOffset() + offset, old_value, new_value, in CompareAndSetPrimitive() 93 …ne bool Array::CompareAndSetObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value, in CompareAndSetObject() argument 98 … new_value, memory_order, strong) in CompareAndSetObject() 103 inline T Array::CompareAndExchangePrimitive(size_t offset, T old_value, T new_value, std::memory_or… in CompareAndExchangePrimitive() argument 106 …n ObjectAccessor::CompareAndSetFieldPrimitive(this, GetDataOffset() + offset, old_value, new_value, in CompareAndExchangePrimitive() 113 …r *Array::CompareAndExchangeObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value, in CompareAndExchangeObject() argument 118 … new_value, memory_order, strong) in CompareAndExchangeObject()
|
D | array.h | 124 …bool CompareAndSetPrimitive(size_t offset, T old_value, T new_value, std::memory_order memory_orde… 127 bool CompareAndSetObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value, 131 …T CompareAndExchangePrimitive(size_t offset, T old_value, T new_value, std::memory_order memory_or… 134 …ctHeader *CompareAndExchangeObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_value,
|