/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/ets_proxy/ |
H A D | check_proxy_objects.js | 43 let n2 = new ListNode(2, n1); 44 ASSERT_EQ(n2.tag, 2); 45 ASSERT_EQ(n2.next, n1); 46 ASSERT_EQ(n2.getNext(), n1); 47 n2.setNext(n1); 48 ASSERT_EQ(n2.next, n1);
|
/arkcompiler/ets_frontend/arkguard/test/grammar/export_obfuscation/ |
H A D | export_obfuscation_3.js | 32 function plus01(n1, n2) { 33 return n1 + n2;
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/ |
H A D | IrViewer.js | 145 let n2 = nodes[l.toId]; 148 let id2 = parseInt(n2.ir.id); 154 if (type === 1 && (n2.mask & this.mask_) !== 0 && this.selectPoint_.indexOf(id1) >= 0) { //选中后继 539 checkLevel(levely, n1, n2) { 541 let i2 = levely.indexOf(n2.pos.y); 550 let n2 = nodes[l.toId]; 551 if (n1.hide || n2.hide) { 555 let lor = n1.pos.x + n2.pos.x < -50 ? 0 : 1; 556 if (this.checkLevel(levely, n1, n2)) { } 568 let n2 [all...] |
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | dtoa_helper_test.cpp | 52 int n2; in HWTEST_F_L0() local 54 TEST_DTOA(1.2345678, "12345678", buffer2, n2, k2, 1, 8); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | fibers_test.cpp | 189 double n2 = 0; in TEST_F() local 191 [[maybe_unused]] auto res = sscanf_s("1.23 4.56", "%lf %lf", &n1, &n2); in TEST_F() 198 ASSERT_DOUBLE_EQ(n2, 4.56_D); in TEST_F()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | utf.cpp | 238 uint32_t n2; in CompareMUtf8ToMUtf8() local 257 std::tie(c2, n2) = ConvertMUtf8ToUtf16Pair(mutf8_2); in CompareMUtf8ToMUtf8() 260 mutf8_2 += n2; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CompareMUtf8ToMUtf8() 280 uint32_t n2; in CompareUtf8ToUtf8() local 302 std::tie(c2, n2) = ConvertMUtf8ToUtf16Pair(utf8_2); in CompareUtf8ToUtf8() 305 utf8_2 += n2; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CompareUtf8ToUtf8() 307 utf8_2_index += n2; in CompareUtf8ToUtf8()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_forin_iterator_test.cpp | 56 JSTaggedValue n2 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0() local 57 EXPECT_EQ(n2, key2.GetTaggedValue()); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | utf.cpp | 172 uint32_t n2; in CompareMUtf8ToMUtf8() local 191 std::tie(c2, n2) = ConvertMUtf8ToUtf16Pair(mutf82); in CompareMUtf8ToMUtf8() 194 mutf82 += n2; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CompareMUtf8ToMUtf8() 214 uint32_t n2; in CompareUtf8ToUtf8() local 236 std::tie(c2, n2) = ConvertMUtf8ToUtf16Pair(utf82); in CompareUtf8ToUtf8() 239 utf82 += n2; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CompareUtf8ToUtf8() 241 utf82Index += n2; in CompareUtf8ToUtf8()
|
/arkcompiler/runtime_core/libpandafile/tests/ |
H A D | bytecode_emitter_tests.cpp | 267 * ... <- n2 return.void instructions 271 static std::vector<uint8_t> EmitJmpFwdBwd(size_t n1, size_t n2) in EmitJmpFwdBwd() argument 291 int32_t imm1 = jmp_size1 + n1 + jmp_size2 + n2; in EmitJmpFwdBwd() 303 for (size_t i = 0; i < n2; i++) { in EmitJmpFwdBwd() 324 * ... <- n2 return.void instructions 328 void TestJmpFwdBwd(size_t n1, size_t n2) in TestJmpFwdBwd() argument 340 for (size_t i = 0; i < n2; ++i) { in TestJmpFwdBwd() 347 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out)) << "n1 = " << n1 << " n2 = " << n2; in TestJmpFwdBwd() local 349 ASSERT_EQ(EmitJmpFwdBwd(n1, n2), ou in TestJmpFwdBwd() local [all...] |
/arkcompiler/runtime_core/static_core/libpandafile/tests/ |
H A D | bytecode_emitter_tests.cpp | 269 * ... <- n2 return.void instructions 274 static std::vector<uint8_t> EmitJmpFwdBwd(size_t n1, size_t n2) in EmitJmpFwdBwd() argument 294 int32_t imm1 = jmpSize1 + n1 + jmpSize2 + n2; in EmitJmpFwdBwd() 306 for (size_t i = 0; i < n2; i++) { in EmitJmpFwdBwd() 328 * ... <- n2 return.void instructions 332 void TestJmpFwdBwd(size_t n1, size_t n2) in TestJmpFwdBwd() argument 344 for (size_t i = 0; i < n2; ++i) { in TestJmpFwdBwd() 351 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out)) << "n1 = " << n1 << " n2 = " << n2; in TestJmpFwdBwd() local 353 ASSERT_EQ(EmitJmpFwdBwd(n1, n2), ou in TestJmpFwdBwd() local [all...] |
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/ |
H A D | stubbuilder.js | 869 function randomNumber(n1, n2) { 871 return Math.round(n1 + Math.random() * (n2 - n1));
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | report.py | 328 n2, m2 = split_name(t2) 329 if n1 == n2: 332 x2 = f'{n2} {m2}'.rstrip()
|