Home
last modified time | relevance | path

Searched refs:strings_ (Results 1 – 11 of 11) sorted by relevance

/art/libdexfile/dex/
Dtest_dex_file_builder.h38 : strings_(), types_(), fields_(), protos_(), dex_file_data_() { in TestDexFileBuilder()
43 auto it = strings_.emplace(str, IdxAndDataOffset()).first; in AddString()
106 for (auto& entry : strings_) { in Build()
112 header->string_ids_size_ = strings_.size(); in Build()
113 header->string_ids_off_ = strings_.empty() ? 0u : string_ids_offset; in Build()
115 uint32_t type_ids_offset = string_ids_offset + strings_.size() * sizeof(dex::StringId); in Build()
170 for (const auto& entry : strings_) { in Build()
251 auto it = strings_.find(type); in GetStringIdx()
252 CHECK(it != strings_.end()); in GetStringIdx()
390 std::map<std::string, IdxAndDataOffset> strings_; variable
/art/tools/veridex/
Dhidden_api_finder.h56 std::set<std::string> strings_; variable
Dhidden_api_finder.cc88 strings_.insert(name); in CollectAccesses()
212 for (const std::string& name : strings_) { in Dump()
/art/runtime/verifier/
Dverifier_deps.cc69 DCHECK(other_deps.strings_.empty()); in MergeWith()
237 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
243 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
246 deps->strings_.push_back(str); in GetIdFromString()
247 dex::StringIndex new_id(num_ids_in_dex + deps->strings_.size() - 1); in GetIdFromString()
263 CHECK_LT(string_id.index_, deps->strings_.size()); in GetStringFromId()
264 return deps->strings_[string_id.index_]; in GetStringFromId()
763 EncodeStringVector(buffer, deps.strings_); in Encode()
781 data_start, data_end, &deps.strings_) && in DecodeDexFileDeps()
876 return (strings_ == rhs.strings_) && in Equals()
[all …]
Dverifier_deps.h219 std::vector<std::string> strings_; member
/art/tools/dexanalyze/
Ddexanalyze_bytecode.h53 SafeMap<size_t, size_t> strings_; member
Ddexanalyze_bytecode.cc130 pair.second.strings_ = SortByOrder(pair.second.strings_, Order::kMostUsed); in ProcessDexFiles()
300 ++current_type.strings_.FindOrAdd(str_idx)->second; in ProcessCodeItem()
302 uint32_t idx = current_type.strings_.Get(str_idx); in ProcessCodeItem()
/art/runtime/hprof/
Dhprof.cc577 for (const auto& p : strings_) { in WriteStringTable()
647 auto it = strings_.find(string); in LookupStringId()
648 if (it != strings_.end()) { in LookupStringId()
652 strings_.Put(string, id); in LookupStringId()
891 SafeMap<std::string, HprofStringId> strings_; member in art::hprof::Hprof
/art/runtime/mirror/
Ddex_cache.h217 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset()
579 uint64_t strings_; // std::atomic<StringDexCachePair>*, array with num_strings_ variable
/art/dex2oat/
Dverifier_deps_test.cc449 has_strings |= !entry.second->strings_.empty(); in HasEachKindOfRecord()
/art/runtime/
Dclass_linker_test.cc691 addOffset(OFFSETOF_MEMBER(mirror::DexCache, strings_), "strings"); in DexCacheOffsets()