Searched refs:string_id (Results 1 – 13 of 13) sorted by relevance
/art/dexlayout/ |
D | dex_visualize.cc | 117 void DumpStringId(const dex_ir::StringId* string_id, int class_index) { in DumpStringId() argument 118 DumpAddressRange(string_id, class_index); in DumpStringId() 119 if (string_id == nullptr) { in DumpStringId() 122 DumpStringData(string_id->DataItem(), class_index); in DumpStringId() 196 for (dex_ir::StringId* string_id : fixups->StringIds()) { in DumpMethodItem() 197 DumpStringId(string_id, class_index); in DumpMethodItem()
|
D | dex_ir.h | 86 virtual void Dispatch(const StringId* string_id) = 0; 620 explicit TypeId(StringId* string_id) : string_id_(string_id) { size_ = kTypeIdItemSize; } in TypeId() argument 779 void SetStringId(StringId* string_id) { u_.string_val_ = string_id; } in SetStringId() argument
|
D | dex_writer.cc | 234 for (auto& string_id : header_->StringIds()) { in WriteStringIds() local 237 stream->Skip(string_id->GetSize()); in WriteStringIds() 239 uint32_t string_data_off = string_id->DataItem()->GetOffset(); in WriteStringIds() 240 stream->Write(&string_data_off, string_id->GetSize()); in WriteStringIds()
|
/art/libdexfile/dex/ |
D | dex_file-inl.h | 41 inline int32_t DexFile::GetStringLength(const dex::StringId& string_id) const { in GetStringLength() argument 42 const uint8_t* ptr = DataBegin() + string_id.string_data_off_; in GetStringLength() 46 inline const char* DexFile::GetStringDataAndUtf16Length(const dex::StringId& string_id, in GetStringDataAndUtf16Length() argument 49 const uint8_t* ptr = DataBegin() + string_id.string_data_off_; in GetStringDataAndUtf16Length() 54 inline const char* DexFile::GetStringData(const dex::StringId& string_id) const { in GetStringData() argument 56 return GetStringDataAndUtf16Length(string_id, &ignored); in GetStringData() 65 const dex::StringId& string_id = GetStringId(idx); in StringDataAndUtf16LengthByIdx() local 66 return GetStringDataAndUtf16Length(string_id, utf16_length); in StringDataAndUtf16LengthByIdx()
|
D | dex_file_tracking_registrar.cc | 221 const dex::StringId & string_id = dex_file_->GetStringId(StringIndex(stringid_ctr)); in SetAllStringDataStartRegistration() local 222 …const void* string_data_begin = reinterpret_cast<const void*>(dex_file_->Begin() + string_id.strin… in SetAllStringDataStartRegistration() 224 … void* string_data_data_begin = reinterpret_cast<const void*>(dex_file_->GetStringData(string_id)); in SetAllStringDataStartRegistration()
|
D | dex_file.h | 245 dex::StringIndex GetIndexForStringId(const dex::StringId& string_id) const { in GetIndexForStringId() argument 246 CHECK_GE(&string_id, string_ids_) << GetLocation(); in GetIndexForStringId() 247 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation(); in GetIndexForStringId() 248 return dex::StringIndex(&string_id - string_ids_); 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;
|
D | dex_file_verifier.cc | 3062 const dex::StringId* string_id = in GetStringOrError() local 3067 const uint8_t* ptr = begin + string_id->string_data_off_; in GetStringOrError()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 156 const dex::StringIndex string_id = TryGetClassDescriptorStringId( in GetMethodDeclaringClassStringId() local 160 if (string_id.IsValid()) { in GetMethodDeclaringClassStringId() 162 DCHECK_EQ(GetClassDescriptorStringId(dex_file, method->GetDeclaringClass()), string_id); in GetMethodDeclaringClassStringId() 163 return string_id; in GetMethodDeclaringClassStringId() 175 const dex::StringIndex string_id = TryGetClassDescriptorStringId( in GetFieldDeclaringClassStringId() local 179 if (string_id.IsValid()) { in GetFieldDeclaringClassStringId() 181 DCHECK_EQ(GetClassDescriptorStringId(dex_file, field->GetDeclaringClass()), string_id); in GetFieldDeclaringClassStringId() 182 return string_id; in GetFieldDeclaringClassStringId() 220 const dex::StringId* string_id = dex_file.FindStringId(str.c_str()); in GetIdFromString() local 221 if (string_id != nullptr) { in GetIdFromString() [all …]
|
D | verifier_deps.h | 275 std::string GetStringFromId(const DexFile& dex_file, dex::StringIndex string_id) const;
|
/art/runtime/ |
D | transaction_test.cc | 500 const dex::StringId* string_id = dex_file->FindStringId(kResolvedString); in TEST_F() local 501 ASSERT_TRUE(string_id != nullptr); in TEST_F() 502 dex::StringIndex string_idx = dex_file->GetIndexForStringId(*string_id); in TEST_F()
|
D | debugger.h | 453 static JDWP::JdwpError StringToUtf8(JDWP::ObjectId string_id, std::string* str)
|
D | debugger.cc | 2017 JDWP::JdwpError Dbg::StringToUtf8(JDWP::ObjectId string_id, std::string* str) { in StringToUtf8() argument 2019 mirror::Object* obj = gRegistry->Get<mirror::Object*>(string_id, &error); in StringToUtf8()
|
/art/runtime/jdwp/ |
D | jdwp_handler.cc | 275 ObjectId string_id; in VM_CreateString() local 276 JdwpError status = Dbg::CreateString(str, &string_id); in VM_CreateString() 280 expandBufAddObjectId(pReply, string_id); in VM_CreateString()
|