Home
last modified time | relevance | path

Searched refs:expected_value (Results 1 – 5 of 5) sorted by relevance

/art/runtime/
Datomic.h235 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()
[all …]
/art/compiler/
Delf_writer_test.cc34 #define EXPECT_ELF_FILE_ADDRESS(ef, expected_value, symbol_name, build_map) \ argument
41 if (expected_value == nullptr) { \
42 expected_value = addr; \
44 EXPECT_EQ(expected_value, addr); \
45 EXPECT_EQ(expected_value, ef->FindDynamicSymbolAddress(symbol_name)); \
/art/runtime/mirror/
Dobject.cc141 uint32_t expected_value, new_value; in GenerateIdentityHashCode() local
143 expected_value = hash_code_seed.LoadRelaxed(); in GenerateIdentityHashCode()
144 new_value = expected_value * 1103515245 + 12345; in GenerateIdentityHashCode()
145 } while (!hash_code_seed.CompareExchangeWeakRelaxed(expected_value, new_value) || in GenerateIdentityHashCode()
146 (expected_value & LockWord::kHashMask) == 0); in GenerateIdentityHashCode()
147 return expected_value & LockWord::kHashMask; in GenerateIdentityHashCode()
/art/runtime/gc/accounting/
Dremembered_set.cc45 void operator()(byte* card, byte expected_value, byte new_value) const { in operator ()() argument
46 if (expected_value == CardTable::kCardDirty) { in operator ()()
Dmod_union_table.cc48 inline void operator()(byte* card, byte expected_value, byte new_value) const { in operator ()() argument
49 if (expected_value == CardTable::kCardDirty) { in operator ()()