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.h54 std::set<std::string> strings_; variable
Dhidden_api_finder.cc92 strings_.insert(name); in CollectAccesses()
206 for (const std::string& name : strings_) { in Dump()
/art/runtime/verifier/
Dverifier_deps.cc72 DCHECK(other_deps.strings_.empty()); in MergeWith()
240 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
246 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
249 deps->strings_.push_back(str); in GetIdFromString()
250 dex::StringIndex new_id(num_ids_in_dex + deps->strings_.size() - 1); in GetIdFromString()
266 CHECK_LT(string_id.index_, deps->strings_.size()); in GetStringFromId()
267 return deps->strings_[string_id.index_]; in GetStringFromId()
729 EncodeStringVector(buffer, deps.strings_); in Encode()
743 DecodeStringVector(data_start, data_end, &deps.strings_); in DecodeDexFileDeps()
823 return (strings_ == rhs.strings_) && in Equals()
[all …]
Dverifier_deps.h217 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.cc578 for (const auto& p : strings_) { in WriteStringTable()
648 auto it = strings_.find(string); in LookupStringId()
649 if (it != strings_.end()) { in LookupStringId()
653 strings_.Put(string, id); in LookupStringId()
892 SafeMap<std::string, HprofStringId> strings_; member in art::hprof::Hprof
/art/runtime/mirror/
Ddex_cache.h215 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset()
575 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.cc684 addOffset(OFFSETOF_MEMBER(mirror::DexCache, strings_), "strings"); in DexCacheOffsets()