Home
last modified time | relevance | path

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

/art/libartbase/base/
Datomic.h67 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()
90 bool CompareAndSetWeakRelaxed(T expected_value, T desired_value) { in PACKED()
91 return this->compare_exchange_weak(expected_value, desired_value, std::memory_order_relaxed); in PACKED()
[all …]
/art/dex2oat/linker/
Delf_writer_test.cc43 #define EXPECT_ELF_FILE_ADDRESS(ef, expected_value, symbol_name, build_map) \ argument
49 if ((expected_value) == nullptr) { \
50 (expected_value) = addr; \
52 EXPECT_EQ(expected_value, addr); \
53 EXPECT_EQ(expected_value, (ef)->FindDynamicSymbolAddress(symbol_name)); \
/art/runtime/mirror/
Dobject.cc176 uint32_t expected_value, new_value; in GenerateIdentityHashCode() local
178 expected_value = hash_code_seed.load(std::memory_order_relaxed); in GenerateIdentityHashCode()
179 new_value = expected_value * 1103515245 + 12345; in GenerateIdentityHashCode()
180 } while (!hash_code_seed.CompareAndSetWeakRelaxed(expected_value, new_value) || in GenerateIdentityHashCode()
181 (expected_value & LockWord::kHashMask) == 0); in GenerateIdentityHashCode()
182 return expected_value & LockWord::kHashMask; in GenerateIdentityHashCode()
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()
909 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local
911 CompareAndSetAccessor<T> accessor(expected_value, desired_value, result); in Dispatch()
918 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local
920 CompareAndExchangeAccessor<T> accessor(expected_value, desired_value, result); in Dispatch()
[all …]
/art/runtime/gc/accounting/
Dremembered_set.cc45 void operator()(uint8_t* card, uint8_t expected_value, uint8_t new_value ATTRIBUTE_UNUSED) const { in operator ()() argument
46 if (expected_value == CardTable::kCardDirty) { in operator ()()
Dmod_union_table.cc45 uint8_t expected_value, in operator ()() argument
47 if (expected_value == CardTable::kCardDirty) { in operator ()()
62 uint8_t expected_value, in operator ()() argument
64 if (expected_value == CardTable::kCardDirty) { in operator ()()
/art/compiler/optimizing/
Dgraph_checker.h75 uint32_t expected_value,
Dgraph_checker.cc583 uint32_t expected_value, in CheckTypeCheckBitstringInput() argument
596 if (actual_value != expected_value) { in CheckTypeCheckBitstringInput()
602 expected_value)); in CheckTypeCheckBitstringInput()
/art/runtime/interpreter/
Dunstarted_runtime.cc1481 mirror::Object* expected_value = shadow_frame->GetVRegReference(arg_offset + 4); in UnstartedUnsafeCompareAndSwapObject() local
1504 expected_value, in UnstartedUnsafeCompareAndSwapObject()
1510 expected_value, in UnstartedUnsafeCompareAndSwapObject()