| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/03.numeric_operator_contexts/binary_numeric_promotion/ |
| D | result_type_cond.params.yaml | 18 - { type: byte, val: 1 as byte, rt: char, rv: "c'0'", res: 40 } 25 - { type: byte, val: 1 as byte, rt: Short, rv: new Short(1 as short), res: 40 } 26 - { type: byte, val: 1 as byte, rt: Char, rv: new Char(c'0'), res: 40 } 27 - { type: byte, val: 1 as byte, rt: Int, rv: new Int(1), res: 40 } 28 - { type: byte, val: 1 as byte, rt: Long, rv: new Long(1 as long), res: 40 } 29 - { type: byte, val: 1 as byte, rt: Float, rv: new Float(1.0 as float), res: 40 } 30 - { type: byte, val: 1 as byte, rt: Double, rv: new Double(1.0), res: 40 } 34 - { type: short, val: 1 as short, rt: char, rv: "c'0'", res: 40 } 40 - { type: short, val: 1 as short, rt: Byte, rv: new Byte(1 as byte), res: 40 } 42 - { type: short, val: 1 as short, rt: Char, rv: new Char(c'0'), res: 40 } [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/annotations/ |
| D | declaration-usage-combination-expected.txt | 1536 "line": 40, 1540 "line": 40, 1559 "line": 40, 1563 "line": 40, 1573 "line": 40, 1577 "line": 40, 1585 "line": 40, 1589 "line": 40, 1604 "line": 40, 1608 "line": 40, [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedtypedarray/ |
| D | expect_output.txt | 261 10,20,30,40,50 262 20,30,40,50 263 10,20,30,40,50 264 30,40,50 267 10,20,30,40,50 268 20,30,40,50 269 10,20,30,40,50 270 30,40,50 273 10,20,30,40,50 274 20,30,40,50 [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | interface_import_4.ets.autofix.json | 227 "line": 40, 229 "endLine": 40, 248 "line": 40, 250 "endLine": 40, 269 "line": 40, 271 "endLine": 40, 290 "line": 40, 292 "endLine": 40, 311 "line": 40, 313 "endLine": 40, [all …]
|
| D | dynamic_object_literals.ets | 35 f2: [{c: 30}, {d: 40}], 52 f2: [{c: 30}, {d: 40}], 62 f3: [{c: 30}, {d: 40}] 88 margin({'top': '10px', 'right': '20px', 'bottom': '30px', 'left': '40px'}); 89 position({'x': '20', 'y': '40'});
|
| /arkcompiler/ets_runtime/test/moduletest/typedarrayslice/ |
| D | expect_output.txt | 25 -5,10,20,30,-40,50,-60 26 10,20,30,-40,50 27 10,20,30,-40,50,-60 28 10,20,30,-40,50 30 10,20,30,-40,50
|
| /arkcompiler/ets_runtime/test/moduletest/arraysortcase/ |
| D | arraysortcase.js | 23 const numberArray1 = new Array(40, 1, 5, 200); 28 const numberArray = [40, 1, 5, 200]; 30 const mixedNumericArray = ["80", "9", "700", 40, 1, 5, 200]; 40 numberArray.join(); // '40,1,5,200' 41 numberArray.sort(); // [1, 200, 40, 5] 42 numberArray.sort(compareNumbers); // [1, 5, 40, 200] 50 mixedNumericArray.join(); // '80,9,700,40,1,5,200' 51 mixedNumericArray.sort(); // [1, 200, 40, 5, '700', '80', '9'] 52 mixedNumericArray.sort(compareNumbers); // [1, 5, '9', 40, '80', 200, '700']
|
| D | expect_output.txt | 16 1,200,40,5 18 1,5,40,200 20 1,5,9,40,80,200,700
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | UnaryExpression.ets | 61 let a: Int = new Int(40); 63 assertEQ(b, -40) 66 assertEQ(a, -40) 67 assertEQ(a.toInt(), -40) 70 assertEQ(c, -40) 71 assertEQ(+c, -40) 72 assertEQ(-c, 40)
|
| D | array_indexation.ets | 17 let x1 = [10,20,30,40]; 21 let x3 = [10,20,30,40][2] 22 let x4 = [10,20,30,40][3] 24 assertEQ(x4, 40)
|
| D | RestTuple1.ets | 25 let tuple : [number, number, number] = [30, 40, 50] 27 let res2 = sum2(10, 20, 30, 40) 32 let res5 = sum(...([30, 40, 50] as [number, number, number])) 33 let res6 = sum2(10, ...([30, 40, 50] as [number, number, number]))
|
| D | RestTuple4.ets | 28 let tuple : [number, number, number] = [30, 40, 50] 31 let res2 : A = new A(10, 20, 30, 40) 36 let res5 : A = new A(...([30, 40, 50] as [number, number, number])) 37 let res6 : A = new A(10, ...([30, 40, 50] as [number, number, number]))
|
| D | RestTuple2.ets | 27 let tuple : [number, number, number] = [30, 40, 50] 31 let res2 = a.sum2(10, 20, 30, 40) 36 let res5 = a.sum(...([30, 40, 50] as [number, number, number])) 37 let res6 = a.sum2(10, ...([30, 40, 50] as [number, number, number]))
|
| D | RestTuple3.ets | 27 let tuple : [number, number, number] = [30, 40, 50] 30 let res2 = A.sum2(10, 20, 30, 40) 35 let res5 = A.sum(...([30, 40, 50] as [number, number, number])) 36 let res6 = A.sum2(10, ...([30, 40, 50] as [number, number, number]))
|
| D | UpdateExpression.ets | 55 let a: Int = new Int(40); 59 assertEQ(b, 40) 60 assertEQ(b.toInt(), 40) 65 assertEQ(b, 40) 66 assertEQ(b.toInt(), 40)
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-arrow-function1-expected.txt | 91 "column": 40 102 "column": 40 113 "column": 40 124 "column": 40 135 "column": 40 146 "column": 40
|
| D | test_satisfies-expected.txt | 616 "column": 40 627 "column": 40 640 "column": 40 883 "column": 40 894 "column": 40 907 "column": 40 1492 "line": 40, 1496 "line": 40, 1516 "line": 40, 1520 "line": 40, [all …]
|
| D | test_infer-type-with-extends2-expected.txt | 2259 "line": 40, 2263 "line": 40, 2270 "line": 40, 2274 "line": 40, 2292 "line": 40, 2296 "line": 40, 2310 "line": 40, 2314 "line": 40, 2323 "line": 40, 2327 "line": 40, [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
| D | DecodeURITest.ets | 17 let code1 = decodeURI("%23%24%26%2B%2C%2F%3A%3B%3D%3F%40") 18 assertEQ(code1, "%23%24%26%2B%2C%2F%3A%3B%3D%3F%40") 19 let code2 = decodeURI("%23%24%26%2b%2c%2f%3a%3b%3d%3f%40") 20 assertEQ(code2, "%23%24%26%2b%2c%2f%3a%3b%3d%3f%40") 21 let code3 = decodeURI("%23%24%26%2b%2C%2F%3a%3b%3D%3F%40") 22 assertEQ(code3, "%23%24%26%2b%2C%2F%3a%3b%3D%3F%40")
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/import_tests/modules/ |
| D | typescript_file_import-expected.txt | 52 "column": 40 63 "column": 40 74 "column": 40 87 "column": 40
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/ |
| D | tuple_types_9_neg.ets | 22 /* @@? 18:40 Error SyntaxError: Invalid Type. */ 23 /* @@? 18:40 Error SyntaxError: Unexpected token, expected '>'. */ 24 /* @@? 18:40 Error SyntaxError: Unexpected token, expected ',' or ']'. */ 25 /* @@? 18:40 Error SyntaxError: Unexpected token '>'. */
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ts/ |
| D | InvalidLexer.ts | 37 /* @@? 40:66 Error SyntaxError: Expected '}', got 'end of stream'. */ 38 /* @@? 40:66 Error SyntaxError: Unterminated string */ 39 /* @@? 40:66 Error SyntaxError: Unexpected token, expected '${' or '`' */ 40 /* @@? 40:66 Error SyntaxError: Unexpected token, expected '`' */
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/arkts/@arkts/math/Decimal/ |
| D | toBinaryTestsPart2.ets | 68 arktest.assertEQ(new Decimal('0').toBinary(40, 4), '0b0p+0'); 69 arktest.assertEQ(new Decimal('9007199254740992').toBinary(40, 4), '0b1p+53'); 70 arktest.assertEQ(new Decimal('384').toBinary(40, 4), '0b1.1p+8'); 71 arktest.assertEQ(new Decimal('2').toBinary(40, 4), '0b1p+1'); 72 arktest.assertEQ(new Decimal('256').toBinary(40, 4), '0b1p+8'); 73 arktest.assertEQ(new Decimal('0.857421875').toBinary(40, 4), '0b1.10110111p-1');
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/trailing_lambda_tests/ |
| D | trailing_lambda_transform_trailing_block-expected.txt | 857 "line": 40, 862 "line": 40, 874 "line": 40, 879 "line": 40, 893 "line": 40, 898 "line": 40, 919 "line": 40, 924 "line": 40, 932 "line": 40, 937 "line": 40, [all …]
|
| /arkcompiler/runtime_core/abc2program/tests/ts/release-column-number/ |
| D | ReleaseEnableColumnNumberCallargsExpected.txt | 313 ldai 0x3d # line: 40 # column: 0 314 sta v71 # line: 40 # column: 0 315 ldai 0x3e # line: 40 # column: 0 316 sta v72 # line: 40 # column: 0 317 ldai 0x3f # line: 40 # column: 0 318 sta v73 # line: 40 # column: 0 319 ldai 0x40 # line: 40 # column: 0 320 sta v74 # line: 40 # column: 0 321 ldai 0x41 # line: 40 # column: 0 322 sta v75 # line: 40 # column: 0 [all …]
|