Searched refs:long_array (Results 1 – 7 of 7) sorted by relevance
/aosp12/art/test/497-inlining-and-class-loader/ |
H A 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()
|
/aosp12/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutor/ |
H A D | ScriptExecutorTest.java | 280 long[] long_array = new long[]{1, 2, 3}; in invokeScript_allSupportedArrayTypesWorkRoundTripWithKeyNamesPreserved() local 283 previousState.putLongArray("long_array", long_array); in invokeScript_allSupportedArrayTypesWorkRoundTripWithKeyNamesPreserved() 295 long_array); in invokeScript_allSupportedArrayTypesWorkRoundTripWithKeyNamesPreserved() 313 long[] long_array = new long[]{1, 2, 3}; in invokeScript_modifiesArray() local 314 previousState.putLongArray("long_array", long_array); in invokeScript_modifiesArray() 385 long[] long_array = new long[]{1, 2, 3}; in invokeScript_arrayContainingVaryingTypesCausesError() local 386 previousState.putLongArray("long_array", long_array); in invokeScript_arrayContainingVaryingTypesCausesError() 411 long[] long_array = new long[]{1, 2, 3}; in invokeScript_InTablesWithBothKeysAndIndicesCopiesOnlyIndexedData() local 412 previousState.putLongArray("long_array", long_array); in invokeScript_InTablesWithBothKeysAndIndicesCopiesOnlyIndexedData() 419 long_array); in invokeScript_InTablesWithBothKeysAndIndicesCopiesOnlyIndexedData()
|
/aosp12/art/runtime/ |
H A 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()
|
H A D | transaction_test.cc | 687 Handle<mirror::Array> long_array = hs.NewHandle(mirror::Array::Alloc( in TEST_F() local 693 ASSERT_TRUE(long_array != nullptr); in TEST_F() 694 ASSERT_FALSE(heap->ObjectIsInBootImageSpace(long_array.Get())); in TEST_F() 723 EXPECT_FALSE(transaction.WriteValueConstraint(soa.Self(), long_array->GetClass())); in TEST_F() 724 EXPECT_FALSE(transaction.WriteValueConstraint(soa.Self(), long_array.Get())); in TEST_F() 752 EXPECT_FALSE(strict_transaction.WriteValueConstraint(soa.Self(), long_array->GetClass())); in TEST_F() 753 EXPECT_FALSE(strict_transaction.WriteValueConstraint(soa.Self(), long_array.Get())); in TEST_F()
|
H A D | class_loader_context.cc | 934 ObjPtr<mirror::LongArray> long_array = cookie_field->GetObject(java_dex_file)->AsLongArray(); in CollectDexFilesFromJavaDexFile() local 935 if (long_array == nullptr) { in CollectDexFilesFromJavaDexFile() 940 int32_t long_array_size = long_array->GetLength(); in CollectDexFilesFromJavaDexFile() 944 reinterpret_cast64<const DexFile*>(long_array->GetWithoutChecks(j)); in CollectDexFilesFromJavaDexFile()
|
H A D | class_linker_test.cc | 1100 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F() local 1101 EXPECT_OBJ_PTR_EQ(class_linker_->FindSystemClass(soa.Self(), "[J"), long_array->GetClass()); in TEST_F() 1102 uintptr_t data_offset = reinterpret_cast<uintptr_t>(long_array->GetData()); in TEST_F()
|
/aosp12/art/runtime/native/ |
H A D | dalvik_system_DexFile.cc | 96 jlongArray long_array = env->NewLongArray(static_cast<jsize>(kDexFileIndexStart + vec.size())); in ConvertDexFilesToJavaArray() local 102 jlong* long_data = env->GetLongArrayElements(long_array, &is_long_data_copied); in ConvertDexFilesToJavaArray() 112 env->ReleaseLongArrayElements(long_array, long_data, 0); in ConvertDexFilesToJavaArray() 122 return long_array; in ConvertDexFilesToJavaArray()
|