Lines Matching refs:array
54 static void RecordArrayElementsInTransaction(ObjPtr<mirror::Object> array, int32_t count)
76 ObjPtr<mirror::PrimitiveArray<T>> array, in RecordArrayElementsInTransactionImpl() argument
80 transaction->RecordWriteArray(array.Ptr(), i, array->GetWithoutChecks(i)); in RecordArrayElementsInTransactionImpl()
84 void ActiveTransactionChecker::RecordArrayElementsInTransaction(ObjPtr<mirror::Object> array, in RecordArrayElementsInTransaction() argument
87 if (array == nullptr) { in RecordArrayElementsInTransaction()
90 DCHECK(array->IsArrayInstance()); in RecordArrayElementsInTransaction()
91 DCHECK_LE(count, array->AsArray()->GetLength()); in RecordArrayElementsInTransaction()
93 if (!transaction->ArrayNeedsTransactionRecords(array->AsArray())) { in RecordArrayElementsInTransaction()
99 array->GetClass<kDefaultVerifyFlags, kWithoutReadBarrier>() in RecordArrayElementsInTransaction()
103 RecordArrayElementsInTransactionImpl(transaction, array->AsBooleanArray(), count); in RecordArrayElementsInTransaction()
106 RecordArrayElementsInTransactionImpl(transaction, array->AsByteArray(), count); in RecordArrayElementsInTransaction()
109 RecordArrayElementsInTransactionImpl(transaction, array->AsCharArray(), count); in RecordArrayElementsInTransaction()
112 RecordArrayElementsInTransactionImpl(transaction, array->AsShortArray(), count); in RecordArrayElementsInTransaction()
115 RecordArrayElementsInTransactionImpl(transaction, array->AsIntArray(), count); in RecordArrayElementsInTransaction()
118 RecordArrayElementsInTransactionImpl(transaction, array->AsFloatArray(), count); in RecordArrayElementsInTransaction()
121 RecordArrayElementsInTransactionImpl(transaction, array->AsLongArray(), count); in RecordArrayElementsInTransaction()
124 RecordArrayElementsInTransactionImpl(transaction, array->AsDoubleArray(), count); in RecordArrayElementsInTransaction()