Home
last modified time | relevance | path

Searched refs:array_size (Results 1 – 4 of 4) sorted by relevance

/art/test/303-verification-stress/
Dclasses-gen.c11 static int createFiles(int count, int array_size) in createFiles() argument
28 fprintf(fp, " static String[] array = new String[%d];\n", array_size); in createFiles()
30 for (k = 0; k < array_size; k++) { in createFiles()
/art/openjdkjvmti/
Dti_class.cc573 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetClassFields() local
576 jvmtiError allocError = env->Allocate(array_size * sizeof(jfieldID), &out_ptr); in GetClassFields()
592 *field_count_ptr = static_cast<jint>(array_size); in GetClassFields()
619 size_t array_size = klass->NumDeclaredVirtualMethods() + klass->NumDirectMethods(); in GetClassMethods() local
621 jvmtiError allocError = env->Allocate(array_size * sizeof(jmethodID), &out_ptr); in GetClassMethods()
641 *method_count_ptr = static_cast<jint>(array_size); in GetClassMethods()
669 size_t array_size = klass->NumDirectInterfaces(); in GetImplementedInterfaces() local
671 jvmtiError allocError = env->Allocate(array_size * sizeof(jclass), &out_ptr); in GetImplementedInterfaces()
680 for (uint32_t idx = 0; idx != array_size; ++idx) { in GetImplementedInterfaces()
692 *interface_count_ptr = static_cast<jint>(array_size); in GetImplementedInterfaces()
/art/runtime/native/
Djava_lang_Class.cc295 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetDeclaredFields() local
300 --array_size; in GetDeclaredFields()
305 --array_size; in GetDeclaredFields()
310 self, GetClassRoot<mirror::ObjectArray<mirror::Field>>(), array_size)); in GetDeclaredFields()
341 DCHECK_EQ(array_idx, array_size); in GetDeclaredFields()
Ddalvik_system_DexFile.cc69 jsize array_size = env->GetArrayLength(array); in ConvertJavaArrayToDexFiles() local
83 dex_files.reserve(array_size - 1); in ConvertJavaArrayToDexFiles()
84 for (jsize i = kDexFileIndexStart; i < array_size; ++i) { in ConvertJavaArrayToDexFiles()