Searched refs:string_id (Results 1 - 9 of 9) sorted by relevance

/art/runtime/
H A Ddex_file-inl.h28 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, argument
36 const uint8_t* ptr = begin_ + string_id.string_data_off_;
H A Ddex_file.h512 uint32_t GetIndexForStringId(const StringId& string_id) const {
513 CHECK_GE(&string_id, string_ids_) << GetLocation();
514 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation();
515 return &string_id - string_ids_;
518 int32_t GetStringLength(const StringId& string_id) const;
520 // Returns a pointer to the UTF-8 string data referred to by the given string_id as well as the
523 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const;
525 const char* GetStringData(const StringId& string_id) const {
527 return GetStringDataAndUtf16Length(string_id, &ignored);
536 const StringId& string_id local
[all...]
H A Dintern_table.cc223 const DexFile::StringId* string_id = dex_file->FindStringId(utf8.c_str()); local
224 if (string_id != nullptr) {
225 uint32_t string_idx = dex_file->GetIndexForStringId(*string_id);
H A Ddex_file_verifier_test.cc315 const DexFile::StringId& string_id = dex_file->GetStringId(name_index); local
316 const char* str = dex_file->GetStringData(string_id);
924 const DexFile::StringId& string_id = dex_file->GetStringId(name_index); local
925 const char* str = dex_file->GetStringData(string_id);
H A Ddebugger.h412 static JDWP::JdwpError StringToUtf8(JDWP::ObjectId string_id, std::string* str)
H A Ddex_file_verifier.cc2429 const DexFile::StringId* string_id = local
2434 const uint8_t* ptr = begin + string_id->string_data_off_;
H A Ddebugger.cc1932 JDWP::JdwpError Dbg::StringToUtf8(JDWP::ObjectId string_id, std::string* str) { argument
1934 mirror::Object* obj = gRegistry->Get<mirror::Object*>(string_id, &error);
/art/compiler/dex/quick/
H A Ddex_file_method_inliner.cc740 const DexFile::StringId* string_id = dex_file->FindStringId(kNameCacheNames[index]); local
741 if (string_id == nullptr) {
745 *name_index = dex_file->GetIndexForStringId(*string_id);
/art/runtime/jdwp/
H A Djdwp_handler.cc272 ObjectId string_id; local
273 JdwpError status = Dbg::CreateString(str, &string_id);
277 expandBufAddObjectId(pReply, string_id);

Completed in 4988 milliseconds