| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/arkts/@arkts/math/Decimal/ |
| D | toOctalTests.ets | 42 checkToOctalResult('NaN', NaN, 20, 4); 43 checkToOctalResult('NaN', 'NaN', 20, 4); 44 checkToOctalResult('Infinity', Infinity, 20, 4); 45 checkToOctalResult('-Infinity', -Infinity, 20, 4); 46 checkToOctalResult('Infinity', 'Infinity', 20, 4); 47 checkToOctalResult('-Infinity', '-Infinity', 20, 4); 51 checkToOctalResult('0o0', '0', 1, 4); 52 …5612071133717535572246575453160', '364584667335183828987221775272570428237696628507956848', 60, 4); 53 checkToOctalResult('0o17140110747560', '1043696177008', 14, 4); 54 checkToOctalResult('0o1656', '942', 4, 4); [all …]
|
| D | toHexadecimalTests.ets | 43 checkToHexadecimalResult('NaN', NaN, 20, 4); 44 checkToHexadecimalResult('NaN', 'NaN', 20, 4); 45 checkToHexadecimalResult('Infinity', Infinity, 20, 4); 46 checkToHexadecimalResult('-Infinity', -Infinity, 20, 4); 47 checkToHexadecimalResult('Infinity', 'Infinity', 20, 4); 48 checkToHexadecimalResult('-Infinity', '-Infinity', 20, 4); 52 checkToHexadecimalResult('0x0', '0', 1, 4); 53 checkToHexadecimalResult('0x9', '9', 1, 4); 54 checkToHexadecimalResult('0x5a', '90', 2, 4); 55 checkToHexadecimalResult('0x0', '0', 1, 4); [all …]
|
| D | toBinaryTestsPart1.ets | 41 checkToBinaryResult('NaN', NaN, 20, 4); 42 checkToBinaryResult('NaN', 'NaN', 20, 4); 43 checkToBinaryResult('Infinity', Infinity, 20, 4); 44 checkToBinaryResult('-Infinity', -Infinity, 20, 4); 45 checkToBinaryResult('Infinity', 'Infinity', 20, 4); 46 checkToBinaryResult('-Infinity', '-Infinity', 20, 4); 50 checkToBinaryResult('0b11111111111111111111111111111111', '4294967295', 32, 4); 51 checkToBinaryResult('0b100000000000000000000000000000000', '4294967296', 33, 4); 52 checkToBinaryResult('0b100000000000000000000000000000001', '4294967297', 33, 4); 53 checkToBinaryResult('-0b11111111111111111111111111111111', '-4294967295', 32, 4); [all …]
|
| D | toBinaryTestsPart2.ets | 33 …01100010010101101000001000010111010110001110010010101', '4677623609407056260314308484245', 102, 4); 34 …0110000010011011111111000011110101010001110011', '13459691377936385656205820498694591603', 124, 4); 35 …ult('0b101111100101010010010101000010100111111101111011110111100110', '857171914848189926', 60, 4); 36 …100110000000100111101101000111101100100110101001110010001', '1047466460252578697656357777', 90, 4); 37 …000111010010000011010101111001111101101010001', '177330090800059334179372876785623300945', 128, 4); 38 checkToBinaryResult('0b1010', '10', 4, 4); 39 …00100101011101001110000001110011101000001110', '9590478319392434269891419865097211165198', 133, 4); 40 …01111011101111010100100011000010001', '9703219505953893074023234217532878016916428047889', 163, 4); 41 …b1101000001100011011001110000010011000100110001000011010110000100', '15015958852762088836', 64, 4); 42 …BinaryResult('0b11110011111110100111011111001010001010010100010010110', '8584226467555478', 53, 4); [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/bridge/arch/arm/ |
| D | deoptimization_arm.S | 38 CFI_DEF_CFA(r3, (2 * 4)) 39 CFI_REL_OFFSET(lr, 4) 41 CFI_REL_OFFSET(THREAD_REG, -((CFRAME_CALLEE_REGS_START_SLOT + 0) * 4)) 42 CFI_REL_OFFSET(r9, -((CFRAME_CALLEE_REGS_START_SLOT + 1) * 4)) 43 CFI_REL_OFFSET(r8, -((CFRAME_CALLEE_REGS_START_SLOT + 2) * 4)) 44 CFI_REL_OFFSET(r7, -((CFRAME_CALLEE_REGS_START_SLOT + 3) * 4)) 45 CFI_REL_OFFSET(r6, -((CFRAME_CALLEE_REGS_START_SLOT + 4) * 4)) 46 CFI_REL_OFFSET(r5, -((CFRAME_CALLEE_REGS_START_SLOT + 5) * 4)) 47 CFI_REL_OFFSET(r4, -((CFRAME_CALLEE_REGS_START_SLOT + 6) * 4)) 50 sub sp, r3, #((CFRAME_CALLEE_REGS_START_SLOT * 4) + CALLEE_SAVED_SIZE) [all …]
|
| D | proxy_entrypoint_armhf.S | 32 str fp, [sp, #4] 33 CFI_REL_OFFSET(fp, 4) 34 add fp, sp, #4 36 CFI_ADJUST_CFA_OFFSET(-4) 41 CFI_REL_OFFSET(r10, -(2 * 4)) 42 CFI_REL_OFFSET(r9, -(3 * 4)) 43 CFI_REL_OFFSET(r8, -(4 * 4)) 44 CFI_REL_OFFSET(r7, -(5 * 4)) 45 CFI_REL_OFFSET(r6, -(6 * 4)) 46 CFI_REL_OFFSET(r5, -(7 * 4)) [all …]
|
| D | compiled_code_to_runtime_bridge_arm.S | 21 CFI_REL_OFFSET(r10, (\offset - CALLEE_REG0_OFFSET + 4*6)) 22 CFI_REL_OFFSET(r9, (\offset - CALLEE_REG0_OFFSET + 4*5)) 23 CFI_REL_OFFSET(r8, (\offset - CALLEE_REG0_OFFSET + 4*4)) 24 CFI_REL_OFFSET(r7, (\offset - CALLEE_REG0_OFFSET + 4*3)) 25 CFI_REL_OFFSET(r6, (\offset - CALLEE_REG0_OFFSET + 4*2)) 26 CFI_REL_OFFSET(r5, (\offset - CALLEE_REG0_OFFSET + 4*1)) 27 CFI_REL_OFFSET(r4, (\offset - CALLEE_REG0_OFFSET + 4*0)) 45 CFI_REL_OFFSET(d15, (\offset - CALLEE_VREG0_OFFSET + 4*14)) 46 CFI_REL_OFFSET(d14, (\offset - CALLEE_VREG0_OFFSET + 4*12)) 47 CFI_REL_OFFSET(d13, (\offset - CALLEE_VREG0_OFFSET + 4*10)) [all …]
|
| D | proxy_entrypoint_arm.S | 31 str fp, [sp, #4] 32 CFI_REL_OFFSET(fp, 4) 33 add fp, sp, #4 35 CFI_ADJUST_CFA_OFFSET(-4) 40 CFI_REL_OFFSET(r10, -(2 * 4)) 41 CFI_REL_OFFSET(r9, -(3 * 4)) 42 CFI_REL_OFFSET(r8, -(4 * 4)) 43 CFI_REL_OFFSET(r7, -(5 * 4)) 44 CFI_REL_OFFSET(r6, -(6 * 4)) 45 CFI_REL_OFFSET(r5, -(7 * 4)) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/escompat/ |
| D | list.copyWithin.yaml | 16 expected: [1, 2, 3, 4, 5], 21 expected: [1, 2, 3, 4, 5], 26 expected: [1, 2, 3, 4, 5], 31 expected: [1, 2, 3, 4, 5], 32 params: [0, 4, 2] 37 expected: [4, 5, 3, 4, 5], 42 expected: [1, 4, 5, 4, 5], 47 expected: [1, 3, 4, 5, 5], 52 expected: [1, 2, 3, 4, 5], 57 expected: [4, 2, 3, 4, 5], [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/ |
| D | list.copyWithin.yaml | 16 expected: [1, 2, 3, 4, 5], 21 expected: [1, 2, 3, 4, 5], 26 expected: [1, 2, 3, 4, 5], 31 expected: [1, 2, 3, 4, 5], 32 params: [0, 4, 2] 37 expected: [4, 5, 3, 4, 5], 42 expected: [1, 4, 5, 4, 5], 47 expected: [1, 3, 4, 5, 5], 52 expected: [1, 2, 3, 4, 5], 57 expected: [4, 2, 3, 4, 5], [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/02.order_of_expression_evaluation/ |
| D | int_parens.params.yaml | 16 - {left: "2+3+4+5", right: "(2+3)+4+5"} 17 - {left: "2+3+4+5", right: "(2+3)+(4+5)"} 18 - {left: "2+3+4+5", right: "2+(3+4)+5"} 19 - {left: "2+3+4+5", right: "2+3+(4+5)"} 20 - {left: "2+3+4+5", right: "(((2+3)+4)+5)"} 21 - {left: "2+3+4+5", right: "((2+3)+4)+5"} 23 - {left: "2*3*4*5", right: "(2*3)*4*5"} 24 - {left: "2*3*4*5", right: "(2*3)*(4*5)"} 25 - {left: "2*3*4*5", right: "2*(3*4)*5"} 26 - {left: "2*3*4*5", right: "2*3*(4*5)"} [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | serializer_test.cpp | 49 constexpr const int64_t IMM_FOUR = 4; in DoTest() 103 DoTest<std::string>({}, 4); in TEST_F() 104 DoTest<std::string>("", 4); in TEST_F() 105 DoTest<std::string>("Hello World!", 4 + 12); in TEST_F() 106 DoTest<std::string>("1", 4 + 1); in TEST_F() 107 DoTest<std::string>({}, 4); in TEST_F() 112 DoTest<std::vector<uint8_t>>({1, 2, 3, 4}, 4 + 1 * 4); in TEST_F() 113 DoTest<std::vector<uint16_t>>({143, 452, 334}, 4 + 2 * 3); in TEST_F() 114 DoTest<std::vector<uint32_t>>({15434, 4564562, 33453, 43456, 346346}, 4 + 5 * 4); in TEST_F() 115 DoTest<std::vector<uint64_t>>({14345665644345, 34645345465}, 4 + 8 * 2); in TEST_F() [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedarray/ |
| D | expect_output.txt | 51 3,4,4,3 94 4,3 95 4,3,2,6,4,3,4 105 Elements pushed: 1,3,5,2,4,6 108 1,3,5,2,4,6 109 1,3,5,2,4,6,100,101,102 114 4 117 4 133 2,4,6,100,50,60,70,2,4,6,100,50,60,70,2,4,6,100,50,60,70,2,4,6,100,50,60,70,2,4,6,100,50,60,70,2,4,… 135 4,6,100,50,60,70,2,4,6,100,50,60,70,2,4,6,100,50,60,70,2,4,6,100,50,60,70,2,4,6,100,50,60,70,2,4,6,… [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/optimizer/js/opt-try-catch-func/ |
| D | test-nested-try-catch-expected.txt | 12 4 14 4 16 4 18 4 20 4 23 4 25 4 27 4 29 4 31 4
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedtypedarray/ |
| D | expect_output.txt | 15 length: 4, byteLength: 4 17 length: 4, byteLength: 8 19 length: 4, byteLength: 16 20 BYTES_PER_ELEMENT: 4, 4 21 length: 4, byteLength: 16 22 BYTES_PER_ELEMENT: 4, 4 23 length: 4, byteLength: 32 25 length: 4, byteLength: 32 27 length: 4, byteLength: 4 29 length: 4, byteLength: 8 [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | serializer_test.cpp | 51 constexpr const int64_t IMM_FOUR = 4; in DoTest() 108 DoTest<std::string>({}, 4U); in TEST_F() 109 DoTest<std::string>("", 4U); in TEST_F() 110 DoTest<std::string>("Hello World!", 4U + 12U); in TEST_F() 111 DoTest<std::string>("1", 4U + 1U); in TEST_F() 112 DoTest<std::string>({}, 4U); in TEST_F() 117 DoTest<std::vector<uint8_t>>({1U, 2U, 3U, 4U}, 4U + 1U * 4U); in TEST_F() 118 DoTest<std::vector<uint16_t>>({143U, 452U, 334U}, 4U + 2U * 3U); in TEST_F() 119 DoTest<std::vector<uint32_t>>({15434U, 4564562U, 33453U, 43456U, 346346U}, 4U + 5U * 4U); in TEST_F() 120 DoTest<std::vector<uint64_t>>({14345665644345U, 34645345465U}, 4U + 8U * 2U); in TEST_F() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
| D | baseline_call_signature.cpp | 21 CallSignature signature(name, 0, 4, \ 24 std::array<VariableType, 4> params = { \ 43 // 4 : 4 input parameters in DEF_CALL_SIGNATURE() 44 CallSignature signature("BaselineTryLdGLobalByNameImm8ID16", 0, 4, in DEF_CALL_SIGNATURE() 47 // 4 : 4 input parameters in DEF_CALL_SIGNATURE() 48 std::array<VariableType, 4> params = { in DEF_CALL_SIGNATURE() 59 // 4 : 4 input parameters in DEF_CALL_SIGNATURE() 60 CallSignature signature("BaselineStToGlobalRecordImm16ID16", 0, 4, in DEF_CALL_SIGNATURE() 63 // 4 : 4 input parameters in DEF_CALL_SIGNATURE() 64 std::array<VariableType, 4> params = { in DEF_CALL_SIGNATURE() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/arch/arm32/ |
| D | ets_async_entry_point_arm32hf.S | 33 CFI_REL_OFFSET(lr, 4) 39 str r0, [sp, #4] 44 sub sp, sp, #(CFRAME_LOCALS_COUNT * 4) 49 CFI_REL_OFFSET(d15, -((CFRAME_LOCALS_COUNT + 2 + 2) * 4)) 50 CFI_REL_OFFSET(d14, -((CFRAME_LOCALS_COUNT + 2 + 4) * 4)) 51 CFI_REL_OFFSET(d13, -((CFRAME_LOCALS_COUNT + 2 + 6) * 4)) 52 CFI_REL_OFFSET(d12, -((CFRAME_LOCALS_COUNT + 2 + 8) * 4)) 53 CFI_REL_OFFSET(d11, -((CFRAME_LOCALS_COUNT + 2 + 10) * 4)) 54 CFI_REL_OFFSET(d10, -((CFRAME_LOCALS_COUNT + 2 + 12) * 4)) 55 CFI_REL_OFFSET(d9, -((CFRAME_LOCALS_COUNT + 2 + 14) * 4)) [all …]
|
| D | ets_async_entry_point_arm32.S | 33 CFI_REL_OFFSET(lr, 4) 39 str r0, [sp, #4] 44 sub sp, sp, #(CFRAME_LOCALS_COUNT * 4) 50 CFI_REL_OFFSET(d15, -((CFRAME_LOCALS_COUNT + 2 + 2) * 4)) 51 CFI_REL_OFFSET(d14, -((CFRAME_LOCALS_COUNT + 2 + 4) * 4)) 52 CFI_REL_OFFSET(d13, -((CFRAME_LOCALS_COUNT + 2 + 6) * 4)) 53 CFI_REL_OFFSET(d12, -((CFRAME_LOCALS_COUNT + 2 + 8) * 4)) 54 CFI_REL_OFFSET(d11, -((CFRAME_LOCALS_COUNT + 2 + 10) * 4)) 55 CFI_REL_OFFSET(d10, -((CFRAME_LOCALS_COUNT + 2 + 12) * 4)) 56 CFI_REL_OFFSET(d9, -((CFRAME_LOCALS_COUNT + 2 + 14) * 4)) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/array/ets_to_ts/ |
| D | ets_array.ets | 25 let arr: Array<Number> = new Array<Number>(1, 2, 3, 4) 26 let arrConcat1: Array<Number> = new Array<Number>(1, 2, 3, 4) 28 let arrayCopyWithin1: Array<Number> = new Array<Number>(1, 2, 3, 4) 29 let arrayCopyWithin2: Array<Number> = new Array<Number>(1, 2, 3, 4) 30 let arrayCopyWithin3: Array<Number> = new Array<Number>(1, 2, 3, 4) 31 let arrayFill: Array<Number> = new Array<Number>(1, 2, 3, 4) 32 let arrayFlat: FixedArray<FixedArray<number>> = [[1, 2], [3, 4], [5, 6]] 34 let arrayPop: Array<Number> = new Array<Number>(1, 2, 3, 4) 35 let arrayPush: Array<Number> = new Array<Number>(1, 2, 3, 4) 36 let arrayReverse: Array<Number> = new Array<Number>(1, 2, 3, 4) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/03.operator_precedence/ |
| D | postfix.ets | 21 let res: int, t2 = 2, t3 = 3, t4 = 4, t8 = 8, t255 = 255 54 t4 = 4 59 t4 = 4 65 t4 = 4 70 t4 = 4 76 t4 = 4 81 t4 = 4 87 t4 = 4 92 t4 = 4 98 t4 = 4 [all …]
|
| D | prefix.ets | 21 let res: int, t2 = 2, t3 = 3, t4 = 4, t8 = 8, t255 = 255 43 if (res != -4 || t2 != 3) return 1; 54 t4 = 4 59 t4 = 4 65 t4 = 4 70 t4 = 4 74 if (res != 4 || t255 != 254 || t4 != 5) return 1; 76 t4 = 4 81 t4 = 4 87 t4 = 4 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/array/ts_to_ets/ |
| D | ts_array.ts | 16 export let arr: Array<Number> = new Array<Number>(1, 2, 3, 4); 17 export let arrConcat1: Array<Number> = new Array<Number>(1, 2, 3, 4); 19 export let arrCopyWithin1: Array<Number> = new Array<Number>(1, 2, 3, 4); 20 export let arrCopyWithin2: Array<Number> = new Array<Number>(1, 2, 3, 4); 21 export let arrCopyWithin3: Array<Number> = new Array<Number>(1, 2, 3, 4); 22 export let arrFill: Array<Number> = new Array<Number>(1, 2, 3, 4); 23 export let arrFlat: number[][] = [[1, 2], [3, 4], [5, 6]]; 24 export let arrFlatMap: Array<Number> = new Array<Number>(1, 2, 3, 4); 26 export let arrPop: Array<Number> = new Array<Number>(1, 2, 3, 4); 27 export let arrPush: Array<Number> = new Array<Number>(1, 2, 3, 4); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | ArraySetTest.ets | 17 let sample = new Int8Array([1, 2, 3, 4]) 20 assertEQ(sample.toString(), '1,1,2,4') 24 let sample = new Int16Array([1, 2, 3, 4]) 27 assertEQ(sample.toString(), '1,1,2,4') 31 let sample = new Int32Array([1, 2, 3, 4]) 34 assertEQ(sample.toString(), '1,1,2,4') 38 let sample = new BigInt64Array([1, 2, 3, 4]) 41 assertEQ(sample.toString(), '1,1,2,4') 45 let sample = new Float32Array([1, 2, 3, 4]) 48 assertEQ(sample.toString(), '1,1,2,4') [all …]
|
| /arkcompiler/ets_frontend/testTs/expect/types/spread/ |
| D | objectSpreadRepeatedNullCheckPerf.txt | 2 …4}, {'t': 2, 'v': 0}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'b'}, {'t': 25, 'v': 4}, {'t': 2, 'v': 0}, {…
|