Home
last modified time | relevance | path

Searched refs:new_value (Results 1 – 25 of 58) sorted by relevance

123

/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc151 SetType new_value, \
156 bool should_resolve_type = (IsObject) && new_value != 0; \
166 reinterpret_cast<mirror::Object**>(&new_value))); \
180 field->Set ## Kind <false>(field->GetDeclaringClass(), new_value); \
186 SetType new_value, \
191 bool should_resolve_type = (IsObject) && new_value != 0; \
201 reinterpret_cast<mirror::Object**>(&new_value))); \
216 field->Set ## Kind<false>(obj, new_value); \
239 SetType new_value, \
243 field_idx, new_value, GetReferrer(self), self); \
[all …]
/art/runtime/mirror/
Dobject-inl.h393 inline void Object::SetFieldBoolean(MemberOffset field_offset, uint8_t new_value) { in SetFieldBoolean() argument
400 SetFieldPrimitive<uint8_t, kIsVolatile>(field_offset, new_value); in SetFieldBoolean()
407 inline void Object::SetFieldByte(MemberOffset field_offset, int8_t new_value) { in SetFieldByte() argument
414 SetFieldPrimitive<int8_t, kIsVolatile>(field_offset, new_value); in SetFieldByte()
418 inline void Object::SetFieldBooleanVolatile(MemberOffset field_offset, uint8_t new_value) { in SetFieldBooleanVolatile() argument
420 field_offset, new_value); in SetFieldBooleanVolatile()
424 inline void Object::SetFieldByteVolatile(MemberOffset field_offset, int8_t new_value) { in SetFieldByteVolatile() argument
426 field_offset, new_value); in SetFieldByteVolatile()
455 inline void Object::SetFieldChar(MemberOffset field_offset, uint16_t new_value) { in SetFieldChar() argument
462 SetFieldPrimitive<uint16_t, kIsVolatile>(field_offset, new_value); in SetFieldChar()
[all …]
Dfield.cc31 ArtField* new_value = v->VisitField(orig, hrsi); in VisitTarget() local
32 if (orig != new_value) { in VisitTarget()
33 SetOffset<false>(new_value->GetOffset().Int32Value()); in VisitTarget()
34 SetDeclaringClass<false>(new_value->GetDeclaringClass()); in VisitTarget()
38 new_range.begin(), new_range.end(), [&](const auto& f) { return &f == new_value; }); in VisitTarget()
43 DCHECK_EQ(new_value, GetArtField()); in VisitTarget()
Dobject.h301 ObjPtr<Object> new_value)
308 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
314 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset, ObjPtr<Object> new_value)
320 ALWAYS_INLINE void SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value)
328 ObjPtr<Object> new_value,
337 ObjPtr<Object> new_value,
347 ObjPtr<Object> new_value)
353 ObjPtr<Object> ExchangeFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
361 ALWAYS_INLINE void SetFieldPrimitive(MemberOffset field_offset, kType new_value) in SetFieldPrimitive() argument
366 reinterpret_cast<Atomic<kType>*>(addr)->store(new_value, std::memory_order_seq_cst); in SetFieldPrimitive()
[all …]
Dstring.cc136 uint8_t* new_value = new_string->GetValueCompressed(); in DoConcat() local
137 memcpy(new_value, h_this->GetValueCompressed(), length_this * sizeof(uint8_t)); in DoConcat()
138 memcpy(new_value + length_this, h_arg->GetValueCompressed(), length_arg * sizeof(uint8_t)); in DoConcat()
140 uint16_t* new_value = new_string->GetValue(); in DoConcat() local
144 new_value[i] = value_this[i]; in DoConcat()
147 memcpy(new_value, h_this->GetValue(), length_this * sizeof(uint16_t)); in DoConcat()
152 new_value[i + length_this] = value_arg[i]; in DoConcat()
155 memcpy(new_value + length_this, h_arg->GetValue(), length_arg * sizeof(uint16_t)); in DoConcat()
165 T *new_value, *h_this_value; in RepeatCharacters() local
167 new_value = new_string->GetValueCompressed(); in RepeatCharacters()
[all …]
Dvar_handle.cc322 explicit AtomicSetAccessor(T new_value) : new_value_(new_value) {} in AtomicSetAccessor() argument
412 AtomicGetAndSetAccessor(T new_value, JValue* result) : new_value_(new_value), result_(result) {} in AtomicGetAndSetAccessor() argument
445 T new_value; in Apply() local
447 new_value = old_value + addend; in Apply()
448 } while (!atom->compare_exchange_weak(old_value, new_value, MO, std::memory_order_relaxed)); in Apply()
801 T new_value = ValueGetter<T>::Get(getter); in Dispatch() local
802 SetAccessor<T> accessor(new_value); in Dispatch()
816 T new_value = ValueGetter<T>::Get(getter); in Dispatch() local
817 SetVolatileAccessor<T> accessor(new_value); in Dispatch()
850 T new_value = ValueGetter<T>::Get(getter); in Dispatch() local
[all …]
Dobject.cc175 uint32_t expected_value, new_value; in GenerateIdentityHashCode() local
178 new_value = expected_value * 1103515245 + 12345; in GenerateIdentityHashCode()
179 } while (!hash_code_seed.CompareAndSetWeakRelaxed(expected_value, new_value) || in GenerateIdentityHashCode()
243 void Object::CheckFieldAssignmentImpl(MemberOffset field_offset, ObjPtr<Object> new_value) { in CheckFieldAssignmentImpl() argument
258 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
276 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
Dobject-readbarrier-inl.h44 int32_t new_value, in CasField32() argument
56 bool success = atomic_addr->CompareAndSet(old_value, new_value, mode, memory_order); in CasField32()
/art/runtime/gc/accounting/
Dcard_table-inl.h33 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()
148 uint8_t expected, new_value; in ModifyCardsAtomic() local
151 new_value = visitor(expected); in ModifyCardsAtomic()
152 } while (expected != new_value && UNLIKELY(!byte_cas(expected, new_value, card_cur))); in ModifyCardsAtomic()
153 if (expected != new_value) { in ModifyCardsAtomic()
154 modified(card_cur, expected, new_value); in ModifyCardsAtomic()
162 uint8_t expected, new_value; in ModifyCardsAtomic() local
165 new_value = visitor(expected); in ModifyCardsAtomic()
[all …]
/art/runtime/
Dsubtype_check.h470 SubtypeCheckBitsAndStatus new_value; in WriteSubtypeCheckBits() local
489 new_value = old_value; in WriteSubtypeCheckBits()
490 new_value.subtype_check_info_ = new_bits; in WriteSubtypeCheckBits()
494 memcpy(&int32_data, &new_value, sizeof(int32_t)); in WriteSubtypeCheckBits()
495 DCHECK_EQ(int32_data, new_value.int32_alias_) << int32_data; in WriteSubtypeCheckBits()
497 DCHECK_EQ(old_status, new_value.status_) in WriteSubtypeCheckBits()
498 << "full new: " << bit_cast<uint32_t>(new_value) in WriteSubtypeCheckBits()
505 new_value.int32_alias_)) { in WriteSubtypeCheckBits()
515 SubtypeCheckBitsAndStatus new_value; in WriteStatusImpl() local
528 new_value = old_value; in WriteStatusImpl()
[all …]
Dwrite_barrier-inl.h32 ObjPtr<mirror::Object> new_value) { in ForFieldWrite() argument
33 if (kNullCheck == kWithNullCheck && new_value == nullptr) { in ForFieldWrite()
36 DCHECK(new_value != nullptr); in ForFieldWrite()
Dart_field-inl.h104 inline void ArtField::Set32(ObjPtr<mirror::Object> object, uint32_t new_value) { in Set32() argument
108 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32()
110 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32()
124 inline void ArtField::Set64(ObjPtr<mirror::Object> object, uint64_t new_value) { in Set64() argument
128 object->SetField64Volatile<kTransactionActive>(GetOffset(), new_value); in Set64()
130 object->SetField64<kTransactionActive>(GetOffset(), new_value); in Set64()
148 inline void ArtField::SetObj(ObjPtr<mirror::Object> object, ObjPtr<mirror::Object> new_value) { in SetObj() argument
152 object->SetFieldObjectVolatile<kTransactionActive>(GetOffset(), new_value); in SetObj()
154 object->SetFieldObject<kTransactionActive>(GetOffset(), new_value); in SetObj()
Dwrite_barrier.h42 [[maybe_unused]] ObjPtr<mirror::Object> new_value)
Dsignal_catcher.h53 void SetHaltFlag(bool new_value) REQUIRES(!lock_);
Dsignal_catcher.cc101 void SignalCatcher::SetHaltFlag(bool new_value) { in SetHaltFlag() argument
103 halt_ = new_value; in SetHaltFlag()
Dstack.h247 EXPORT bool SetVReg(ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind)
252 EXPORT bool SetVRegReference(ArtMethod* m, uint16_t vreg, ObjPtr<mirror::Object> new_value)
259 uint64_t new_value,
Dart_field.h172 void Set32(ObjPtr<mirror::Object> object, uint32_t new_value)
178 void Set64(ObjPtr<mirror::Object> object, uint64_t new_value)
187 void SetObj(ObjPtr<mirror::Object> object, ObjPtr<mirror::Object> new_value)
Dart_method.cc729 uint32_t new_value = (GetAccessFlags() & ~kAccIntrinsicBits) | kAccIntrinsic | intrinsic_bits; in SetIntrinsic() local
746 SetAccessFlags(new_value); in SetIntrinsic()
766 SetAccessFlags(new_value); in SetIntrinsic()
928 bool CompareExchange(uintptr_t ptr, uintptr_t old_value, uintptr_t new_value) { in CompareExchange() argument
933 dchecked_integral_cast<T>(new_value), in CompareExchange()
947 uintptr_t new_value = reinterpret_cast<uintptr_t>(entry_point_from_quick_compiled_code); in SetEntryPointFromQuickCompiledCodePtrSize() local
950 ? CompareExchange<uint32_t>(ptr, old_value, new_value) in SetEntryPointFromQuickCompiledCodePtrSize()
951 : CompareExchange<uint64_t>(ptr, old_value, new_value); in SetEntryPointFromQuickCompiledCodePtrSize()
/art/runtime/base/
Dquasi_atomic.h142 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);
Dquasi_atomic.cc58 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/test/1981-structural-redef-private-method-handles/
Dexpected-stdout.txt22 Setting FOO to '(ID: 15) new_value object' with old varhandle.
23 Post set with new varhandle: class art.Test1981$Transform[FOO: new_value object, BAR: value of <BAR…
25 Post set with old varhandle: class art.Test1981$Transform[FOO: new_value object, BAR: value of <BAR…
27 Post reinit with mh: class art.Test1981$Transform[FOO: new_value object, BAR: value of <BAR FIELD>,…
28 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 15) new_value object
29 …using (ID: 2) java.lang.invoke.StaticFieldVarHandle()->java.lang.Object = (ID: 15) new_value object
34 Reading new field FOO using (ID: 9) MethodHandle()Object = (ID: 15) new_value object
35 …sing (ID: 10) java.lang.invoke.StaticFieldVarHandle()->java.lang.Object = (ID: 15) new_value object
/art/runtime/native/
Djava_lang_reflect_Field.cc273 const JValue& new_value) in SetFieldValue() argument
281 o->SetFieldBooleanVolatile<false>(offset, new_value.GetZ()); in SetFieldValue()
283 o->SetFieldBoolean<false>(offset, new_value.GetZ()); in SetFieldValue()
288 o->SetFieldBooleanVolatile<false>(offset, new_value.GetB()); in SetFieldValue()
290 o->SetFieldBoolean<false>(offset, new_value.GetB()); in SetFieldValue()
295 o->SetFieldCharVolatile<false>(offset, new_value.GetC()); in SetFieldValue()
297 o->SetFieldChar<false>(offset, new_value.GetC()); in SetFieldValue()
303 o->SetField32Volatile<false>(offset, new_value.GetI()); in SetFieldValue()
305 o->SetField32<false>(offset, new_value.GetI()); in SetFieldValue()
311 o->SetField64Volatile<false>(offset, new_value.GetJ()); in SetFieldValue()
[all …]
/art/compiler/optimizing/
Dintrinsics_arm_vixl.cc3304 Location new_value) { in EmitStoreExclusive() argument
3307 assembler->MaybePoisonHeapReference(RegisterFrom(new_value)); in EmitStoreExclusive()
3312 __ Strexb(store_result, RegisterFrom(new_value), MemOperand(ptr)); in EmitStoreExclusive()
3316 __ Strexh(store_result, RegisterFrom(new_value), MemOperand(ptr)); in EmitStoreExclusive()
3320 __ Strex(store_result, RegisterFrom(new_value), MemOperand(ptr)); in EmitStoreExclusive()
3324 store_result, LowRegisterFrom(new_value), HighRegisterFrom(new_value), MemOperand(ptr)); in EmitStoreExclusive()
3331 assembler->MaybeUnpoisonHeapReference(RegisterFrom(new_value)); in EmitStoreExclusive()
3342 Location new_value, in GenerateCompareAndSet() argument
3352 DCHECK(new_value.IsRegisterPair()); in GenerateCompareAndSet()
3357 DCHECK(new_value.IsRegister()); in GenerateCompareAndSet()
[all …]
/art/openjdkjvmti/
Dti_logging.cc81 bool new_value = (enable == JNI_TRUE) ? true : false; in SetVerboseFlagExt() local
97 g_log_verbosity_arr[i] = new_value; in SetVerboseFlagExt()
/art/runtime/arch/
Dcontext.h93 virtual void SetNterpDexPC([[maybe_unused]] uintptr_t new_value) { abort(); } in SetNterpDexPC() argument

123