/aosp12/art/test/497-inlining-and-class-loader/ |
H A D | clear_dex_cache.cc | 36 size_t num_methods = dex_cache->NumResolvedMethods(); in Java_Main_cloneResolvedMethods() local 38 CHECK_EQ(num_methods != 0u, methods != nullptr); in Java_Main_cloneResolvedMethods() 39 if (num_methods == 0u) { in Java_Main_cloneResolvedMethods() 44 array = env->NewIntArray(2u * num_methods); in Java_Main_cloneResolvedMethods() 46 array = env->NewLongArray(2u * num_methods); in Java_Main_cloneResolvedMethods() 50 for (size_t i = 0; i != num_methods; ++i) { in Java_Main_cloneResolvedMethods() 71 size_t num_methods = dex_cache->NumResolvedMethods(); in Java_Main_restoreResolvedMethods() local 73 CHECK_EQ(num_methods != 0u, methods != nullptr); in Java_Main_restoreResolvedMethods() 76 CHECK_EQ(num_methods, static_cast<size_t>(old->GetLength())); in Java_Main_restoreResolvedMethods() 77 for (size_t i = 0; i != num_methods; ++i) { in Java_Main_restoreResolvedMethods()
|
/aosp12/art/runtime/mirror/ |
H A D | dex_cache.cc | 61 size_t num_methods = std::min<size_t>(kDexCacheMethodCacheSize, dex_file->NumMethodIds()); in InitializeNativeFields() local 71 AllocArray<MethodDexCacheType>(self, linear_alloc, num_methods); in InitializeNativeFields() 95 for (size_t i = 0; i < num_methods; ++i) { in InitializeNativeFields() 132 num_methods, in InitializeNativeFields()
|
/aosp12/art/runtime/ |
H A D | oat_file.cc | 2215 uint32_t num_methods = 0; in GetOatClass() local 2221 num_methods = *reinterpret_cast<const uint32_t*>(current_pointer); in GetOatClass() 2223 CHECK_NE(num_methods, 0u) << oat_file_->GetLocation(); in GetOatClass() 2226 uint32_t bitmap_size = BitVector::BitsToWords(num_methods) * BitVector::kWordBytes; in GetOatClass() 2233 num_method_offsets = BitVector::NumSetBits(bitmap_pointer, num_methods); in GetOatClass() 2235 num_method_offsets = num_methods; in GetOatClass() 2243 return OatFile::OatClass(oat_file_, status, type, num_methods, bitmap_pointer, methods_pointer); in GetOatClass() 2313 uint32_t num_methods, in OatClass() argument 2319 num_methods_(num_methods), in OatClass() 2322 DCHECK_EQ(num_methods != 0u, type != OatClassType::kNoneCompiled); in OatClass()
|
H A D | oat_file.h | 286 uint32_t num_methods,
|
H A D | class_linker.cc | 5827 uint32_t num_methods = super_klass->NumVirtualMethods(); in ValidateSuperClassDescriptors() local 5828 for (uint32_t j = 0; j < num_methods; ++j) { in ValidateSuperClassDescriptors() 6927 size_t num_methods = iftable->GetInterface(i)->NumDeclaredVirtualMethods(); in AllocateIfTableMethodArrays() local 6928 if (num_methods > 0) { in AllocateIfTableMethodArrays() 6944 method_array = AllocPointerArray(self, num_methods); in AllocateIfTableMethodArrays() 8192 size_t num_methods = iftable->GetInterface(i)->NumDeclaredVirtualMethods(); in LinkInterfaceMethods() local 8193 if (num_methods > 0) { in LinkInterfaceMethods() 8230 for (size_t j = 0; j < num_methods; ++j) { in LinkInterfaceMethods()
|
/aosp12/art/runtime/native/ |
H A D | java_lang_Class.cc | 641 size_t num_methods = 0; in Class_getDeclaredMethodsUnchecked() local 647 ++num_methods; in Class_getDeclaredMethodsUnchecked() 651 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Method>>(), num_methods)); in Class_getDeclaredMethodsUnchecked() 656 num_methods = 0; in Class_getDeclaredMethodsUnchecked() 669 ret->SetWithoutChecks<false>(num_methods++, method); in Class_getDeclaredMethodsUnchecked()
|
/aosp12/art/dex2oat/linker/ |
H A D | oat_writer.cc | 215 uint32_t num_methods, in OatClassHeader() argument 224 } else if (num_non_null_compiled_methods == num_methods) { in OatClassHeader() 3988 const uint32_t num_methods = compiled_methods.size(); in OatClass() local 3989 CHECK_LE(compiled_methods_with_code, num_methods); in OatClass() 3991 oat_method_offsets_offsets_from_oat_class_.resize(num_methods); in OatClass() 4001 num_methods_ = num_methods; in OatClass() 4004 method_bitmap_.reset(new BitVector(num_methods, false, Allocator::GetMallocAllocator())); in OatClass() 4005 uint32_t bitmap_size = BitVector::BitsToWords(num_methods) * BitVector::kWordBytes; in OatClass() 4011 for (size_t i = 0; i < num_methods; i++) { in OatClass()
|
H A D | image_writer.cc | 1369 size_t num_methods = klass->NumMethods(); in RecordNativeRelocations() local 1370 if (num_methods != 0) { in RecordNativeRelocations() 1405 (any_dirty ? dirty_methods_ : clean_methods_) += num_methods; in RecordNativeRelocations()
|
/aosp12/art/libprofile/profile/ |
H A D | profile_compilation_info.h | 730 uint32_t num_methods, in DexFileData() 739 num_method_ids(num_methods), in DexFileData()
|
/aosp12/art/profman/ |
H A D | profile_assistant_test.cc | 1885 size_t num_methods = 100; in TEST_F() local 1886 for (size_t i = 0; i < num_methods; ++i) { in TEST_F() 1889 for (size_t i = 0; i < num_methods; ++i) { in TEST_F()
|
/aosp12/art/libdexfile/dex/ |
H A D | dex_file_verifier.cc | 298 bool CheckIntraClassDataItemMethods(size_t num_methods, 1425 bool DexFileVerifier::CheckIntraClassDataItemMethods(size_t num_methods, in CheckIntraClassDataItemMethods() argument 1443 for (size_t i = 0; i != num_methods; ++i) { in CheckIntraClassDataItemMethods()
|
/aosp12/art/dex2oat/driver/ |
H A D | compiler_driver.cc | 2420 uint32_t num_methods = super_klass->NumVirtualMethods(); in PreResolveTypes() local 2421 for (uint32_t j = 0; j < num_methods; ++j) { in PreResolveTypes()
|
/aosp12/art/oatdump/ |
H A D | oatdump.cc | 2979 size_t num_methods = iface->NumDeclaredVirtualMethods(); in DumpIMTForMethod() local 2980 if (num_methods > 0) { in DumpIMTForMethod()
|