/art/runtime/ |
dex_file-inl.h | 28 inline int32_t DexFile::GetStringLength(const StringId& string_id) const { 29 const uint8_t* ptr = begin_ + string_id.string_data_off_; 33 inline const char* DexFile::GetStringDataAndUtf16Length(const StringId& string_id, 36 const uint8_t* ptr = begin_ + string_id.string_data_off_; 41 inline const char* DexFile::GetStringData(const StringId& string_id) const { 43 return GetStringDataAndUtf16Length(string_id, &ignored); 52 const StringId& string_id = GetStringId(idx); local 53 return GetStringDataAndUtf16Length(string_id, utf16_length);
|
dex_file_tracking_registrar.cc | 241 const DexFile::StringId & string_id = dex_file_->GetStringId(StringIndex(stringid_ctr)); local 242 const void* string_data_begin = reinterpret_cast<const void*>(dex_file_->Begin() + string_id.string_data_off_); 244 const void* string_data_data_begin = reinterpret_cast<const void*>(dex_file_->GetStringData(string_id));
|
dex_file.h | 552 dex::StringIndex GetIndexForStringId(const StringId& string_id) const { 553 CHECK_GE(&string_id, string_ids_) << GetLocation(); 554 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation(); 555 return dex::StringIndex(&string_id - string_ids_); 558 int32_t GetStringLength(const StringId& string_id) const; 560 // Returns a pointer to the UTF-8 string data referred to by the given string_id as well as the 563 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const; 565 const char* GetStringData(const StringId& string_id) const; [all...] |
dex_file_verifier_test.cc | 251 const DexFile::StringId& string_id = dex_file->GetStringId(name_index); local 252 const char* str = dex_file->GetStringData(string_id); 856 const DexFile::StringId& string_id = dex_file->GetStringId(name_index); local [all...] |
transaction_test.cc | 506 const DexFile::StringId* string_id = dex_file->FindStringId(kResolvedString); local 507 ASSERT_TRUE(string_id != nullptr); 508 dex::StringIndex string_idx = dex_file->GetIndexForStringId(*string_id);
|
debugger.h | 421 static JDWP::JdwpError StringToUtf8(JDWP::ObjectId string_id, std::string* str) [all...] |
dex_file_verifier.cc | 2888 const DexFile::StringId* string_id = local [all...] |
debugger.cc | [all...] |
/art/dexlayout/ |
dex_visualize.cc | 115 void DumpStringId(const dex_ir::StringId* string_id, int class_index) { 116 DumpAddressRange(string_id, class_index); 117 if (string_id == nullptr) { 120 DumpStringData(string_id->DataItem(), class_index); 196 for (dex_ir::StringId* string_id : *string_ids) { 197 DumpStringId(string_id, class_index);
|
dexlayout.cc | 541 dex_ir::StringId* string_id = data->GetStringId(); local 543 DumpEscapedString(string_id->Data(), out_file_); 545 DumpXmlAttribute(string_id->Data(), out_file_); [all...] |
dex_writer.cc | 247 for (std::unique_ptr<dex_ir::StringId>& string_id : header_->GetCollections().StringIds()) { 248 string_data_off[0] = string_id->DataItem()->GetOffset(); 249 Write(string_data_off, string_id->GetSize(), string_id->GetOffset());
|
dex_ir.h | 82 virtual void Dispatch(const StringId* string_id) = 0; 498 explicit TypeId(StringId* string_id) : string_id_(string_id) { size_ = kTypeIdItemSize; } 653 void SetStringId(StringId* string_id) { u_.string_val_ = string_id; } [all...] |
dex_ir.cc | 328 StringId* string_id = new StringId(string_data); local 329 string_ids_.AddIndexedItem(string_id, StringIdsOffset() + i * StringId::ItemSize(), i); [all...] |
/art/runtime/verifier/ |
verifier_deps.cc | 139 const dex::StringIndex string_id = TryGetClassDescriptorStringId( local 143 if (string_id.IsValid()) { 145 DCHECK_EQ(GetClassDescriptorStringId(dex_file, method->GetDeclaringClass()), string_id); local 146 return string_id; 158 const dex::StringIndex string_id = TryGetClassDescriptorStringId( local 162 if (string_id.IsValid()) { 164 DCHECK_EQ(GetClassDescriptorStringId(dex_file, field->GetDeclaringClass()), string_id); local 165 return string_id; 203 const DexFile::StringId* string_id = dex_file.FindStringId(str.c_str()); local 204 if (string_id != nullptr) [all...] |
verifier_deps.h | 233 std::string GetStringFromId(const DexFile& dex_file, dex::StringIndex string_id) const;
|
/system/extras/simpleperf/scripts/ |
pprof_proto_generator.py | 365 def get_string(self, string_id): 366 return self.profile.string_table[string_id]
|
/art/runtime/jdwp/ |
jdwp_handler.cc | 275 ObjectId string_id; local 276 JdwpError status = Dbg::CreateString(str, &string_id); 280 expandBufAddObjectId(pReply, string_id); [all...] |