Home
last modified time | relevance | path

Searched refs:string_index (Results 1 – 22 of 22) sorted by relevance

/art/compiler/optimizing/
Dsharpening.cc288 dex::StringIndex string_index = load_string->GetStringIndex(); in ProcessLoadString() local
316 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString()
318 string = class_linker->ResolveString(string_index, dex_cache); in ProcessLoadString()
332 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString()
344 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString()
Dcode_generator_mips64.h606 dex::StringIndex string_index,
609 dex::StringIndex string_index,
625 dex::StringIndex string_index,
Dcode_generator_mips.h636 dex::StringIndex string_index,
639 dex::StringIndex string_index,
670 dex::StringIndex string_index,
Dcode_generator_arm64.h621 dex::StringIndex string_index,
629 dex::StringIndex string_index,
638 dex::StringIndex string_index,
641 dex::TypeIndex string_index,
Dcode_generator_arm_vixl.h588 dex::StringIndex string_index);
590 dex::StringIndex string_index);
598 dex::StringIndex string_index,
Dinstruction_builder.h218 void BuildLoadString(dex::StringIndex string_index, uint32_t dex_pc);
Dcode_generator_arm64.cc375 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
376 __ Mov(calling_convention.GetRegisterAt(0).W(), string_index.index_); in EmitNativeCode()
4260 dex::StringIndex string_index, in NewBootImageStringPatch() argument
4263 &dex_file, string_index.index_, adrp_label, &boot_image_string_patches_); in NewBootImageStringPatch()
4268 dex::StringIndex string_index, in NewStringBssEntryPatch() argument
4270 return NewPcRelativePatch(&dex_file, string_index.index_, adrp_label, &string_bss_entry_patches_); in NewStringBssEntryPatch()
4307 const DexFile& dex_file, dex::StringIndex string_index, Handle<mirror::String> handle) { in DeduplicateJitStringLiteral() argument
4308 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in DeduplicateJitStringLiteral()
4310 StringReference(&dex_file, string_index), in DeduplicateJitStringLiteral()
4818 const dex::StringIndex string_index = load->GetStringIndex(); in VisitLoadString() local
[all …]
Dinstruction_builder.cc1932 void HInstructionBuilder::BuildLoadString(dex::StringIndex string_index, uint32_t dex_pc) { in BuildLoadString() argument
1934 new (allocator_) HLoadString(graph_->GetCurrentMethod(), string_index, *dex_file_, dex_pc); in BuildLoadString()
3023 dex::StringIndex string_index(instruction.VRegB_21c()); in ProcessDexInstruction() local
3024 BuildLoadString(string_index, dex_pc); in ProcessDexInstruction()
3030 dex::StringIndex string_index(instruction.VRegB_31c()); in ProcessDexInstruction() local
3031 BuildLoadString(string_index, dex_pc); in ProcessDexInstruction()
Dcode_generator_x86_64.h431 dex::StringIndex string_index,
Dcode_generator_x86.h442 dex::StringIndex string_index,
Dcode_generator_mips64.cc255 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
261 __ LoadConst32(calling_convention.GetRegisterAt(0), string_index.index_); in EmitNativeCode()
1624 dex::StringIndex string_index, in NewBootImageStringPatch() argument
1627 &dex_file, string_index.index_, info_high, &boot_image_string_patches_); in NewBootImageStringPatch()
1632 dex::StringIndex string_index, in NewStringBssEntryPatch() argument
1634 return NewPcRelativePatch(&dex_file, string_index.index_, info_high, &string_bss_entry_patches_); in NewStringBssEntryPatch()
1722 dex::StringIndex string_index, in DeduplicateJitStringLiteral() argument
1724 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in DeduplicateJitStringLiteral()
1726 StringReference(&dex_file, string_index), in DeduplicateJitStringLiteral()
Dcode_generator_arm_vixl.cc571 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
578 __ Mov(calling_convention.GetRegisterAt(0), string_index.index_); in EmitNativeCode()
8855 const DexFile& dex_file, dex::StringIndex string_index) { in NewBootImageStringPatch() argument
8856 return NewPcRelativePatch(&dex_file, string_index.index_, &boot_image_string_patches_); in NewBootImageStringPatch()
8860 const DexFile& dex_file, dex::StringIndex string_index) { in NewStringBssEntryPatch() argument
8861 return NewPcRelativePatch(&dex_file, string_index.index_, &string_bss_entry_patches_); in NewStringBssEntryPatch()
8892 dex::StringIndex string_index, in DeduplicateJitStringLiteral() argument
8894 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in DeduplicateJitStringLiteral()
8896 StringReference(&dex_file, string_index), in DeduplicateJitStringLiteral()
Dcode_generator_mips.cc302 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
308 __ LoadConst32(calling_convention.GetRegisterAt(0), string_index.index_); in EmitNativeCode()
1697 dex::StringIndex string_index, in NewBootImageStringPatch() argument
1700 &dex_file, string_index.index_, info_high, &boot_image_string_patches_); in NewBootImageStringPatch()
1705 dex::StringIndex string_index, in NewStringBssEntryPatch() argument
1707 return NewPcRelativePatch(&dex_file, string_index.index_, info_high, &string_bss_entry_patches_); in NewStringBssEntryPatch()
1807 dex::StringIndex string_index, in NewJitRootStringPatch() argument
1809 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in NewJitRootStringPatch()
1810 jit_string_patches_.emplace_back(dex_file, string_index.index_); in NewJitRootStringPatch()
Dcode_generator_x86_64.cc315 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
317 __ movl(CpuRegister(RAX), Immediate(string_index.index_)); in EmitNativeCode()
6090 dex::StringIndex string_index, in NewJitRootStringPatch() argument
6092 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in NewJitRootStringPatch()
6094 jit_string_patches_.emplace_back(&dex_file, string_index.index_); in NewJitRootStringPatch()
Dcode_generator_x86.cc249 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
250 __ movl(calling_convention.GetRegisterAt(0), Immediate(string_index.index_)); in EmitNativeCode()
6768 dex::StringIndex string_index, in NewJitRootStringPatch() argument
6770 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in NewJitRootStringPatch()
6772 jit_string_patches_.emplace_back(&dex_file, string_index.index_); in NewJitRootStringPatch()
Dnodes.h6509 dex::StringIndex string_index, in HLoadString() argument
6517 string_index_(string_index), in HLoadString()
/art/tools/veridex/
Dhidden_api_finder.cc71 dex::StringIndex string_index(inst->VRegB_21c()); in CollectAccesses() local
72 std::string name = std::string(dex_file.StringDataByIdx(string_index)); in CollectAccesses()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc324 const dex::StringIndex string_index(inst->VRegB_21c()); in ProcessDexFile() local
325 unique_string_ids.insert(string_index.index_); in ProcessDexFile()
372 const dex::StringIndex string_index(inst->VRegB_31c()); in ProcessDexFile() local
373 unique_string_ids.insert(string_index.index_); in ProcessDexFile()
/art/runtime/
Dclass_loader_context.cc122 uint32_t string_index = shared_library_open_index + 1; in FindMatchingSharedLibraryCloseMarker() local
126 spec.find_first_of(kClassLoaderSharedLibraryClosingMark, string_index); in FindMatchingSharedLibraryCloseMarker()
128 spec.find_first_of(kClassLoaderSharedLibraryOpeningMark, string_index); in FindMatchingSharedLibraryCloseMarker()
139 string_index = shared_library_close + 1; in FindMatchingSharedLibraryCloseMarker()
144 string_index = shared_library_open + 1; in FindMatchingSharedLibraryCloseMarker()
Dclass_linker.cc1583 uint32_t string_index = sro_base[offset_index].second; in UpdateInternStrings() local
1585 mirror::StringDexCachePair source = dex_cache->GetStrings()[string_index].load(); in UpdateInternStrings()
1596 dex_cache->GetStrings()[string_index].store( in UpdateInternStrings()
1599 dex_cache->GetStrings()[string_index].store( in UpdateInternStrings()
1609 uint32_t string_index = sro_base[offset_index].second; in UpdateInternStrings() local
1620 preresolved_strings[string_index].Read(); in UpdateInternStrings()
1628 dex_cache->GetPreResolvedStrings()[string_index] = GcRoot<mirror::String>(it->second); in UpdateInternStrings()
/art/dexlayout/
Ddex_ir_builder.cc1165 const uint32_t string_index = static_cast<uint32_t>(ReadVarWidth(data, length, false)); in ReadEncodedValue() local
1166 item->SetStringId(header_->StringIds()[string_index]); in ReadEncodedValue()
1170 const uint32_t string_index = static_cast<uint32_t>(ReadVarWidth(data, length, false)); in ReadEncodedValue() local
1171 item->SetTypeId(header_->TypeIds()[string_index]); in ReadEncodedValue()
/art/dex2oat/driver/
Dcompiler_driver.cc726 dex::StringIndex string_index((inst->Opcode() == Instruction::CONST_STRING) in ResolveConstStrings() local
729 ObjPtr<mirror::String> string = class_linker->ResolveString(string_index, dex_cache); in ResolveConstStrings()
732 dex_cache->GetPreResolvedStrings()[string_index.index_] = in ResolveConstStrings()