Searched defs:string_id (Results 1 - 11 of 11) 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 Dintern_table.cc192 const DexFile::StringId* string_id = dex_file->FindStringId(utf8.c_str()); local
193 if (string_id != nullptr) {
194 uint32_t string_idx = dex_file->GetIndexForStringId(*string_id);
H A Dclass_linker_test.cc995 const DexFile::StringId* string_id = dex_file->FindStringId("LStaticsFromCode;"); local
996 ASSERT_TRUE(string_id != NULL);
997 const DexFile::TypeId* type_id = dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id));
H A Ddex_file.cc436 const StringId* string_id = FindStringId(descriptor); local
437 if (string_id != nullptr) {
438 const TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id));
678 const DexFile::StringId* string_id = FindStringId(descriptor.c_str()); local
679 if (string_id == NULL) {
682 const DexFile::TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id));
H A Ddex_file.h463 uint32_t GetIndexForStringId(const StringId& string_id) const {
464 CHECK_GE(&string_id, string_ids_) << GetLocation();
465 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation();
466 return &string_id - string_ids_;
469 int32_t GetStringLength(const StringId& string_id) const;
471 // Returns a pointer to the UTF-8 string data referred to by the given string_id as well as the
474 const char* GetStringDataAndUtf16Length(const StringId& string_id, uint32_t* utf16_length) const;
476 const char* GetStringData(const StringId& string_id) const {
478 return GetStringDataAndUtf16Length(string_id, &ignored);
487 const StringId& string_id local
[all...]
H A Dclass_linker.cc3451 const DexFile::StringId* string_id = dex_file->FindStringId(descriptor); local
3452 if (string_id != nullptr) {
3454 dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id));
H A Ddebugger.cc1933 JDWP::JdwpError Dbg::StringToUtf8(JDWP::ObjectId string_id, std::string* str) { argument
1934 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/runtime/mirror/
H A Dobject_test.cc275 const DexFile::StringId* string_id = java_lang_dex_file_->FindStringId("[I"); local
276 ASSERT_TRUE(string_id != NULL);
278 java_lang_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/compiler/
H A Dimage_writer.cc614 const DexFile::StringId* string_id; local
616 string_id = dex_file.FindStringId("");
618 string_id = dex_file.FindStringId(utf16_string);
620 if (string_id != nullptr) {
622 uint32_t string_idx = dex_file.GetIndexForStringId(*string_id);

Completed in 203 milliseconds