Home
last modified time | relevance | path

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

/art/compiler/jni/
Djni_compiler_test.cc1672 EXPECT_EQ(0, env->GetArrayLength(reinterpret_cast<jarray>(o0))); in JNI_TEST()
1673 EXPECT_EQ(1, env->GetArrayLength(reinterpret_cast<jarray>(o1))); in JNI_TEST()
1674 EXPECT_EQ(2, env->GetArrayLength(reinterpret_cast<jarray>(o2))); in JNI_TEST()
1675 EXPECT_EQ(3, env->GetArrayLength(reinterpret_cast<jarray>(o3))); in JNI_TEST()
1676 EXPECT_EQ(4, env->GetArrayLength(reinterpret_cast<jarray>(o4))); in JNI_TEST()
1677 EXPECT_EQ(5, env->GetArrayLength(reinterpret_cast<jarray>(o5))); in JNI_TEST()
1678 EXPECT_EQ(6, env->GetArrayLength(reinterpret_cast<jarray>(o6))); in JNI_TEST()
1679 EXPECT_EQ(7, env->GetArrayLength(reinterpret_cast<jarray>(o7))); in JNI_TEST()
1680 EXPECT_EQ(8, env->GetArrayLength(reinterpret_cast<jarray>(o8))); in JNI_TEST()
1681 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/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/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/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.cc69 jsize array_size = env->GetArrayLength(array); in ConvertJavaArrayToDexFiles()
251 jsize buffers_length = env->GetArrayLength(buffers); in DexFile_openInMemoryDexFilesNative()
252 CHECK_EQ(buffers_length, env->GetArrayLength(arrays)); in DexFile_openInMemoryDexFilesNative()
253 CHECK_EQ(buffers_length, env->GetArrayLength(jstarts)); in DexFile_openInMemoryDexFilesNative()
254 CHECK_EQ(buffers_length, env->GetArrayLength(jends)); in DexFile_openInMemoryDexFilesNative()
Ddalvik_system_VMRuntime.cc83 int exemptions_length = env->GetArrayLength(exemptions); in VMRuntime_setHiddenApiExemptions()
275 int length = env->GetArrayLength(disabled_compat_changes); in VMRuntime_setDisabledCompatChangesNative()
379 int code_paths_length = env->GetArrayLength(code_paths); in VMRuntime_registerAppInfo()
/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.cc1131 EXPECT_EQ(0, env_->GetArrayLength(nullptr)); \
1153 EXPECT_EQ(size, env_->GetArrayLength(a)); \
1292 EXPECT_EQ(0, env_->GetArrayLength(a)); in TEST_F()
1297 EXPECT_EQ(1, env_->GetArrayLength(a)); in TEST_F()
1344 EXPECT_EQ(2, env_->GetArrayLength(a)); in TEST_F()
1355 TEST_F(JniInternalTest, GetArrayLength) { in TEST_F() argument
1359 EXPECT_EQ(0, env_->GetArrayLength(nullptr)); in TEST_F()
1362 EXPECT_EQ(JNI_ERR, env_->GetArrayLength(nullptr)); in TEST_F()
Dcheck_jni.cc2552 static jsize GetArrayLength(JNIEnv* env, jarray array) { in GetArrayLength() function in art::__anon846bc2ca0111::CheckJNI
2559 result.z = baseEnv(env)->GetArrayLength(env, array); in GetArrayLength()
3992 CheckJNI::GetArrayLength,
Djni_internal.cc2154 static jsize GetArrayLength(JNIEnv* env, jarray java_array) { in GetArrayLength() function in art::JNI
3096 JNIImpl::GetArrayLength,