Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/destructuredDeclarationEmit/
Dfoo.ts37 …r: [0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]] = [0, 1, 2, ['a', 'b', 'c', [{def: 'de…
40 AssertType(sec, "string");
41 …, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]], "[0, 1, 2, ["a", "b", "c", [{ def: "def"; …
45 AssertType(['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]], "["a", "b", "c", [{ def: "def"; }, { sec:…
49 AssertType([{def: 'def'}, {sec: 'sec'}], "[{ def: "def"; }, { sec: "sec"; }]");
53 AssertType({sec: 'sec'}, "{ sec: "sec"; }");
54 AssertType(sec, "string");
Dindex.ts38 const [ , one, , [, bee, , [, {sec} ]]] = arr; constant
46 AssertType(sec, "string");
47 AssertType(arr, "[0, 1, 2, ["a", "b", "c", [{ def: "def"; }, { sec: "sec"; }]]]");
49 export { one, bee, sec };
/arkcompiler/ets_runtime/ecmascript/compiler/
Dfile_generators.h41 bool IsRelaSection(ElfSecName sec) const in IsRelaSection() argument
43 … return sec == ElfSecName::RELATEXT || sec == ElfSecName::STRTAB || sec == ElfSecName::SYMTAB; in IsRelaSection()
58 uint32_t GetSectionSize(ElfSecName sec) const;
60 uintptr_t GetSectionAddr(ElfSecName sec) const;
97 void UpdateRODataInfo(uint64_t &addr, uint32_t &size, ElfSecName sec) const in UpdateRODataInfo() argument
99 uint64_t curSectionAddr = GetSectionAddr(sec); in UpdateRODataInfo()
101 size += GetSectionSize(sec); in UpdateRODataInfo()
Dllvm_codegen.h86 uint8_t *GetSectionAddr(ElfSecName sec) const;
88 size_t GetSectionSize(ElfSecName sec) const;
140 uintptr_t GetSectionAddr(ElfSecName sec) const in GetSectionAddr() argument
142 return reinterpret_cast<uintptr_t>(codeInfo_.GetSectionAddr(sec)); in GetSectionAddr()
145 uint32_t GetSectionSize(ElfSecName sec) const in GetSectionSize() argument
147 return static_cast<uint32_t>(codeInfo_.GetSectionSize(sec)); in GetSectionSize()
Dfile_generators.cpp168 ElfSecName sec = curSec.GetElfEnumValue(); in CollectModuleSectionDes() local
169 if (IsRelaSection(sec)) { in CollectModuleSectionDes()
170 moduleDes.EraseSec(sec); in CollectModuleSectionDes()
172 … moduleDes.SetSecAddrAndSize(sec, reinterpret_cast<uint64_t>(secInfo.first), secInfo.second); in CollectModuleSectionDes()
187 ElfSecName sec = curSec.GetElfEnumValue(); in CollectAnModuleSectionDes() local
189 moduleDes.SetSecAddrAndSize(sec, reinterpret_cast<uint64_t>(secInfo.first), secInfo.second); in CollectAnModuleSectionDes()
196 uint32_t Module::GetSectionSize(ElfSecName sec) const in GetSectionSize()
198 return assembler_->GetSectionSize(sec); in GetSectionSize()
201 uintptr_t Module::GetSectionAddr(ElfSecName sec) const in GetSectionAddr()
203 return assembler_->GetSectionAddr(sec); in GetSectionAddr()
Dllvm_codegen.cpp198 uint8_t *CodeInfo::GetSectionAddr(ElfSecName sec) const in GetSectionAddr()
200 auto curSection = ElfSection(sec); in GetSectionAddr()
205 size_t CodeInfo::GetSectionSize(ElfSecName sec) const in GetSectionSize()
207 auto curSection = ElfSection(sec); in GetSectionSize()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
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() local
102 std::string sectionName = ModuleSectionDes::GetSecName(sec); in ParseELFSections()
119 switch (sec) { in ParseELFSections()
136 if (sec == ElfSecName::ARK_FUNCENTRY) { in ParseELFSections()
139 des[0].SetSecAddrAndSize(sec, secAddr, secSize); in ParseELFSections()
[all …]
Dmodule_section_des.h38 void UpdateRODataInfo(uint64_t &addr, uint32_t &size, ElfSecName sec) const in UpdateRODataInfo() argument
40 if (sectionsInfo_.find(sec) == sectionsInfo_.end()) { in UpdateRODataInfo()
43 uint64_t curSectionAddr = GetSecAddr(sec); in UpdateRODataInfo()
45 size += GetSecSize(sec); in UpdateRODataInfo()
Dstub_file_info.h31 auto sec = ElfSection(s.first); in AddModuleDes() local
32 if (sec.isSequentialAOTSec()) { in AddModuleDes()
Dan_file_info.h31 auto sec = ElfSection(s.first); in AddModuleDes() local
32 if (sec.isSequentialAOTSec()) { in AddModuleDes()
Delf_builder.cpp142 for (ElfSecName sec : secSet) { in GetShIndex() local
143 if (sec == section) { in GetShIndex()
/arkcompiler/ets_runtime/ecmascript/
Ddate_parse.h423 static int NormMilliSecond(DateUnit sec) in NormMilliSecond() argument
425 uint32_t len = sec.GetLength(); in NormMilliSecond()
426 int value = sec.GetValue(); in NormMilliSecond()
Djs_date.h95 static double MakeTime(double hour, double min, double sec, double ms);
Djs_date.cpp133 double JSDate::MakeTime(double hour, double min, double sec, double ms) in MakeTime() argument
135 if (std::isfinite(hour) && std::isfinite(min) && std::isfinite(sec) && std::isfinite(ms)) { in MakeTime()
138 double secInteger = NumberHelper::TruncateDouble(sec); in MakeTime()
/arkcompiler/runtime_core/ldscripts/
Dpanda.ld49 .plt.sec : { *(.plt.sec) }
Dpanda_test_asan.ld170 .plt.sec : { *(.plt.sec) }
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dlib_ark_builtins.d.ts246 setHours(hours: number, min?: number, sec?: number, ms?: number): number;
250 setMinutes(min: number, sec?: number, ms?: number): number;
254 setSeconds(sec: number, ms?: number): number;
262 setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number;
266 setUTCMinutes(min: number, sec?: number, ms?: number): number;
270 setUTCSeconds(sec: number, ms?: number): number;