Home
last modified time | relevance | path

Searched refs:StringId (Results 1 – 22 of 22) 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.cc596 dex_ir::StringId* string_id = data->GetStringId(); in DumpEncodedValue()
1118 dex_ir::StringId* string_id = header->GetStringIdOrNullPtr(idx); in StringDataByIdx()
1130 dex_ir::StringId* string_id = type_id->GetStringId(); in StringDataByTypeIdx()
1600 const dex_ir::StringId* source_file = class_def->SourceFile(); in DumpClass()
1733 for (dex_ir::StringId* id : fixups->StringIds()) { in LayoutStringData()
1755 std::vector<dex_ir::StringId*> string_ids; in LayoutStringData()
1761 [&is_shorty, &from_hot_method](const dex_ir::StringId* a, in LayoutStringData()
1762 const dex_ir::StringId* b) { in LayoutStringData()
1780 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/runtime/
Dsdk_checker.cc61 const dex::StringId* name_id = dex_file->FindStringId(art_method->GetName()); in ShouldDenyAccess()
109 const dex::StringId* name_id = dex_file->FindStringId(art_field->GetName()); in ShouldDenyAccess()
Dtransaction_test.cc505 const dex::StringId* string_id = dex_file->FindStringId(kResolvedString); in TEST_F()
/art/libdexfile/dex/
Ddex_file.h244 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId()
249 dex::StringIndex GetIndexForStringId(const dex::StringId& string_id) const { in GetIndexForStringId()
255 int32_t GetStringLength(const dex::StringId& string_id) const;
260 const char* GetStringDataAndUtf16Length(const dex::StringId& string_id,
263 const char* GetStringData(const dex::StringId& string_id) const;
272 const dex::StringId* FindStringId(const char* string) const;
335 const dex::StringId& name,
384 const dex::StringId& name,
865 const dex::StringId* const string_ids_;
Dart_dex_file_loader_test.cc236 const dex::StringId* str_id = raw->FindStringId(str); in TEST_F()
245 const dex::StringId* type_str_id = java_lang_dex_file_->FindStringId(type_str); in TEST_F()
276 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
291 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
Ddex_file_structs.h52 struct StringId { struct
56 DISALLOW_COPY_AND_ASSIGN(StringId); argument
Ddex_file.cc54 using dex::StringId;
113 string_ids_(reinterpret_cast<const StringId*>(base + header_->string_ids_off_)), in DexFile()
248 const StringId& name, in FindFieldId()
283 const StringId& name, in FindMethodId()
327 const StringId* DexFile::FindStringId(const char* string) const { in FindStringId()
332 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId()
352 const StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId()
Ddex_file-inl.h42 inline int32_t DexFile::GetStringLength(const dex::StringId& string_id) const { in GetStringLength()
48 inline const char* DexFile::GetStringDataAndUtf16Length(const dex::StringId& string_id, in GetStringDataAndUtf16Length()
57 inline const char* DexFile::GetStringData(const dex::StringId& string_id) const { in GetStringData()
69 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.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()
3238 const dex::StringId* string_ids = in CheckInterSection()
3239 reinterpret_cast<const dex::StringId*>(begin_ + header_->string_ids_off_); in CheckInterSection()
3409 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.h113 uint32_t type_ids_offset = string_ids_offset + strings_.size() * sizeof(dex::StringId);
173 string_ids_offset + entry.second.idx * sizeof(dex::StringId),
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/verifier/
Dverifier_deps.cc141 const dex::StringId* string_id = dex_file.FindStringId(str.c_str()); in GetIdFromString()
/art/runtime/mirror/
Dobject_test.cc415 const dex::StringId* name_str_id = dex_file->FindStringId("s0"); in TEST_F()
/art/profman/
Dprofman.cc1087 const dex::StringId* name_id = dex_file->FindStringId(std::string(name).c_str()); in FindMethodIndex()
/art/openjdkjvmti/
Dti_redefine.cc2526 const art::dex::StringId* new_name_id = dex_file_->FindStringId(method.GetName()); in UpdateMethods()
2565 const art::dex::StringId* new_name_id = dex_file_->FindStringId(field.GetName()); in UpdateFields()