| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/ |
| D | sequenced.params.yaml | 16 - { stype: byte, sval: '0 as byte', dtype: Short } 17 - { stype: byte, sval: '0 as byte', dtype: Char } 18 - { stype: byte, sval: '0 as byte', dtype: Int } 19 - { stype: byte, sval: '0 as byte', dtype: Long } 20 - { stype: byte, sval: '0 as byte', dtype: Float } 21 - { stype: byte, sval: '0 as byte', dtype: Double } 23 - { stype: char, sval: "c'X'", dtype: Byte } 24 - { stype: char, sval: "c'X'", dtype: Short } 25 - { stype: char, sval: "c'X'", dtype: Int } 26 - { stype: char, sval: "c'X'", dtype: Long } [all …]
|
| D | invalid.params.yaml | 16 - { stype: byte, sval: 0 as byte, dtype: boolean } 17 - { stype: byte, sval: 0 as byte, dtype: Boolean } 19 - { stype: char, sval: "c'X'", dtype: boolean } 20 - { stype: char, sval: "c'X'", dtype: Boolean } 22 - { stype: short, sval: 0 as short, dtype: boolean } 23 - { stype: short, sval: 0 as short, dtype: Boolean } 25 - { stype: int, sval: 0 as int, dtype: boolean } 26 - { stype: int, sval: 0 as int, dtype: Boolean } 28 - { stype: long, sval: 0 as long, dtype: boolean } 29 - { stype: long, sval: 0 as long, dtype: Boolean } [all …]
|
| D | invalid2.params.yaml | 16 - { dtype: byte } 17 - { dtype: char } 18 - { dtype: short } 19 - { dtype: int } 20 - { dtype: long } 21 - { dtype: float } 22 - { dtype: double } 23 - { dtype: boolean } 24 - { dtype: Byte } 25 - { dtype: Char } [all …]
|
| D | widening_refs.params.yaml | 16 - { stype: Boolean, expr: new Boolean(true), dtype: Object } 17 - { stype: Boolean, expr: new Boolean(), dtype: Object } 18 - { stype: Byte, expr: new Byte(0x55 as byte), dtype: Object } 19 - { stype: Byte, expr: new Byte(0x55 as byte), dtype: Integral } 20 - { stype: Char, expr: new Char(c'W'), dtype: Object } 21 - { stype: Short, expr: new Short(0x5555 as short), dtype: Object } 22 - { stype: Short, expr: new Short(0x5555 as short), dtype: Integral } 23 - { stype: Int, expr: new Int(0x12121212 as int), dtype: Object } 24 - { stype: Int, expr: new Int(0x12121212 as int), dtype: Integral } 25 - { stype: Long, expr: new Long(0x3434343456565656 as long), dtype: Object } [all …]
|
| D | invalid.ets | 24 let d: {{c.dtype}} = s as {{c.dtype}};
|
| D | sequenced.ets | 24 let d: {{c.dtype}} = s as {{c.dtype}};
|
| D | invalid2.ets | 26 let d: {{c.dtype}} = s as {{c.dtype}};
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/ |
| D | prim_narrowing.params.yaml | 17 - { stype: short, src: Short.MIN_VALUE, dtype: byte, dst: 0 as byte } 18 - { stype: short, src: Short.MAX_VALUE, dtype: byte, dst: (-1) as byte } 19 - { stype: short, src: Short.MIN_VALUE, dtype: char, dst: "c'\\u8000'" } 20 - { stype: short, src: Short.MAX_VALUE, dtype: char, dst: "c'\\u7fff'" } 22 - { stype: char, src: "c'\\u0000'", dtype: byte, dst: 0 as byte } 23 - { stype: char, src: "c'\\uffff'", dtype: byte, dst: (-1) as byte } 24 - { stype: char, src: "c'\\u0000'", dtype: short, dst: 0 as short } 25 - { stype: char, src: "c'\\uffff'", dtype: short, dst: (-1) as short } 27 - { stype: int, src: Int.MIN_VALUE, dtype: byte, dst: 0 as byte } 28 - { stype: int, src: Int.MAX_VALUE, dtype: byte, dst: (-1) as byte } [all …]
|
| D | ref_widening.params.yaml | 16 - { stype: 'Object[]', src: 'new Object[1]', dtype: Object } 17 - { stype: 'Object[][]', src: 'new Object[1][1]', dtype: Object } 18 …- { stype: 'Object[][]', src: 'new Object[1][1]', dtype: 'Object[]', tags: 'compile-only, negative… 20 - { stype: '() => void', src: '() => { return; }', dtype: Object } 21 - { stype: '(() => void)[]', src: '[]', dtype: Object } 23 - { stype: 'Byte', src: 'new Byte()', dtype: Object } 24 - { stype: 'Short', src: 'new Short()', dtype: Object } 25 - { stype: 'Char', src: 'new Char()', dtype: Object } 26 - { stype: 'Int', src: 'new Int()', dtype: Object } 27 - { stype: 'Long', src: 'new Long()', dtype: Object } [all …]
|
| D | forbidden1.params.yaml | 16 - { stype: boolean, sval: 'true', dtype: byte } 17 - { stype: boolean, sval: 'false', dtype: int } 18 - { stype: boolean, sval: 'true', dtype: double } 19 - { stype: short, sval: 1 as short, dtype: boolean } 20 - { stype: long, sval: 1 as long, dtype: boolean } 21 - { stype: float, sval: 1.0 as float, dtype: boolean } 23 - { stype: Boolean, sval: new Boolean(), dtype: short } 24 - { stype: Boolean, sval: new Boolean(), dtype: long } 25 - { stype: Boolean, sval: new Boolean(), dtype: float } 26 - { stype: byte, sval: 1 as byte, dtype: Boolean } [all …]
|
| D | prim_wide_narrow.params.yaml | 17 - { stype: byte, src: Byte.MIN_VALUE, dtype: char, dst: "c'\\uff80'" } 18 - { stype: byte, src: Byte.MAX_VALUE, dtype: char, dst: "c'\\u007f'" } 19 - { stype: byte, src: 0 as byte, dtype: char, dst: "c'\\u0000'" } 20 - { stype: byte, src: 1 as byte, dtype: char, dst: "c'\\u0001'" } 21 - { stype: byte, src: (-1) as byte, dtype: char, dst: "c'\\uffff'" }
|
| D | forbidden2.params.yaml | 20 dtype: A 27 dtype: B 35 dtype: I 43 dtype: J 53 dtype: K
|
| D | ref_widening_neg.params.yaml | 22 dtype: Object 29 dtype: 'Object[]'
|
| D | forbidden2.ets | 27 let dst: {{c.dtype}} = src as {{c.dtype}};
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/02.class_or_interface_casting_conversions/ |
| D | predef_ref.params.yaml | 17 - { dtype: Boolean, stype: Object, pval: 'true' } 18 - { dtype: Boolean, stype: Comparable<Boolean>, pval: 'true' } 19 - { dtype: Boolean, stype: Object, pval: 'false' } 20 - { dtype: Boolean, stype: Comparable<Boolean>, pval: 'false' } 22 - { dtype: Byte, stype: Object, pval: 0x55 as byte } 23 - { dtype: Byte, stype: Numeric, pval: 0x7F as byte } 24 - { dtype: Byte, stype: Integral, pval: 0x80 as byte } 25 - { dtype: Byte, stype: Comparable<Byte>, pval: 0x80 as byte } 27 - { dtype: Char, stype: Object, pval: "c'W'" } 28 - { dtype: Char, stype: Comparable<Char>, pval: "c'Z'" } [all …]
|
| D | predef_ref_prim.params.yaml | 17 - { dtype: Boolean, stype: Object, pval: 'true' } 18 - { dtype: Boolean, stype: Object, pval: 'false' } 20 - { dtype: Byte, stype: Object, pval: 0x55 as byte } 21 - { dtype: Byte, stype: Integral, pval: 0x55 as byte } 23 - { dtype: Char, stype: Object, pval: "c'W'" } 25 - { dtype: Short, stype: Object, pval: 0x5555 as short } 26 - { dtype: Short, stype: Integral, pval: 0x5555 as short } 28 - { dtype: Int, stype: Object, pval: 0x12121212 } 29 - { dtype: Int, stype: Integral, pval: 0x12121212 } 31 - { dtype: Long, stype: Object, pval: 0x3434343456565656 as long } [all …]
|
| D | userdef_ref.params.yaml | 21 dtype: '[Object, Boolean, Long]' 28 dtype: TT 30 - { stype: 'Object', val: '[] as []', dtype: '[]' } # empty tuple 37 dtype: '() => void' 45 dtype: '(p: int) => Int' 53 dtype: B 60 dtype: B 67 dtype: A 75 dtype: B 83 dtype: A [all …]
|
| D | userdef_ref2.params.yaml | 23 dtype: T<Int> 36 dtype: T<Long> 49 dtype: T<Error> 61 dtype: T<Byte> 72 dtype: T<Int> 82 dtype: T<Int> 99 dtype: C 114 dtype: C 131 dtype: C 148 dtype: C
|
| D | predef_ref_prim.ets | 25 let s{{loop.index}}: {{t.stype}} = new {{t.dtype}}({{t.pval}}); 26 let d{{loop.index}}: {{t.dtype|lower}} = s{{loop.index}} as {{t.dtype|lower}};
|
| D | predef_ref.ets | 23 let s{{loop.index}}: {{t.stype}} = new {{t.dtype}}({{t.pval}}); 24 let d{{loop.index}}: {{t.dtype}} = s{{loop.index}} as {{t.dtype}};
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/01.numeric_casting_conversions/ |
| D | unboxing2.params.yaml | 17 - { dtype: short, dval: 119 as short, type: Byte, val: 0x77 as byte } 18 - { dtype: int, dval: 119, type: Byte, val: 0x77 as byte } 19 - { dtype: long, dval: 119 as long, type: Byte, val: 0x77 as byte } 20 - { dtype: float, dval: 16.0 as float, type: Byte, val: 16 as byte } 21 - { dtype: double, dval: 16.0 as double, type: Byte, val: 16 as byte } 23 - { dtype: int, dval: 13, type: Char, val: "c'\\r'" } 24 - { dtype: long, dval: 13 as long, type: Char, val: "c'\\r'" } 25 - { dtype: float, dval: 32.0 as float, type: Char, val: "c'\\u0020'" } 26 - { dtype: double, dval: 2.0 as double, type: Char, val: "c'\\u0002'" } 28 - { dtype: int, dval: 21845, type: Short, val: 0x5555 as short } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/08.function_method_and_constructor_overloading/01.function_overloading/ |
| D | fn_overloading2.params.yaml | 16 - { len: 254, dtype: int, dval: 0, type: long, val: 2 as long } 17 - { len: 5, dtype: Object, dval: new Object(), type: String, val: '""' } 18 - { len: 4, dtype: Object | null, dval: new Object(), type: String | null, val: 'null' } 19 - { len: 3, dtype: Object, dval: '""', type: String, val: '""' }
|
| D | fn_overloading2.ets | 25 function foo({%- for i in range(c.len)%}d{{i}}: {{c.dtype}}, {%endfor%}p: {{c.type}}): int { 28 function foo({%- for i in range(c.len)%}d{{i}}: {{c.dtype}}, {%endfor%}p: {{c.dtype}}): int {
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/lib/templates/ |
| D | uncovered_md.erb | 33 <% if i['dtype'] %> - *dtype:* <%= md(i['dtype']) + "\n" %><% end -%>
|
| /arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/templates/ |
| D | uncovered_md.erb | 33 <% if i['dtype'] %> - *dtype:* <%= md(i['dtype']) + "\n" %><% end -%>
|