Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dtest_dex_file_builder.h39 : strings_(), types_(), fields_(), protos_() { in TestDexFileBuilder()
44 strings_.emplace(str, IdxAndDataOffset()); in AddString()
104 for (auto& entry : strings_) {
110 header->string_ids_size_ = strings_.size();
111 header->string_ids_off_ = strings_.empty() ? 0u : string_ids_offset;
113 uint32_t type_ids_offset = string_ids_offset + strings_.size() * sizeof(dex::StringId);
167 for (const auto& entry : strings_) {
253 auto it = strings_.find(type); in GetStringIdx()
254 CHECK(it != strings_.end()); in GetStringIdx()
392 std::map<std::string, IdxAndDataOffset> strings_; variable
/art/libartbase/base/
Dhash_set_test.cc410 : strings_(strings) {} in StatefulHashFn()
413 CHECK_LT(index, strings_->size()); in operator ()()
414 return (*this)((*strings_)[index]); in operator ()()
422 const std::vector<std::string>* strings_; member in art::StatefulHashFn
428 : strings_(strings) {} in StatefulPred()
431 CHECK_LT(rhs, strings_->size()); in operator ()()
432 return (*this)(lhs, (*strings_)[rhs]); in operator ()()
436 CHECK_LT(lhs, strings_->size()); in operator ()()
437 return (*strings_)[lhs] == rhs; in operator ()()
441 const std::vector<std::string>* strings_; member in art::StatefulPred
/art/runtime/verifier/
Dverifier_deps.cc71 DCHECK(other_deps.strings_.empty()); in MergeWith()
161 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
167 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
170 deps->strings_.push_back(str); in GetIdFromString()
171 dex::StringIndex new_id(num_ids_in_dex + deps->strings_.size() - 1); in GetIdFromString()
187 CHECK_LT(string_id.index_, deps->strings_.size()); in GetStringFromId()
188 return deps->strings_[string_id.index_]; in GetStringFromId()
530 EncodeStringVector(buffer, deps.strings_); in Encode()
549 cursor, data_start, data_end, &deps.strings_); in DecodeDexFileDeps()
643 return (strings_ == rhs.strings_) && in Equals()
[all …]
Dverifier_deps.h168 std::vector<std::string> strings_; member
/art/tools/veridex/
Dhidden_api_finder.h56 std::set<std::string> strings_; variable
Dhidden_api_finder.cc95 strings_.insert(name); in CollectAccesses()
219 for (const std::string& name : strings_) { in Dump()
/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.h218 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset()
568 uint64_t strings_; // std::atomic<StringDexCachePair>*, array with num_strings_ variable
/art/dex2oat/
Dverifier_deps_test.cc308 has_strings |= !entry.second->strings_.empty(); in HasEachKindOfRecord()
/art/runtime/
Dclass_linker_test.cc694 addOffset(OFFSETOF_MEMBER(mirror::DexCache, strings_), "strings"); in DexCacheOffsets()