| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/25.equality_expressions/03.bigint_equality_operators/ |
| D | eq.params.yaml | 19 - new BigInt(0 as long) 20 - new BigInt(0.0f) 21 - new BigInt(-0.0) 22 - new BigInt(-(new BigInt(0))) 25 - new BigInt(+1 as byte) 26 - new BigInt(+1 as short) 27 - new BigInt(+1.0) 28 - new BigInt(+1n) 31 - new BigInt(-1 as short) 32 - new BigInt(-1) [all …]
|
| D | ne1.params.yaml | 19 - new BigInt(0 as long) 20 - new BigInt(0.0f) 21 - new BigInt(-0.0) 22 - new BigInt(-(new BigInt(0))) 25 - new BigInt(+1 as byte) 26 - new BigInt(+1 as short) 27 - new BigInt(+1.0) 28 - new BigInt(+1n) 31 - new BigInt(-1 as short) 32 - new BigInt(-1) [all …]
|
| D | ne2.params.yaml | 19 - new BigInt(0 as long) 20 - new BigInt(0.0f) 21 - new BigInt(-0.0) 22 - new BigInt(-(new BigInt(0))) 25 - new BigInt(+1 as byte) 26 - new BigInt(+1 as short) 27 - new BigInt(+1.0) 28 - new BigInt(+1n) 31 - new BigInt(-1 as short) 32 - new BigInt(-1) [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/ |
| D | FaultAttrs.ts | 28 faultsAttrs[FaultID.LiteralAsPropertyName] = new FaultAttributes(1); 29 faultsAttrs[FaultID.ComputedPropertyName] = new FaultAttributes(1); 30 faultsAttrs[FaultID.SymbolType] = new FaultAttributes(2); 31 faultsAttrs[FaultID.PrivateIdentifier] = new FaultAttributes(3); 32 faultsAttrs[FaultID.DeclWithDuplicateName] = new FaultAttributes(4); 33 faultsAttrs[FaultID.VarDeclaration] = new FaultAttributes(5); 34 faultsAttrs[FaultID.AnyType] = new FaultAttributes(8); 35 faultsAttrs[FaultID.UnknownType] = new FaultAttributes(8); 36 faultsAttrs[FaultID.CallSignature] = new FaultAttributes(14); 37 faultsAttrs[FaultID.ConstructorType] = new FaultAttributes(15); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/03.bigint_relational_operators/ |
| D | lt.params.yaml | 19 - new BigInt(0 as long) 20 - new BigInt(0.0f) 21 - new BigInt(-0.0) 22 - new BigInt(-(new BigInt(0))) 25 - new BigInt(+1 as byte) 26 - new BigInt(+1 as short) 27 - new BigInt(+1.0) 28 - new BigInt(+1n) 31 - new BigInt(-1 as short) 32 - new BigInt(-1) [all …]
|
| D | gt.params.yaml | 19 - new BigInt(0 as long) 20 - new BigInt(0.0f) 21 - new BigInt(-0.0) 22 - new BigInt(-(new BigInt(0))) 25 - new BigInt(+1 as byte) 26 - new BigInt(+1 as short) 27 - new BigInt(+1.0) 28 - new BigInt(+1n) 31 - new BigInt(-1 as short) 32 - new BigInt(-1) [all …]
|
| D | ge.params.yaml | 19 - new BigInt(0 as long) 20 - new BigInt(0.0f) 21 - new BigInt(-0.0) 22 - new BigInt(-(new BigInt(0))) 25 - new BigInt(+1 as byte) 26 - new BigInt(+1 as short) 27 - new BigInt(+1.0) 28 - new BigInt(+1n) 31 - new BigInt(-1 as short) 32 - new BigInt(-1) [all …]
|
| D | le.params.yaml | 19 - new BigInt(0 as long) 20 - new BigInt(0.0f) 21 - new BigInt(-0.0) 22 - new BigInt(-(new BigInt(0))) 25 - new BigInt(+1 as byte) 26 - new BigInt(+1 as short) 27 - new BigInt(+1.0) 28 - new BigInt(+1n) 31 - new BigInt(-1 as short) 32 - new BigInt(-1) [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | BigInt2.sts | 17 assert new BigInt(0).operatorLeftShift(new BigInt(0)) == (0n); 18 assert new BigInt(0).operatorLeftShift(new BigInt(1)) == (0n); 19 assert new BigInt(1).operatorLeftShift(new BigInt(0)) == (1n); 20 assert new BigInt(10).operatorLeftShift(new BigInt(2)) == (40n); 21 assert new BigInt(255).operatorLeftShift(new BigInt(41)) == (560750930165760n); 22 assert new BigInt(65535).operatorLeftShift(new BigInt(60)) == (75556710804409716572160n); 23 assert new BigInt(4294967295).operatorLeftShift(new BigInt(5)) == (137438953440n); 24 …assert new BigInt(18446744073709551615n).operatorLeftShift(new BigInt(6)) == (11805916207174113033… 25 …assert new BigInt(1275418875248948586535904902545412130n).operatorLeftShift(new BigInt(123)) == (1… 26 …assert new BigInt(2).operatorLeftShift(new BigInt(218)) == (84249833334845749358334422146936345855… [all …]
|
| D | BigInt4.sts | 17 assert new BigInt(10).operatorDivide(new BigInt(3)) == (3n); 18 assert new BigInt(-10).operatorDivide(new BigInt(3)) == (-3n); 19 assert new BigInt(10).operatorDivide(new BigInt(-3)) == (-3n); 20 assert new BigInt(-10).operatorDivide(new BigInt(-3)) == (3n); 21 assert new BigInt(100).operatorDivide(new BigInt(50)) == (2n); 22 assert new BigInt(100).operatorDivide(new BigInt(-50)) == (-2n); 23 assert new BigInt(-100).operatorDivide(new BigInt(50)) == (-2n); 24 assert new BigInt(-100).operatorDivide(new BigInt(-50)) == (2n); 25 …assert new BigInt(3124378143267041203423n).operatorDivide(new BigInt(43621978)) == (71623944775430… 26 …assert new BigInt(-3124378143267041203423n).operatorDivide(new BigInt(43621978)) == (-716239447754… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/ |
| D | unboxing2_call.params.yaml | 19 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)] 23 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)] 27 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)] 31 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)] 35 values: [new Byte(-128 as byte), new Byte(0 as byte), new Byte(127 as byte)] 40 values: ["new Char(c'\\u0000')", "new Char(c'X')", "new Char(c'\\uffff')"] 44 values: ["new Char(c'\\u0000')", "new Char(c'X')", "new Char(c'\\uffff')"] 48 values: ["new Char(c'\\u0000')", "new Char(c'X')", "new Char(c'\\uffff')"] 52 values: ["new Char(c'\\u0000')", "new Char(c'X')", "new Char(c'\\uffff')"] 57 values: [new Short(Short.MIN_VALUE), new Short(255 as short)] [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | sendable_no_structural_typing.sts | 29 const sc1:SC1 = new SC1(); 30 const nc1:NC1 = new NC1(); 31 const sc2:SC2 = new SC2(); 32 const nc2:NC2 = new NC2(); 33 const sct1:SCT1<number> = new SCT1(); 34 const nct1:NCT1<number> = new NCT1(); 35 const sct2:SCT2<number> = new SCT2(); 36 const nct2:NCT2<number> = new NCT2(); 41 let a1: SC1 = new NC1(); // ERROR 42 a1 = new NC1();// ERROR [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/decl_var/ |
| D | decl-var.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/decl_const/ |
| D | decl-const.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/comp_obj/ |
| D | comp-intf.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| D | comp-clss.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/call_cons/ |
| D | call-cons.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/assn_var/ |
| D | assn-var.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/decl_field/ |
| D | decl-field.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/call_meth/ |
| D | call-meth.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/comp_arr/ |
| D | comp-arr.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/call_func/ |
| D | call-func.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/call_lmbd/ |
| D | call-lmbd_n.params.yaml | 19 - { expr: new Byte(), val: 0 } 20 - { expr: new Byte(127 as byte), val: 127 } 21 - { expr: new Byte(-128 as byte), val: -128 } 26 - { expr: new Byte(), val: 0 } 27 - { expr: new Byte(127 as byte), val: 127 } 28 - { expr: new Byte(-128 as byte), val: -128 } 33 - { expr: new Byte(), val: 0 } 34 - { expr: new Byte(127 as byte), val: 127 } 35 - { expr: new Byte(-128 as byte), val: -128 } 40 - { expr: new Byte(), val: 0.0 as float } [all …]
|
| /arkcompiler/toolchain/tooling/test/testcases/js/ |
| D | variable_first.js | 20 var boolean0 = new Boolean(0); 28 var map0 = new Map(); 29 var set0 = new Set(); 40 var arraybuffer0 = new ArrayBuffer(24); 41 var uint8array0 = new Uint8Array(arraybuffer0); 42 const dataview0 = new DataView(arraybuffer0, 0); 44 var typedarray0 = new Uint8Array(); 45 var sharedarraybuffer0 = new SharedArrayBuffer(32); 47 var weakref0 = new WeakRef(obj0); 49 var set1 = new Set(); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/19.packages/03.import_and_overloading_of_function_names/ |
| D | pkgs_ab3.params.yaml | 20 …- arg1: 'new Byte(127 as byte), new Short(-128 as short), new Int(), new Long(-1 as long), new Flo… 21 …2: "new Byte(127 as byte), new Short(-128 as short), new Int(), new Long(-1 as long), new Float(-0… 28 let a2: Int[] = [new Int(), new Int(1)] 31 - arg1: '[new A3(), new A3()], [new B3(), new B3()]' 32 arg2: '[new A3(), new A3()], [new A3(), new A3()]' 50 return [p1, p2, p3, p4, p5, p6, p7, new Char(c'1')] 63 - arg1: 'new B8(), new A8()' 64 arg2: 'new A8(), new B8()' 69 - arg1: 'new A9()' 70 arg2: 'new B9()' [all …]
|