Home
last modified time | relevance | path

Searched refs:temp1 (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DarrayLiterals2ES5.ts132 let temp1 = [1, 2, 3];
133 AssertType(temp1, "number[]");
177 let d2: number[] = [...temp1];
179 AssertType([...temp1], "number[]");
180 AssertType(...temp1, "number");
181 AssertType(temp1, "number[]");
183 let d3: myArray = [...temp1];
185 AssertType([...temp1], "number[]");
186 AssertType(...temp1, "number");
187 AssertType(temp1, "number[]");
[all …]
DarrayLiterals2ES6.ts132 let temp1 = [1, 2, 3];
133 AssertType(temp1, "number[]");
166 let d2: number[] = [...temp1];
168 AssertType([...temp1], "number[]");
169 AssertType(...temp1, "number");
170 AssertType(temp1, "number[]");
172 let d3: myArray = [...temp1];
174 AssertType([...temp1], "number[]");
175 AssertType(...temp1, "number");
176 AssertType(temp1, "number[]");
[all …]
DdestructuringVariableDeclaration1ES6.ts136 let temp1 = [true, false, true] variable
137 AssertType(temp1, "boolean[]");
143 let [d3, d4] = [1, "string", ...temp1];
146 AssertType([1, "string", ...temp1], "[number, string, ...boolean[]]");
149 AssertType(...temp1, "boolean");
150 AssertType(temp1, "boolean[]");
DdestructuringVariableDeclaration1ES5iterable.ts136 let temp1 = [true, false, true] variable
137 AssertType(temp1, "boolean[]");
143 let [d3, d4] = [1, "string", ...temp1];
146 AssertType([1, "string", ...temp1], "[number, string, ...boolean[]]");
149 AssertType(...temp1, "boolean");
150 AssertType(temp1, "boolean[]");
DdestructuringVariableDeclaration1ES5.ts136 let temp1 = [true, false, true] variable
137 AssertType(temp1, "boolean[]");
143 let [d3, d4] = [1, "string", ...temp1];
146 AssertType([1, "string", ...temp1], "[number, string, ...boolean[]]");
149 AssertType(...temp1, "boolean");
150 AssertType(temp1, "boolean[]");
/arkcompiler/ets_frontend/ts2panda/tests/expression/
Darguments.test.ts40 let temp1 = new VReg(); variable
45 new Sta(temp1),
46 new Lda(temp1),
61 let temp1 = new VReg(); variable
66 new Sta(temp1),
67 new Lda(temp1),
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/
Dcommon_call.cpp108 Register temp1 = op1; in StackOverflowCheck() local
115 __ Movq(Operand(glue, JSThread::GlueData::GetStackLimitOffset(false)), temp1); in StackOverflowCheck()
117 __ Subq(temp1, temp2); in StackOverflowCheck()
118 __ Movl(numArgs, temp1); in StackOverflowCheck()
119 __ Shlq(3, temp1); // 3: each arg occupies 8 bytes in StackOverflowCheck()
120 __ Cmpq(temp1, temp2); in StackOverflowCheck()
/arkcompiler/ets_runtime/test/moduletest/regexp/
Dregexp.js264 let temp1 = false variable
279 temp1 = true
282 print(temp1)
/arkcompiler/toolchain/tooling/test/
Dpt_json_test.cpp200 cJSON temp1; in HWTEST_F_L0() local
201 temp1.string = nullptr; in HWTEST_F_L0()
202 PtJson ptJson2(&temp1); in HWTEST_F_L0()