Searched refs:strings_ (Results 1 – 12 of 12) sorted by relevance
/art/libdexfile/dex/ |
D | test_dex_file_builder.h | 39 : 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/ |
D | hash_set_test.cc | 410 : 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/ |
D | verifier_deps.cc | 71 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 …]
|
D | verifier_deps.h | 168 std::vector<std::string> strings_; member
|
/art/tools/veridex/ |
D | hidden_api_finder.h | 56 std::set<std::string> strings_; variable
|
D | hidden_api_finder.cc | 95 strings_.insert(name); in CollectAccesses() 219 for (const std::string& name : strings_) { in Dump()
|
/art/tools/dexanalyze/ |
D | dexanalyze_bytecode.h | 53 SafeMap<size_t, size_t> strings_; member
|
D | dexanalyze_bytecode.cc | 130 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/ |
D | hprof.cc | 577 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/ |
D | dex_cache.h | 218 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset() 568 uint64_t strings_; // std::atomic<StringDexCachePair>*, array with num_strings_ variable
|
/art/dex2oat/ |
D | verifier_deps_test.cc | 308 has_strings |= !entry.second->strings_.empty(); in HasEachKindOfRecord()
|
/art/runtime/ |
D | class_linker_test.cc | 694 addOffset(OFFSETOF_MEMBER(mirror::DexCache, strings_), "strings"); in DexCacheOffsets()
|