Searched refs: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 byte* ptr = begin_ + string_id.string_data_off_;
33 inline const char* DexFile::GetStringDataAndUtf16Length(const StringId& string_id, argument
36 const byte* ptr = begin_ + string_id.string_data_off_;
H A Ddex_file.h460 uint32_t GetIndexForStringId(const StringId& string_id) const {
461 CHECK_GE(&string_id, string_ids_) << GetLocation();
462 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation();
463 return &string_id - string_ids_;
466 int32_t GetStringLength(const StringId& string_id) const;
468 // Returns a pointer to the UTF-8 string data referred to by the given string_id as well as the
471 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const;
473 const char* GetStringData(const StringId& string_id) const {
475 return GetStringDataAndUtf16Length(string_id, &ignored);
484 const StringId& string_id local
[all...]
H A Dintern_table.cc181 const DexFile::StringId* string_id = dex_file->FindStringId(utf8.c_str()); local
182 if (string_id != NULL) {
183 uint32_t string_idx = dex_file->GetIndexForStringId(*string_id);
H A Ddex_file.cc429 const StringId* string_id = FindStringId(descriptor); local
430 if (string_id != nullptr) {
431 const TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id));
671 const DexFile::StringId* string_id = FindStringId(descriptor.c_str()); local
672 if (string_id == NULL) {
675 const DexFile::TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id));
H A Dclass_linker_test.cc1015 const DexFile::StringId* string_id = dex_file->FindStringId("LStaticsFromCode;"); local
1016 ASSERT_TRUE(string_id != NULL);
1017 const DexFile::TypeId* type_id = dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id));
H A Ddebugger.h405 static JDWP::JdwpError StringToUtf8(JDWP::ObjectId string_id, std::string* str)
H A Dclass_linker.cc3420 const DexFile::StringId* string_id = dex_file->FindStringId(descriptor); local
3421 if (string_id != nullptr) {
3423 dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id));
H A Ddebugger.cc1921 JDWP::JdwpError Dbg::StringToUtf8(JDWP::ObjectId string_id, std::string* str) { argument
1922 mirror::Object* obj = gRegistry->Get<mirror::Object*>(string_id);
/art/compiler/driver/
H A Dcompiler_driver-inl.h137 const DexFile::StringId* string_id = local
140 if (string_id != nullptr) {
142 dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id));
/art/compiler/
H A Dimage_writer.cc275 const DexFile::StringId* string_id; local
277 string_id = dex_file.FindStringId("");
279 string_id = dex_file.FindStringId(utf16_string);
281 if (string_id != nullptr) {
283 uint32_t string_idx = dex_file.GetIndexForStringId(*string_id);
/art/compiler/dex/quick/
H A Ddex_file_method_inliner.cc582 const DexFile::StringId* string_id = dex_file->FindStringId(kClassCacheNames[index]); local
583 if (string_id == nullptr) {
587 uint32_t string_index = dex_file->GetIndexForStringId(*string_id);
605 const DexFile::StringId* string_id = dex_file->FindStringId(kNameCacheNames[index]); local
606 if (string_id == nullptr) {
610 *name_index = dex_file->GetIndexForStringId(*string_id);
/art/runtime/mirror/
H A Dobject_test.cc268 const DexFile::StringId* string_id = java_lang_dex_file_->FindStringId("[I"); local
269 ASSERT_TRUE(string_id != NULL);
271 java_lang_dex_file_->GetIndexForStringId(*string_id));

Completed in 156 milliseconds