/art/runtime/mirror/ |
D | array.cc | 57 Handle<Array> new_array(hs.NewHandle( in RecursiveCreateMultiArray() local 59 if (UNLIKELY(new_array == nullptr)) { in RecursiveCreateMultiArray() 73 new_array->AsObjectArray<Array>()->Set<false, false>(i, sub_array); in RecursiveCreateMultiArray() 76 return new_array.Get(); in RecursiveCreateMultiArray() 115 ObjPtr<Array> new_array = RecursiveCreateMultiArray(self, array_class, 0, dimensions); in CreateMultiArray() local 116 if (UNLIKELY(new_array == nullptr)) { in CreateMultiArray() 119 return new_array.Ptr(); in CreateMultiArray() 152 ObjPtr<Array> new_array = in CopyOf() local 154 if (LIKELY(new_array != nullptr)) { in CopyOf() 155 memcpy(new_array->GetRawData(component_size, 0), in CopyOf() [all …]
|
D | object_array-alloc-inl.h | 72 ObjPtr<ObjectArray<T>> new_array = Alloc(self, h_this->GetClass(), new_length, allocator_type); in CopyOf() local 73 if (LIKELY(new_array != nullptr)) { in CopyOf() 74 new_array->AssignableMemcpy(0, h_this.Get(), 0, std::min(h_this->GetLength(), new_length)); in CopyOf() 76 return new_array; in CopyOf()
|
/art/runtime/native/ |
D | java_lang_reflect_Array.cc | 48 ObjPtr<mirror::Array> new_array = in Array_createMultiArray() local 50 return soa.AddLocalReference<jobject>(new_array); in Array_createMultiArray() 69 ObjPtr<mirror::Array> new_array = mirror::ObjectArray<mirror::Object>::Alloc( in Array_createObjectArray() local 74 return soa.AddLocalReference<jobject>(new_array); in Array_createObjectArray()
|
/art/test/573-checker-checkcast-regression/src/ |
D | Main.java | 42 static public int test(Object new_array, int index1, int index2) { in test() argument 43 Object[] objectArray = (Object[]) new_array; in test()
|
/art/test/527-checker-array-access-split/src/ |
D | Main.java | 311 int[] new_array = new int[1]; in accrossGC() local 313 return new_array; in accrossGC()
|
/art/compiler/optimizing/ |
D | bounds_check_elimination_test.cc | 601 HInstruction* new_array = new (allocator) HNewArray( in BuildSSAGraph3() local 606 block->AddInstruction(new_array); in BuildSSAGraph3() 635 HNullCheck* null_check = new (allocator) HNullCheck(new_array, 0); in BuildSSAGraph3() 982 HInstruction* new_array = new (GetAllocator()) HNewArray( in TEST_F() local 987 block->AddInstruction(new_array); in TEST_F() 1016 new_array, bounds_check_i_mod_10, constant_10, DataType::Type::kInt32, 0); in TEST_F() 1025 new_array, bounds_check_i_mod_1, constant_10, DataType::Type::kInt32, 0); in TEST_F() 1035 new_array, bounds_check_i_mod_200, constant_10, DataType::Type::kInt32, 0); in TEST_F() 1046 new_array, bounds_check_i_mod_minus_10, constant_10, DataType::Type::kInt32, 0); in TEST_F() 1052 HNullCheck* null_check = new (GetAllocator()) HNullCheck(new_array, 0); in TEST_F() [all …]
|
D | instruction_builder.cc | 2421 HNewArray* new_array = new (allocator_) HNewArray(cls, length, dex_pc, component_type_shift); in BuildNewArray() local 2422 AppendInstruction(new_array); in BuildNewArray() 2423 return new_array; in BuildNewArray() 2432 HNewArray* new_array = BuildNewArray(dex_pc, type_index, length); in BuildFilledNewArray() local 2445 HArraySet* aset = new (allocator_) HArraySet(new_array, index, value, type, dex_pc); in BuildFilledNewArray() 2449 latest_result_ = new_array; in BuildFilledNewArray() 2451 return new_array; in BuildFilledNewArray() 3509 HNewArray* new_array = BuildNewArray(dex_pc, type_index, length); in ProcessDexInstruction() local 3512 BuildConstructorFenceForAllocation(new_array); in ProcessDexInstruction() 3521 HNewArray* new_array = BuildFilledNewArray(dex_pc, type_index, operands); in ProcessDexInstruction() local [all …]
|
D | bounds_check_elimination.cc | 1321 void VisitNewArray(HNewArray* new_array) override { in VisitNewArray() argument 1322 HInstruction* len = new_array->GetLength(); in VisitNewArray() 1333 ValueBound upper = ValueBound(new_array, -right_const); in VisitNewArray() 1335 ValueRange* existing_range = LookupValueRange(left, new_array->GetBlock()); in VisitNewArray() 1339 AssignRange(new_array->GetBlock(), left, range); in VisitNewArray()
|
D | load_store_elimination.cc | 1324 void VisitNewArray(HNewArray* new_array) override { in VisitNewArray() argument 1326 const bool inside_a_try = new_array->GetBlock()->IsTryBlock(); in VisitNewArray() 1327 ReferenceInfo* ref_info = heap_location_collector_.FindReferenceInfoOf(new_array); in VisitNewArray() 1333 if (new_array->GetLength()->IsIntConstant() && in VisitNewArray() 1334 new_array->GetLength()->AsIntConstant()->GetValue() >= 0) { in VisitNewArray() 1336 singleton_new_instances_.push_back(new_array); in VisitNewArray() 1341 HBasicBlock* block = new_array->GetBlock(); in VisitNewArray() 1347 if (ref == new_array && location->GetIndex() != nullptr) { in VisitNewArray()
|
D | induction_var_range_test.cc | 925 HInstruction* new_array = new (GetAllocator()) HNewArray( in TEST_F() local 930 entry_block_->AddInstruction(new_array); in TEST_F() 931 HInstruction* array_length = new (GetAllocator()) HArrayLength(new_array, 0); in TEST_F()
|
D | code_generator.h | 731 static QuickEntrypointEnum GetArrayAllocationEntrypoint(HNewArray* new_array);
|
D | code_generator.cc | 1894 QuickEntrypointEnum CodeGenerator::GetArrayAllocationEntrypoint(HNewArray* new_array) { in GetArrayAllocationEntrypoint() argument 1895 switch (new_array->GetComponentSizeShift()) { in GetArrayAllocationEntrypoint()
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 556 ObjPtr<mirror::Object> new_array = mirror::Array::Alloc( in DoFilledNewArray() local 562 if (UNLIKELY(new_array == nullptr)) { in DoFilledNewArray() 576 new_array->AsIntArray()->SetWithoutChecks</* kTransactionActive= */ false>(i, regs[src_reg]); in DoFilledNewArray() 578 new_array->AsObjectArray<mirror::Object>()->SetWithoutChecks</* kTransactionActive= */ false>( in DoFilledNewArray() 582 return new_array.Ptr(); in DoFilledNewArray()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 592 Handle<mirror::Array> new_array(hs.NewHandle(mirror::Array::Alloc( in ProcessAnnotationValue() local 595 if (new_array == nullptr) { in ProcessAnnotationValue() 610 new_array->AsObjectArray<mirror::Object>()-> in ProcessAnnotationValue() 615 new_array->AsByteArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue() 619 new_array->AsShortArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue() 623 new_array->AsCharArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue() 627 new_array->AsIntArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue() 631 new_array->AsLongArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue() 635 new_array->AsFloatArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue() 639 new_array->AsDoubleArray()->SetWithoutChecks<kTransactionActive>( in ProcessAnnotationValue() [all …]
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 1457 ObjPtr<mirror::Object> new_array = mirror::Array::Alloc( in DoFilledNewArray() local 1463 if (UNLIKELY(new_array == nullptr)) { in DoFilledNewArray() 1477 new_array->AsIntArray()->SetWithoutChecks<transaction_active>( in DoFilledNewArray() 1480 new_array->AsObjectArray<mirror::Object>()->SetWithoutChecks<transaction_active>( in DoFilledNewArray() 1485 result->SetL(new_array); in DoFilledNewArray()
|
D | unstarted_runtime.cc | 1995 ObjPtr<mirror::Array> new_array = mirror::ObjectArray<mirror::Object>::Alloc( in UnstartedJNIArrayCreateObjectArray() local 1997 result->SetL(new_array); in UnstartedJNIArrayCreateObjectArray()
|