/art/runtime/ |
D | method_helper-inl.h | 65 inline mirror::String* MethodHelper::ResolveString(uint32_t string_idx) { in ResolveString() argument 68 mirror::String* s = declaringClass->GetDexCacheStrings()->Get(string_idx); in ResolveString() 72 s = Runtime::Current()->GetClassLinker()->ResolveString(*method->GetDexFile(), string_idx, in ResolveString()
|
D | dex_instruction.cc | 165 uint32_t string_idx = VRegB_21c(); in DumpString() local 167 … PrintableString(file->StringDataByIdx(string_idx)).c_str(), string_idx); in DumpString() 285 uint32_t string_idx = VRegB_31c(); in DumpString() local 288 PrintableString(file->StringDataByIdx(string_idx)).c_str(), in DumpString() 289 string_idx); in DumpString() 291 os << StringPrintf("%s v%d, string@%d", opcode, VRegA_31c(), string_idx); in DumpString()
|
D | class_linker-inl.h | 59 inline mirror::String* ClassLinker::ResolveString(uint32_t string_idx, in ResolveString() argument 62 mirror::String* resolved_string = declaring_class->GetDexCacheStrings()->Get(string_idx); in ResolveString() 67 resolved_string = ResolveString(dex_file, string_idx, dex_cache); in ResolveString() 69 DCHECK_EQ(dex_cache->GetResolvedString(string_idx), resolved_string); in ResolveString()
|
D | method_helper.h | 117 mirror::String* ResolveString(uint32_t string_idx) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
D | intern_table.cc | 194 uint32_t string_idx = dex_file->GetIndexForStringId(*string_id); in LookupStringFromImage() local 195 mirror::String* image = dex_cache->GetResolvedString(string_idx); in LookupStringFromImage()
|
D | dex_file.cc | 590 const DexFile::TypeId* DexFile::FindTypeId(uint32_t string_idx) const { in FindTypeId() 596 if (string_idx > type_id.descriptor_idx_) { in FindTypeId() 598 } else if (string_idx < type_id.descriptor_idx_) { in FindTypeId()
|
D | class_linker.h | 139 mirror::String* ResolveString(uint32_t string_idx, mirror::ArtMethod* referrer) 144 mirror::String* ResolveString(const DexFile& dex_file, uint32_t string_idx,
|
D | dex_file.h | 539 const TypeId* FindTypeId(uint32_t string_idx) const;
|
D | class_linker.cc | 5617 mirror::String* ClassLinker::ResolveString(const DexFile& dex_file, uint32_t string_idx, in ResolveString() argument 5620 mirror::String* resolved = dex_cache->GetResolvedString(string_idx); in ResolveString() 5625 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length); in ResolveString() 5627 dex_cache->SetResolvedString(string_idx, string); in ResolveString()
|
/art/runtime/entrypoints/portable/ |
D | portable_dexcache_entrypoints.cc | 48 uint32_t string_idx) in art_portable_resolve_string_from_code() argument 50 return ResolveStringFromCode(referrer, string_idx); in art_portable_resolve_string_from_code()
|
/art/runtime/mirror/ |
D | dex_cache.h | 90 String* GetResolvedString(uint32_t string_idx) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetResolvedString() argument 91 return GetStrings()->Get(string_idx); in GetResolvedString() 94 void SetResolvedString(uint32_t string_idx, String* resolved) ALWAYS_INLINE in SetResolvedString() argument 97 GetStrings()->Set(string_idx, resolved); in SetResolvedString()
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 61 int32_t string_idx, in artResolveStringFromCode() argument 66 return ResolveStringFromCode(referrer, string_idx); in artResolveStringFromCode()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 227 static void PreloadDexCachesResolveString(Handle<mirror::DexCache> dex_cache, uint32_t string_idx, in PreloadDexCachesResolveString() argument 230 mirror::String* string = dex_cache->GetResolvedString(string_idx); in PreloadDexCachesResolveString() 235 const char* utf8 = dex_file->StringDataByIdx(string_idx); in PreloadDexCachesResolveString() 241 dex_cache->SetResolvedString(string_idx, string); in PreloadDexCachesResolveString()
|
/art/compiler/driver/ |
D | compiler_driver.h | 201 bool CanAssumeStringIsPresentInDexCache(const DexFile& dex_file, uint32_t string_idx) 220 bool CanEmbedStringInCode(const DexFile& dex_file, uint32_t string_idx, 371 uint32_t string_idx, 616 uint32_t string_idx, in StringPatchInformation() argument 619 string_idx_(string_idx) { in StringPatchInformation()
|
D | compiler_driver.cc | 849 uint32_t string_idx) { in CanAssumeStringIsPresentInDexCache() argument 859 Runtime::Current()->GetClassLinker()->ResolveString(dex_file, string_idx, dex_cache); in CanAssumeStringIsPresentInDexCache() 996 bool CompilerDriver::CanEmbedStringInCode(const DexFile& dex_file, uint32_t string_idx, in CanEmbedStringInCode() argument 1004 mirror::String* resolved_string = dex_cache->GetResolvedString(string_idx); in CanEmbedStringInCode() 1436 uint32_t string_idx, in AddStringPatch() argument 1442 string_idx, in AddStringPatch()
|
/art/compiler/dex/quick/ |
D | codegen_util.cc | 515 uint32_t string_idx = data_lir->operands[0]; in InstallLiteralPools() local 519 string_idx, in InstallLiteralPools() 521 const auto& target_string_id = cu_->dex_file->GetStringId(string_idx); in InstallLiteralPools() 1270 void Mir2Lir::LoadString(uint32_t string_idx, RegStorage target_reg) { in LoadString() argument 1272 LIR* data_target = ScanLiteralPool(string_literal_list_, string_idx, 0); in LoadString() 1274 data_target = AddWordData(&string_literal_list_, string_idx); in LoadString()
|
D | gen_common.cc | 882 void Mir2Lir::GenConstString(uint32_t string_idx, RegLocation rl_dest) { in GenConstString() argument 885 mirror::ObjectArray<mirror::String>::OffsetOfElement(string_idx).Int32Value(); in GenConstString() 887 *cu_->dex_file, string_idx) || SLOW_STRING_PATH) { in GenConstString() 919 SlowPath(Mir2Lir* m2l, LIR* fromfast, LIR* cont, RegStorage r_method, int32_t string_idx) : in GenConstString() argument 921 r_method_(r_method), string_idx_(string_idx) { in GenConstString() 935 AddSlowPath(new (arena_) SlowPath(this, fromfast, cont, r_method, string_idx)); in GenConstString() 947 embed_string = cu_->compiler_driver->CanEmbedStringInCode(*cu_->dex_file, string_idx, in GenConstString() 953 LoadString(string_idx, rl_result.reg); in GenConstString()
|
D | mir_to_lir.h | 863 void GenConstString(uint32_t string_idx, RegLocation rl_dest); 1123 virtual void LoadString(uint32_t string_idx, RegStorage target_reg);
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 187 static inline String* ResolveString(Thread* self, MethodHelper& mh, uint32_t string_idx) in ResolveString() argument 200 return mh.ResolveString(string_idx); in ResolveString()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.h | 167 uint32_t string_idx)
|
D | entrypoint_utils-inl.h | 612 uint32_t string_idx) { in ResolveStringFromCode() argument 614 return class_linker->ResolveString(string_idx, referrer); in ResolveStringFromCode()
|
/art/compiler/llvm/ |
D | gbc_expander.cc | 207 llvm::Value* EmitLoadDexCacheStringFieldAddr(uint32_t string_idx); 740 EmitLoadDexCacheStringFieldAddr(uint32_t string_idx) { in EmitLoadDexCacheStringFieldAddr() argument 744 llvm::Value* string_idx_value = irb_.getPtrEquivInt(string_idx); in EmitLoadDexCacheStringFieldAddr() 1006 uint32_t string_idx = in Expand_LoadStringFromDexCache() local 1009 llvm::Value* string_field_addr = EmitLoadDexCacheStringFieldAddr(string_idx); in Expand_LoadStringFromDexCache() 2054 uint32_t string_idx = LV2UInt(call_inst.getArgOperand(0)); in Expand_ConstString() local 2056 llvm::Value* string_field_addr = EmitLoadDexCacheStringFieldAddr(string_idx); in Expand_ConstString() 2061 string_idx)) { in Expand_ConstString() 2087 llvm::Value* string_idx_value = irb_.getInt32(string_idx); in Expand_ConstString()
|
D | intrinsic_func_list.def | 162 // JavaObject* art_portable_const_string(uint32_t string_idx) 169 // JavaObject* art_portable_load_string_from_dex_cache(Method* method, uint32_t string_idx) 176 // JavaObject* art_portable_resolve_string(Method* method, uint32_t string_idx)
|
/art/compiler/ |
D | image_writer.cc | 622 uint32_t string_idx = dex_file.GetIndexForStringId(*string_id); in ComputeEagerResolvedStringsCallback() local 623 if (dex_cache->GetResolvedString(string_idx) == NULL) { in ComputeEagerResolvedStringsCallback() 624 dex_cache->SetResolvedString(string_idx, string); in ComputeEagerResolvedStringsCallback()
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 869 @ artResolveStringFromCode(Method* referrer, uint32_t string_idx, Thread*, SP)
|