Home
last modified time | relevance | path

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

/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/dex2oat/dex/
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()
Ddex_to_dex_compiler.h92 std::vector<MethodReference> methods_; member
/art/runtime/jit/
Djit_code_cache.cc140 JniStubData() : code_(nullptr), methods_() {} in JniStubData()
156 if (!ContainsElement(methods_, method)) { in AddMethod()
157 methods_.push_back(method); in AddMethod()
162 return methods_; in GetMethods()
167 methods_.begin(), in RemoveMethodsIn()
168 methods_.end(), in RemoveMethodsIn()
170 methods_.erase(kept_end, methods_.end()); in RemoveMethodsIn()
174 auto it = std::find(methods_.begin(), methods_.end(), method); in RemoveMethod()
175 if (it != methods_.end()) { in RemoveMethod()
176 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()
888 for (const MethodResolution& method : dep.second->methods_) { in Dump()
1223 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.h200 static_cast<uintptr_t>(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); in GetMethodsPtr()
261 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(Class, methods_), in SetMethodsPtrUnchecked()
1125 dest, pointer_size, visitor, OFFSET_OF_OBJECT_MEMBER(Class, methods_)); in FixupNativePointers()
Dclass.h642 return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); in MethodsOffset()
1370 uint64_t methods_; variable
/art/runtime/
Dclass_linker_test.cc591 addOffset(OFFSETOF_MEMBER(mirror::Class, methods_), "methods"); in ClassOffsets()