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.cc572 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetClassFields() local
575 jvmtiError allocError = env->Allocate(array_size * sizeof(jfieldID), &out_ptr); in GetClassFields()
591 *field_count_ptr = static_cast<jint>(array_size); in GetClassFields()
618 size_t array_size = klass->NumDeclaredVirtualMethods() + klass->NumDirectMethods(); in GetClassMethods() local
620 jvmtiError allocError = env->Allocate(array_size * sizeof(jmethodID), &out_ptr); in GetClassMethods()
640 *method_count_ptr = static_cast<jint>(array_size); in GetClassMethods()
668 size_t array_size = klass->NumDirectInterfaces(); in GetImplementedInterfaces() local
670 jvmtiError allocError = env->Allocate(array_size * sizeof(jclass), &out_ptr); in GetImplementedInterfaces()
679 for (uint32_t idx = 0; idx != array_size; ++idx) { in GetImplementedInterfaces()
691 *interface_count_ptr = static_cast<jint>(array_size); in GetImplementedInterfaces()
/art/runtime/native/
Djava_lang_Class.cc293 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetDeclaredFields() local
298 --array_size; in GetDeclaredFields()
303 --array_size; in GetDeclaredFields()
308 self, GetClassRoot<mirror::ObjectArray<mirror::Field>>(), array_size)); in GetDeclaredFields()
339 DCHECK_EQ(array_idx, array_size); in GetDeclaredFields()
Ddalvik_system_DexFile.cc67 jsize array_size = env->GetArrayLength(array); in ConvertJavaArrayToDexFiles() local
81 dex_files.reserve(array_size - 1); in ConvertJavaArrayToDexFiles()
82 for (jsize i = kDexFileIndexStart; i < array_size; ++i) { in ConvertJavaArrayToDexFiles()