Home
last modified time | relevance | path

Searched refs:StringId (Results 1 – 21 of 21) sorted by relevance

/art/dexlayout/
Ddex_ir.h62 class StringId; variable
86 virtual void Dispatch(const StringId* string_id) = 0;
438 IndexedCollectionVector<StringId>& StringIds() { return string_ids_; } in StringIds()
439 const IndexedCollectionVector<StringId>& StringIds() const { return string_ids_; } in StringIds()
495 StringId* GetStringIdOrNullPtr(uint32_t index) { in GetStringIdOrNullPtr()
550 IndexedCollectionVector<StringId> string_ids_;
598 class StringId : public IndexedItem {
600 explicit StringId(StringData* string_data) : string_data_(string_data) { in StringId() function
603 ~StringId() override { } in ~StringId()
615 DISALLOW_COPY_AND_ASSIGN(StringId);
[all …]
Ddex_verify.h37 bool VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg);
Ddex_visualize.cc117 void DumpStringId(const dex_ir::StringId* string_id, int class_index) { in DumpStringId()
196 for (dex_ir::StringId* string_id : fixups->StringIds()) { in DumpMethodItem()
Ddex_ir_builder.cc185 std::vector<StringId*>* string_ids,
191 std::vector<StringId*>* string_ids,
425 const dex::StringId& disk_string_id = dex_file.GetStringId(dex::StringIndex(i)); in CreateStringId()
432 header_->StringIds().GetOffset() + i * StringId::ItemSize(), in CreateStringId()
487 const StringId* source_file = in CreateClassDef()
926 std::vector<StringId*> string_ids; in DedupeOrCreateCodeItem()
1010 std::vector<StringId*>* string_ids, in GetIdsFromByteCode()
1030 std::vector<StringId*>* string_ids, in GetIdFromInstruction()
Ddexlayout.cc531 dex_ir::StringId* string_id = data->GetStringId(); in DumpEncodedValue()
1053 dex_ir::StringId* string_id = header->GetStringIdOrNullPtr(idx); in StringDataByIdx()
1065 dex_ir::StringId* string_id = type_id->GetStringId(); in StringDataByTypeIdx()
1533 const dex_ir::StringId* source_file = class_def->SourceFile(); in DumpClass()
1666 for (dex_ir::StringId* id : fixups->StringIds()) { in LayoutStringData()
1688 std::vector<dex_ir::StringId*> string_ids; in LayoutStringData()
1694 [&is_shorty, &from_hot_method](const dex_ir::StringId* a, in LayoutStringData()
1695 const dex_ir::StringId* b) { in LayoutStringData()
1713 for (dex_ir::StringId* string_id : string_ids) { in LayoutStringData()
Ddex_verify.cc75 bool VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg) { in VerifyId()
/art/libdexfile/dex/
Ddex_file.h243 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId()
248 dex::StringIndex GetIndexForStringId(const dex::StringId& string_id) const { in GetIndexForStringId()
254 int32_t GetStringLength(const dex::StringId& string_id) const;
259 const char* GetStringDataAndUtf16Length(const dex::StringId& string_id,
262 const char* GetStringData(const dex::StringId& string_id) const;
271 const dex::StringId* FindStringId(const char* string) const;
330 const dex::StringId& name,
370 const dex::StringId& name,
837 const dex::StringId* const string_ids_;
Dart_dex_file_loader_test.cc227 const dex::StringId* str_id = raw->FindStringId(str); in TEST_F()
236 const dex::StringId* type_str_id = java_lang_dex_file_->FindStringId(type_str); in TEST_F()
267 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
282 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
Ddex_file.cc54 using dex::StringId;
113 string_ids_(reinterpret_cast<const StringId*>(base + header_->string_ids_off_)), in DexFile()
241 const StringId& name, in FindFieldId()
276 const StringId& name, in FindMethodId()
310 const StringId* DexFile::FindStringId(const char* string) const { in FindStringId()
315 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId()
335 const StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId()
Ddex_file_structs.h52 struct StringId { struct
56 DISALLOW_COPY_AND_ASSIGN(StringId); argument
Dtype_lookup_table.cc52 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create()
67 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create()
Ddex_file-inl.h42 inline int32_t DexFile::GetStringLength(const dex::StringId& string_id) const { in GetStringLength()
47 inline const char* DexFile::GetStringDataAndUtf16Length(const dex::StringId& string_id, in GetStringDataAndUtf16Length()
55 inline const char* DexFile::GetStringData(const dex::StringId& string_id) const { in GetStringData()
66 const dex::StringId& string_id = GetStringId(idx); in StringDataAndUtf16LengthByIdx()
Ddex_file_verifier.cc133 const dex::StringId* string_id = in GetString()
134 reinterpret_cast<const dex::StringId*>(begin + header->string_ids_off_) + string_idx.index_; in GetString()
2072 if (!CheckListSize(ptr_, 1, sizeof(dex::StringId), "string_ids")) { in CheckIntraSectionIterate()
2075 ptr_ += sizeof(dex::StringId); in CheckIntraSectionIterate()
2479 const dex::StringId* item = reinterpret_cast<const dex::StringId*>(ptr_); in CheckInterStringIdItem()
2485 const dex::StringId* prev_item = reinterpret_cast<const dex::StringId*>(previous_item_); in CheckInterStringIdItem()
2494 ptr_ += sizeof(dex::StringId); in CheckInterStringIdItem()
3239 const dex::StringId* string_ids = in CheckInterSection()
3240 reinterpret_cast<const dex::StringId*>(begin_ + header_->string_ids_off_); in CheckInterSection()
3410 const dex::StringId* first = reinterpret_cast<const dex::StringId*>( in FindStringRangesForMethodNames()
[all …]
Ddex_file_tracking_registrar.cc221 const dex::StringId & string_id = dex_file_->GetStringId(StringIndex(stringid_ctr)); in SetAllStringDataStartRegistration()
Dtest_dex_file_builder.h115 uint32_t type_ids_offset = string_ids_offset + strings_.size() * sizeof(dex::StringId); in Build()
175 Write32(string_ids_offset + entry.second.idx * sizeof(dex::StringId), raw_offset); in Build()
Ddex_file_verifier_test.cc249 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindMethodData()
842 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindFieldData()
/art/runtime/
Dtransaction_test.cc506 const dex::StringId* string_id = dex_file->FindStringId(kResolvedString); in TEST_F()
/art/runtime/mirror/
Dobject_test.cc415 const dex::StringId* name_str_id = dex_file->FindStringId("s0"); in TEST_F()
/art/profman/
Dprofman.cc965 const dex::StringId* name_id = dex_file->FindStringId(name.c_str()); in FindMethodIndex()
/art/runtime/verifier/
Dverifier_deps.cc217 const dex::StringId* string_id = dex_file.FindStringId(str.c_str()); in GetIdFromString()
/art/openjdkjvmti/
Dti_redefine.cc2564 const art::dex::StringId* new_name_id = dex_file_->FindStringId(method.GetName()); in UpdateMethods()
2599 const art::dex::StringId* new_name_id = dex_file_->FindStringId(field.GetName()); in UpdateFields()