Home
last modified time | relevance | path

Searched refs:num_methods (Results 1 – 10 of 10) 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
74 CHECK_EQ(num_methods != 0u, methods != nullptr); in Java_Main_restoreResolvedMethods()
77 CHECK_EQ(num_methods, static_cast<size_t>(old->GetLength())); in Java_Main_restoreResolvedMethods()
78 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.cc446 uint32_t num_methods; member
450 num_methods(0) {} in DexCacheStats()
476 total->num_methods += dex_file->NumMethodIds(); in PreloadDexCachesStatsTotal()
517 for (size_t j = 0, num_methods = dex_cache->NumResolvedMethods(); j < num_methods; ++j) { in PreloadDexCachesStatsFilled() local
522 filled->num_methods++; in PreloadDexCachesStatsFilled()
615 total.num_methods, before.num_methods, after.num_methods); in VMRuntime_preloadDexCaches()
Djava_lang_Class.cc590 size_t num_methods = 0; in Class_getDeclaredMethodsUnchecked() local
596 ++num_methods; in Class_getDeclaredMethodsUnchecked()
600 soa.Self(), mirror::Method::ArrayClass(), num_methods)); in Class_getDeclaredMethodsUnchecked()
605 num_methods = 0; in Class_getDeclaredMethodsUnchecked()
618 ret->SetWithoutChecks<false>(num_methods++, method); in Class_getDeclaredMethodsUnchecked()
/art/runtime/jit/
Dprofile_compilation_info.h85 DexReference(const std::string& location, uint32_t checksum, uint32_t num_methods) in DexReference()
86 : dex_location(location), dex_checksum(checksum), num_method_ids(num_methods) {} in DexReference()
471 uint32_t num_methods) in DexFileData()
478 num_method_ids(num_methods), in DexFileData()
/art/dex2oat/linker/
Doat_writer.cc194 uint32_t num_methods, in OatClassHeader() argument
203 } else if (num_non_null_compiled_methods == num_methods) { in OatClassHeader()
4298 const uint32_t num_methods = compiled_methods.size(); in OatClass() local
4299 CHECK_LE(compiled_methods_with_code, num_methods); in OatClass()
4301 oat_method_offsets_offsets_from_oat_class_.resize(num_methods); in OatClass()
4309 method_bitmap_.reset(new BitVector(num_methods, false, Allocator::GetMallocAllocator())); in OatClass()
4318 for (size_t i = 0; i < num_methods; i++) { in OatClass()
Dimage_writer.cc1425 size_t num_methods = as_klass->NumMethods(); in TryAssignBinSlot() local
1426 if (num_methods != 0) { in TryAssignBinSlot()
1460 (any_dirty ? dirty_methods_ : clean_methods_) += num_methods; in TryAssignBinSlot()
/art/compiler/driver/
Dcompiler_driver.cc734 const size_t num_methods = dex_to_dex_compiler_.NumCodeItemsToQuicken(self); in CompileOne() local
735 if (num_methods != 0) { in CompileOne()
736 DCHECK_EQ(num_methods, 1u); in CompileOne()
2494 uint32_t num_methods = super_klass->NumVirtualMethods(); in PreResolveTypes() local
2495 for (uint32_t j = 0; j < num_methods; ++j) { in PreResolveTypes()
/art/oatdump/
Doatdump.cc2440 size_t num_methods = dex_cache->NumResolvedMethods(); in DumpObject() local
2441 if (num_methods != 0u) { in DumpObject()
2442 os << "Methods (size=" << num_methods << "):\n"; in DumpObject()
3524 size_t num_methods = iface->NumDeclaredVirtualMethods(); in DumpIMTForMethod() local
3525 if (num_methods > 0) { in DumpIMTForMethod()
/art/runtime/
Dclass_linker.cc5198 uint32_t num_methods = super_klass->NumVirtualMethods(); in ValidateSuperClassDescriptors() local
5199 for (uint32_t j = 0; j < num_methods; ++j) { in ValidateSuperClassDescriptors()
6189 size_t num_methods = iftable->GetInterface(i)->NumDeclaredVirtualMethods(); in AllocateIfTableMethodArrays() local
6190 if (num_methods > 0) { in AllocateIfTableMethodArrays()
6203 method_array = AllocPointerArray(self, num_methods); in AllocateIfTableMethodArrays()
7294 size_t num_methods = iftable->GetInterface(i)->NumDeclaredVirtualMethods(); in LinkInterfaceMethods() local
7295 if (num_methods > 0) { in LinkInterfaceMethods()
7332 for (size_t j = 0; j < num_methods; ++j) { in LinkInterfaceMethods()