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.cc567 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetClassFields() local
570 jvmtiError allocError = env->Allocate(array_size * sizeof(jfieldID), &out_ptr); in GetClassFields()
586 *field_count_ptr = static_cast<jint>(array_size); in GetClassFields()
613 size_t array_size = klass->NumDeclaredVirtualMethods() + klass->NumDirectMethods(); in GetClassMethods() local
615 jvmtiError allocError = env->Allocate(array_size * sizeof(jmethodID), &out_ptr); in GetClassMethods()
635 *method_count_ptr = static_cast<jint>(array_size); in GetClassMethods()
663 size_t array_size = klass->NumDirectInterfaces(); in GetImplementedInterfaces() local
665 jvmtiError allocError = env->Allocate(array_size * sizeof(jclass), &out_ptr); in GetImplementedInterfaces()
674 for (uint32_t idx = 0; idx != array_size; ++idx) { in GetImplementedInterfaces()
686 *interface_count_ptr = static_cast<jint>(array_size); in GetImplementedInterfaces()
/art/runtime/native/
Djava_lang_Class.cc264 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetDeclaredFields() local
269 --array_size; in GetDeclaredFields()
274 --array_size; in GetDeclaredFields()
279 self, GetClassRoot<mirror::ObjectArray<mirror::Field>>(), array_size)); in GetDeclaredFields()
310 DCHECK_EQ(array_idx, array_size); in GetDeclaredFields()
Ddalvik_system_DexFile.cc66 jsize array_size = env->GetArrayLength(array); in ConvertJavaArrayToDexFiles() local
80 dex_files.reserve(array_size - 1); in ConvertJavaArrayToDexFiles()
81 for (jsize i = kDexFileIndexStart; i < array_size; ++i) { in ConvertJavaArrayToDexFiles()