Home
last modified time | relevance | path

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

/art/compiler/jni/
Djni_compiler_test.cc1781 EXPECT_EQ(0, env->GetArrayLength(reinterpret_cast<jarray>(o0))); in JNI_TEST()
1782 EXPECT_EQ(1, env->GetArrayLength(reinterpret_cast<jarray>(o1))); in JNI_TEST()
1783 EXPECT_EQ(2, env->GetArrayLength(reinterpret_cast<jarray>(o2))); in JNI_TEST()
1784 EXPECT_EQ(3, env->GetArrayLength(reinterpret_cast<jarray>(o3))); in JNI_TEST()
1785 EXPECT_EQ(4, env->GetArrayLength(reinterpret_cast<jarray>(o4))); in JNI_TEST()
1786 EXPECT_EQ(5, env->GetArrayLength(reinterpret_cast<jarray>(o5))); in JNI_TEST()
1787 EXPECT_EQ(6, env->GetArrayLength(reinterpret_cast<jarray>(o6))); in JNI_TEST()
1788 EXPECT_EQ(7, env->GetArrayLength(reinterpret_cast<jarray>(o7))); in JNI_TEST()
1789 EXPECT_EQ(8, env->GetArrayLength(reinterpret_cast<jarray>(o8))); in JNI_TEST()
1790 EXPECT_EQ(9, env->GetArrayLength(reinterpret_cast<jarray>(o9))); in JNI_TEST()
[all …]
/art/test/2005-pause-all-redefine-multithreaded/
Dpause-all.cc44 threads.reserve(env->GetArrayLength(threads_arr)); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
45 for (jint i = 0; i < env->GetArrayLength(threads_arr); i++) { in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
49 fields.reserve(env->GetArrayLength(new_fields)); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
50 for (jint i = 0; i < env->GetArrayLength(new_fields); i++) { in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
/art/test/ti-agent/
Dredefinition_helper.cc166 jint len = static_cast<jint>(env->GetArrayLength(desired_array)); in DoMultiClassRedefine()
223 jint len = env->GetArrayLength(targets); in Java_art_Redefinition_doCommonMultiStructuralClassRedefinition()
224 if (len != env->GetArrayLength(dex_file_bytes)) { in Java_art_Redefinition_doCommonMultiStructuralClassRedefinition()
254 jint len = env->GetArrayLength(targets); in Java_art_Redefinition_doCommonMultiClassRedefinition()
255 if (len != env->GetArrayLength(class_file_bytes) || len != env->GetArrayLength(dex_file_bytes)) { in Java_art_Redefinition_doCommonMultiClassRedefinition()
310 CommonTransformationResult trans(env->GetArrayLength(class_array), in Java_art_Redefinition_addCommonTransformationResult()
311 env->GetArrayLength(dex_array)); in Java_art_Redefinition_addCommonTransformationResult()
317 env->GetArrayLength(class_array), in Java_art_Redefinition_addCommonTransformationResult()
324 env->GetArrayLength(dex_array), in Java_art_Redefinition_addCommonTransformationResult()
407 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/runtime/native/
Ddalvik_system_DexFile.cc79 jsize array_size = env->GetArrayLength(array); in ConvertJavaArrayToDexFiles()
261 jsize buffers_length = env->GetArrayLength(buffers); in DexFile_openInMemoryDexFilesNative()
262 CHECK_EQ(buffers_length, env->GetArrayLength(arrays)); in DexFile_openInMemoryDexFilesNative()
263 CHECK_EQ(buffers_length, env->GetArrayLength(jstarts)); in DexFile_openInMemoryDexFilesNative()
264 CHECK_EQ(buffers_length, env->GetArrayLength(jends)); in DexFile_openInMemoryDexFilesNative()
Ddalvik_system_VMRuntime.cc85 int exemptions_length = env->GetArrayLength(exemptions); in VMRuntime_setHiddenApiExemptions()
376 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.cc2561 static jsize GetArrayLength(JNIEnv* env, jarray array) { in GetArrayLength() function in art::__anon846bc2ca0111::CheckJNI
2568 result.z = baseEnv(env)->GetArrayLength(env, array); in GetArrayLength()
3996 CheckJNI::GetArrayLength,
Djni_internal.cc2251 static jsize GetArrayLength(JNIEnv* env, jarray java_array) { in GetArrayLength() function in art::JNI
3240 JNIImpl::GetArrayLength,