Home
last modified time | relevance | path

Searched refs:old_value (Results 1 – 9 of 9) sorted by relevance

/art/runtime/mirror/
Dobject-inl.h655 int32_t old_value, int32_t new_value) { in CasFieldWeakSequentiallyConsistent32() argument
660 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakSequentiallyConsistent32()
668 return atomic_addr->CompareExchangeWeakSequentiallyConsistent(old_value, new_value); in CasFieldWeakSequentiallyConsistent32()
673 int32_t old_value, int32_t new_value) { in CasFieldWeakRelaxed32() argument
678 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakRelaxed32()
686 return atomic_addr->CompareExchangeWeakRelaxed(old_value, new_value); in CasFieldWeakRelaxed32()
691 int32_t old_value, int32_t new_value) { in CasFieldWeakRelease32() argument
696 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasFieldWeakRelease32()
704 return atomic_addr->CompareExchangeWeakRelease(old_value, new_value); in CasFieldWeakRelease32()
709 int32_t old_value, int32_t new_value) { in CasFieldStrongSequentiallyConsistent32() argument
[all …]
Dobject.h286 bool CasFieldWeakSequentiallyConsistentObject(MemberOffset field_offset, Object* old_value,
292 Object* old_value,
297 bool CasFieldStrongSequentiallyConsistentObject(MemberOffset field_offset, Object* old_value,
303 Object* old_value,
309 Object* old_value,
315 Object* old_value,
415 int32_t old_value, int32_t new_value)
420 bool CasFieldWeakRelaxed32(MemberOffset field_offset, int32_t old_value,
426 bool CasFieldWeakRelease32(MemberOffset field_offset, int32_t old_value,
432 bool CasFieldStrongSequentiallyConsistent32(MemberOffset field_offset, int32_t old_value,
[all …]
/art/runtime/
Datomic.cc57 bool QuasiAtomic::SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in SwapMutexCas64() argument
59 if (*addr == old_value) { in SwapMutexCas64()
Datomic.h141 static bool Cas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in Cas64() argument
143 return __sync_bool_compare_and_swap(addr, old_value, new_value); in Cas64()
145 return SwapMutexCas64(old_value, new_value, addr); in Cas64()
178 static bool SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr);
Dleb128.h147 uint32_t old_value = DecodeUnsignedLeb128(&old_end); in UpdateUnsignedLeb128() local
148 DCHECK_LE(value, old_value); in UpdateUnsignedLeb128()
Dleb128_test.cc259 uint32_t old_value = uleb128_tests[i].decoded; in TEST() local
262 if (new_value <= old_value) { in TEST()
264 uint8_t* old_end = EncodeUnsignedLeb128(encoded_data, old_value); in TEST()
/art/runtime/gc/accounting/
Dcard_table-inl.h31 static inline bool byte_cas(uint8_t old_value, uint8_t new_value, uint8_t* address) { in byte_cas() argument
34 return byte_atomic->CompareExchangeWeakRelaxed(old_value, new_value); in byte_cas()
46 const uintptr_t old_word = cur_word | (static_cast<uintptr_t>(old_value) << shift_in_bits); in byte_cas()
/art/runtime/base/
Dstl_util.h136 void ReplaceElement(Container& container, const T& old_value, const T& new_value) { in ReplaceElement() argument
137 auto it = std::find(container.begin(), container.end(), old_value); in ReplaceElement()
/art/runtime/lambda/
Dbox_table.cc231 const ValueType& old_value = key_value_pair.second; in SweepWeakBoxedLambdas() local
234 mirror::Object* old_value_raw = old_value.Read<kWithoutReadBarrier>(); in SweepWeakBoxedLambdas()