Searched refs:long_array (Results 1 – 6 of 6) sorted by relevance
/art/test/497-inlining-and-class-loader/ |
D | clear_dex_cache.cc | 59 ObjPtr<mirror::LongArray> long_array = ObjPtr<mirror::LongArray>::DownCast(decoded_array); in Java_Main_cloneResolvedMethods() local 60 long_array->Set(2u * i, index); in Java_Main_cloneResolvedMethods() 61 long_array->Set(2u * i + 1u, reinterpret_cast64<jlong>(method)); in Java_Main_cloneResolvedMethods() 85 ObjPtr<mirror::LongArray> long_array = ObjPtr<mirror::LongArray>::DownCast(old); in Java_Main_restoreResolvedMethods() local 86 index = dchecked_integral_cast<uint32_t>(long_array->Get(2u * i)); in Java_Main_restoreResolvedMethods() 87 method = reinterpret_cast64<ArtMethod*>(long_array->Get(2u * i + 1u)); in Java_Main_restoreResolvedMethods()
|
/art/runtime/ |
D | class_loader_utils.h | 136 ObjPtr<mirror::LongArray> long_array = cookie_field->GetObject(dex_file)->AsLongArray(); in VisitClassLoaderDexFiles() local 137 if (long_array == nullptr) { in VisitClassLoaderDexFiles() 143 int32_t long_array_size = long_array->GetLength(); in VisitClassLoaderDexFiles() 147 long_array->GetWithoutChecks(j))); in VisitClassLoaderDexFiles()
|
D | transaction_test.cc | 671 Handle<mirror::Array> long_array = hs.NewHandle(mirror::Array::Alloc( in TEST_F() local 677 ASSERT_TRUE(long_array != nullptr); in TEST_F() 678 ASSERT_FALSE(heap->ObjectIsInBootImageSpace(long_array.Get())); in TEST_F() 707 EXPECT_FALSE(transaction.WriteValueConstraint(soa.Self(), long_array->GetClass())); in TEST_F() 708 EXPECT_FALSE(transaction.WriteValueConstraint(soa.Self(), long_array.Get())); in TEST_F() 736 EXPECT_FALSE(strict_transaction.WriteValueConstraint(soa.Self(), long_array->GetClass())); in TEST_F() 737 EXPECT_FALSE(strict_transaction.WriteValueConstraint(soa.Self(), long_array.Get())); in TEST_F()
|
D | class_loader_context.cc | 957 ObjPtr<mirror::LongArray> long_array = cookie_field->GetObject(java_dex_file)->AsLongArray(); in CollectDexFilesFromJavaDexFile() local 958 if (long_array == nullptr) { in CollectDexFilesFromJavaDexFile() 963 int32_t long_array_size = long_array->GetLength(); in CollectDexFilesFromJavaDexFile() 967 reinterpret_cast64<const DexFile*>(long_array->GetWithoutChecks(j)); in CollectDexFilesFromJavaDexFile()
|
D | class_linker_test.cc | 1097 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F() local 1098 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "[J"), long_array->GetClass()); in TEST_F() 1099 uintptr_t data_offset = reinterpret_cast<uintptr_t>(long_array->GetData()); in TEST_F()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 94 jlongArray long_array = env->NewLongArray(static_cast<jsize>(kDexFileIndexStart + vec.size())); in ConvertDexFilesToJavaArray() local 100 jlong* long_data = env->GetLongArrayElements(long_array, &is_long_data_copied); in ConvertDexFilesToJavaArray() 110 env->ReleaseLongArrayElements(long_array, long_data, 0); in ConvertDexFilesToJavaArray() 120 return long_array; in ConvertDexFilesToJavaArray()
|