Home
last modified time | relevance | path

Searched refs:n1 (Results 1 - 16 of 16) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/ets_proxy/
H A Dcheck_proxy_objects.js32 let n1 = new ListNode(1, null);
33 ASSERT_EQ(n1.tag, 1);
34 ASSERT_EQ(n1.next, null);
36 ASSERT_TRUE(Object.getOwnPropertyNames(n1).length === 0);
37 ASSERT_TRUE(Object.isSealed(n1));
42 let n1 = new ListNode(1, null);
43 let n2 = new ListNode(2, n1);
45 ASSERT_EQ(n2.next, n1);
46 ASSERT_EQ(n2.getNext(), n1);
47 n2.setNext(n1);
[all...]
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/
H A Ddefine_info_test.js26 'func4': (n1) => { return n1 * n1 },
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/
H A DIrViewer.js144 let n1 = nodes[l.fromId];
147 let id1 = parseInt(n1.ir.id);
150 if (type === 0 && (n1.mask & this.mask_) !== 0 && this.selectPoint_.indexOf(id2) >= 0) { //选中前继
539 checkLevel(levely, n1, n2) {
540 let i1 = levely.indexOf(n1.pos.y);
549 let n1 = nodes[l.fromId];
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)) { }
558 if (!(n1
[all...]
/arkcompiler/ets_frontend/arkguard/test/grammar/export_obfuscation/
H A Dexport_obfuscation_3.js32 function plus01(n1, n2) {
33 return n1 + n2;
/arkcompiler/runtime_core/scripts/
H A Dinstall-deps-qemu155 | head -n1)
159 | head -n1)
/arkcompiler/runtime_core/static_core/scripts/
H A Dinstall-deps-qemu161 | head -n1)
165 | head -n1)
/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Ddtoa_helper_test.cpp47 int n1; //decimal_point in HWTEST_F_L0() local
49 TEST_DTOA(1.2345, "12345", buffer1, n1, k1, 1, 5); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dfibers_test.cpp188 double n1 = 0; in TEST_F() local
191 [[maybe_unused]] auto res = sscanf_s("1.23 4.56", "%lf %lf", &n1, &n2); in TEST_F()
197 ASSERT_DOUBLE_EQ(n1, 1.23_D); in TEST_F()
/arkcompiler/runtime_core/libpandabase/utils/
H A Dutf.cpp237 uint32_t n1; in CompareMUtf8ToMUtf8() local
256 std::tie(c1, n1) = ConvertMUtf8ToUtf16Pair(mutf8_1); in CompareMUtf8ToMUtf8()
259 mutf8_1 += n1; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CompareMUtf8ToMUtf8()
279 uint32_t n1; in CompareUtf8ToUtf8() local
301 std::tie(c1, n1) = ConvertMUtf8ToUtf16Pair(utf8_1); in CompareUtf8ToUtf8()
304 utf8_1 += n1; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CompareUtf8ToUtf8()
306 utf8_1_index += n1; in CompareUtf8ToUtf8()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_forin_iterator_test.cpp53 JSTaggedValue n1 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0() local
54 EXPECT_EQ(n1, key1.GetTaggedValue()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/moduletest/bigint/
H A Dbigint.js32 const n1 = Number(0x1fffeffafbfcfen);
33 print(n1);
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dutf.cpp171 uint32_t n1; in CompareMUtf8ToMUtf8() local
190 std::tie(c1, n1) = ConvertMUtf8ToUtf16Pair(mutf81); in CompareMUtf8ToMUtf8()
193 mutf81 += n1; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CompareMUtf8ToMUtf8()
213 uint32_t n1; in CompareUtf8ToUtf8() local
235 std::tie(c1, n1) = ConvertMUtf8ToUtf16Pair(utf81); in CompareUtf8ToUtf8()
238 utf81 += n1; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CompareUtf8ToUtf8()
240 utf81Index += n1; in CompareUtf8ToUtf8()
/arkcompiler/runtime_core/libpandafile/tests/
H A Dbytecode_emitter_tests.cpp265 * ... <- n1 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()
292 int32_t imm2 = jmp_size1 + n1; in EmitJmpFwdBwd()
297 for (size_t i = 0; i < n1; i++) { in EmitJmpFwdBwd()
322 * ... <- n1 return.void instructions
328 void TestJmpFwdBwd(size_t n1, size_t n2) in TestJmpFwdBwd() argument
336 for (size_t i = 0; i < n1; ++i) { in TestJmpFwdBwd()
347 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out)) << "n1 = " << n1 << " n in TestJmpFwdBwd()
[all...]
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/
H A Dstubbuilder.js869 function randomNumber(n1, n2) {
871 return Math.round(n1 + Math.random() * (n2 - n1));
873 return Math.round(Math.random() * n1)
/arkcompiler/runtime_core/static_core/libpandafile/tests/
H A Dbytecode_emitter_tests.cpp267 * ... <- n1 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()
295 int32_t imm2 = jmpSize1 + n1; in EmitJmpFwdBwd()
300 for (size_t i = 0; i < n1; i++) { in EmitJmpFwdBwd()
326 * ... <- n1 return.void instructions
332 void TestJmpFwdBwd(size_t n1, size_t n2) in TestJmpFwdBwd() argument
340 for (size_t i = 0; i < n1; ++i) { in TestJmpFwdBwd()
351 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out)) << "n1 = " << n1 << " n in TestJmpFwdBwd()
[all...]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Dreport.py327 n1, m1 = split_name(t1)
329 if n1 == n2:
330 return f'{n1} {m1} vs {m2}'
331 x1 = f'{n1} {m1}'.rstrip()

Completed in 9 milliseconds