Home
last modified time | relevance | path

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

/art/compiler/utils/
Dtest_dex_file_builder.h35 : strings_(), types_(), fields_(), protos_(), dex_file_data_() { in TestDexFileBuilder()
40 auto it = strings_.emplace(str, IdxAndDataOffset()).first; in AddString()
103 for (auto& entry : strings_) { in Build()
109 header->string_ids_size_ = strings_.size(); in Build()
110 header->string_ids_off_ = strings_.empty() ? 0u : string_ids_offset; in Build()
112 uint32_t type_ids_offset = string_ids_offset + strings_.size() * sizeof(DexFile::StringId); in Build()
167 for (const auto& entry : strings_) { in Build()
238 auto it = strings_.find(type); in GetStringIdx()
239 CHECK(it != strings_.end()); in GetStringIdx()
377 std::map<std::string, IdxAndDataOffset> strings_; variable
/art/runtime/mirror/
Ddex_cache.h81 return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); in StringsOffset()
225 uint64_t strings_; // GcRoot<String>*, array with num_strings_ elements. variable
/art/runtime/hprof/
Dhprof.cc555 for (const std::pair<std::string, HprofStringId>& p : strings_) { in WriteStringTable()
625 auto it = strings_.find(string); in LookupStringId()
626 if (it != strings_.end()) { in LookupStringId()
630 strings_.Put(string, id); in LookupStringId()
876 SafeMap<std::string, HprofStringId> strings_; member in art::hprof::Hprof
/art/runtime/
Dclass_linker_test.cc591 addOffset(OFFSETOF_MEMBER(mirror::DexCache, strings_), "strings"); in DexCacheOffsets()