/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
D | aot_file_info.h | 116 FuncEntryDes des; variable 117 if (memset_s(&des, sizeof(des), 0, sizeof(des)) != EOK) { 121 des.kind_ = kind; 122 des.isMainFunc_ = isMainFunc; 123 des.isFastCall_ = isFastCall; 124 des.indexInKindOrMethodId_ = static_cast<uint32_t>(indexInKind); 125 des.codeAddr_ = offset; 126 des.moduleIndex_ = moduleIndex; 127 des.fpDeltaPrevFrameSp_ = delta; 128 des.funcSize_ = size; [all …]
|
D | elf_reader.cpp | 48 void ElfReader::ParseELFSections(ModuleSectionDes &des, std::vector<ElfSecName> &secs) in ParseELFSections() argument 79 des.SetArkStackMapPtr(reinterpret_cast<uint8_t *>(secAddr)); in ParseELFSections() 80 des.SetArkStackMapSize(secSize); in ParseELFSections() 82 des.SetSecAddrAndSize(sec, secAddr, secSize); in ParseELFSections() 87 void ElfReader::ParseELFSections(std::vector<ModuleSectionDes> &des, std::vector<ElfSecName> &secs) in ParseELFSections() argument 98 des.resize(moduleNum); in ParseELFSections() 122 SeparateTextSections(des, secAddr, secOffset, moduledr.sh_offset); in ParseELFSections() 128 SeparateArkStackMapSections(des, secAddr, secOffset, moduledr.sh_offset); in ParseELFSections() 139 des[0].SetSecAddrAndSize(sec, secAddr, secSize); in ParseELFSections() 151 std::vector<ModuleSectionDes> &des, in ParseELFSections() argument [all …]
|
D | stub_file_info.cpp | 38 ModuleSectionDes &des = des_[0]; in Save() local 42 des.SetSecAddrAndSize(ElfSecName::ARK_FUNCENTRY, funcEntryAddr, funcEntrySize); in Save() 45 des.SetSecAddrAndSize(ElfSecName::ARK_ASMSTUB, asmStubAddr, asmStubSize); in Save() 48 des.SetSecAddrAndSize(ElfSecName::ARK_MODULEINFO, secSizeInfoAddr, sizeof(uint32_t)); in Save() 87 ModuleSectionDes &des = des_[0]; in MmapLoad() local 88 uint64_t funcEntryAddr = des.GetSecAddr(ElfSecName::ARK_FUNCENTRY); in MmapLoad() 89 uint32_t funcEntrySize = des.GetSecSize(ElfSecName::ARK_FUNCENTRY); in MmapLoad() 93 uint64_t asmStubAddr = des.GetSecAddr(ElfSecName::ARK_ASMSTUB); in MmapLoad() 94 uint32_t asmStubSize = des.GetSecSize(ElfSecName::ARK_ASMSTUB); in MmapLoad() 128 ModuleSectionDes &des = des_[0]; in Load() local [all …]
|
D | an_file_info.cpp | 68 ModuleSectionDes &des = des_[0]; in Load() local 76 reader.ParseELFSections(des, secs); in Load() 81 ParseFunctionEntrySection(des); in Load() 100 void AnFileInfo::ParseFunctionEntrySection(ModuleSectionDes &des) in ParseFunctionEntrySection() argument 102 uint64_t secAddr = des.GetSecAddr(ElfSecName::ARK_FUNCENTRY); in ParseFunctionEntrySection() 103 uint32_t secSize = des.GetSecSize(ElfSecName::ARK_FUNCENTRY); in ParseFunctionEntrySection() 107 des.SetStartIndex(0); in ParseFunctionEntrySection() 108 des.SetFuncCount(entryNum_); in ParseFunctionEntrySection() 113 ModuleSectionDes &des = des_[0]; in UpdateFuncEntries() local 117 funcDes.codeAddr_ += des.GetSecAddr(ElfSecName::TEXT); in UpdateFuncEntries() [all …]
|
D | elf_reader.h | 34 void ParseELFSections(ModuleSectionDes &des, std::vector<ElfSecName> &secs); 35 void ParseELFSections(std::vector<ModuleSectionDes> &des, std::vector<ElfSecName> &secs); 36 void ParseELFSections(BinaryBufferParser &parser, std::vector<ModuleSectionDes> &des, 40 void SeparateTextSections(std::vector<ModuleSectionDes> &des, const uintptr_t &secAddr, 42 void SeparateArkStackMapSections(std::vector<ModuleSectionDes> &des, const uintptr_t &secAddr, 44 void SeparateTextSections(BinaryBufferParser &parser, std::vector<ModuleSectionDes> &des, 46 void SeparateArkStackMapSections(BinaryBufferParser &parser, std::vector<ModuleSectionDes> &des,
|
D | aot_file_manager.cpp | 280 auto des = stubs[i]; in InitializeStubEntries() local 281 if (des.IsCommonStub()) { in InitializeStubEntries() 282 thread->SetFastStubEntry(des.indexInKindOrMethodId_, des.codeAddr_); in InitializeStubEntries() 283 } else if (des.IsBCStub()) { in InitializeStubEntries() 284 thread->SetBCStubEntry(des.indexInKindOrMethodId_, des.codeAddr_); in InitializeStubEntries() 287 … std::string format = MessageString::GetMessageString(des.indexInKindOrMethodId_ + start); in InitializeStubEntries() 288 …LOG_ECMA(DEBUG) << "bytecode index: " << des.indexInKindOrMethodId_ << " :" << format << " addr: 0… in InitializeStubEntries() 289 << std::hex << des.codeAddr_; in InitializeStubEntries() 291 } else if (des.IsBuiltinsStub()) { in InitializeStubEntries() 292 thread->SetBuiltinStubEntry(des.indexInKindOrMethodId_, des.codeAddr_); in InitializeStubEntries() [all …]
|
D | aot_file_info.cpp | 35 const auto &des = GetCodeUnits(); in CalCallSiteInfo() local 41 size_t len = des.size(); in CalCallSiteInfo() 43 auto d = des[i]; in CalCallSiteInfo()
|
D | an_file_data_manager.cpp | 180 const std::vector<ModuleSectionDes> &des = loadedStub_->GetCodeUnits(); in SafeInsideStub() local 181 for (const auto &curDes : des) { in SafeInsideStub() 194 const std::vector<ModuleSectionDes> &des = info->GetCodeUnits(); in SafeInsideAOT() local 195 for (const auto &curDes : des) { in SafeInsideAOT()
|
D | elf_builder.cpp | 72 ElfBuilder::ElfBuilder(const std::vector<ModuleSectionDes> &des, in ElfBuilder() argument 73 const std::vector<ElfSecName> §ions): des_(des), sections_(sections) in ElfBuilder() 325 ModuleSectionDes &des = des_[i]; in MergeTextSections() local 327 uint32_t curSecSize = des.GetSecSize(ElfSecName::TEXT); in MergeTextSections() 328 uint64_t curSecAddr = des.GetSecAddr(ElfSecName::TEXT); in MergeTextSections() 331 auto curModuleSec = des.GetSectionsInfo(); in MergeTextSections() 335 std::tie(rodataAddr, rodataSize) = des.GetMergedRODataAddrAndSize(); in MergeTextSections() 363 ModuleSectionDes &des = des_[i]; in MergeArkStackMapSections() local 365 uint32_t curSecSize = des.GetSecSize(ElfSecName::ARK_STACKMAP); in MergeArkStackMapSections() 366 uint64_t curSecAddr = des.GetSecAddr(ElfSecName::ARK_STACKMAP); in MergeArkStackMapSections() [all …]
|
D | elf_builder.h | 33 ElfBuilder(const std::vector<ModuleSectionDes> &des, const std::vector<ElfSecName> §ions);
|
/arkcompiler/ets_runtime/ecmascript/ |
D | symbol_table.h | 95 JSTaggedValue des = symbol->GetDescription(); in FindSymbol() local 96 if (!des.IsUndefined()) { in FindSymbol() 97 if (ContainsKey(des)) { in FindSymbol() 98 return des; in FindSymbol()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | file_generators.cpp | 25 void Module::CollectStackMapDes(ModuleSectionDes& des) const in CollectStackMapDes() 27 uint32_t stackmapSize = des.GetSecSize(ElfSecName::LLVM_STACKMAP); in CollectStackMapDes() 29 uint64_t addr = des.GetSecAddr(ElfSecName::LLVM_STACKMAP); in CollectStackMapDes() 33 uint64_t textAddr = des.GetSecAddr(ElfSecName::TEXT); in CollectStackMapDes() 42 des.EraseSec(ElfSecName::LLVM_STACKMAP); in CollectStackMapDes() 43 des.SetArkStackMapPtr(ptr); in CollectStackMapDes() 44 des.SetArkStackMapSize(size); in CollectStackMapDes() 47 void Module::CollectAnStackMapDes(ModuleSectionDes& des, uint64_t textOffset, in CollectAnStackMapDes() argument 51 uint32_t stackmapSize = des.GetSecSize(ElfSecName::LLVM_STACKMAP); in CollectAnStackMapDes() 53 uint64_t addr = des.GetSecAddr(ElfSecName::LLVM_STACKMAP); in CollectAnStackMapDes() [all …]
|
D | file_generators.h | 54 void CollectAnStackMapDes(ModuleSectionDes& des, uint64_t textOffset, 150 void CollectStackMapDes(ModuleSectionDes& des);
|
/arkcompiler/toolchain/test/fuzztest/pttypesremoteobjectdescription_fuzzer/ |
D | pttypesremoteobjectdescription_fuzzer.cpp | 35 std::string des = obj.GetDescription(); in PtTypesRemoteObjectDescriptionFuzzTest() local
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_namespace.cpp | 56 PropertyDescriptor des(thread, moduleString, false, false, false); in ModuleNamespaceCreate() local 58 JSObject::DefineOwnProperty(thread, mNpObj, toStringTag, des); in ModuleNamespaceCreate()
|
/arkcompiler/toolchain/build/third_party_gn/openssl/ |
D | BUILD.gn | 948 "//third_party/openssl/crypto/des/cbc_cksm.c", 949 "//third_party/openssl/crypto/des/cbc_enc.c", 950 "//third_party/openssl/crypto/des/cfb64ede.c", 951 "//third_party/openssl/crypto/des/cfb64enc.c", 952 "//third_party/openssl/crypto/des/cfb_enc.c", 953 "//third_party/openssl/crypto/des/des_enc.c", 954 "//third_party/openssl/crypto/des/ecb3_enc.c", 955 "//third_party/openssl/crypto/des/ecb_enc.c", 956 "//third_party/openssl/crypto/des/fcrypt.c", 957 "//third_party/openssl/crypto/des/fcrypt_b.c", [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.cpp | 3096 PropertyDescriptor des(thread_, value, false, false, false); in SetNoneAttributeProperty() local 3097 JSObject::DefineOwnProperty(thread_, obj, keyString, des); in SetNoneAttributeProperty()
|