Home
last modified time | relevance | path

Searched refs:num_methods (Results 1 – 12 of 12) sorted by relevance

/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc36 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()
/art/runtime/mirror/
Ddex_cache.cc81 size_t num_methods = kDexCacheMethodCacheSize; in InitializeDexCache() local
82 if (dex_file->NumMethodIds() < num_methods) { in InitializeDexCache()
83 num_methods = dex_file->NumMethodIds(); in InitializeDexCache()
128 for (size_t i = 0; i < num_methods; ++i) { in InitializeDexCache()
166 num_methods, in InitializeDexCache()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc477 uint32_t num_methods; member
481 num_methods(0) {} in DexCacheStats()
507 total->num_methods += dex_file->NumMethodIds(); in PreloadDexCachesStatsTotal()
548 for (size_t j = 0, num_methods = dex_cache->NumResolvedMethods(); j < num_methods; ++j) { in PreloadDexCachesStatsFilled() local
553 filled->num_methods++; in PreloadDexCachesStatsFilled()
628 total.num_methods, before.num_methods, after.num_methods); in VMRuntime_preloadDexCaches()
Djava_lang_Class.cc584 size_t num_methods = 0; in Class_getDeclaredMethodsUnchecked() local
590 ++num_methods; in Class_getDeclaredMethodsUnchecked()
594 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Method>>(), num_methods)); in Class_getDeclaredMethodsUnchecked()
599 num_methods = 0; in Class_getDeclaredMethodsUnchecked()
612 ret->SetWithoutChecks<false>(num_methods++, method); in Class_getDeclaredMethodsUnchecked()
/art/libprofile/profile/
Dprofile_compilation_info.h90 DexReference(const std::string& location, uint32_t checksum, uint32_t num_methods) in DexReference()
91 : dex_location(location), dex_checksum(checksum), num_method_ids(num_methods) {} in DexReference()
498 uint32_t num_methods, in DexFileData()
506 num_method_ids(num_methods), in DexFileData()
/art/libdexfile/dex/
Ddex_file_verifier.h117 size_t num_methods,
Ddex_file_verifier.cc1118 size_t num_methods, in CheckIntraClassDataItemMethods() argument
1127 if (num_methods == 0u) { in CheckIntraClassDataItemMethods()
1160 if (i >= num_methods) { in CheckIntraClassDataItemMethods()
/art/dex2oat/linker/
Doat_writer.cc204 uint32_t num_methods, in OatClassHeader() argument
213 } else if (num_non_null_compiled_methods == num_methods) { in OatClassHeader()
4139 const uint32_t num_methods = compiled_methods.size(); in OatClass() local
4140 CHECK_LE(compiled_methods_with_code, num_methods); in OatClass()
4142 oat_method_offsets_offsets_from_oat_class_.resize(num_methods); in OatClass()
4150 method_bitmap_.reset(new BitVector(num_methods, false, Allocator::GetMallocAllocator())); in OatClass()
4159 for (size_t i = 0; i < num_methods; i++) { in OatClass()
Dimage_writer.cc2048 size_t num_methods = as_klass->NumMethods(); in TryAssignBinSlot() local
2049 if (num_methods != 0) { in TryAssignBinSlot()
2083 (any_dirty ? dirty_methods_ : clean_methods_) += num_methods; in TryAssignBinSlot()
/art/oatdump/
Doatdump.cc2245 size_t num_methods = dex_cache->NumResolvedMethods(); in DumpObject() local
2246 if (num_methods != 0u) { in DumpObject()
2247 os << "Methods (size=" << num_methods << "):\n"; in DumpObject()
3313 size_t num_methods = iface->NumDeclaredVirtualMethods(); in DumpIMTForMethod() local
3314 if (num_methods > 0) { in DumpIMTForMethod()
/art/runtime/
Dclass_linker.cc5700 uint32_t num_methods = super_klass->NumVirtualMethods(); in ValidateSuperClassDescriptors() local
5701 for (uint32_t j = 0; j < num_methods; ++j) { in ValidateSuperClassDescriptors()
6691 size_t num_methods = iftable->GetInterface(i)->NumDeclaredVirtualMethods(); in AllocateIfTableMethodArrays() local
6692 if (num_methods > 0) { in AllocateIfTableMethodArrays()
6706 method_array = AllocPointerArray(self, num_methods); in AllocateIfTableMethodArrays()
7940 size_t num_methods = iftable->GetInterface(i)->NumDeclaredVirtualMethods(); in LinkInterfaceMethods() local
7941 if (num_methods > 0) { in LinkInterfaceMethods()
7978 for (size_t j = 0; j < num_methods; ++j) { in LinkInterfaceMethods()
/art/dex2oat/driver/
Dcompiler_driver.cc2366 uint32_t num_methods = super_klass->NumVirtualMethods(); in PreResolveTypes() local
2367 for (uint32_t j = 0; j < num_methods; ++j) { in PreResolveTypes()