Searched defs:string_id (Results 1 - 12 of 12) 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 Dintern_table.cc201 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 Dclass_linker_test.cc1029 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 Ddex_file.cc487 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 Ddex_file.h480 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 Dclass_linker.cc2945 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 Ddebugger.cc1975 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 Dcompiler_driver-inl.h190 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 Dobject_test.cc310 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 Ddex_file_method_inliner.cc710 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 Djdwp_handler.cc272 ObjectId string_id; local
273 JdwpError status = Dbg::CreateString(str, &string_id);
277 expandBufAddObjectId(pReply, string_id);
/art/compiler/
H A Dimage_writer.cc567 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