Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dsharpening.cc319 dex::StringIndex string_index = load_string->GetStringIndex(); in ProcessLoadString() local
346 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString()
348 string = class_linker->ResolveString(string_index, dex_cache); in ProcessLoadString()
367 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString()
387 string = class_linker->LookupString(string_index, dex_cache.Get()); in ProcessLoadString()
Dcode_generator_arm64.h747 dex::StringIndex string_index,
755 dex::StringIndex string_index,
767 dex::StringIndex string_index,
770 dex::TypeIndex string_index,
Dcode_generator_arm_vixl.h619 dex::StringIndex string_index);
621 dex::StringIndex string_index);
632 dex::StringIndex string_index,
Dinstruction_builder.h216 void BuildLoadString(dex::StringIndex string_index, uint32_t dex_pc);
Dcode_generator_arm64.cc377 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
378 __ Mov(calling_convention.GetRegisterAt(0).W(), string_index.index_); in EmitNativeCode()
4677 dex::StringIndex string_index, in NewBootImageStringPatch() argument
4680 &dex_file, string_index.index_, adrp_label, &boot_image_string_patches_); in NewBootImageStringPatch()
4685 dex::StringIndex string_index, in NewStringBssEntryPatch() argument
4687 return NewPcRelativePatch(&dex_file, string_index.index_, adrp_label, &string_bss_entry_patches_); in NewStringBssEntryPatch()
4733 const DexFile& dex_file, dex::StringIndex string_index, Handle<mirror::String> handle) { in DeduplicateJitStringLiteral() argument
4734 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in DeduplicateJitStringLiteral()
4736 StringReference(&dex_file, string_index), in DeduplicateJitStringLiteral()
5261 const dex::StringIndex string_index = load->GetStringIndex(); in VisitLoadString() local
[all …]
Dinstruction_builder.cc2227 void HInstructionBuilder::BuildLoadString(dex::StringIndex string_index, uint32_t dex_pc) { in BuildLoadString() argument
2229 new (allocator_) HLoadString(graph_->GetCurrentMethod(), string_index, *dex_file_, dex_pc); in BuildLoadString()
3318 dex::StringIndex string_index(instruction.VRegB_21c()); in ProcessDexInstruction() local
3319 BuildLoadString(string_index, dex_pc); in ProcessDexInstruction()
3325 dex::StringIndex string_index(instruction.VRegB_31c()); in ProcessDexInstruction() local
3326 BuildLoadString(string_index, dex_pc); in ProcessDexInstruction()
Dcode_generator_x86.h477 dex::StringIndex string_index,
Dcode_generator_x86_64.h469 dex::StringIndex string_index,
Dcode_generator_arm_vixl.cc573 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
580 __ Mov(calling_convention.GetRegisterAt(0), string_index.index_); in EmitNativeCode()
9258 const DexFile& dex_file, dex::StringIndex string_index) { in NewBootImageStringPatch() argument
9259 return NewPcRelativePatch(&dex_file, string_index.index_, &boot_image_string_patches_); in NewBootImageStringPatch()
9263 const DexFile& dex_file, dex::StringIndex string_index) { in NewStringBssEntryPatch() argument
9264 return NewPcRelativePatch(&dex_file, string_index.index_, &string_bss_entry_patches_); in NewStringBssEntryPatch()
9306 dex::StringIndex string_index, in DeduplicateJitStringLiteral() argument
9308 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in DeduplicateJitStringLiteral()
9310 StringReference(&dex_file, string_index), in DeduplicateJitStringLiteral()
Dcode_generator_x86_64.cc318 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
320 __ movl(CpuRegister(RAX), Immediate(string_index.index_)); in EmitNativeCode()
6317 dex::StringIndex string_index, in NewJitRootStringPatch() argument
6319 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in NewJitRootStringPatch()
6321 jit_string_patches_.emplace_back(&dex_file, string_index.index_); in NewJitRootStringPatch()
Dcode_generator_x86.cc252 const dex::StringIndex string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local
253 __ movl(calling_convention.GetRegisterAt(0), Immediate(string_index.index_)); in EmitNativeCode()
7024 dex::StringIndex string_index, in NewJitRootStringPatch() argument
7026 ReserveJitStringRoot(StringReference(&dex_file, string_index), handle); in NewJitRootStringPatch()
7028 jit_string_patches_.emplace_back(&dex_file, string_index.index_); in NewJitRootStringPatch()
Dnodes.h6618 dex::StringIndex string_index, in HLoadString() argument
6626 string_index_(string_index), in HLoadString()
/art/tools/veridex/
Dhidden_api_finder.cc67 dex::StringIndex string_index(inst->VRegB_21c()); in CollectAccesses() local
68 const auto& 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.cc126 uint32_t string_index = shared_library_open_index + 1; in FindMatchingSharedLibraryCloseMarker() local
130 spec.find_first_of(kClassLoaderSharedLibraryClosingMark, string_index); in FindMatchingSharedLibraryCloseMarker()
132 spec.find_first_of(kClassLoaderSharedLibraryOpeningMark, string_index); in FindMatchingSharedLibraryCloseMarker()
143 string_index = shared_library_close + 1; in FindMatchingSharedLibraryCloseMarker()
148 string_index = shared_library_open + 1; in FindMatchingSharedLibraryCloseMarker()
Dclass_linker.cc1565 uint32_t string_index = sro_base[offset_index].second; in VisitInternedStringReferences() local
1574 preresolved_strings[string_index].Read(); in VisitInternedStringReferences()
1580 preresolved_strings[string_index] = GcRoot<mirror::String>(visited); in VisitInternedStringReferences()
/art/runtime/interpreter/mterp/
Dnterp.cc482 dex::StringIndex string_index( in NterpLoadObject() local
486 ObjPtr<mirror::String> str = class_linker->ResolveString(string_index, caller); in NterpLoadObject()
/art/dexlayout/
Ddex_ir_builder.cc1166 const uint32_t string_index = static_cast<uint32_t>(ReadVarWidth(data, length, false)); in ReadEncodedValue() local
1167 item->SetStringId(header_->StringIds()[string_index]); in ReadEncodedValue()
1171 const uint32_t string_index = static_cast<uint32_t>(ReadVarWidth(data, length, false)); in ReadEncodedValue() local
1172 item->SetTypeId(header_->TypeIds()[string_index]); in ReadEncodedValue()
/art/dex2oat/driver/
Dcompiler_driver.cc727 dex::StringIndex string_index((inst->Opcode() == Instruction::CONST_STRING) in ResolveConstStrings() local
730 ObjPtr<mirror::String> string = class_linker->ResolveString(string_index, dex_cache); in ResolveConstStrings()
733 dex_cache->GetPreResolvedStrings()[string_index.index_] = in ResolveConstStrings()