Searched refs:new_array (Results 1 - 11 of 11) sorted by relevance
/art/test/573-checker-checkcast-regression/src/ |
H A D | Main.java | 28 // converts `new_array` to an `Object[]`), so as to produce code 42 static public int test(Object new_array, int index1, int index2) { argument 43 Object[] objectArray = (Object[]) new_array;
|
/art/runtime/mirror/ |
H A D | array.cc | 49 Handle<Array> new_array( 54 if (UNLIKELY(new_array.Get() == nullptr)) { 70 new_array->AsObjectArray<Array>()->Set<false, false>(i, sub_array); 73 return new_array.Get(); 113 Array* new_array = RecursiveCreateMultiArray(self, array_class, 0, dimensions); local 114 if (UNLIKELY(new_array == nullptr)) { 117 return new_array; 139 Array* new_array = Alloc<true>(self, GetClass(), new_length, component_shift, allocator_type); local 140 if (LIKELY(new_array != nullptr)) { 141 memcpy(new_array [all...] |
H A D | object_array-inl.h | 260 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type); local 261 if (LIKELY(new_array != nullptr)) { 262 new_array->AssignableMemcpy(0, h_this.Get(), 0, std::min(h_this->GetLength(), new_length)); 264 return new_array;
|
/art/runtime/native/ |
H A D | java_lang_reflect_Array.cc | 44 mirror::Array* new_array = mirror::Array::CreateMultiArray(soa.Self(), element_class, local 46 return soa.AddLocalReference<jobject>(new_array); 65 mirror::Array* new_array = mirror::ObjectArray<mirror::Object*>::Alloc( local 67 return soa.AddLocalReference<jobject>(new_array);
|
/art/test/527-checker-array-access-split/src/ |
H A D | Main.java | 190 int[] new_array = new int[1]; 192 return new_array;
|
/art/runtime/interpreter/ |
H A D | interpreter_common.cc | 858 Object* new_array = Array::Alloc<true>(self, array_class, length, local 861 if (UNLIKELY(new_array == nullptr)) { 875 new_array->AsIntArray()->SetWithoutChecks<transaction_active>( 878 new_array->AsObjectArray<Object>()->SetWithoutChecks<transaction_active>( 883 result->SetL(new_array);
|
H A D | unstarted_runtime.cc | 1560 mirror::Array* new_array = mirror::ObjectArray<mirror::Object*>::Alloc( local 1562 result->SetL(new_array);
|
/art/runtime/ |
H A D | dex_file.cc | 1998 Handle<mirror::Array> new_array(hs.NewHandle(mirror::Array::Alloc<true>( 2001 if (new_array.Get() == nullptr) { 2013 new_array->AsObjectArray<mirror::Object>()->SetWithoutChecks<false>(i, obj); 2017 new_array->AsByteArray()->SetWithoutChecks<false>( 2021 new_array->AsShortArray()->SetWithoutChecks<false>( 2025 new_array->AsCharArray()->SetWithoutChecks<false>( 2029 new_array->AsIntArray()->SetWithoutChecks<false>( 2033 new_array->AsLongArray()->SetWithoutChecks<false>( 2037 new_array->AsFloatArray()->SetWithoutChecks<false>( 2041 new_array [all...] |
H A D | debugger.cc | 1320 mirror::Array* new_array = mirror::Array::Alloc<true>(self, c, length, local 1323 if (new_array == nullptr) { 1330 *new_array_id = gRegistry->Add(new_array);
|
/art/compiler/optimizing/ |
H A D | bounds_check_elimination.cc | 1111 void VisitNewArray(HNewArray* new_array) OVERRIDE { 1112 HInstruction* len = new_array->InputAt(0); 1118 // We record "-right_const <= left <= new_array - right_const"; 1120 // We use new_array for the bound instead of new_array.length, 1121 // which isn't available as an instruction yet. new_array will 1122 // be treated the same as new_array.length when it's used in a ValueBound. 1123 ValueBound upper = ValueBound(new_array, -right_const); 1126 ValueRange* existing_range = LookupValueRange(left, new_array->GetBlock()); 1130 AssignRange(new_array [all...] |
H A D | bounds_check_elimination_test.cc | 599 HInstruction* new_array = new (allocator) HNewArray( local 606 block->AddInstruction(new_array); 635 HNullCheck* null_check = new (allocator) HNullCheck(new_array, 0);
|
Completed in 266 milliseconds