Home
last modified time | relevance | path

Searched refs:sec (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dfile_generators.h53 bool IsRelaSection(ElfSecName sec) const in IsRelaSection()
55 return sec == ElfSecName::RELATEXT; in IsRelaSection()
68 uint32_t GetSectionSize(ElfSecName sec) const;
70 uintptr_t GetSectionAddr(ElfSecName sec) const;
115 uint64_t &addrAfterText, uint32_t &sizeAfterText, ElfSecName sec) const in UpdateRODataInfo()
117 uint64_t curSectionAddr = GetSectionAddr(sec); in UpdateRODataInfo()
119 ASSERT(GetSectionSize(sec) == 0); in UpdateRODataInfo()
125 sizeBeforeText += GetSectionSize(sec); in UpdateRODataInfo()
128 sizeAfterText += GetSectionSize(sec); in UpdateRODataInfo()
H A Dcode_generator.h115 uint8_t *GetSectionAddr(ElfSecName sec) const;
117 size_t GetSectionSize(ElfSecName sec) const;
149 uintptr_t GetSectionAddr(ElfSecName sec) const in GetSectionAddr()
151 return reinterpret_cast<uintptr_t>(codeInfo_.GetSectionAddr(sec)); in GetSectionAddr()
154 uint32_t GetSectionSize(ElfSecName sec) const in GetSectionSize()
156 return static_cast<uint32_t>(codeInfo_.GetSectionSize(sec)); in GetSectionSize()
H A Dfile_generators.cpp286 ElfSecName sec = curSec.GetElfEnumValue(); in CollectModuleSectionDes()
287 if (IsRelaSection(sec)) { in CollectModuleSectionDes()
288 moduleDes.EraseSec(sec); in CollectModuleSectionDes()
290 moduleDes.SetSecAddrAndSize(sec, reinterpret_cast<uint64_t>(secInfo.first), secInfo.second); in CollectModuleSectionDes()
304 ElfSecName sec = curSec.GetElfEnumValue(); in CollectAnModuleSectionDes()
306 moduleDes.SetSecAddrAndSize(sec, reinterpret_cast<uint64_t>(secInfo.first), secInfo.second); in CollectAnModuleSectionDes()
313 uint32_t Module::GetSectionSize(ElfSecName sec) const in GetSectionSize()
315 return assembler_->GetSectionSize(sec); in GetSectionSize()
318 uintptr_t Module::GetSectionAddr(ElfSecName sec) const in GetSectionAddr()
320 return assembler_->GetSectionAddr(sec); in GetSectionAddr()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Delf_reader.cpp57 ElfSecName sec = secs[j]; in ParseELFSections() local
58 std::string sectionName = ModuleSectionDes::GetSecName(sec); in ParseELFSections()
75 if (sec == ElfSecName::ARK_FUNCENTRY) { in ParseELFSections()
78 if (sec == ElfSecName::ARK_STACKMAP) { in ParseELFSections()
82 des.SetSecAddrAndSize(sec, secAddr, secSize); in ParseELFSections()
100 for (ElfSecName sec : secSet) { in ParseELFSections()
102 std::string sectionName = ModuleSectionDes::GetSecName(sec); in ParseELFSections()
119 switch (sec) { in ParseELFSections()
148 if (sec == ElfSecName::ARK_FUNCENTRY) { in ParseELFSections()
151 des[0].SetSecAddrAndSize(sec, secAdd in ParseELFSections()
[all...]
H A Dmodule_section_des.h41 uint64_t &addrAfterText, uint32_t &sizeAfterText, ElfSecName sec) const in UpdateRODataInfo()
43 if (sectionsInfo_.find(sec) == sectionsInfo_.end()) { in UpdateRODataInfo()
46 uint64_t curSectionAddr = GetSecAddr(sec); in UpdateRODataInfo()
51 sizeBeforeText += GetSecSize(sec); in UpdateRODataInfo()
54 sizeAfterText += GetSecSize(sec); in UpdateRODataInfo()
H A Dan_file_info.h38 auto sec = ElfSection(s.first); in AddModuleDes() local
39 if (sec.isSequentialAOTSec()) { in AddModuleDes()
H A Dstub_file_info.h32 auto sec = ElfSection(s.first); in AddModuleDes() local
33 if (sec.isSequentialAOTSec()) { in AddModuleDes()
H A Delf_builder.cpp172 for (ElfSecName sec : secSet) { in GetShIndex()
173 if (sec == section) { in GetShIndex()
249 // section header stub sec info index in PackELFHeader()
/arkcompiler/ets_runtime/ecmascript/
H A Ddate_parse.h413 // 59 : max sec in SecondIsValid()
429 static int NormMilliSecond(DateUnit sec) in NormMilliSecond() argument
431 uint32_t len = sec.GetLength(); in NormMilliSecond()
432 int value = sec.GetValue(); in NormMilliSecond()
H A Djs_date.h101 static double MakeTime(double hour, double min, double sec, double ms);
H A Djs_date.cpp138 double JSDate::MakeTime(double hour, double min, double sec, double ms)
140 if (std::isfinite(hour) && std::isfinite(min) && std::isfinite(sec) && std::isfinite(ms)) {
143 double secInteger = NumberHelper::TruncateDouble(sec);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_codegen.cpp311 uint8_t *CodeInfo::GetSectionAddr(ElfSecName sec) const in GetSectionAddr()
313 auto curSection = ElfSection(sec); in GetSectionAddr()
318 size_t CodeInfo::GetSectionSize(ElfSecName sec) const in GetSectionSize()
320 auto curSection = ElfSection(sec); in GetSectionSize()

Completed in 11 milliseconds