Searched refs:num_methods (Results 1 – 11 of 11) sorted by relevance
/art/test/497-inlining-and-class-loader/ |
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()
|
/art/runtime/mirror/ |
D | dex_cache.cc | 83 size_t num_methods = kDexCacheMethodCacheSize; in InitializeDexCache() local 84 if (dex_file->NumMethodIds() < num_methods) { in InitializeDexCache() 85 num_methods = dex_file->NumMethodIds(); in InitializeDexCache() 130 for (size_t i = 0; i < num_methods; ++i) { in InitializeDexCache() 168 num_methods, in InitializeDexCache()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 482 uint32_t num_methods; member 486 num_methods(0) {} in DexCacheStats() 512 total->num_methods += dex_file->NumMethodIds(); in PreloadDexCachesStatsTotal() 553 for (size_t j = 0, num_methods = dex_cache->NumResolvedMethods(); j < num_methods; ++j) { in PreloadDexCachesStatsFilled() local 558 filled->num_methods++; in PreloadDexCachesStatsFilled() 633 total.num_methods, before.num_methods, after.num_methods); in VMRuntime_preloadDexCaches()
|
D | java_lang_Class.cc | 639 size_t num_methods = 0; in Class_getDeclaredMethodsUnchecked() local 645 ++num_methods; in Class_getDeclaredMethodsUnchecked() 649 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Method>>(), num_methods)); in Class_getDeclaredMethodsUnchecked() 654 num_methods = 0; in Class_getDeclaredMethodsUnchecked() 667 ret->SetWithoutChecks<false>(num_methods++, method); in Class_getDeclaredMethodsUnchecked()
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 92 DexReference(const std::string& key, uint32_t checksum, uint32_t num_methods) in DexReference() 93 : profile_key(key), dex_checksum(checksum), num_method_ids(num_methods) {} in DexReference() 604 uint32_t num_methods, in DexFileData() 612 num_method_ids(num_methods), in DexFileData()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 205 uint32_t num_methods, in OatClassHeader() argument 214 } else if (num_non_null_compiled_methods == num_methods) { in OatClassHeader() 4156 const uint32_t num_methods = compiled_methods.size(); in OatClass() local 4157 CHECK_LE(compiled_methods_with_code, num_methods); in OatClass() 4159 oat_method_offsets_offsets_from_oat_class_.resize(num_methods); in OatClass() 4167 method_bitmap_.reset(new BitVector(num_methods, false, Allocator::GetMallocAllocator())); in OatClass() 4176 for (size_t i = 0; i < num_methods; i++) { in OatClass()
|
D | image_writer.cc | 1635 size_t num_methods = as_klass->NumMethods(); in RecordNativeRelocations() local 1636 if (num_methods != 0) { in RecordNativeRelocations() 1670 (any_dirty ? dirty_methods_ : clean_methods_) += num_methods; in RecordNativeRelocations()
|
/art/profman/ |
D | profile_assistant_test.cc | 1416 size_t num_methods = 100; in TEST_F() local 1417 for (size_t i = 0; i < num_methods; ++i) { in TEST_F() 1420 for (size_t i = 0; i < num_methods; ++i) { in TEST_F()
|
/art/oatdump/ |
D | oatdump.cc | 2249 size_t num_methods = dex_cache->NumResolvedMethods(); in DumpObject() local 2250 if (num_methods != 0u) { in DumpObject() 2251 os << "Methods (size=" << num_methods << "):\n"; in DumpObject() 3331 size_t num_methods = iface->NumDeclaredVirtualMethods(); in DumpIMTForMethod() local 3332 if (num_methods > 0) { in DumpIMTForMethod()
|
/art/libdexfile/dex/ |
D | dex_file_verifier.cc | 298 bool CheckIntraClassDataItemMethods(size_t num_methods, 1429 bool DexFileVerifier::CheckIntraClassDataItemMethods(size_t num_methods, in CheckIntraClassDataItemMethods() argument 1447 for (size_t i = 0; i != num_methods; ++i) { in CheckIntraClassDataItemMethods()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 2445 uint32_t num_methods = super_klass->NumVirtualMethods(); in PreResolveTypes() local 2446 for (uint32_t j = 0; j < num_methods; ++j) { in PreResolveTypes()
|