Home
last modified time | relevance | path

Searched refs:kTransactionActive (Results 1 – 25 of 26) sorted by relevance

12

/art/runtime/mirror/
Dobject-inl.h389 template<bool kTransactionActive,
394 VerifyTransaction<kTransactionActive, kCheckTransaction>(); in SetFieldBoolean()
395 if (kTransactionActive) { in SetFieldBoolean()
403 template<bool kTransactionActive,
408 VerifyTransaction<kTransactionActive, kCheckTransaction>(); in SetFieldByte()
409 if (kTransactionActive) { in SetFieldByte()
417 template<bool kTransactionActive, bool kCheckTransaction, VerifyObjectFlags kVerifyFlags>
419 return SetFieldBoolean<kTransactionActive, kCheckTransaction, kVerifyFlags, true>( in SetFieldBooleanVolatile()
423 template<bool kTransactionActive, bool kCheckTransaction, VerifyObjectFlags kVerifyFlags>
425 return SetFieldByte<kTransactionActive, kCheckTransaction, kVerifyFlags, true>( in SetFieldByteVolatile()
[all …]
Dstack_frame_info.cc45 template<bool kTransactionActive>
52 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, declaring_class_), in SetFields()
54 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, method_type_), in SetFields()
56 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, method_name_), in SetFields()
58 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, file_name_), in SetFields()
60 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, line_number_), in SetFields()
62 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackFrameInfo, bci_), in SetFields()
Dexecutable.h46 template <bool kTransactionActive = false,
77 template<bool kTransactionActive = false>
79 SetFieldObject<kTransactionActive>(DeclaringClassOffset(), klass); in SetDeclaringClass()
82 template<bool kTransactionActive = false>
84 SetField32<kTransactionActive>(AccessFlagsOffset(), flags); in SetAccessFlags()
87 template<bool kTransactionActive = false>
89 SetField32<kTransactionActive>(DexMethodIndexOffset(), idx); in SetDexMethodIndex()
Dstack_trace_element.cc47 template<bool kTransactionActive>
52 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, declaring_class_), in Init()
54 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, method_name_), in Init()
56 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, file_name_), in Init()
58 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(StackTraceElement, line_number_), in Init()
Dfield.h117 template<bool kTransactionActive, bool kCheckTransaction = true>
120 template<bool kTransactionActive, bool kCheckTransaction = true>
123 template<bool kTransactionActive, bool kCheckTransaction = true>
125 SetField32<kTransactionActive, kCheckTransaction>(AccessFlagsOffset(), access_flags); in SetAccessFlags()
128 template<bool kTransactionActive, bool kCheckTransaction = true>
130 SetField32<kTransactionActive, kCheckTransaction>(ArtFieldIndexOffset(), idx); in SetArtFieldIndex()
133 template<bool kTransactionActive, bool kCheckTransaction = true>
135 SetField32<kTransactionActive, kCheckTransaction>(OffsetOffset(), offset); in SetOffset()
Dreference-inl.h33 template<bool kTransactionActive>
35 SetFieldObjectVolatile<kTransactionActive>(ReferentOffset(), referent); in SetReferent()
46 template<bool kTransactionActive>
48 return SetFieldObjectVolatile<kTransactionActive>(ZombieOffset(), zombie); in SetZombie()
Dfield-inl.h43 template<bool kTransactionActive, bool kCheckTransaction>
45 SetFieldObject<kTransactionActive, kCheckTransaction>(DeclaringClassOffset(), c); in SetDeclaringClass()
48 template<bool kTransactionActive, bool kCheckTransaction>
50 SetFieldObject<kTransactionActive, kCheckTransaction>(TypeOffset(), type); in SetType()
Dobject.h296 template<bool kTransactionActive,
304 template<bool kTransactionActive,
311 template<bool kTransactionActive,
323 template<bool kTransactionActive,
332 template<bool kTransactionActive,
342 template<bool kTransactionActive,
350 template<bool kTransactionActive,
403 template<bool kTransactionActive,
410 template<bool kTransactionActive,
417 template<bool kTransactionActive,
[all …]
Dobject_array-inl.h70 template<bool kTransactionActive, bool kCheckTransaction, VerifyObjectFlags kVerifyFlags>
73 SetFieldObject<kTransactionActive, kCheckTransaction, kVerifyFlags>(OffsetOfElement(i), object); in Set()
80 template<bool kTransactionActive, bool kCheckTransaction, VerifyObjectFlags kVerifyFlags>
84 SetFieldObject<kTransactionActive, kCheckTransaction, kVerifyFlags>(OffsetOfElement(i), object); in SetWithoutChecks()
88 template<bool kTransactionActive, bool kCheckTransaction, VerifyObjectFlags kVerifyFlags>
93 SetFieldObjectWithoutWriteBarrier<kTransactionActive, kCheckTransaction, kVerifyFlags>( in SetWithoutChecksAndWriteBarrier()
231 template<bool kTransactionActive>
261 SetWithoutChecks<kTransactionActive>(dst_pos + i, nullptr); in AssignableCheckingMemcpy()
266 SetWithoutChecks<kTransactionActive>(dst_pos + i, o); in AssignableCheckingMemcpy()
269 SetWithoutChecks<kTransactionActive>(dst_pos + i, o); in AssignableCheckingMemcpy()
[all …]
Dreference.h71 template<bool kTransactionActive>
73 template<bool kTransactionActive>
75 SetFieldObjectVolatile<kTransactionActive>(ReferentOffset(), nullptr); in ClearReferent()
128 template<bool kTransactionActive>
Darray-inl.h87 template<bool kTransactionActive, bool kCheckTransaction>
90 SetWithoutChecks<kTransactionActive, kCheckTransaction>(i, value); in Set()
97 template<bool kTransactionActive, bool kCheckTransaction, VerifyObjectFlags kVerifyFlags>
100 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetWithoutChecks()
102 if (kTransactionActive) { in SetWithoutChecks()
270 template<bool kTransactionActive, bool kCheckTransaction, bool kUnchecked>
277 SetWithoutChecks<kTransactionActive, kCheckTransaction>(idx, element); in SetElementPtrSize()
281 ->SetWithoutChecks<kTransactionActive, kCheckTransaction>(idx, element32); in SetElementPtrSize()
285 template<bool kTransactionActive, bool kCheckTransaction, bool kUnchecked, typename T>
287 SetElementPtrSize<kTransactionActive, kCheckTransaction, kUnchecked>( in SetElementPtrSize()
Dexecutable-inl.h29 template <bool kTransactionActive,
33 SetField64<kTransactionActive, kCheckTransaction, kVerifyFlags>( in SetArtMethod()
Dobject-readbarrier-inl.h41 template<bool kTransactionActive, bool kCheckTransaction, VerifyObjectFlags kVerifyFlags>
48 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in CasField32()
57 if (kTransactionActive && success) { in CasField32()
Dobject_array.h68 template<bool kTransactionActive, bool kCheckTransaction = true,
76 template<bool kTransactionActive, bool kCheckTransaction = true,
81 template<bool kTransactionActive, bool kCheckTransaction = true,
105 template<bool kTransactionActive>
Darray.h193 template<bool kTransactionActive, bool kCheckTransaction = true>
198 template<bool kTransactionActive,
257 template<bool kTransactionActive = false, bool kCheckTransaction = true, bool kUnchecked = false>
260 template<bool kTransactionActive = false,
Dstack_frame_info.h56 template<bool kTransactionActive>
Dstack_trace_element.h59 template<bool kTransactionActive>
Dvar_handle.cc37 static constexpr bool kTransactionActive = true; variable
38 static constexpr bool kTransactionInactive = !kTransactionActive;
650 obj->UpdateFieldBooleanViaAccessor<kTransactionActive>(field_offset, accessor); in Update()
662 obj->UpdateFieldByteViaAccessor<kTransactionActive>(field_offset, accessor); in Update()
674 obj->UpdateFieldCharViaAccessor<kTransactionActive>(field_offset, accessor); in Update()
686 obj->UpdateFieldShortViaAccessor<kTransactionActive>(field_offset, accessor); in Update()
698 obj->UpdateField32ViaAccessor<kTransactionActive>(field_offset, accessor); in Update()
710 obj->UpdateField64ViaAccessor<kTransactionActive>(field_offset, accessor); in Update()
723 obj->UpdateField32ViaAccessor<kTransactionActive>(field_offset, &float_to_int_accessor); in Update()
736 obj->UpdateField64ViaAccessor<kTransactionActive>(field_offset, &double_to_int_accessor); in Update()
[all …]
/art/runtime/
Dart_field-inl.h103 template<bool kTransactionActive>
108 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32()
110 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32()
123 template<bool kTransactionActive>
128 object->SetField64Volatile<kTransactionActive>(GetOffset(), new_value); in Set64()
130 object->SetField64<kTransactionActive>(GetOffset(), new_value); in Set64()
147 template<bool kTransactionActive>
152 object->SetFieldObjectVolatile<kTransactionActive>(GetOffset(), new_value); in SetObj()
154 object->SetFieldObject<kTransactionActive>(GetOffset(), new_value); in SetObj()
171 (object)->SetField ## type ## Volatile<kTransactionActive>(GetOffset(), value); \
[all …]
Dart_field.h120 template<bool kTransactionActive>
125 template<bool kTransactionActive>
131 template<bool kTransactionActive>
136 template<bool kTransactionActive>
142 template<bool kTransactionActive>
147 template<bool kTransactionActive>
152 template<bool kTransactionActive>
157 template<bool kTransactionActive>
164 template<bool kTransactionActive>
171 template<bool kTransactionActive>
[all …]
Dthread.cc1236 template<bool kTransactionActive>
1242 WellKnownClasses::java_lang_Thread_daemon->SetBoolean<kTransactionActive>(peer, in InitPeer()
1244 WellKnownClasses::java_lang_Thread_group->SetObject<kTransactionActive>(peer, thread_group); in InitPeer()
1245 WellKnownClasses::java_lang_Thread_name->SetObject<kTransactionActive>(peer, thread_name); in InitPeer()
1246 WellKnownClasses::java_lang_Thread_priority->SetInt<kTransactionActive>(peer, thread_priority); in InitPeer()
Dsubtype_check_test.cc88 template <bool kTransactionActive>
/art/runtime/dex/
Ddex_file_annotations.cc412 template <bool kTransactionActive>
600 if (!ProcessAnnotationValue<kTransactionActive>(klass, in ProcessAnnotationValue()
610 SetWithoutChecks<kTransactionActive>(i, obj); in ProcessAnnotationValue()
614 new_array->AsByteArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue()
618 new_array->AsShortArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue()
622 new_array->AsCharArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue()
626 new_array->AsIntArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue()
630 new_array->AsLongArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue()
634 new_array->AsFloatArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue()
638 new_array->AsDoubleArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue()
[all …]
Ddex_file_annotations.h183 template<bool kTransactionActive>
/art/runtime/native/
Djava_lang_reflect_Executable.cc125 static constexpr bool kTransactionActive = false; in Executable_getParameterAnnotationsNative() local
139 resized_annotations->SetWithoutChecks<kTransactionActive>(i, empty_annotations.Get()); in Executable_getParameterAnnotationsNative()
143 resized_annotations->SetWithoutChecks<kTransactionActive>(i + offset, annotation); in Executable_getParameterAnnotationsNative()
151 resized_annotations->SetWithoutChecks<kTransactionActive>(i, annotation); in Executable_getParameterAnnotationsNative()

12