Home
last modified time | relevance | path

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

/art/libartbase/base/
Datomic.h106 bool CompareAndExchangeStrongSequentiallyConsistent(T* expected_value, T desired_value) { in PACKED()
107 return this->compare_exchange_strong(*expected_value, desired_value, std::memory_order_seq_cst); in PACKED()
114 bool CompareAndExchangeStrongAcquire(T* expected_value, T desired_value) { in PACKED()
115 return this->compare_exchange_strong(*expected_value, desired_value, std::memory_order_acquire); in PACKED()
122 bool CompareAndExchangeStrongRelease(T* expected_value, T desired_value) { in PACKED()
123 return this->compare_exchange_strong(*expected_value, desired_value, std::memory_order_release); in PACKED()
128 bool CompareAndSetStrongSequentiallyConsistent(T expected_value, T desired_value) { in PACKED()
129 return this->compare_exchange_strong(expected_value, desired_value, std::memory_order_seq_cst); in PACKED()
133 bool CompareAndSetWeakSequentiallyConsistent(T expected_value, T desired_value) { in PACKED()
134 return this->compare_exchange_weak(expected_value, desired_value, std::memory_order_seq_cst); in PACKED()
[all …]
/art/dex2oat/linker/
Delf_writer_test.cc40 #define EXPECT_ELF_FILE_ADDRESS(ef, expected_value, symbol_name, build_map) \ argument
46 if ((expected_value) == nullptr) { \
47 (expected_value) = addr; \
49 EXPECT_EQ(expected_value, addr); \
50 EXPECT_EQ(expected_value, (ef)->FindDynamicSymbolAddress(symbol_name)); \
/art/test/543-env-long-ref/
Denv_long_ref.cc30 TestVisitor(const ScopedObjectAccess& soa, Context* context, jobject expected_value) in TestVisitor() argument
33 expected_value_(expected_value), in TestVisitor()
/art/runtime/mirror/
Dobject.cc174 uint32_t expected_value, new_value; in GenerateIdentityHashCode() local
176 expected_value = hash_code_seed.LoadRelaxed(); in GenerateIdentityHashCode()
177 new_value = expected_value * 1103515245 + 12345; in GenerateIdentityHashCode()
178 } while (!hash_code_seed.CompareAndSetWeakRelaxed(expected_value, new_value) || in GenerateIdentityHashCode()
179 (expected_value & LockWord::kHashMask) == 0); in GenerateIdentityHashCode()
180 return expected_value & LockWord::kHashMask; in GenerateIdentityHashCode()
Dvar_handle.cc439 AtomicStrongCompareAndSetAccessor(T expected_value, T desired_value, JValue* result) in AtomicStrongCompareAndSetAccessor() argument
440 : expected_value_(expected_value), desired_value_(desired_value), result_(result) {} in AtomicStrongCompareAndSetAccessor()
461 AtomicStrongCompareAndExchangeAccessor(T expected_value, T desired_value, JValue* result) in AtomicStrongCompareAndExchangeAccessor() argument
462 : expected_value_(expected_value), desired_value_(desired_value), result_(result) {} in AtomicStrongCompareAndExchangeAccessor()
483 AtomicWeakCompareAndSetAccessor(T expected_value, T desired_value, JValue* result) in AtomicWeakCompareAndSetAccessor() argument
484 : expected_value_(expected_value), desired_value_(desired_value), result_(result) {} in AtomicWeakCompareAndSetAccessor()
915 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local
917 CompareAndSetAccessor<T> accessor(expected_value, desired_value, result); in Dispatch()
924 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local
926 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/runtime/interpreter/
Dunstarted_runtime.cc1467 mirror::Object* expected_value = shadow_frame->GetVRegReference(arg_offset + 4); in UnstartedUnsafeCompareAndSwapObject() local
1490 expected_value, in UnstartedUnsafeCompareAndSwapObject()
1494 expected_value, in UnstartedUnsafeCompareAndSwapObject()