Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/ark/ts2abc/
DREADME_zh.md1 # ts2abc组件<a name="ZH-CN_TOPIC_0000001137330686"></a>
3 - [ts2abc组件<a name="ZH-CN_TOPIC_0000001137330686"></a>](#ts2abc组件)
4 - [简介<a name="section11660541593"></a>](#简介)
5 - [目录<a name="section161941989596"></a>](#目录)
6 - [编译构建<a name="section0446154755015"></a>](#编译构建)
7 - [使用说明<a name="section33105542504"></a>](#使用说明)
8 - [相关仓<a name="section1371113476307"></a>](#相关仓)
10 ## 简介<a name="section11660541593"></a>
16 ## 目录<a name="section161941989596"></a>
32 ## 编译构建<a name="section0446154755015"></a>
[all …]
DREADME.md1 # ts2abc <a name="EN-US_TOPIC_0000001137330686"></a>
3 - [ts2abc <a name="EN-US_TOPIC_0000001137330686"></a>](#ts2abc-)
4 - [Introduction<a name="section11660541593"></a>](#introduction)
5 - [Directory Structure<a name="section161941989596"></a>](#directory-structure)
6 - [Build<a name="section0446154755015"></a>](#Build)
7 - [Usage Guidelines<a name="section33105542504"></a>](#usage-guidelines)
8 - [Repositories Involved<a name="section1371113476307"></a>](#repositories-involved)
10 ## Introduction<a name="section11660541593"></a>
12 ts2abc is a front-end tool in the ARK Runtime Subsystem. It converts JavaScript(JS) files into ARK …
16 ## Directory Structure<a name="section161941989596"></a>
[all …]
/ark/js_runtime/docs/
Dusing-the-toolchain-zh.md1 # 工具链使用<a name="ZH-CN_TOPIC_0000001128256014"></a>
23 <a name="table18706114344420"></a>
24 …29%" id="mcps1.1.6.1.1"><p id="p1970694310447"><a name="p1970694310447"></a><a name="p197069431044…
26 …29%" id="mcps1.1.6.1.2"><p id="p9548142314456"><a name="p9548142314456"></a><a name="p954814231445…
28 …4434%" id="mcps1.1.6.1.3"><p id="p170614318449"><a name="p170614318449"></a><a name="p170614318449…
30 …01%" id="mcps1.1.6.1.4"><p id="p1841257144811"><a name="p1841257144811"></a><a name="p184125714481…
32 …%" id="mcps1.1.6.1.5"><p id="p15894191313495"><a name="p15894191313495"></a><a name="p158941913134…
36 …eaders="mcps1.1.6.1.1 "><p id="p0706154312447"><a name="p0706154312447"></a><a name="p070615431244…
38 …eaders="mcps1.1.6.1.2 "><p id="p1654810236457"><a name="p1654810236457"></a><a name="p165481023645…
40 …ders="mcps1.1.6.1.3 "><p id="p12451427144913"><a name="p12451427144913"></a><a name="p124514271449…
[all …]
Dusing-the-toolchain.md1 # Using the Toolchain<a name="EN-US_TOPIC_0000001128256014"></a>
23 <a name="table18706114344420"></a>
24 …29%" id="mcps1.1.6.1.1"><p id="p1970694310447"><a name="p1970694310447"></a><a name="p197069431044…
26 …29%" id="mcps1.1.6.1.2"><p id="p9548142314456"><a name="p9548142314456"></a><a name="p954814231445…
28 …4434%" id="mcps1.1.6.1.3"><p id="p170614318449"><a name="p170614318449"></a><a name="p170614318449…
30 …01%" id="mcps1.1.6.1.4"><p id="p1841257144811"><a name="p1841257144811"></a><a name="p184125714481…
32 …%" id="mcps1.1.6.1.5"><p id="p15894191313495"><a name="p15894191313495"></a><a name="p158941913134…
36 …eaders="mcps1.1.6.1.1 "><p id="p0706154312447"><a name="p0706154312447"></a><a name="p070615431244…
38 …eaders="mcps1.1.6.1.2 "><p id="p1654810236457"><a name="p1654810236457"></a><a name="p165481023645…
40 …ders="mcps1.1.6.1.3 "><p id="p12451427144913"><a name="p12451427144913"></a><a name="p124514271449…
[all …]
Ddevelopment-example-zh.md1 # 开发实例<a name="ZH-CN_TOPIC_0000001128096218"></a>
3 - [开发实例<a name="ZH-CN_TOPIC_0000001128096218"></a>](#开发实例)
4 - [HelloWorld<a name="section105987593810"></a>](#helloworld)
8 - [运行Test262测试用例<a name="section118471435115815"></a>](#运行test262测试用例)
16 ## HelloWorld<a name="section105987593810"></a>
118 ## 运行Test262测试用例<a name="section118471435115815"></a>
148 <a name="table11141827153017"></a>
149 …th="50%" id="mcps1.1.3.1.1"><p id="p51552743010"><a name="p51552743010"></a><a name="p51552743010"…
151 …th="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name="p11592710304"></a><a name="p11592710304"…
155 … headers="mcps1.1.3.1.1 "><p id="p171592710306"><a name="p171592710306"></a><a name="p171592710306…
[all …]
Ddevelopment-example.md1 # Development Example<a name="EN-US_TOPIC_0000001128096218"></a>
8 ## HelloWorld<a name="section105987593810"></a>
108 ## Performing Test Case Test262<a name="section118471435115815"></a>
138 <a name="table11141827153017"></a>
139 …th="50%" id="mcps1.1.3.1.1"><p id="p51552743010"><a name="p51552743010"></a><a name="p51552743010"…
141 …th="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name="p11592710304"></a><a name="p11592710304"…
145 … headers="mcps1.1.3.1.1 "><p id="p171592710306"><a name="p171592710306"></a><a name="p171592710306…
147 …ders="mcps1.1.3.1.2 "><p id="p13151527133011"><a name="p13151527133011"></a><a name="p131515271330…
150 …eaders="mcps1.1.3.1.1 "><p id="p1615182712308"><a name="p1615182712308"></a><a name="p161518271230…
152 …eaders="mcps1.1.3.1.2 "><p id="p9556101593120"><a name="p9556101593120"></a><a name="p955610159312…
[all …]
Denvironment-setup-and-compilation-zh.md1 # 环境搭建和编译<a name="ZH-CN_TOPIC_0000001174215863"></a>
6 ## 环境配置<a name="section922419503415"></a>
12 ## 代码编译<a name="section1166711064317"></a>
/ark/runtime_core/
DREADME_zh.md1 # 方舟运行时公共组件<a name="ZH-CN_TOPIC_0000001138850082"></a>
3 - [方舟运行时公共组件<a name="ZH-CN_TOPIC_0000001138850082"></a>](#方舟运行时公共组件)
4 - [简介<a name="section11660541593"></a>](#简介)
5 - [目录<a name="section161941989596"></a>](#目录)
6 - [使用说明<a name="section1312121216216"></a>](#使用说明)
9 - [相关仓<a name="section1371113476307"></a>](#相关仓)
11 ## 简介<a name="section11660541593"></a>
17 ## 目录<a name="section161941989596"></a>
43 ## 使用说明<a name="section1312121216216"></a>
55 <a name="table11141827153017"></a>
[all …]
DREADME.md1 # Runtime Core<a name="EN-US_TOPIC_0000001138850082"></a>
3 - [Runtime Core<a name="EN-US_TOPIC_0000001138850082"></a>](#runtime-core)
4 - [Introduction<a name="section11660541593"></a>](#introduction)
5 - [Directory Structure<a name="section161941989596"></a>](#directory-structure)
6 - [Usage Guidelines<a name="section1312121216216"></a>](#usage-guidelines)
9 - [Repositories Involved<a name="section1371113476307"></a>](#repositories-involved)
11 ## Introduction<a name="section11660541593"></a>
13 As a common module of ARK runtime, Runtime Core consists of some basic language-irrelevant runtime …
17 ## Directory Structure<a name="section161941989596"></a>
21 … # Assembler that converts an ARK bytecode file (*.pa) in text format into a bytecode file (*.abc…
[all …]
/ark/js_runtime/test/moduletest/callframe/
Dcallframe.js17 function foo0(a) { argument
18 return a;
22 function foo1(a) { argument
23 this.a = a;
27 function foo2(a) { argument
29 return a;
34 function foo3(a) { argument
36 return a;
38 this.a = a;
42 function foo4(a, ...args) { argument
[all …]
/ark/runtime_core/assembler/
Dasm_metadata.rb94 … attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool }
98 attributes.each do |a|
99 body << "#{indent}if (attribute == \"#{attribute_name(a)}\") {"
101 unless a.multiple?
103 body << "#{indent * 3}return Error(\"Attribute '#{attribute_name(a)}' already defined\","
108 if a.enum?
109 a.values.each do |v|
116 …body << "#{indent * 2}return Error(std::string(\"Attribute '#{attribute_name(a)}' has incorrect va…
117 …body << "#{indent * 2} R\"('. Should be one of #{a.values.map(&:value)})\", Error::Typ…
118 elsif a.size?
[all …]
/ark/js_runtime/
DREADME_zh.md1 # 方舟JS运行时组件<a name="ZH-CN_TOPIC_0000001183610495"></a>
3 - [方舟JS运行时组件<a name="ZH-CN_TOPIC_0000001183610495"></a>](#方舟js运行时组件)
4 - [简介<a name="section190813718209"></a>](#简介)
5 - [目录<a name="section161941989596"></a>](#目录)
6 - [约束<a name="section119744591305"></a>](#约束)
7 - [编译构建<a name="section137768191623"></a>](#编译构建)
8 - [接口说明<a name="section175841548124517"></a>](#接口说明)
9 - [使用说明<a name="section129654513264"></a>](#使用说明)
10 - [相关仓<a name="section1371113476307"></a>](#相关仓)
12 ### 简介<a name="section190813718209"></a>
[all …]
DREADME.md1 # ARK JS Runtime Module<a name="EN-US_TOPIC_0000001183610495"></a>
3 - [ARK JS Runtime Module<a name="EN-US_TOPIC_0000001183610495"></a>](#ark-js-runtime-module)
4 - [Introduction<a name="section190813718209"></a>](#introduction)
5 - [Directory Structure<a name="section161941989596"></a>](#directory-structure)
6 - [Constraints<a name="section119744591305"></a>](#constraints)
7 - [Build<a name="section137768191623"></a>](#build)
8 - [Available APIs<a name="section175841548124517"></a>](#available-apis)
9 - [Usage Guidelines<a name="section129654513264"></a>](#usage-guidelines)
10 - [Repositories Involved<a name="section1371113476307"></a>](#repositories-involved)
12 ### Introduction<a name="section190813718209"></a>
[all …]
/ark/js_runtime/ecmascript/tooling/test/js/
DSample.js17 var a = 1;
18 a = 2;
19 a = 3;
20 a = 4;
21 a = 5;
22 a = 6;
23 a = 7;
24 a = 8;
25 a = 9;
26 a = 10;
/ark/runtime_core/libpandabase/utils/
Dmath_helpers.h110 T min(T a, T b) in min() argument
113 if (std::isnan(a)) { in min()
114 return a; in min()
116 if (!(a < 0.0) && !(a > 0.0) && !(b < 0.0) && !(b > 0.0) && std::signbit(b)) { in min()
119 return a <= b ? a : b; in min()
123 T max(T a, T b) in max() argument
126 if (std::isnan(a)) { in max()
127 return a; in max()
129 if (!(a < 0.0) && !(a > 0.0) && !(b < 0.0) && !(b > 0.0) && std::signbit(a)) { in max()
132 return a >= b ? a : b; in max()
/ark/runtime_core/libpandabase/tests/
Dserializer_test.cpp49 T a = value; in DoTest() local
52 SerializerTypeToBuffer(a, &buffer, ret_val); in DoTest()
55 ASSERT_EQ(a, value); in DoTest()
57 ASSERT_EQ(a, b); in DoTest()
69 uint8_t a; member
79 …return lhs.a == rhs.a && lhs.b == rhs.b && lhs.c == rhs.c && lhs.d == rhs.d && lhs.e == rhs.e && l… in operator ==()
158 uint8_t a; member
168 …return lhs.a == rhs.a && lhs.b == rhs.b && lhs.c == rhs.c && lhs.d == rhs.d && lhs.e == rhs.e && l… in operator ==()
176 TestStruct a = test_struct; in TEST_F() local
178 ASSERT_EQ(serializer::StructToBuffer<6>(a, buffer), true); in TEST_F()
[all …]
/ark/runtime_core/verification/util/tests/
Denvironment.cpp40 …static const auto NAME_HANDLER = [](auto a, Context &c, auto s, auto e, [[maybe_unused]] auto end)… in EnvOptions() argument
41 if (a == action::PARSED) { in EnvOptions()
53 static const auto BOOL_HANDLER = [](auto a, Context &c, auto s, [[maybe_unused]] auto to, in EnvOptions()
55 if (a == action::PARSED) { in EnvOptions()
67 …static const auto NUM_HANDLER = [](auto a, Context &c, auto s, auto e, [[maybe_unused]] auto end) { in EnvOptions() argument
68 if (a == action::PARSED) { in EnvOptions()
77 …static const auto STRING_HANDLER = [](auto a, Context &c, auto s, auto e, [[maybe_unused]] auto en… in EnvOptions() argument
78 if (a == action::PARSED) { in EnvOptions()
87 …static const auto KV_PAIR_HANDLER = [this](auto a, Context &c, [[maybe_unused]] auto f, [[maybe_un… in EnvOptions()
89 if (a == action::PARSED) { in EnvOptions()
/ark/runtime_core/docs/
Ddebugger-vscode-communication.md12 1. Server creates a TCP socket for communication with client.
13 2. Firstly server accepts a test client.
14 3. Secondly server accepts a real client and debug session begins.
17 1. Client runs a server other than waiting for a TCP socket.
18 2. It's critical for VSCode to have a debug server initialized at allocated time so we establish a
19 3. We create a test client every 100 milliseconds to check is socket ready for a debug session.
Druntime-compiled_code-interaction.md15 Panda runtime is a set of functions used to execute managed code. The runtime consists of several m…
18 The interpreter, as a part of runtime, executes bytecodes of managed functions and manages hotness
22 `panda::CompilerInterface::CompileMethodSync` for compilation. When a function is compiled, the com…
27 Compiled code of a managed function must accept one extra argument: the pointer to `panda::Method` …
31 Consider a function int max(int a, int b).
34 - a pointer to `panda::Method` in the register R0.
35 - `a` in the register R1
46 | pending_exception_ | panda::ObjectHeader* | A pointer to a thrown exception or 0 if there is n…
51 There is an allocated register for each target architecture to store a pointer to `panda::ManagedTh…
52 must contain a valid pointer to `panda::ManagedThread` on entry to each compiled function.
[all …]
/ark/ts2abc/testTs/
Dtest-case.patch185 .../typeOnly/importDefaultNamedType/a.ts | 2 +
602 create mode 100644 tests/cases/conformance/externalModules/typeOnly/importDefaultNamedType/a.ts
713 diff --git a/tests/cases/conformance/ambient/ambientDeclarations.ts b/tests/cases/conformance/ambie…
715 --- a/tests/cases/conformance/ambient/ambientDeclarations.ts
723 diff --git a/tests/cases/conformance/ambient/ambientDeclarationsPatterns/ambientDeclarationsPattern…
741 diff --git a/tests/cases/conformance/ambient/ambientDeclarationsPatterns/declarations.d.ts b/tests/…
765 diff --git a/tests/cases/conformance/ambient/ambientInsideNonAmbient.ts b/tests/cases/conformance/a…
767 --- a/tests/cases/conformance/ambient/ambientInsideNonAmbient.ts
784 diff --git a/tests/cases/conformance/ambient/ambientInsideNonAmbientExternalModule.ts b/tests/cases…
786 --- a/tests/cases/conformance/ambient/ambientInsideNonAmbientExternalModule.ts
[all …]
/ark/js_runtime/test/moduletest/multiargs/
Dmultiargs.js18 var a = ' 0\n'
22 print(a+b+c+d)
45 function five(x,y,z,t,a) argument
47 let s = x + 10*y+ 100*z + 1000*t + 10000*a
59 let a = 666 variable
61 four(x.toString(10),y.toString(10),z.toString(10),a.toString(10))
/ark/runtime_core/runtime/
Dintrinsics.cpp112 int32_t MinI32(int32_t a, int32_t b) in MinI32() argument
114 return std::min(a, b); in MinI32()
117 int64_t MinI64(int64_t a, int64_t b) in MinI64() argument
119 return std::min(a, b); in MinI64()
122 float MinF32(float a, float b) in MinF32() argument
124 return panda::helpers::math::min(a, b); in MinF32()
127 double MinF64(double a, double b) in MinF64() argument
129 return panda::helpers::math::min(a, b); in MinF64()
132 int32_t MaxI32(int32_t a, int32_t b) in MaxI32() argument
134 return std::max(a, b); in MaxI32()
[all …]
/ark/runtime_core/verification/debug/config/
Dconfig_parse.cpp53 static const auto NAME_HANDLER = [](auto a, Context &c, auto from, auto to) { in ParseConfig() argument
54 if (a == action::PARSED) { in ParseConfig()
64 static const auto LINE_HANDLER = [](auto a, Context &c, auto from, auto to) { in ParseConfig() argument
65 if (a == action::PARSED) { in ParseConfig()
77 static const auto SECTION_HANDLER = [](auto a, Context &c) { in ParseConfig() argument
78 if (a == action::START) { in ParseConfig()
82 if (a == action::CANCEL) { in ParseConfig()
86 if (a == action::PARSED) { in ParseConfig()
/ark/ts2abc/ts2panda/tests/strictmode/
Dfunction.js16 function add(a,b) { argument
19 return a + b + x;
22 function sub(a,b) { argument
24 return a + b - y;
/ark/runtime_core/verification/debug/options/
Dmsg_set_parser.h29 static const auto NAME_HANDLER = [](action a, Context &c, auto from, auto to) { in NameHandler()
30 if (a == action::PARSED) { in NameHandler()
46 static const auto NUM_HANDLER = [](action a, Context &c, auto from) { in NumHandler()
47 if (a == action::PARSED) { in NumHandler()
62 static const auto RANGE_HANDLER = [](action a, Context &c) { in RangeHandler()
63 if (a == action::PARSED) { in RangeHandler()
82 static const auto ITEM_HANDLER = [](action a, Context &c) { in ItemHandler()
83 if (a == action::START) { in ItemHandler()
86 if (a == action::PARSED) { in ItemHandler()

12345678910>>...28