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.cc563 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetClassFields() local
566 jvmtiError allocError = env->Allocate(array_size * sizeof(jfieldID), &out_ptr); in GetClassFields()
582 *field_count_ptr = static_cast<jint>(array_size); in GetClassFields()
609 size_t array_size = klass->NumDeclaredVirtualMethods() + klass->NumDirectMethods(); in GetClassMethods() local
611 jvmtiError allocError = env->Allocate(array_size * sizeof(jmethodID), &out_ptr); in GetClassMethods()
631 *method_count_ptr = static_cast<jint>(array_size); in GetClassMethods()
659 size_t array_size = klass->NumDirectInterfaces(); in GetImplementedInterfaces() local
661 jvmtiError allocError = env->Allocate(array_size * sizeof(jclass), &out_ptr); in GetImplementedInterfaces()
670 for (uint32_t idx = 0; idx != array_size; ++idx) { in GetImplementedInterfaces()
682 *interface_count_ptr = static_cast<jint>(array_size); in GetImplementedInterfaces()
/art/runtime/native/
Djava_lang_Class.cc269 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetDeclaredFields() local
274 --array_size; in GetDeclaredFields()
279 --array_size; in GetDeclaredFields()
284 self, mirror::Field::ArrayClass(), array_size)); in GetDeclaredFields()
317 DCHECK_EQ(array_idx, array_size); in GetDeclaredFields()
Ddalvik_system_DexFile.cc64 jsize array_size = env->GetArrayLength(array); in ConvertJavaArrayToDexFiles() local
78 dex_files.reserve(array_size - 1); in ConvertJavaArrayToDexFiles()
79 for (jsize i = kDexFileIndexStart; i < array_size; ++i) { in ConvertJavaArrayToDexFiles()