Home
last modified time | relevance | path

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

1234

/aosp12/art/runtime/entrypoints/quick/
H A Dquick_field_entrypoints.cc113 SetType new_value, \
332 uint32_t new_value,
339 uint16_t new_value, in artSet16StaticFromCompiledCode() argument
347 uint8_t new_value, in artSet8InstanceFromCompiledCode() argument
355 uint16_t new_value, in artSet16InstanceFromCompiledCode() argument
362 uint32_t new_value, in artSet8StaticFromCode() argument
366 return artSetBooleanStaticFromCode(field_idx, new_value, referrer, self); in artSet8StaticFromCode()
370 uint16_t new_value, in artSet16StaticFromCode() argument
374 return artSetCharStaticFromCode(field_idx, new_value, referrer, self); in artSet16StaticFromCode()
379 uint8_t new_value, in artSet8InstanceFromCode() argument
[all …]
/aosp12/art/runtime/mirror/
H A Dobject-inl.h425 field_offset, new_value); in SetFieldBooleanVolatile()
431 field_offset, new_value); in SetFieldByteVolatile()
491 field_offset, new_value); in SetFieldCharVolatile()
497 field_offset, new_value); in SetFieldShortVolatile()
638 VerifyWrite<kVerifyFlags>(new_value); in SetFieldObjectWithoutWriteBarrier()
641 objref_addr->Assign<kIsVolatile>(new_value.Ptr()); in SetFieldObjectWithoutWriteBarrier()
650 kIsVolatile>(field_offset, new_value); in SetFieldObject()
651 if (new_value != nullptr) { in SetFieldObject()
654 CheckFieldAssignment(field_offset, new_value); in SetFieldObject()
687 VerifyCAS<kVerifyFlags>(new_value, old_value); in CasFieldObjectWithoutWriteBarrier()
[all …]
H A Dobject.h321 ObjPtr<Object> new_value,
501 int32_t new_value,
543 int64_t new_value)
551 int64_t new_value)
558 void SetFieldPtr(MemberOffset field_offset, T new_value) in SetFieldPtr() argument
561 field_offset, new_value, kRuntimePointerSize); in SetFieldPtr()
567 void SetFieldPtr64(MemberOffset field_offset, T new_value) in SetFieldPtr64() argument
570 field_offset, new_value, PointerSize::k64); in SetFieldPtr64()
578 T new_value, in SetFieldPtrWithSize() argument
723 CheckFieldAssignmentImpl(field_offset, new_value); in CheckFieldAssignment()
[all …]
H A 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()
H A 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()
796 SetAccessor<T> accessor(new_value); in Dispatch()
1052 SetAccessor<T> accessor(new_value); in Dispatch()
1201 MaybeByteSwap(byte_swap, &new_value); in Dispatch()
1202 SetAccessor<T> accessor(new_value); in Dispatch()
1218 MaybeByteSwap(byte_swap, &new_value); in Dispatch()
1999 ArtField* new_value = in VisitTarget() local
[all …]
H A 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()
/aosp12/art/runtime/gc/accounting/
H A Dcard_table-inl.h36 return byte_atomic->CompareAndSetWeakRelaxed(old_value, new_value); 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()
166 } while (expected != new_value && UNLIKELY(!byte_cas(expected, new_value, card_end))); in ModifyCardsAtomic()
167 if (expected != new_value) { in ModifyCardsAtomic()
[all …]
/aosp12/art/runtime/
H A 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()
514 SubtypeCheckBitsAndStatus new_value; in WriteStatusImpl() local
527 new_value = old_value; in WriteStatusImpl()
528 new_value.status_ = status; in WriteStatusImpl()
[all …]
H A 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()
H A 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()
/aosp12/system/media/audio_route/
H A Daudio_route.c52 union ctl_values new_value; member
435 memcpy(ar->mixer_state[ctl_index].new_value.ptr, in path_reset()
676 ar->mixer_state[i].new_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
702 free(ar->mixer_state[i].new_value.ptr); in free_mixer_state()
740 != ar->mixer_state[i].new_value.enumerated[j]) { in audio_route_update_mixer()
893 if (ms->old_value.bytes[j] != ms->new_value.bytes[j]) { in audio_route_update_path()
898 memcpy(ms->new_value.bytes, ms->old_value.bytes, in audio_route_update_path()
907 if (ms->old_value.enumerated[j] != ms->new_value.enumerated[j]) { in audio_route_update_path()
917 memcpy(ms->old_value.enumerated, ms->new_value.enumerated, in audio_route_update_path()
921 } else if (ms->old_value.integer[j] != ms->new_value.integer[j]) { in audio_route_update_path()
[all …]
/aosp12/frameworks/base/tools/aapt2/
H A DResourceValues.cpp1075 new_value->SetSource(value->GetSource()); in CopyValueFields()
1076 new_value->SetComment(value->GetComment()); in CopyValueFields()
1077 return new_value; in CopyValueFields()
1112 new_value->file = value->file; in TransformDerived()
1113 new_value->type = value->type; in TransformDerived()
1124 new_value->type_mask = value->type_mask; in TransformDerived()
1125 new_value->min_int = value->min_int; in TransformDerived()
1126 new_value->max_int = value->max_int; in TransformDerived()
1138 auto new_value = std::make_unique<Style>(); in TransformDerived() local
1139 new_value->parent = value->parent; in TransformDerived()
[all …]
/aosp12/system/bt/gd/packet/
H A Dbit_inserter.cc32 …uint16_t new_value = static_cast<uint8_t>(saved_bits_) | (static_cast<uint16_t>(byte) << num_saved… in insert_bits() local
34 ByteInserter::insert_byte(static_cast<uint8_t>(new_value)); in insert_bits()
36 new_value = new_value >> 8; in insert_bits()
40 saved_bits_ = static_cast<uint8_t>(new_value) & mask; in insert_bits()
H A Dfragmenting_inserter.cc32 …uint16_t new_value = static_cast<uint8_t>(saved_bits_) | (static_cast<uint16_t>(byte) << num_saved… in insert_bits() local
34 uint8_t new_byte = static_cast<uint8_t>(new_value); in insert_bits()
42 new_value = new_value >> 8; in insert_bits()
46 saved_bits_ = static_cast<uint8_t>(new_value) & mask; in insert_bits()
/aosp12/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.cpp64 int SetPODValue(Value* value, POD new_value) { in SetPODValue() argument
71 *reinterpret_cast<POD*>(value->value) = new_value; in SetPODValue()
202 int SetIntValue(Value* value, int new_value) { in SetIntValue() argument
203 return SetPODValue<int, INT_VALUE_TYPE>(value, new_value); in SetIntValue()
206 int SetFloatValue(Value* value, float new_value) { in SetFloatValue() argument
207 return SetPODValue<float, FLOAT_VALUE_TYPE>(value, new_value); in SetFloatValue()
210 int SetStringValue(Value* value, const char* new_value) { in SetStringValue() argument
211 return SetPtrValue<char, STRING_VALUE_TYPE>(value, new_value, strlen(new_value) + 1); in SetStringValue()
H A Dvalue.h65 int SetIntValue(Value* value, int new_value);
66 int SetFloatValue(Value* value, float new_value);
67 int SetStringValue(Value* value, const char* new_value);
/aosp12/bionic/libc/bionic/
H A Dfdtrack.cpp42 void android_fdtrack_set_globally_enabled(bool new_value) { in android_fdtrack_set_globally_enabled() argument
43 __android_fdtrack_globally_disabled = !new_value; in android_fdtrack_set_globally_enabled()
50 bool android_fdtrack_set_enabled(bool new_value) { in android_fdtrack_set_enabled() argument
53 tls.fdtrack_disabled = !new_value; in android_fdtrack_set_enabled()
H A Dsemaphore.cpp190 unsigned int new_value; in __sem_inc() local
204 new_value = SEMCOUNT_ONE | shared; in __sem_inc()
206 new_value = SEMCOUNT_INCREMENT(old_value) | shared; in __sem_inc()
209 new_value)); in __sem_inc()
/aosp12/art/runtime/native/
H A Djava_lang_reflect_Field.cc283 o->SetFieldBoolean<false>(offset, new_value.GetZ()); 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()
313 o->SetField64<false>(offset, new_value.GetJ()); in SetFieldValue()
320 o->SetFieldShort<false>(offset, new_value.GetS()); in SetFieldValue()
328 o->SetFieldObject<false>(offset, new_value.GetL()); in SetFieldValue()
[all …]
/aosp12/art/test/1981-structural-redef-private-method-handles/
H A 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
/aosp12/system/update_engine/update_manager/
H A Dreal_device_policy_provider.cc111 T new_value; in UpdateVariable() local
113 (policy_provider_->GetDevicePolicy().*getter)(&new_value)) { in UpdateVariable()
114 var->SetValue(new_value); in UpdateVariable()
124 T new_value; in UpdateVariable() local
126 (this->*getter)(&new_value)) { in UpdateVariable()
127 var->SetValue(new_value); in UpdateVariable()
/aosp12/art/runtime/base/
H A 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);
/aosp12/hardware/libhardware/modules/camera/3_4/metadata/
H A Dno_effect_control_delegate_test.cpp36 int32_t new_value = 13; in TEST() local
37 ASSERT_EQ(control.SetValue(new_value), 0); in TEST()
40 EXPECT_EQ(actual, new_value); in TEST()
/aosp12/system/libbase/include/android-base/
H A Dunique_fd.h105 [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); }
135 void reset(int new_value, void* previous_tag) { in reset() argument
142 fd_ = new_value; in reset()
143 if (new_value != -1) { in reset()
144 tag(new_value, previous_tag, this); in reset()
/aosp12/system/tools/aidl/
H A Daidl_checkapi.cpp158 const string new_value = new_c->GetValue().Literal(); in are_compatible_constants() local
159 if (old_value != new_value) { in are_compatible_constants()
161 << old_c->GetName() << " from " << old_value << " to " << new_value << "."; in are_compatible_constants()
281 string new_value = new_field->GetDefaultValue() ? new_field->GetDefaultValue()->Literal() : ""; in are_compatible_parcelables() local
283 if (old_value == new_value) { in are_compatible_parcelables()
288 if (old_value == "" && enum_decl && EvaluatesToZero(*enum_decl, new_value)) { in are_compatible_parcelables()
292 AIDL_ERROR(new_field) << "Changed default value: " << old_value << " to " << new_value << "."; in are_compatible_parcelables()
394 const string new_value = new_enum_map[name]->Literal(); in are_compatible_enums() local
395 if (old_value != new_value) { in are_compatible_enums()
397 << " from " << old_value << " to " << new_value << "."; in are_compatible_enums()

1234