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.cc85 size_t num_methods = kDexCacheMethodCacheSize; in InitializeDexCache() local
86 if (dex_file->NumMethodIds() < num_methods) { in InitializeDexCache()
87 num_methods = dex_file->NumMethodIds(); in InitializeDexCache()
132 for (size_t i = 0; i < num_methods; ++i) { in InitializeDexCache()
170 num_methods, in InitializeDexCache()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc405 uint32_t num_methods; member
409 num_methods(0) {} in DexCacheStats()
435 total->num_methods += dex_file->NumMethodIds(); in PreloadDexCachesStatsTotal()
476 for (size_t j = 0, num_methods = dex_cache->NumResolvedMethods(); j < num_methods; ++j) { in PreloadDexCachesStatsFilled() local
481 filled->num_methods++; in PreloadDexCachesStatsFilled()
574 total.num_methods, before.num_methods, after.num_methods); in VMRuntime_preloadDexCaches()
Djava_lang_Class.cc463 size_t num_methods = 0; in Class_getDeclaredMethodsUnchecked() local
469 ++num_methods; in Class_getDeclaredMethodsUnchecked()
473 soa.Self(), mirror::Method::ArrayClass(), num_methods)); in Class_getDeclaredMethodsUnchecked()
478 num_methods = 0; in Class_getDeclaredMethodsUnchecked()
491 ret->SetWithoutChecks<false>(num_methods++, method); in Class_getDeclaredMethodsUnchecked()
/art/runtime/jit/
Dprofile_compilation_info.h82 DexReference(const std::string& location, uint32_t checksum, uint32_t num_methods) in DexReference()
83 : dex_location(location), dex_checksum(checksum), num_method_ids(num_methods) {} in DexReference()
411 uint32_t num_methods) in DexFileData()
418 num_method_ids(num_methods), in DexFileData()
/art/compiler/
Doat_writer.cc170 uint32_t num_methods, in OatClassHeader() argument
179 } else if (num_non_null_compiled_methods == num_methods) { in OatClassHeader()
3422 const uint32_t num_methods = compiled_methods.size(); in OatClass() local
3423 CHECK_LE(compiled_methods_with_code, num_methods); in OatClass()
3425 oat_method_offsets_offsets_from_oat_class_.resize(num_methods); in OatClass()
3433 method_bitmap_.reset(new BitVector(num_methods, false, Allocator::GetMallocAllocator())); in OatClass()
3442 for (size_t i = 0; i < num_methods; i++) { in OatClass()
Dimage_writer.cc1428 size_t num_methods = as_klass->NumMethods(); in TryAssignBinSlot() local
1429 if (num_methods != 0) { in TryAssignBinSlot()
1463 (any_dirty ? dirty_methods_ : clean_methods_) += num_methods; in TryAssignBinSlot()
/art/runtime/
Dclass_linker.cc1392 size_t num_methods = mirror::DexCache::kDexCacheMethodCacheSize; in Update() local
1393 if (dex_file->NumMethodIds() < num_methods) { in Update()
1394 num_methods = dex_file->NumMethodIds(); in Update()
1407 CHECK_EQ(num_methods, dex_cache->NumResolvedMethods()); in Update()
1427 if (num_methods != 0u) { in Update()
1432 CopyNativeDexCachePairs(image_resolved_methods, num_methods, methods, image_pointer_size); in Update()
5324 uint32_t num_methods = super_klass->NumVirtualMethods(); in ValidateSuperClassDescriptors() local
5325 for (uint32_t j = 0; j < num_methods; ++j) { in ValidateSuperClassDescriptors()
6289 size_t num_methods = iftable->GetInterface(i)->NumDeclaredVirtualMethods(); in AllocateIfTableMethodArrays() local
6290 if (num_methods > 0) { in AllocateIfTableMethodArrays()
[all …]
/art/oatdump/
Doatdump.cc2239 size_t num_methods = dex_cache->NumResolvedMethods(); in DumpObject() local
2240 if (num_methods != 0u) { in DumpObject()
2241 os << "Methods (size=" << num_methods << "):\n"; in DumpObject()
3304 size_t num_methods = iface->NumDeclaredVirtualMethods(); in DumpIMTForMethod() local
3305 if (num_methods > 0) { in DumpIMTForMethod()
/art/compiler/driver/
Dcompiler_driver.cc2489 uint32_t num_methods = super_klass->NumVirtualMethods(); in PreResolveTypes() local
2490 for (uint32_t j = 0; j < num_methods; ++j) { in PreResolveTypes()