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/runtime/openjdkjvmti/
Dti_class.cc609 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetClassFields() local
612 jvmtiError allocError = env->Allocate(array_size * sizeof(jfieldID), &out_ptr); in GetClassFields()
628 *field_count_ptr = static_cast<jint>(array_size); in GetClassFields()
655 size_t array_size = klass->NumDeclaredVirtualMethods() + klass->NumDirectMethods(); in GetClassMethods() local
657 jvmtiError allocError = env->Allocate(array_size * sizeof(jmethodID), &out_ptr); in GetClassMethods()
677 *method_count_ptr = static_cast<jint>(array_size); in GetClassMethods()
705 size_t array_size = klass->NumDirectInterfaces(); in GetImplementedInterfaces() local
707 jvmtiError allocError = env->Allocate(array_size * sizeof(jclass), &out_ptr); in GetImplementedInterfaces()
716 for (uint32_t idx = 0; idx != array_size; ++idx) { in GetImplementedInterfaces()
728 *interface_count_ptr = static_cast<jint>(array_size); in GetImplementedInterfaces()
/art/runtime/native/
Djava_lang_Class.cc166 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetDeclaredFields() local
171 --array_size; in GetDeclaredFields()
176 --array_size; in GetDeclaredFields()
182 self, mirror::Field::ArrayClass(), array_size)); in GetDeclaredFields()
215 DCHECK_EQ(array_idx, array_size); in GetDeclaredFields()
Ddalvik_system_DexFile.cc58 jsize array_size = env->GetArrayLength(array); in ConvertJavaArrayToDexFiles() local
72 dex_files.reserve(array_size - 1); in ConvertJavaArrayToDexFiles()
73 for (jsize i = kDexFileIndexStart; i < array_size; ++i) { in ConvertJavaArrayToDexFiles()