Home
last modified time | relevance | path

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

/art/runtime/entrypoints/portable/
Dportable_field_entrypoints.cc26 int32_t new_value) in art_portable_set32_static_from_code() argument
34 field->Set32<false>(field->GetDeclaringClass(), new_value); in art_portable_set32_static_from_code()
41 field->Set32<false>(field->GetDeclaringClass(), new_value); in art_portable_set32_static_from_code()
49 int64_t new_value) in art_portable_set64_static_from_code() argument
54 field->Set64<false>(field->GetDeclaringClass(), new_value); in art_portable_set64_static_from_code()
61 field->Set64<false>(field->GetDeclaringClass(), new_value); in art_portable_set64_static_from_code()
69 mirror::Object* new_value) in art_portable_set_obj_static_from_code() argument
75 field->SetObj<false>(field->GetDeclaringClass(), new_value); in art_portable_set_obj_static_from_code()
82 field->SetObj<false>(field->GetDeclaringClass(), new_value); in art_portable_set_obj_static_from_code()
136 mirror::Object* obj, uint32_t new_value) in art_portable_set32_instance_from_code() argument
[all …]
/art/runtime/gc/accounting/
Dcard_table-inl.h30 static inline bool byte_cas(byte old_value, byte new_value, byte* address) { in byte_cas() argument
33 return byte_atomic->CompareExchangeWeakRelaxed(old_value, new_value); in byte_cas()
46 const uintptr_t new_word = cur_word | (static_cast<uintptr_t>(new_value) << shift_in_bits); in byte_cas()
137 byte expected, new_value; in ModifyCardsAtomic() local
140 new_value = visitor(expected); in ModifyCardsAtomic()
141 } while (expected != new_value && UNLIKELY(!byte_cas(expected, new_value, card_cur))); in ModifyCardsAtomic()
142 if (expected != new_value) { in ModifyCardsAtomic()
143 modified(card_cur, expected, new_value); in ModifyCardsAtomic()
151 byte expected, new_value; in ModifyCardsAtomic() local
154 new_value = visitor(expected); in ModifyCardsAtomic()
[all …]
Dremembered_set.cc45 void operator()(byte* card, byte expected_value, byte new_value) const { in operator ()()
Dmod_union_table.cc48 inline void operator()(byte* card, byte expected_value, byte new_value) const { in operator ()()
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc151 extern "C" int artSet32StaticFromCode(uint32_t field_idx, uint32_t new_value, in artSet32StaticFromCode() argument
159 field->Set32<false>(field->GetDeclaringClass(), new_value); in artSet32StaticFromCode()
166 field->Set32<false>(field->GetDeclaringClass(), new_value); in artSet32StaticFromCode()
173 uint64_t new_value, Thread* self, in artSet64StaticFromCode() argument
180 field->Set64<false>(field->GetDeclaringClass(), new_value); in artSet64StaticFromCode()
187 field->Set64<false>(field->GetDeclaringClass(), new_value); in artSet64StaticFromCode()
193 extern "C" int artSetObjStaticFromCode(uint32_t field_idx, mirror::Object* new_value, in artSetObjStaticFromCode() argument
202 field->SetObj<false>(field->GetDeclaringClass(), new_value); in artSetObjStaticFromCode()
211 field->SetObj<false>(field->GetDeclaringClass(), new_value); in artSetObjStaticFromCode()
217 extern "C" int artSet32InstanceFromCode(uint32_t field_idx, mirror::Object* obj, uint32_t new_value, in artSet32InstanceFromCode() argument
[all …]
/art/runtime/mirror/
Dobject-inl.h431 inline void Object::SetField32(MemberOffset field_offset, int32_t new_value) { in SetField32() argument
446 reinterpret_cast<Atomic<int32_t>*>(word_addr)->StoreSequentiallyConsistent(new_value); in SetField32()
448 reinterpret_cast<Atomic<int32_t>*>(word_addr)->StoreJavaData(new_value); in SetField32()
453 inline void Object::SetField32Volatile(MemberOffset field_offset, int32_t new_value) { in SetField32Volatile() argument
454 SetField32<kTransactionActive, kCheckTransaction, kVerifyFlags, true>(field_offset, new_value); in SetField32Volatile()
461 int32_t old_value, int32_t new_value) { in CasFieldWeakSequentiallyConsistent32() argument
474 return atomic_addr->CompareExchangeWeakSequentiallyConsistent(old_value, new_value); in CasFieldWeakSequentiallyConsistent32()
479 int32_t old_value, int32_t new_value) { in CasFieldWeakRelaxed32() argument
492 return atomic_addr->CompareExchangeWeakRelaxed(old_value, new_value); in CasFieldWeakRelaxed32()
497 int32_t old_value, int32_t new_value) { in CasFieldStrongSequentiallyConsistent32() argument
[all …]
Dobject.h221 ALWAYS_INLINE void SetFieldObjectWithoutWriteBarrier(MemberOffset field_offset, Object* new_value)
226 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, Object* new_value)
231 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset, Object* new_value)
237 Object* new_value)
243 Object* new_value)
259 ALWAYS_INLINE void SetField32(MemberOffset field_offset, int32_t new_value)
264 ALWAYS_INLINE void SetField32Volatile(MemberOffset field_offset, int32_t new_value)
270 int32_t old_value, int32_t new_value)
276 int32_t new_value) ALWAYS_INLINE
282 int32_t new_value) ALWAYS_INLINE
[all …]
Dart_field-inl.h75 inline void ArtField::Set32(Object* object, uint32_t new_value) { in Set32() argument
79 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32()
81 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32()
95 inline void ArtField::Set64(Object* object, uint64_t new_value) { in Set64() argument
99 object->SetField64Volatile<kTransactionActive>(GetOffset(), new_value); in Set64()
101 object->SetField64<kTransactionActive>(GetOffset(), new_value); in Set64()
115 inline void ArtField::SetObj(Object* object, Object* new_value) { in SetObj() argument
119 object->SetFieldObjectVolatile<kTransactionActive>(GetOffset(), new_value); in SetObj()
121 object->SetFieldObject<kTransactionActive>(GetOffset(), new_value); in SetObj()
Dobject.cc140 int32_t expected_value, new_value; in GenerateIdentityHashCode() local
143 new_value = expected_value * 1103515245 + 12345; in GenerateIdentityHashCode()
145 !seed.CompareExchangeWeakRelaxed(expected_value, new_value)); in GenerateIdentityHashCode()
194 void Object::CheckFieldAssignmentImpl(MemberOffset field_offset, Object* new_value) { in CheckFieldAssignmentImpl() argument
210 CHECK(fh.GetType()->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
229 CHECK(fh.GetType()->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
Dart_field.h129 void Set32(Object* object, uint32_t new_value) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
132 void Set64(Object* object, uint64_t new_value) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
135 void SetObj(Object* object, Object* new_value) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
/art/compiler/llvm/
Dir_builder.h143 ::llvm::Value* new_value, in StoreToObjectOffset() argument
146 StoreToObjectOffset(object_addr, offset, new_value, mdb_.GetTBAASpecialType(special_ty)); in StoreToObjectOffset()
158 ::llvm::Value* new_value, in StoreToObjectOffset() argument
161 StoreToObjectOffset(object_addr, offset, new_value, mdb_.GetTBAAMemoryJType(special_ty, j_ty)); in StoreToObjectOffset()
168 ::llvm::Value* new_value, in CompareExchangeObjectOffset() argument
171 return CompareExchangeObjectOffset(object_addr, offset, cmp_value, new_value, in CompareExchangeObjectOffset()
254 ::llvm::Value* new_value, in StoreToObjectOffset() argument
261 new_value->getType()->getPointerTo()); in StoreToObjectOffset()
263 CreateStore(new_value, value_addr, tbaa_info); in StoreToObjectOffset()
269 ::llvm::Value* new_value, in CompareExchangeObjectOffset() argument
[all …]
Dgbc_expander.cc258 void Expand_ArrayPut(llvm::Value* new_value,
273 llvm::Value* new_value,
284 llvm::Value* new_value,
492 if (llvm::Value* new_value = ExpandIntrinsic(intr_id, *call_inst)) { in RewriteBasicBlock() local
493 inst_iter->replaceAllUsesWith(new_value); in RewriteBasicBlock()
1044 void GBCExpanderPass::Expand_ArrayPut(llvm::Value* new_value, in Expand_ArrayPut() argument
1051 irb_.CreateStore(new_value, array_elem_addr, kTBAAHeapArray, elem_jty); in Expand_ArrayPut()
1129 llvm::Value* new_value, in Expand_IPutFast() argument
1146 irb_.CreateStore(new_value, field_addr, kTBAAHeapInstance, field_jty); in Expand_IPutFast()
1174 llvm::Value* new_value, in Expand_SPutFast() argument
[all …]
Dintrinsic_func_list.def79 // void art_portable_mark_gc_card(Object* new_value, Object* object)
586 // [type] new_value)
632 // [type] new_value)
769 // [type] new_value)
815 // [type] new_value)
/art/runtime/native/
Djava_lang_reflect_Field.cc226 const JValue& new_value) in SetFieldValue() argument
231 f->SetBoolean<false>(o, new_value.GetZ()); in SetFieldValue()
234 f->SetByte<false>(o, new_value.GetB()); in SetFieldValue()
237 f->SetChar<false>(o, new_value.GetC()); in SetFieldValue()
240 f->SetDouble<false>(o, new_value.GetD()); in SetFieldValue()
243 f->SetFloat<false>(o, new_value.GetF()); in SetFieldValue()
246 f->SetInt<false>(o, new_value.GetI()); in SetFieldValue()
249 f->SetLong<false>(o, new_value.GetJ()); in SetFieldValue()
252 f->SetShort<false>(o, new_value.GetS()); in SetFieldValue()
256 f->SetObject<false>(o, new_value.GetL()); in SetFieldValue()
[all …]
/art/runtime/
Datomic.cc57 bool QuasiAtomic::SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in SwapMutexCas64() argument
60 *addr = new_value; in SwapMutexCas64()
Dstack.cc246 bool StackVisitor::SetVReg(mirror::ArtMethod* m, uint16_t vreg, uint32_t new_value, in SetVReg() argument
272 uint64_t new_vreg_portion = static_cast<uint64_t>(new_value); in SetVReg()
280 new_value = static_cast<uintptr_t>((old_reg_val_as_wide & mask) | new_vreg_portion); in SetVReg()
284 return SetFPR(reg, new_value); in SetVReg()
286 return SetGPR(reg, new_value); in SetVReg()
294 *addr = new_value; in SetVReg()
298 cur_shadow_frame_->SetVReg(vreg, new_value); in SetVReg()
303 bool StackVisitor::SetVRegPair(mirror::ArtMethod* m, uint16_t vreg, uint64_t new_value, in SetVRegPair() argument
327 uintptr_t new_value_lo = static_cast<uintptr_t>(new_value & 0xFFFFFFFF); in SetVRegPair()
328 uintptr_t new_value_hi = static_cast<uintptr_t>(new_value >> 32); in SetVRegPair()
[all …]
Datomic.h141 static bool Cas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in Cas64() argument
143 return __sync_bool_compare_and_swap(addr, old_value, new_value); in Cas64()
145 return SwapMutexCas64(old_value, new_value, addr); in Cas64()
178 static bool SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr);
Dsignal_catcher.h48 void SetHaltFlag(bool new_value);
Dsignal_catcher.cc89 void SignalCatcher::SetHaltFlag(bool new_value) { in SetHaltFlag() argument
91 halt_ = new_value; in SetHaltFlag()
Dstack.h588 bool SetVReg(mirror::ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind)
591 bool SetVRegPair(mirror::ArtMethod* m, uint16_t vreg, uint64_t new_value,
/art/compiler/dex/quick/
Dcodegen_util.cc413 LIR* new_value = static_cast<LIR*>(arena_->Alloc(sizeof(LIR), kArenaAllocData)); in AddWordData() local
414 new_value->operands[0] = value; in AddWordData()
415 new_value->next = *constant_list_p; in AddWordData()
416 *constant_list_p = new_value; in AddWordData()
418 return new_value; in AddWordData()
/art/compiler/dex/quick/x86/
Dtarget_x86.cc2359 LIR* new_value = static_cast<LIR*>(arena_->Alloc(sizeof(LIR), kArenaAllocData)); in AddVectorLiteral() local
2361 new_value->operands[0] = args[0]; in AddVectorLiteral()
2362 new_value->operands[1] = args[1]; in AddVectorLiteral()
2363 new_value->operands[2] = args[2]; in AddVectorLiteral()
2364 new_value->operands[3] = args[3]; in AddVectorLiteral()
2365 new_value->next = const_vectors_; in AddVectorLiteral()
2370 const_vectors_ = new_value; in AddVectorLiteral()
2371 return new_value; in AddVectorLiteral()
/art/runtime/hprof/
Dhprof.cc309 void UpdateU4(size_t offset, uint32_t new_value) { in UpdateU4() argument
310 U4_TO_BUF_BE(body_, offset, new_value); in UpdateU4()
/art/compiler/optimizing/
Dnodes.h114 void UpdateMaximumNumberOfOutVRegs(uint16_t new_value) { in UpdateMaximumNumberOfOutVRegs() argument
115 maximum_number_of_out_vregs_ = std::max(new_value, maximum_number_of_out_vregs_); in UpdateMaximumNumberOfOutVRegs()