Home
last modified time | relevance | path

Searched refs:long_array (Results 1 – 6 of 6) sorted by relevance

/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc59 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/
Dclass_loader_utils.h123 Handle<mirror::LongArray> long_array = in VisitClassLoaderDexFiles() local
125 if (long_array == nullptr) { in VisitClassLoaderDexFiles()
131 int32_t long_array_size = long_array->GetLength(); in VisitClassLoaderDexFiles()
135 long_array->GetWithoutChecks(j))); in VisitClassLoaderDexFiles()
Dtransaction_test.cc785 Handle<mirror::Array> long_array = hs.NewHandle(mirror::Array::Alloc( in TEST_F() local
791 ASSERT_TRUE(long_array != nullptr); in TEST_F()
792 ASSERT_FALSE(heap->ObjectIsInBootImageSpace(long_array.Get())); in TEST_F()
823 EXPECT_FALSE(transaction.WriteValueConstraint(long_array->GetClass())); in TEST_F()
824 EXPECT_FALSE(transaction.WriteValueConstraint(long_array.Get())); in TEST_F()
852 EXPECT_FALSE(strict_transaction.WriteValueConstraint(long_array->GetClass())); in TEST_F()
853 EXPECT_FALSE(strict_transaction.WriteValueConstraint(long_array.Get())); in TEST_F()
Dclass_loader_context.cc983 ObjPtr<mirror::LongArray> long_array = cookie_field->GetObject(java_dex_file)->AsLongArray(); in CollectDexFilesFromJavaDexFile() local
984 if (long_array == nullptr) { in CollectDexFilesFromJavaDexFile()
989 int32_t long_array_size = long_array->GetLength(); in CollectDexFilesFromJavaDexFile()
993 reinterpret_cast64<const DexFile*>(long_array->GetWithoutChecks(j)); in CollectDexFilesFromJavaDexFile()
Dclass_linker_test.cc1113 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F() local
1114 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "[J"), long_array->GetClass()); in TEST_F()
1115 uintptr_t data_offset = reinterpret_cast<uintptr_t>(long_array->GetData()); in TEST_F()
/art/runtime/native/
Ddalvik_system_DexFile.cc106 jlongArray long_array = env->NewLongArray(static_cast<jsize>(kDexFileIndexStart + vec.size())); in ConvertDexFilesToJavaArray() local
112 jlong* long_data = env->GetLongArrayElements(long_array, &is_long_data_copied); in ConvertDexFilesToJavaArray()
122 env->ReleaseLongArrayElements(long_array, long_data, 0); in ConvertDexFilesToJavaArray()
132 return long_array; in ConvertDexFilesToJavaArray()