/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 113 SetType new_value, \ 122 field->Set ## Kind <false>(field->GetDeclaringClass(), new_value); \ 128 reinterpret_cast<mirror::Object**>(&new_value))); \ 136 field->Set ## Kind <false>(field->GetDeclaringClass(), new_value); \ 144 SetType new_value, \ 153 field->Set ## Kind <false>(obj, new_value); \ 159 reinterpret_cast<mirror::Object**>(&new_value))); \ 175 field->Set ## Kind<false>(obj, new_value); \ 200 SetType new_value, \ 204 field_idx, new_value, GetReferrer(self), self); \ [all …]
|
/art/runtime/mirror/ |
D | object-inl.h | 393 inline void Object::SetFieldBoolean(MemberOffset field_offset, uint8_t new_value) { in SetFieldBoolean() argument 403 SetFieldPrimitive<uint8_t, kIsVolatile>(field_offset, new_value); in SetFieldBoolean() 410 inline void Object::SetFieldByte(MemberOffset field_offset, int8_t new_value) { in SetFieldByte() argument 419 SetFieldPrimitive<int8_t, kIsVolatile>(field_offset, new_value); in SetFieldByte() 423 inline void Object::SetFieldBooleanVolatile(MemberOffset field_offset, uint8_t new_value) { in SetFieldBooleanVolatile() argument 425 field_offset, new_value); in SetFieldBooleanVolatile() 429 inline void Object::SetFieldByteVolatile(MemberOffset field_offset, int8_t new_value) { in SetFieldByteVolatile() argument 431 field_offset, new_value); in SetFieldByteVolatile() 460 inline void Object::SetFieldChar(MemberOffset field_offset, uint16_t new_value) { in SetFieldChar() argument 469 SetFieldPrimitive<uint16_t, kIsVolatile>(field_offset, new_value); in SetFieldChar() [all …]
|
D | object.h | 290 ObjPtr<Object> new_value) 297 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value) 303 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset, ObjPtr<Object> new_value) 309 ALWAYS_INLINE void SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value) 317 ObjPtr<Object> new_value, 326 ObjPtr<Object> new_value, 336 ObjPtr<Object> new_value) 342 ObjPtr<Object> ExchangeFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value) 350 ALWAYS_INLINE void SetFieldPrimitive(MemberOffset field_offset, kType new_value) in SetFieldPrimitive() argument 355 reinterpret_cast<Atomic<kType>*>(addr)->store(new_value, std::memory_order_seq_cst); in SetFieldPrimitive() [all …]
|
D | var_handle.cc | 409 explicit AtomicSetAccessor(T new_value) : new_value_(new_value) {} in AtomicSetAccessor() argument 499 AtomicGetAndSetAccessor(T new_value, JValue* result) : new_value_(new_value), result_(result) {} in AtomicGetAndSetAccessor() argument 532 T new_value; in Apply() local 534 new_value = old_value + addend; in Apply() 535 } while (!atom->compare_exchange_weak(old_value, new_value, MO, std::memory_order_relaxed)); in Apply() 888 T new_value = ValueGetter<T>::Get(getter); in Dispatch() local 889 SetAccessor<T> accessor(new_value); in Dispatch() 903 T new_value = ValueGetter<T>::Get(getter); in Dispatch() local 904 SetVolatileAccessor<T> accessor(new_value); in Dispatch() 937 T new_value = ValueGetter<T>::Get(getter); in Dispatch() local [all …]
|
D | object.cc | 176 uint32_t expected_value, new_value; in GenerateIdentityHashCode() local 179 new_value = expected_value * 1103515245 + 12345; in GenerateIdentityHashCode() 180 } while (!hash_code_seed.CompareAndSetWeakRelaxed(expected_value, new_value) || in GenerateIdentityHashCode() 234 void Object::CheckFieldAssignmentImpl(MemberOffset field_offset, ObjPtr<Object> new_value) { in CheckFieldAssignmentImpl() argument 249 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl() 267 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
|
D | string.cc | 138 uint8_t* new_value = new_string->GetValueCompressed(); in AllocFromStrings() local 139 memcpy(new_value, string->GetValueCompressed(), length * sizeof(uint8_t)); in AllocFromStrings() 140 memcpy(new_value + length, string2->GetValueCompressed(), length2 * sizeof(uint8_t)); in AllocFromStrings() 142 uint16_t* new_value = new_string->GetValue(); in AllocFromStrings() local 145 new_value[i] = string->CharAt(i); in AllocFromStrings() 148 memcpy(new_value, string->GetValue(), length * sizeof(uint16_t)); in AllocFromStrings() 152 new_value[i+length] = string2->CharAt(i); in AllocFromStrings() 155 memcpy(new_value + length, string2->GetValue(), length2 * sizeof(uint16_t)); in AllocFromStrings()
|
D | object-readbarrier-inl.h | 43 int32_t new_value, in CasField32() argument 58 return atomic_addr->CompareAndSet(old_value, new_value, mode, memory_order); in CasField32()
|
/art/runtime/gc/accounting/ |
D | card_table-inl.h | 33 static inline bool byte_cas(uint8_t old_value, uint8_t new_value, uint8_t* address) { in byte_cas() argument 36 return byte_atomic->CompareAndSetWeakRelaxed(old_value, new_value); in byte_cas() 49 const uintptr_t new_word = cur_word | (static_cast<uintptr_t>(new_value) << shift_in_bits); in byte_cas() 143 uint8_t expected, new_value; in ModifyCardsAtomic() local 146 new_value = visitor(expected); in ModifyCardsAtomic() 147 } while (expected != new_value && UNLIKELY(!byte_cas(expected, new_value, card_cur))); in ModifyCardsAtomic() 148 if (expected != new_value) { in ModifyCardsAtomic() 149 modified(card_cur, expected, new_value); in ModifyCardsAtomic() 157 uint8_t expected, new_value; in ModifyCardsAtomic() local 160 new_value = visitor(expected); in ModifyCardsAtomic() [all …]
|
/art/runtime/ |
D | subtype_check.h | 469 SubtypeCheckBitsAndStatus new_value; in WriteSubtypeCheckBits() local 488 new_value = old_value; in WriteSubtypeCheckBits() 489 new_value.subtype_check_info_ = new_bits; in WriteSubtypeCheckBits() 493 memcpy(&int32_data, &new_value, sizeof(int32_t)); in WriteSubtypeCheckBits() 494 DCHECK_EQ(int32_data, new_value.int32_alias_) << int32_data; in WriteSubtypeCheckBits() 496 DCHECK_EQ(old_status, new_value.status_) in WriteSubtypeCheckBits() 497 << "full new: " << bit_cast<uint32_t>(new_value) in WriteSubtypeCheckBits() 504 new_value.int32_alias_)) { in WriteSubtypeCheckBits() 514 SubtypeCheckBitsAndStatus new_value; in WriteStatusImpl() local 527 new_value = old_value; in WriteStatusImpl() [all …]
|
D | write_barrier-inl.h | 32 ObjPtr<mirror::Object> new_value) { in ForFieldWrite() argument 33 if (kNullCheck == kWithNullCheck && new_value == nullptr) { in ForFieldWrite() 36 DCHECK(new_value != nullptr); in ForFieldWrite()
|
D | art_field-inl.h | 71 inline void ArtField::Set32(ObjPtr<mirror::Object> object, uint32_t new_value) { in Set32() argument 75 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32() 77 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32() 91 inline void ArtField::Set64(ObjPtr<mirror::Object> object, uint64_t new_value) { in Set64() argument 95 object->SetField64Volatile<kTransactionActive>(GetOffset(), new_value); in Set64() 97 object->SetField64<kTransactionActive>(GetOffset(), new_value); in Set64() 112 inline void ArtField::SetObj(ObjPtr<mirror::Object> object, ObjPtr<mirror::Object> new_value) { in SetObj() argument 116 object->SetFieldObjectVolatile<kTransactionActive>(GetOffset(), new_value); in SetObj() 118 object->SetFieldObject<kTransactionActive>(GetOffset(), new_value); in SetObj()
|
D | signal_catcher.h | 49 void SetHaltFlag(bool new_value) REQUIRES(!lock_);
|
D | write_barrier.h | 42 ObjPtr<mirror::Object> new_value ATTRIBUTE_UNUSED)
|
D | signal_catcher.cc | 95 void SignalCatcher::SetHaltFlag(bool new_value) { in SetHaltFlag() argument 97 halt_ = new_value; in SetHaltFlag()
|
D | art_field.h | 156 void Set32(ObjPtr<mirror::Object> object, uint32_t new_value) 162 void Set64(ObjPtr<mirror::Object> object, uint64_t new_value) 170 void SetObj(ObjPtr<mirror::Object> object, ObjPtr<mirror::Object> new_value)
|
D | stack.h | 234 bool SetVReg(ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind) 241 uint64_t new_value,
|
D | stack.cc | 377 uint32_t new_value, in SetVReg() argument 396 shadow_frame->SetVRegReference(vreg, reinterpret_cast<mirror::Object*>(new_value)); in SetVReg() 398 shadow_frame->SetVReg(vreg, new_value); in SetVReg() 405 uint64_t new_value, in SetVRegPair() argument 432 shadow_frame->SetVRegLong(vreg, new_value); in SetVRegPair()
|
/art/runtime/base/ |
D | quasi_atomic.h | 142 static bool Cas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in Cas64() argument 144 return __sync_bool_compare_and_swap(addr, old_value, new_value); in Cas64() 146 return SwapMutexCas64(old_value, new_value, addr); in Cas64() 167 static bool SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr);
|
D | quasi_atomic.cc | 58 bool QuasiAtomic::SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in SwapMutexCas64() argument 61 *addr = new_value; in SwapMutexCas64()
|
/art/runtime/native/ |
D | java_lang_reflect_Field.cc | 257 const JValue& new_value) in SetFieldValue() argument 265 o->SetFieldBooleanVolatile<false>(offset, new_value.GetZ()); in SetFieldValue() 267 o->SetFieldBoolean<false>(offset, new_value.GetZ()); in SetFieldValue() 272 o->SetFieldBooleanVolatile<false>(offset, new_value.GetB()); in SetFieldValue() 274 o->SetFieldBoolean<false>(offset, new_value.GetB()); in SetFieldValue() 279 o->SetFieldCharVolatile<false>(offset, new_value.GetC()); in SetFieldValue() 281 o->SetFieldChar<false>(offset, new_value.GetC()); in SetFieldValue() 287 o->SetField32Volatile<false>(offset, new_value.GetI()); in SetFieldValue() 289 o->SetField32<false>(offset, new_value.GetI()); in SetFieldValue() 295 o->SetField64Volatile<false>(offset, new_value.GetJ()); in SetFieldValue() [all …]
|
/art/libartbase/base/ |
D | stl_util.h | 108 void ReplaceElement(Container& container, const T& old_value, const T& new_value) { in ReplaceElement() argument 111 *it = new_value; in ReplaceElement()
|
D | leb128_test.cc | 260 uint32_t new_value = uleb128_tests[j].decoded; in TEST() local 262 if (new_value <= old_value) { in TEST() 265 UpdateUnsignedLeb128(encoded_data, new_value); in TEST() 267 EXPECT_EQ(DecodeUnsignedLeb128(&new_end), new_value); in TEST()
|
D | variant_map.h | 287 auto* new_value = new TValue(value); in Set() local 290 bool inserted = storage_map_.insert({key.Clone(), new_value}).second; in Set()
|
/art/openjdkjvmti/ |
D | ti_search.cc | 166 art::ObjPtr<art::mirror::Object> new_value = in Update() local 168 if (new_value == nullptr) { in Update() 174 new_val_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(new_value)); in Update()
|
/art/test/ti-stress/ |
D | stress.cc | 459 static std::string PrintJValue(jvmtiEnv* jvmtienv, JNIEnv* env, char type, jvalue new_value) { in PrintJValue() argument 463 jobject nv = new_value.l; in PrintJValue() 479 if (new_value.z) { in PrintJValue() 488 oss << static_cast<type>(new_value.sym); \ in PrintJValue() 512 jvalue new_value) { in FieldModificationHook() argument 525 << PrintJValue(jvmtienv, env, type, new_value) << ". Thread is \"" in FieldModificationHook()
|