| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/03.numeric_operator_contexts/unary_numeric_promotion/ |
| D | bitwise_complement.params.yaml | 16 - { type: byte, val: 42, r: [5, 5, 5, -43, 42, -43] } 17 - { type: byte, val: -42, r: [5, 5, 5, 41, -42, 41] } 18 - { type: short, val: 255, r: [5, 5, 5, -256, 255, -256] } 19 - { type: short, val: -255, r: [5, 5, 5, 254, -255, 254] } 20 - { type: char, val: "c'A'", r: [5, 5, 5, -66, 65, -66] } 21 - { type: char, val: "c'\\uFFFF'", r: [5, 5, 5, -65536, 65535, -65536] } 22 - { type: int, val: '0xFFFFFFFF', r: [5, 5, 5, 0, -1, 0] } 24 - { type: Byte, val: new Byte(3 as byte), r: [5, 5, 5, -4, 3, -4] } 25 - { type: Short, val: new Short(0x1ff as short), r: [5, 5, 5, -512, 511, -512] } 26 - { type: Char, val: new Char(c' '), r: [5, 5, 5, -33, 32, -33] } [all …]
|
| D | unary_plus.params.yaml | 16 - { type: byte, val: 42, r: [5, 5, 5, 42, 42, 42] } 17 - { type: byte, val: -42, r: [5, 5, 5, -42, -42, -42] } 18 - { type: short, val: 255, r: [5, 5, 5, 255, 255, 255] } 19 - { type: short, val: -255, r: [5, 5, 5, -255, -255, -255] } 20 - { type: char, val: "c'A'", r: [5, 5, 5, 65, 65, 65] } 21 - { type: char, val: "c'\\uFFFF'", r: [5, 5, 5, 65535, 65535, 65535] } 22 - { type: int, val: '0xFFFFFFFF', r: [5, 5, 5, -1, -1, -1] } 26 - { type: Byte, val: new Byte(3 as byte), r: [5, 5, 5, 3, 3, 3] } 27 - { type: Short, val: new Short(0x1ff as short), r: [5, 5, 5, 511, 511, 511] } 28 - { type: Char, val: new Char(c' '), r: [5, 5, 5, 32, 32, 32] } [all …]
|
| D | unary_minus.params.yaml | 16 - { type: byte, val: 42, r: [5, 5, 5, -42, 42, -42] } 17 - { type: byte, val: -42, r: [5, 5, 5, 42, -42, 42] } 18 - { type: short, val: 255, r: [5, 5, 5, -255, 255, -255] } 19 - { type: short, val: -255, r: [5, 5, 5, 255, -255, 255] } 20 - { type: char, val: "c'A'", r: [5, 5, 5, -65, 65, -65] } 21 - { type: char, val: "c'\\uFFFF'", r: [5, 5, 5, -65535, 65535, -65535] } 22 - { type: int, val: '0xFFFFFFFF', r: [5, 5, 5, 1, -1, 1] } 26 - { type: Byte, val: new Byte(3 as byte), r: [5, 5, 5, -3, 3, -3] } 27 - { type: Short, val: new Short(0x1ff as short), r: [5, 5, 5, -511, 511, -511] } 28 - { type: Char, val: new Char(c' '), r: [5, 5, 5, -32, 32, -32] } [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ts/ |
| D | as_expression_7.ts | 17 var a = [5,5,5,5] as const; 18 /* @@ label */a = [5,5,5,5,5]; 20 /* @@@ label Error TypeError: Type '[5, 5, 5, 5, 5]' is not assignable to type 'readonly [5, 5, 5, …
|
| D | as_expression_8.ts | 17 var a = [5,5,5,5] as const; 18 /* @@ label */a = [5,5,5]; 20 /* @@@ label Error TypeError: Type '[5, 5, 5]' is not assignable to type 'readonly [5, 5, 5, 5]'. …
|
| D | as_expression_10.ts | 17 var a = [5,5,5,5] as const; 18 /* @@ label */a = 5; 20 /* @@@ label Error TypeError: Type 'number' is not assignable to type 'readonly [5, 5, 5, 5]'. */
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedarray/ |
| D | expect_output.txt | 18 An index of null returns 5 19 An index of undefined returns 5 21 An index of undefined returns 5 37 5 46 1,5,5,5 52 3,5,5,3 61 5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,… 62 5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,… 63 5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,… 64 5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,… [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/ets_frontend/testTs/expect/types/objectTypeLiteral/propertySignatures/ |
| D | propertyNamesOfReservedWords.txt | 1 …5, 'v': 'abstract'}, {'t': 25, 'v': 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'as'}, {… 3 …5, 'v': 'abstract'}, {'t': 25, 'v': 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'as'}, {… 4 …5, 'v': 'abstract'}, {'t': 25, 'v': 0}, {'t': 5, 'v': 'as'}, {'t': 25, 'v': 0}, {'t': 5, 'v': 'boo…
|
| /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], 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], 62 expected: [1, 4, 3, 4, 5], [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe55.md | 18 let a = +5 // 5 as number 19 let b = +"5" // 5 as number 20 let c = -5 // -5 as number 21 let d = -"5" // -5 as number 22 let e = ~5 // -6 as number 23 let f = ~"5" // -6 as number 44 let a = +5 // 5 as number 45 let b = +"5" // Compile-time error 46 let c = -5 // -5 as number 47 let d = -"5" // Compile-time error [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], 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], 62 expected: [1, 4, 3, 4, 5], [all …]
|
| /arkcompiler/ets_runtime/test/aottest/binaryop_special_value/ |
| D | expect_output.txt | 28 5 29 5 30 5 31 5 32 5 110 5 111 5 123 5 124 5 125 5 [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/sendable_class/ |
| D | sendable-class-field-type-expected.txt | 85 val: 5 89 tag: 5 95 val: 5 99 tag: 5 105 val: 5 108 index: 5 109 tag: 5 121 tag: 5 131 tag: 5 136 tag: 5 [all …]
|
| /arkcompiler/ets_runtime/test/aottest/poly_merge/ |
| D | pgo_expect_output.txt | 15 5 18 5 19 5 20 5 23 5 24 5 27 5 30 5 31 5 32 5
|
| D | expect_output.txt | 15 5 20 5 21 5 22 5 27 5 28 5 32 5 37 5 38 5 39 5
|
| /arkcompiler/ets_frontend/testTs/expect/types/spread/ |
| D | objectSpreadRepeatedNullCheckPerf.txt | 1 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'parseWithSpread'}, {'t': 2, 'v': 0}, {'t… 2 …5, 'v': 'a'}, {'t': 25, 'v': 4}, {'t': 2, 'v': 0}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'b'}, {'t': 25,…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/04.overriding_fields/ |
| D | overriding_fields.params.yaml | 32 - base: "static field: int = 5" 38 assertEQ(Base.field, 5); 40 - base: "static field: int = 5" 46 assertEQ(A.field, 5); 47 #5 48 - base: "static field: int = 5" 54 assertEQ(A.field, 5); 57 child: "static field: int = 5" 62 assertEQ(A.field, 5); 65 child: "static field: int = 5" [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
| D | as_expression_7-expected.txt | 15 "column": 5 30 "value": 5, 44 "value": 5, 58 "value": 5, 72 "value": 5, 137 "column": 5 182 "value": 5, 196 "value": 5, 210 "value": 5, 224 "value": 5, [all …]
|
| D | objectLiteralAssignability.ts | 18 var obj2: { a: number, b: string } | { a: number, b: string, c: number } = { a: 5, b: "foo", ...obj… 22 var obj4: { a: typeof obj3, b?: { a: number, b?: string } } = { a: {}, b: { a: 5 } }; 23 obj4 = { a: {}, b: { a: 5, b: "foo" } }; 26 var obj5: { a: { a: number, b: string }, b: { a: boolean } } = { a: { a: 5, b: "foo" }, b: { a: tru… 32 obj7 = { a: 5 }; 33 obj7 = { a: "foo", b: 5 }; 34 obj7 = { a: true, b: "foo", c: 5 }; 40 var obj9: { 5: number, "foo": string } = { 5: 5, "foo": "foo" }; 46 var obj11 = { get 5() { return 5; }, set "foo"(a: any) { } }; 51 obj12 = { a: 5 }; [all …]
|
| D | as_expression_7.ts | 17 var a = [5,5,5,5] as const; 18 a = [5,5,5,5,5];
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ts/ |
| D | objectLiteralAssignability.ts | 18 var obj2: { a: number, b: string } | { a: number, b: string, c: number } = { a: 5, b: "foo", ...obj… 22 var obj4: { a: typeof obj3, b?: { a: number, b?: string } } = { a: {}, b: { a: 5 } }; 23 obj4 = { a: {}, b: { a: 5, b: "foo" } }; 26 var obj5: { a: { a: number, b: string }, b: { a: boolean } } = { a: { a: 5, b: "foo" }, b: { a: tru… 32 obj7 = { a: 5 }; 33 obj7 = { a: "foo", b: 5 }; 34 obj7 = { a: true, b: "foo", c: 5 }; 40 var obj9: { 5: number, "foo": string } = { 5: 5, "foo": "foo" }; 46 var obj11 = { get 5() { return 5; }, set "foo"(a: any) { } }; 51 obj12 = { a: 5 }; [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/js/language/import/ |
| D | lazy-import-expected.txt | 55 tag: 5 60 tag: 5 65 tag: 5 70 tag: 5 74 index: 5 76 val: 5 80 tag: 5 85 tag: 5 95 tag: 5 100 tag: 5 [all …]
|
| /arkcompiler/ets_frontend/testTs/expect/types/rest/ |
| D | objectRestAssignment.txt | 1 {'lb': [{'t': 2, 'v': 6}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'ki'}, {'t': 25, 'v': 0}], 'k': '_1'} 3 {'lb': [{'t': 2, 'v': 6}, {'t': 2, 'v': 2}, {'t': 5, 'v': 'x'}, {'t': 24, 'v': '_4'}, {'t': 5, 'v':… 4 {'lb': [{'t': 2, 'v': 6}, {'t': 2, 'v': 2}, {'t': 5, 'v': 'ka'}, {'t': 25, 'v': 0}, {'t': 5, 'v': '… 5 …v': 4}, {'t': 5, 'v': 'a'}, {'t': 24, 'v': '_7'}, {'t': 5, 'v': 'b'}, {'t': 24, 'v': '_8'}, {'t': … 6 {'lb': [{'t': 2, 'v': 6}, {'t': 2, 'v': 2}, {'t': 5, 'v': 'ka'}, {'t': 25, 'v': 4}, {'t': 5, 'v': '… 7 {'lb': [{'t': 2, 'v': 5}, {'t': 24, 'v': '_6'}], 'k': '_7'} 8 …2, 'v': 6}, {'t': 2, 'v': 3}, {'t': 5, 'v': 'z'}, {'t': 25, 'v': 4}, {'t': 5, 'v': 'ki'}, {'t': 25…
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/decorators/ |
| D | test-ts-decorators-5-expected.txt | 1 test-ts-decorators-5 4 test-ts-decorators-5 7 test-ts-decorators-5 10 test-ts-decorators-5 13 test-ts-decorators-5 16 test-ts-decorators-5 19 test-ts-decorators-5
|