Searched defs:string_id (Results 1 - 12 of 12) sorted by relevance
/art/runtime/ |
H A D | 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, argument 36 const uint8_t* ptr = begin_ + string_id.string_data_off_;
|
H A D | intern_table.cc | 201 const DexFile::StringId* string_id = dex_file->FindStringId(utf8.c_str()); local 202 if (string_id != nullptr) { 203 uint32_t string_idx = dex_file->GetIndexForStringId(*string_id);
|
H A D | class_linker_test.cc | 1029 const DexFile::StringId* string_id = dex_file->FindStringId("LStaticsFromCode;"); local 1030 ASSERT_TRUE(string_id != nullptr); 1031 const DexFile::TypeId* type_id = dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id));
|
H A D | dex_file.cc | 487 const StringId* string_id = FindStringId(descriptor); local 488 if (string_id != nullptr) { 489 const TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id)); 730 const DexFile::StringId* string_id = FindStringId(descriptor.c_str()); local 731 if (string_id == nullptr) { 734 const DexFile::TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id));
|
H A D | dex_file.h | 480 uint32_t GetIndexForStringId(const StringId& string_id) const { 481 CHECK_GE(&string_id, string_ids_) << GetLocation(); 482 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation(); 483 return &string_id - string_ids_; 486 int32_t GetStringLength(const StringId& string_id) const; 488 // Returns a pointer to the UTF-8 string data referred to by the given string_id as well as the 491 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const; 493 const char* GetStringData(const StringId& string_id) const { 495 return GetStringDataAndUtf16Length(string_id, &ignored); 504 const StringId& string_id local [all...] |
H A D | class_linker.cc | 2945 const DexFile::StringId* string_id = dex_file->FindStringId(descriptor); local 2946 if (string_id != nullptr) { 2948 dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id));
|
H A D | debugger.cc | 1975 JDWP::JdwpError Dbg::StringToUtf8(JDWP::ObjectId string_id, std::string* str) { argument 1977 mirror::Object* obj = gRegistry->Get<mirror::Object*>(string_id, &error);
|
/art/compiler/driver/ |
H A D | compiler_driver-inl.h | 190 const DexFile::StringId* string_id = local 192 if (string_id != nullptr) { 194 dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id));
|
/art/runtime/mirror/ |
H A D | object_test.cc | 310 const DexFile::StringId* string_id = java_lang_dex_file_->FindStringId("[I"); local 311 ASSERT_TRUE(string_id != nullptr); 313 java_lang_dex_file_->GetIndexForStringId(*string_id));
|
/art/compiler/dex/quick/ |
H A D | dex_file_method_inliner.cc | 710 const DexFile::StringId* string_id = dex_file->FindStringId(kClassCacheNames[index]); local 711 if (string_id == nullptr) { 715 uint32_t string_index = dex_file->GetIndexForStringId(*string_id); 733 const DexFile::StringId* string_id = dex_file->FindStringId(kNameCacheNames[index]); local 734 if (string_id == nullptr) { 738 *name_index = dex_file->GetIndexForStringId(*string_id);
|
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 272 ObjectId string_id; local 273 JdwpError status = Dbg::CreateString(str, &string_id); 277 expandBufAddObjectId(pReply, string_id);
|
/art/compiler/ |
H A D | image_writer.cc | 567 const DexFile::StringId* string_id; local 569 string_id = dex_file.FindStringId(""); 571 string_id = dex_file.FindStringId(utf16_string, utf16_length); 573 if (string_id != nullptr) { 575 uint32_t string_idx = dex_file.GetIndexForStringId(*string_id);
|
Completed in 1344 milliseconds