| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_operations/ |
| H A D | module.js | 17 function evaluateNumber(v0, v1) { 18 return v0 + v1; 26 return new ExampleClass(obj.v0 + obj.v1, obj.v0 + obj.v1); 38 constructor(v0, v1) { 40 this.v1 = v1; 57 return this.v0 + this.v1; 61 return new ExampleClass(obj.v0 + this.v1, this.v0 + obj.v1); [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/number_subtypes/ |
| H A D | module.js | 17 function evaluateNumber(v0, v1) { 18 return v0 + v1; 26 return new ExampleClass(obj.v0 + obj.v1, obj.v0 + obj.v1); 38 constructor(v0, v1) { 40 this.v1 = v1; 57 return this.v0 + this.v1; 61 return new ExampleClass(obj.v0 + this.v1, this.v0 + obj.v1); [all...] |
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| H A D | utf_test.cpp | 235 const std::vector<uint8_t> v1 {0x00U}; in TEST() 237 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) < 0L); in TEST() 241 const std::vector<uint8_t> v1 {0x02U, 0x00U}; in TEST() 243 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) > 0L); in TEST() 247 const std::vector<uint8_t> v1 {0x7fU, 0x00U}; in TEST() 249 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) == 0U); in TEST() 253 const std::vector<uint8_t> v1 {0x01U, 0x7fU, 0x00U}; in TEST() 255 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) > 0L); in TEST() 259 const std::vector<uint8_t> v1 {0x01U, 0x71U, 0x00U}; in TEST() 261 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1 in TEST() [all...] |
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| H A D | math_helpers_test.cpp | 167 T v1 = 1.0; in TestFcmpl() local 169 EXPECT_EQ(fcmpl<T>()(v1, v2), -1); in TestFcmpl() 173 T v1 = GetNaN<T>(); in TestFcmpl() local 175 EXPECT_EQ(fcmpl<T>()(v1, v2), -1); in TestFcmpl() 179 T v1 = GetNaN<T>(); in TestFcmpl() local 181 EXPECT_EQ(fcmpl<T>()(v1, v2), -1); in TestFcmpl() 185 T v1 = 1.0; in TestFcmpl() local 188 EXPECT_EQ(fcmpl<T>()(v1, v2), -1); in TestFcmpl() 192 T v1 = 1.0; in TestFcmpl() local 193 T v2 = v1; in TestFcmpl() 199 T v1 = 2.0; TestFcmpl() local 213 T v1 = 1.0; TestFcmpg() local 219 T v1 = GetNaN<T>(); TestFcmpg() local 225 T v1 = GetNaN<T>(); TestFcmpg() local 231 T v1 = 1.0; TestFcmpg() local 238 T v1 = 1.0; TestFcmpg() local 245 T v1 = 2.0; TestFcmpg() local [all...] |
| /arkcompiler/runtime_core/libpandabase/tests/ |
| H A D | utf_test.cpp | 331 const std::vector<uint8_t> v1 {0x00}; in HWTEST() 333 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) < 0); in HWTEST() 337 const std::vector<uint8_t> v1 {0x02, 0x00}; in HWTEST() 339 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) > 0); in HWTEST() 343 const std::vector<uint8_t> v1 {0x7f, 0x00}; in HWTEST() 345 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) == 0); in HWTEST() 349 const std::vector<uint8_t> v1 {0x01, 0x7f, 0x00}; in HWTEST() 351 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) > 0); in HWTEST() 355 const std::vector<uint8_t> v1 {0x01, 0x71, 0x00}; in HWTEST() 357 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1 in HWTEST() [all...] |
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
| H A D | mpl_int_val.h | 487 inline bool operator==(const IntVal &v1, int64 v2) 489 return v1.GetExtValue() == v2; 492 inline bool operator==(int64 v1, const IntVal &v2) 494 return v2 == v1; 497 inline bool operator!=(const IntVal &v1, int64 v2) 499 return !(v1 == v2); 502 inline bool operator!=(int64 v1, const IntVal &v2) 504 return !(v2 == v1); 540 inline IntVal operator+(const IntVal &v1, uint64 v2) 542 return v1 [all...] |
| /arkcompiler/ets_runtime/test/moduletest/objoperate/ |
| H A D | objoperate.js | 52 var v1 = new Int32Array(b);
56 print(v1[str2]);
57 v1[str2] = 5;
58 print(v1[str2]);
63 obj1.__proto__ = v1;
69 v1[4] = 123;
70 v1[5] = 23;
|
| /arkcompiler/runtime_core/static_core/verification/value/tests/ |
| H A D | variables_test.cpp | 27 auto v1 = vars.NewVar(); in TEST_F() local 30 EXPECT_TRUE(v1 != v2); in TEST_F() 36 EXPECT_TRUE(v3 != v2 && v3 != v1 && v3 != v4); in TEST_F() 48 ForEach(vars.AllVariables(), [&count, &v1, &v2, &v4, &v5](auto v) { in TEST_F() 50 EXPECT_TRUE(v == v1 || v == v2 || v == v4 || v == v5); in TEST_F()
|
| /arkcompiler/runtime_core/compiler/tests/js/ |
| H A D | regallocTest.js | 83 let v1 = 1; 84 print(v1); 95 let v1 = a; 96 let v2 = a + v1; 97 let v3 = v1 + v2; 98 print(v1); 104 let v1 = a + 1; 105 let v2 = v1 * a; 106 print(v1); 125 let v1 [all...] |
| /arkcompiler/toolchain/tooling/test/testcases/js/ |
| H A D | closure_scope.js | 18 let v1 = 1; 24 print(v1); 31 print(v1);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/gtest_plugin/ |
| H A D | gtest_launcher.js | 23 globalThis.ASSERT_EQ = function assertEq(v0, v1) { 24 if (!Object.is(v0, v1)) { 25 let msg = `ASSERTION FAILED: ${v0}[${typeof v0}] !== ${v1}[${typeof v1}]`;
|
| /arkcompiler/ets_frontend/es2panda/test/patch/11/hotreload/hotreload-throwerror/modify-export-3/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 21 export {v1}; // delete export variable
|
| /arkcompiler/ets_frontend/es2panda/test/patch/currentVersion/hotfix/hotfix-throwerror/modify-export-3/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 21 export {v1}; // delete export variable
|
| H A D | base.js | 16 function v1() { print("v1") } function 19 export {v1, v2}
|
| /arkcompiler/ets_frontend/es2panda/test/patch/currentVersion/hotreload/hotreload-throwerror/modify-export-3/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 21 export {v1}; // delete export variable
|
| H A D | base.js | 16 function v1() { print("v1") } function 19 export {v1, v2}
|
| /arkcompiler/ets_frontend/es2panda/test/patch/11/coldfix/coldfix-throwerror/modify-export-3/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 21 export {v1}; // delete export variable
|
| /arkcompiler/ets_frontend/es2panda/test/patch/11/coldreload/modify-export-3/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 21 export {v1}; // delete export variable
|
| /arkcompiler/ets_frontend/es2panda/test/patch/11/hotfix/hotfix-throwerror/modify-export-3/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 21 export {v1}; // delete export variable
|
| /arkcompiler/ets_frontend/es2panda/test/patch/currentVersion/coldfix/coldfix-throwerror/modify-export-3/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 21 export {v1}; // delete export variable
|
| H A D | base.js | 16 function v1() { print("v1") } function 19 export {v1, v2}
|
| /arkcompiler/ets_frontend/es2panda/test/patch/currentVersion/coldreload/modify-export-3/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 21 export {v1}; // delete export variable
|
| /arkcompiler/ets_frontend/es2panda/test/patch/currentVersion/coldfix/coldfix-throwerror/modify-export-2/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 22 v1 as streamV1, // delete an export variable
|
| /arkcompiler/ets_frontend/es2panda/test/patch/currentVersion/hotfix/hotfix-throwerror/modify-export-2/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 22 v1 as streamV1, // delete an export variable
|
| /arkcompiler/ets_frontend/es2panda/test/patch/currentVersion/hotreload/hotreload-throwerror/modify-export-2/ |
| H A D | base_mod.js | 18 function v1() { print("v1") } function 22 v1 as streamV1, // delete an export variable
|