Searched refs:string_id (Results 1 – 13 of 13) sorted by relevance
/art/runtime/ |
D | dex_file-inl.h | 28 inline int32_t DexFile::GetStringLength(const StringId& string_id) const { in GetStringLength() argument 29 const uint8_t* ptr = begin_ + string_id.string_data_off_; in GetStringLength() 33 inline const char* DexFile::GetStringDataAndUtf16Length(const StringId& string_id, in GetStringDataAndUtf16Length() argument 36 const uint8_t* ptr = begin_ + string_id.string_data_off_; in GetStringDataAndUtf16Length()
|
D | dex_file.h | 480 uint32_t GetIndexForStringId(const StringId& string_id) const { in GetIndexForStringId() argument 481 CHECK_GE(&string_id, string_ids_) << GetLocation(); in GetIndexForStringId() 482 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation(); in GetIndexForStringId() 483 return &string_id - string_ids_; in GetIndexForStringId() 486 int32_t GetStringLength(const StringId& string_id) const; 491 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const; 493 const char* GetStringData(const StringId& string_id) const { in GetStringData() argument 495 return GetStringDataAndUtf16Length(string_id, &ignored); in GetStringData() 504 const StringId& string_id = GetStringId(idx); in StringDataAndUtf16LengthByIdx() local 505 return GetStringDataAndUtf16Length(string_id, utf16_length); in StringDataAndUtf16LengthByIdx()
|
D | intern_table.cc | 201 const DexFile::StringId* string_id = dex_file->FindStringId(utf8.c_str()); in LookupStringFromImage() local 202 if (string_id != nullptr) { in LookupStringFromImage() 203 uint32_t string_idx = dex_file->GetIndexForStringId(*string_id); in LookupStringFromImage()
|
D | dex_file.cc | 487 const StringId* string_id = FindStringId(descriptor); in FindClassDef() local 488 if (string_id != nullptr) { in FindClassDef() 489 const TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id)); in FindClassDef() 730 const DexFile::StringId* string_id = FindStringId(descriptor.c_str()); in CreateTypeList() local 731 if (string_id == nullptr) { in CreateTypeList() 734 const DexFile::TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id)); in CreateTypeList()
|
D | class_linker_test.cc | 1029 const DexFile::StringId* string_id = dex_file->FindStringId("LStaticsFromCode;"); in TEST_F() local 1030 ASSERT_TRUE(string_id != nullptr); in TEST_F() 1031 const DexFile::TypeId* type_id = dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id)); in TEST_F()
|
D | debugger.h | 431 static JDWP::JdwpError StringToUtf8(JDWP::ObjectId string_id, std::string* str)
|
D | class_linker.cc | 2945 const DexFile::StringId* string_id = dex_file->FindStringId(descriptor); in LookupClassFromImage() local 2946 if (string_id != nullptr) { in LookupClassFromImage() 2948 dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id)); in LookupClassFromImage()
|
D | debugger.cc | 1975 JDWP::JdwpError Dbg::StringToUtf8(JDWP::ObjectId string_id, std::string* str) { in StringToUtf8() argument 1977 mirror::Object* obj = gRegistry->Get<mirror::Object*>(string_id, &error); in StringToUtf8()
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 190 const DexFile::StringId* string_id = in IsClassOfStaticMemberAvailableToReferrer() local 192 if (string_id != nullptr) { in IsClassOfStaticMemberAvailableToReferrer() 194 dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id)); in IsClassOfStaticMemberAvailableToReferrer()
|
/art/compiler/dex/quick/ |
D | dex_file_method_inliner.cc | 710 const DexFile::StringId* string_id = dex_file->FindStringId(kClassCacheNames[index]); in FindClassIndex() local 711 if (string_id == nullptr) { in FindClassIndex() 715 uint32_t string_index = dex_file->GetIndexForStringId(*string_id); in FindClassIndex() 733 const DexFile::StringId* string_id = dex_file->FindStringId(kNameCacheNames[index]); in FindNameIndex() local 734 if (string_id == nullptr) { in FindNameIndex() 738 *name_index = dex_file->GetIndexForStringId(*string_id); in FindNameIndex()
|
/art/compiler/ |
D | image_writer.cc | 567 const DexFile::StringId* string_id; in ComputeEagerResolvedStringsCallback() local 569 string_id = dex_file.FindStringId(""); in ComputeEagerResolvedStringsCallback() 571 string_id = dex_file.FindStringId(utf16_string, utf16_length); in ComputeEagerResolvedStringsCallback() 573 if (string_id != nullptr) { in ComputeEagerResolvedStringsCallback() 575 uint32_t string_idx = dex_file.GetIndexForStringId(*string_id); in ComputeEagerResolvedStringsCallback()
|
/art/runtime/mirror/ |
D | object_test.cc | 310 const DexFile::StringId* string_id = java_lang_dex_file_->FindStringId("[I"); in TEST_F() local 311 ASSERT_TRUE(string_id != nullptr); in TEST_F() 313 java_lang_dex_file_->GetIndexForStringId(*string_id)); in TEST_F()
|
/art/runtime/jdwp/ |
D | jdwp_handler.cc | 272 ObjectId string_id; in VM_CreateString() local 273 JdwpError status = Dbg::CreateString(str, &string_id); in VM_CreateString() 277 expandBufAddObjectId(pReply, string_id); in VM_CreateString()
|