Home
last modified time | relevance | path

Searched refs:methods_ (Results 1 – 17 of 17) sorted by relevance

/art/libprofile/profile/
Dprofile_boot_info.h55 return methods_; in GetMethods()
58 bool IsEmpty() const { return dex_files_.empty() && methods_.empty(); } in IsEmpty()
66 std::vector<std::pair<uint32_t, uint32_t>> methods_; variable
Dprofile_boot_info.cc38 methods_.push_back(std::make_pair(index, method_index)); in Add()
52 for (const std::pair<uint32_t, uint32_t>& pair : methods_) { in Save()
120 methods_.push_back(std::make_pair(dex_file_index, method_id)); in Load()
/art/runtime/
Dreflective_handle_scope-inl.h48 std::for_each(methods_.begin(), methods_.begin() + method_pos_, visit_one); in VisitTargets()
Dreflective_handle_scope.h185 return &methods_[i]; in GetMethodReference()
196 std::array<ReflectiveReference<ArtMethod>, kNumMethods> methods_; variable
Dclass_linker_test.cc593 addOffset(OFFSETOF_MEMBER(mirror::Class, methods_), "methods"); in ClassOffsets()
/art/libdexfile/dex/
Dtest_dex_file_builder.h81 methods_.emplace(method_key, 0u); in AddMethod()
151 for (auto& entry : methods_) { in Build()
155 header->method_ids_size_ = methods_.size(); in Build()
156 header->method_ids_off_ = methods_.empty() ? 0u : method_ids_offset; in Build()
162 uint32_t data_section_offset = method_ids_offset + methods_.size() * sizeof(dex::MethodId); in Build()
208 for (const auto& entry : methods_) { in Build()
274 auto it = methods_.find(method_key); in GetMethodIdx()
275 CHECK(it != methods_.end()); in GetMethodIdx()
394 std::map<MethodKey, uint32_t, MethodKeyComparator> methods_; variable
/art/runtime/jni/
Djni_id_manager.cc566 : BaseReflectiveHandleScope(), methods_(), fields_() { in REQUIRES_SHARED()
572 methods_ = methods; in Initialize()
582 for (auto it = methods_.begin(); it != methods_.end(); ++it) { in VisitTargets()
601 return &methods_[idx]; in GetMethodPtr()
608 return methods_.size(); in NumMethods()
612 std::vector<ArtMethod*> methods_; member in art::jni::JniIdDeferStackReflectiveScope
/art/dex2oat/dex/
Ddex_to_dex_compiler.h92 std::vector<MethodReference> methods_; member
Ddex_to_dex_compiler.cc574 existing_data->methods_.push_back(method_ref); in CompileMethod()
577 new_state.methods_.push_back(method_ref); in CompileMethod()
651 CHECK_GE(state.methods_.size(), 1u); in UnquickenConflictingMethods()
655 optimizer::ArtDecompileDEX(*state.methods_[0].dex_file, in UnquickenConflictingMethods()
662 for (const MethodReference& ref : state.methods_) { in UnquickenConflictingMethods()
/art/runtime/jit/
Djit_code_cache.cc116 JniStubData() : code_(nullptr), methods_() {} in JniStubData()
167 if (!ContainsElement(methods_, method)) { in AddMethod()
168 methods_.push_back(method); in AddMethod()
173 return methods_; in GetMethods()
178 methods_.begin(), in RemoveMethodsIn()
179 methods_.end(), in RemoveMethodsIn()
181 methods_.erase(kept_end, methods_.end()); in RemoveMethodsIn()
185 auto it = std::find(methods_.begin(), methods_.end(), method); in RemoveMethod()
186 if (it != methods_.end()) { in RemoveMethod()
187 methods_.erase(it); in RemoveMethod()
[all …]
/art/tools/dexanalyze/
Ddexanalyze_bytecode.h51 SafeMap<size_t, size_t> methods_; member
Ddexanalyze_bytecode.cc129 pair.second.methods_ = SortByOrder(pair.second.methods_, Order::kMostUsed); in ProcessDexFiles()
368 ++types[receiver_type.index_].methods_.FindOrAdd(method_idx)->second; in ProcessCodeItem()
389 uint32_t local_idx = types[receiver_type.index_].methods_.Get(method_idx); in ProcessCodeItem()
/art/runtime/verifier/
Dverifier_deps.cc77 my_deps->methods_.merge(other_deps.methods_); in MergeWith()
353 dex_deps->methods_.insert(method_tuple); in AddMethodResolution()
734 EncodeSet(buffer, deps.methods_); in Encode()
748 DecodeSet(data_start, data_end, &deps.methods_); in DecodeDexFileDeps()
828 (methods_ == rhs.methods_) && in Equals()
901 for (const MethodResolution& method : dep.second->methods_) { in Dump()
1236 VerifyMethods(class_loader, dex_file, deps.methods_, self, error_msg); in VerifyDexFile()
Dverifier_deps.h227 std::set<MethodResolution> methods_; member
/art/dex2oat/
Dverifier_deps_test.cc386 for (const VerifierDeps::MethodResolution& entry : dex_dep.second->methods_) { in HasMethod()
454 has_methods |= !entry.second->methods_.empty(); in HasEachKindOfRecord()
1357 std::set<VerifierDeps::MethodResolution>* methods = &deps.methods_; in TEST_F()
1370 std::set<VerifierDeps::MethodResolution>* methods = &deps.methods_; in TEST_F()
1384 std::set<VerifierDeps::MethodResolution>* methods = &deps.methods_; in TEST_F()
1397 std::set<VerifierDeps::MethodResolution>* methods = &deps.methods_; in TEST_F()
/art/runtime/mirror/
Dclass-inl.h202 static_cast<uintptr_t>(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); in GetMethodsPtr()
263 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(Class, methods_), in SetMethodsPtrUnchecked()
1152 dest, pointer_size, visitor, OFFSET_OF_OBJECT_MEMBER(Class, methods_)); in FixupNativePointers()
Dclass.h710 return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); in MethodsOffset()
1491 uint64_t methods_; variable