Searched refs:expected_value (Results 1 – 9 of 9) sorted by relevance
/art/libartbase/base/ |
D | atomic.h | 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() 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/ |
D | elf_writer_test.cc | 43 #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/ |
D | object.cc | 171 uint32_t expected_value, new_value; in GenerateIdentityHashCode() local 173 expected_value = hash_code_seed.load(std::memory_order_relaxed); in GenerateIdentityHashCode() 174 new_value = expected_value * 1103515245 + 12345; in GenerateIdentityHashCode() 175 } while (!hash_code_seed.CompareAndSetWeakRelaxed(expected_value, new_value) || in GenerateIdentityHashCode() 176 (expected_value & LockWord::kHashMask) == 0); in GenerateIdentityHashCode() 177 return expected_value & LockWord::kHashMask; in GenerateIdentityHashCode()
|
D | var_handle.cc | 433 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/ |
D | remembered_set.cc | 45 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 ()()
|
D | mod_union_table.cc | 45 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/ |
D | graph_checker.h | 75 uint32_t expected_value,
|
D | graph_checker.cc | 583 uint32_t expected_value, in CheckTypeCheckBitstringInput() argument 596 if (actual_value != expected_value) { in CheckTypeCheckBitstringInput() 602 expected_value)); in CheckTypeCheckBitstringInput()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 1493 mirror::Object* expected_value = shadow_frame->GetVRegReference(arg_offset + 4); in UnstartedUnsafeCompareAndSwapObject() local 1520 expected_value, in UnstartedUnsafeCompareAndSwapObject() 1526 expected_value, in UnstartedUnsafeCompareAndSwapObject()
|