Home
last modified time | relevance | path

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

123

/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc113 SetType new_value, \
125 reinterpret_cast<mirror::Object**>(&new_value))); \
136 if (!referrer->SkipAccessChecks() && IsObject && new_value != 0) { \
145 field->Set ## Kind <false>(field->GetDeclaringClass(), new_value); \
151 SetType new_value, \
163 reinterpret_cast<mirror::Object**>(&new_value))); \
184 if (!referrer->SkipAccessChecks() && IsObject && new_value != 0) { \
193 field->Set ## Kind<false>(obj, new_value); \
216 SetType new_value, \
220 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
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 …]
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.h294 ObjPtr<Object> new_value)
301 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
307 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset, ObjPtr<Object> new_value)
313 ALWAYS_INLINE void SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value)
321 ObjPtr<Object> new_value,
330 ObjPtr<Object> new_value,
340 ObjPtr<Object> new_value)
346 ObjPtr<Object> ExchangeFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
354 ALWAYS_INLINE void SetFieldPrimitive(MemberOffset field_offset, kType new_value) in SetFieldPrimitive() argument
359 reinterpret_cast<Atomic<kType>*>(addr)->store(new_value, std::memory_order_seq_cst); in SetFieldPrimitive()
[all …]
Dvar_handle.cc316 explicit AtomicSetAccessor(T new_value) : new_value_(new_value) {} in AtomicSetAccessor() argument
406 AtomicGetAndSetAccessor(T new_value, JValue* result) : new_value_(new_value), result_(result) {} in AtomicGetAndSetAccessor() argument
439 T new_value; in Apply() local
441 new_value = old_value + addend; in Apply()
442 } while (!atom->compare_exchange_weak(old_value, new_value, MO, std::memory_order_relaxed)); in Apply()
795 T new_value = ValueGetter<T>::Get(getter); in Dispatch() local
796 SetAccessor<T> accessor(new_value); in Dispatch()
810 T new_value = ValueGetter<T>::Get(getter); in Dispatch() local
811 SetVolatileAccessor<T> accessor(new_value); in Dispatch()
844 T new_value = ValueGetter<T>::Get(getter); in Dispatch() local
[all …]
Dobject.cc171 uint32_t expected_value, new_value; in GenerateIdentityHashCode() local
174 new_value = expected_value * 1103515245 + 12345; in GenerateIdentityHashCode()
175 } while (!hash_code_seed.CompareAndSetWeakRelaxed(expected_value, new_value) || in GenerateIdentityHashCode()
229 void Object::CheckFieldAssignmentImpl(MemberOffset field_offset, ObjPtr<Object> new_value) { in CheckFieldAssignmentImpl() argument
244 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
262 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
Dstring.cc128 uint8_t* new_value = new_string->GetValueCompressed(); in DoConcat() local
129 memcpy(new_value, h_this->GetValueCompressed(), length_this * sizeof(uint8_t)); in DoConcat()
130 memcpy(new_value + length_this, h_arg->GetValueCompressed(), length_arg * sizeof(uint8_t)); in DoConcat()
132 uint16_t* new_value = new_string->GetValue(); in DoConcat() local
136 new_value[i] = value_this[i]; in DoConcat()
139 memcpy(new_value, h_this->GetValue(), length_this * sizeof(uint16_t)); in DoConcat()
144 new_value[i + length_this] = value_arg[i]; in DoConcat()
147 memcpy(new_value + length_this, h_arg->GetValue(), length_arg * sizeof(uint16_t)); in DoConcat()
Dobject-readbarrier-inl.h43 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/
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.h469 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 …]
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.h82 inline void ArtField::Set32(ObjPtr<mirror::Object> object, uint32_t new_value) { in Set32() argument
86 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32()
88 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32()
102 inline void ArtField::Set64(ObjPtr<mirror::Object> object, uint64_t new_value) { in Set64() argument
106 object->SetField64Volatile<kTransactionActive>(GetOffset(), new_value); in Set64()
108 object->SetField64<kTransactionActive>(GetOffset(), new_value); in Set64()
123 inline void ArtField::SetObj(ObjPtr<mirror::Object> object, ObjPtr<mirror::Object> new_value) { in SetObj() argument
127 object->SetFieldObjectVolatile<kTransactionActive>(GetOffset(), new_value); in SetObj()
129 object->SetFieldObject<kTransactionActive>(GetOffset(), new_value); in SetObj()
Dwrite_barrier.h42 ObjPtr<mirror::Object> new_value ATTRIBUTE_UNUSED)
Dsignal_catcher.h49 void SetHaltFlag(bool new_value) REQUIRES(!lock_);
Dsignal_catcher.cc96 void SignalCatcher::SetHaltFlag(bool new_value) { in SetHaltFlag() argument
98 halt_ = new_value; in SetHaltFlag()
Dstack.h241 bool SetVReg(ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind)
246 bool SetVRegReference(ArtMethod* m, uint16_t vreg, ObjPtr<mirror::Object> new_value)
253 uint64_t new_value,
Dart_field.h163 void Set32(ObjPtr<mirror::Object> object, uint32_t new_value)
169 void Set64(ObjPtr<mirror::Object> object, uint64_t new_value)
177 void SetObj(ObjPtr<mirror::Object> object, ObjPtr<mirror::Object> new_value)
/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 …d FOO using (ID: 2) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 15) new_value object
34 Reading new field FOO using (ID: 9) MethodHandle()Object = (ID: 15) new_value object
35 … FOO using (ID: 10) java.lang.invoke.FieldVarHandle()->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.cc3199 Location new_value) { in EmitStoreExclusive() argument
3202 assembler->MaybePoisonHeapReference(RegisterFrom(new_value)); in EmitStoreExclusive()
3207 __ Strexb(store_result, RegisterFrom(new_value), MemOperand(ptr)); in EmitStoreExclusive()
3211 __ Strexh(store_result, RegisterFrom(new_value), MemOperand(ptr)); in EmitStoreExclusive()
3215 __ Strex(store_result, RegisterFrom(new_value), MemOperand(ptr)); in EmitStoreExclusive()
3219 store_result, LowRegisterFrom(new_value), HighRegisterFrom(new_value), MemOperand(ptr)); in EmitStoreExclusive()
3226 assembler->MaybeUnpoisonHeapReference(RegisterFrom(new_value)); in EmitStoreExclusive()
3237 Location new_value, in GenerateCompareAndSet() argument
3247 DCHECK(new_value.IsRegisterPair()); in GenerateCompareAndSet()
3252 DCHECK(new_value.IsRegister()); in GenerateCompareAndSet()
[all …]
/art/libartbase/base/
Dleb128_test.cc260 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()
/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(uintptr_t new_value ATTRIBUTE_UNUSED) { in SetNterpDexPC()

123