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.cc184 std::vector<StringId*>* string_ids,
190 std::vector<StringId*>* string_ids,
424 const dex::StringId& disk_string_id = dex_file.GetStringId(dex::StringIndex(i)); in CreateStringId()
431 header_->StringIds().GetOffset() + i * StringId::ItemSize(), in CreateStringId()
486 const StringId* source_file = in CreateClassDef()
925 std::vector<StringId*> string_ids; in DedupeOrCreateCodeItem()
1009 std::vector<StringId*>* string_ids, in GetIdsFromByteCode()
1029 std::vector<StringId*>* string_ids, in GetIdFromInstruction()
Ddexlayout.cc530 dex_ir::StringId* string_id = data->GetStringId(); in DumpEncodedValue()
1052 dex_ir::StringId* string_id = header->GetStringIdOrNullPtr(idx); in StringDataByIdx()
1064 dex_ir::StringId* string_id = type_id->GetStringId(); in StringDataByTypeIdx()
1529 const dex_ir::StringId* source_file = class_def->SourceFile(); in DumpClass()
1662 for (dex_ir::StringId* id : fixups->StringIds()) { in LayoutStringData()
1684 std::vector<dex_ir::StringId*> string_ids; in LayoutStringData()
1690 [&is_shorty, &from_hot_method](const dex_ir::StringId* a, in LayoutStringData()
1691 const dex_ir::StringId* b) { in LayoutStringData()
1709 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.h240 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId()
245 dex::StringIndex GetIndexForStringId(const dex::StringId& string_id) const { in GetIndexForStringId()
251 int32_t GetStringLength(const dex::StringId& string_id) const;
256 const char* GetStringDataAndUtf16Length(const dex::StringId& string_id,
259 const char* GetStringData(const dex::StringId& string_id) const;
268 const dex::StringId* FindStringId(const char* string) const;
327 const dex::StringId& name,
367 const dex::StringId& name,
834 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.cc53 using dex::StringId;
112 string_ids_(reinterpret_cast<const StringId*>(base + header_->string_ids_off_)), in DexFile()
240 const StringId& name, in FindFieldId()
275 const StringId& name, in FindMethodId()
309 const StringId* DexFile::FindStringId(const char* string) const { in FindStringId()
314 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId()
334 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
Ddex_file-inl.h41 inline int32_t DexFile::GetStringLength(const dex::StringId& string_id) const { in GetStringLength()
46 inline const char* DexFile::GetStringDataAndUtf16Length(const dex::StringId& string_id, in GetStringDataAndUtf16Length()
54 inline const char* DexFile::GetStringData(const dex::StringId& string_id) const { in GetStringData()
65 const dex::StringId& string_id = GetStringId(idx); in StringDataAndUtf16LengthByIdx()
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_verifier.cc1765 if (!CheckListSize(ptr_, 1, sizeof(dex::StringId), "string_ids")) { in CheckIntraSectionIterate()
1768 ptr_ += sizeof(dex::StringId); in CheckIntraSectionIterate()
2173 const dex::StringId* item = reinterpret_cast<const dex::StringId*>(ptr_); in CheckInterStringIdItem()
2182 const dex::StringId* prev_item = reinterpret_cast<const dex::StringId*>(previous_item_); in CheckInterStringIdItem()
2191 ptr_ += sizeof(dex::StringId); in CheckInterStringIdItem()
3062 const dex::StringId* string_id = in GetStringOrError()
3063 reinterpret_cast<const dex::StringId*>(begin + header->string_ids_off_) + string_idx.index_; in GetStringOrError()
3207 const dex::StringId* first = reinterpret_cast<const dex::StringId*>( in FindStringRangesForMethodNames()
3209 const dex::StringId* last = first + header_->string_ids_size_; in FindStringRangesForMethodNames()
3211 auto get_string = [begin = begin_](const dex::StringId& id) { 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.cc247 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindMethodData()
840 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindFieldData()
/art/openjdkjvmti/
Dti_redefine.cc1462 const art::dex::StringId* new_name_id = dex_file_->FindStringId(method.GetName()); in UpdateMethods()
1497 const art::dex::StringId* new_name_id = dex_file_->FindStringId(field.GetName()); in UpdateFields()
/art/runtime/
Dtransaction_test.cc500 const dex::StringId* string_id = dex_file->FindStringId(kResolvedString); in TEST_F()
/art/profman/
Dprofman.cc859 const dex::StringId* name_id = dex_file->FindStringId(name.c_str()); in FindMethodIndex()
/art/runtime/mirror/
Dobject_test.cc372 const dex::StringId* name_str_id = dex_file->FindStringId("s0"); in TEST_F()
/art/runtime/verifier/
Dverifier_deps.cc220 const dex::StringId* string_id = dex_file.FindStringId(str.c_str()); in GetIdFromString()