Home
last modified time | relevance | path

Searched refs:GetArrayLength (Results 1 – 16 of 16) sorted by relevance

/art/compiler/jni/
Djni_compiler_test.cc1582 EXPECT_EQ(0, env->GetArrayLength(reinterpret_cast<jarray>(o0))); in JNI_TEST()
1583 EXPECT_EQ(1, env->GetArrayLength(reinterpret_cast<jarray>(o1))); in JNI_TEST()
1584 EXPECT_EQ(2, env->GetArrayLength(reinterpret_cast<jarray>(o2))); in JNI_TEST()
1585 EXPECT_EQ(3, env->GetArrayLength(reinterpret_cast<jarray>(o3))); in JNI_TEST()
1586 EXPECT_EQ(4, env->GetArrayLength(reinterpret_cast<jarray>(o4))); in JNI_TEST()
1587 EXPECT_EQ(5, env->GetArrayLength(reinterpret_cast<jarray>(o5))); in JNI_TEST()
1588 EXPECT_EQ(6, env->GetArrayLength(reinterpret_cast<jarray>(o6))); in JNI_TEST()
1589 EXPECT_EQ(7, env->GetArrayLength(reinterpret_cast<jarray>(o7))); in JNI_TEST()
1590 EXPECT_EQ(8, env->GetArrayLength(reinterpret_cast<jarray>(o8))); in JNI_TEST()
1591 EXPECT_EQ(9, env->GetArrayLength(reinterpret_cast<jarray>(o9))); in JNI_TEST()
[all …]
/art/test/ti-agent/
Dredefinition_helper.cc153 jint len = static_cast<jint>(env->GetArrayLength(desired_array)); in DoMultiClassRedefine()
210 jint len = env->GetArrayLength(targets); in Java_art_Redefinition_doCommonMultiStructuralClassRedefinition()
211 if (len != env->GetArrayLength(dex_file_bytes)) { in Java_art_Redefinition_doCommonMultiStructuralClassRedefinition()
241 jint len = env->GetArrayLength(targets); in Java_art_Redefinition_doCommonMultiClassRedefinition()
242 if (len != env->GetArrayLength(class_file_bytes) || len != env->GetArrayLength(dex_file_bytes)) { in Java_art_Redefinition_doCommonMultiClassRedefinition()
297 CommonTransformationResult trans(env->GetArrayLength(class_array), in Java_art_Redefinition_addCommonTransformationResult()
298 env->GetArrayLength(dex_array)); in Java_art_Redefinition_addCommonTransformationResult()
304 env->GetArrayLength(class_array), in Java_art_Redefinition_addCommonTransformationResult()
311 env->GetArrayLength(dex_array), in Java_art_Redefinition_addCommonTransformationResult()
394 jint len = env->GetArrayLength(targets); in DoClassRetransformation()
Dscoped_primitive_array.h67 mSize = mEnv->GetArrayLength(mJavaArray); \
131 size_t size() const { return mEnv->GetArrayLength(mJavaArray); } \
Dsuspension_helper.cc38 jsize len = env->GetArrayLength(thrs); in CopyToVector()
Dsuspend_event_helper.cc383 jint cnt = env->GetArrayLength(interesting_names); in Java_art_SuspendEvents_setupSuspendClassEvent()
/art/test/1976-hello-structural-static-methods/
Dstructural_transform_methods.cc45 jint len = env->GetArrayLength(m); in Java_art_Test1976_callNativeMethods()
64 jint len = env->GetArrayLength(m); in Java_art_Test1976_getMethodIds()
/art/test/1975-hello-structural-transformation/
Dstructural_transform.cc45 jint len = env->GetArrayLength(f); in Java_art_Test1975_readNativeFields()
66 jint len = env->GetArrayLength(f); in Java_art_Test1975_getNativeFields()
/art/test/2005-pause-all-redefine-multithreaded/
Dpause-all.cc44 for (jint i = 0; i < env->GetArrayLength(threads_arr); i++) { in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
48 for (jint i = 0; i < env->GetArrayLength(new_fields); i++) { in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
/art/runtime/native/
Ddalvik_system_DexFile.cc67 jsize array_size = env->GetArrayLength(array); in ConvertJavaArrayToDexFiles()
249 jsize buffers_length = env->GetArrayLength(buffers); in DexFile_openInMemoryDexFilesNative()
250 CHECK_EQ(buffers_length, env->GetArrayLength(arrays)); in DexFile_openInMemoryDexFilesNative()
251 CHECK_EQ(buffers_length, env->GetArrayLength(jstarts)); in DexFile_openInMemoryDexFilesNative()
252 CHECK_EQ(buffers_length, env->GetArrayLength(jends)); in DexFile_openInMemoryDexFilesNative()
Ddalvik_system_VMRuntime.cc89 int exemptions_length = env->GetArrayLength(exemptions); in VMRuntime_setHiddenApiExemptions()
281 int length = env->GetArrayLength(disabled_compat_changes); in VMRuntime_setDisabledCompatChangesNative()
648 int code_paths_length = env->GetArrayLength(code_paths); in VMRuntime_registerAppInfo()
Ddalvik_system_VMDebug.cc389 if (arr == nullptr || env->GetArrayLength(data) < 9) { in VMDebug_getHeapSpaceStats()
/art/test/904-object-allocation/
Dtracking.cc126 jint nthreads = env->GetArrayLength(threads); in Java_art_Test904_getTrackingEventMessages()
/art/test/911-get-stack-trace/
Dstack_trace.cc173 jint thread_count = env->GetArrayLength(jthreads); in Java_art_ThreadListTraces_getThreadListStackTraces()
/art/runtime/jni/
Djni_internal_test.cc1130 EXPECT_EQ(0, env_->GetArrayLength(nullptr)); \
1152 EXPECT_EQ(size, env_->GetArrayLength(a)); \
1291 EXPECT_EQ(0, env_->GetArrayLength(a)); in TEST_F()
1296 EXPECT_EQ(1, env_->GetArrayLength(a)); in TEST_F()
1343 EXPECT_EQ(2, env_->GetArrayLength(a)); in TEST_F()
1354 TEST_F(JniInternalTest, GetArrayLength) { in TEST_F() argument
1358 EXPECT_EQ(0, env_->GetArrayLength(nullptr)); in TEST_F()
1361 EXPECT_EQ(JNI_ERR, env_->GetArrayLength(nullptr)); in TEST_F()
Dcheck_jni.cc2502 static jsize GetArrayLength(JNIEnv* env, jarray array) { in GetArrayLength() function in art::__anon846bc2ca0111::CheckJNI
2509 result.z = baseEnv(env)->GetArrayLength(env, array); in GetArrayLength()
3942 CheckJNI::GetArrayLength,
Djni_internal.cc1988 static jsize GetArrayLength(JNIEnv* env, jarray java_array) { in GetArrayLength() function in art::JNI
2930 JNIImpl::GetArrayLength,