Home
last modified time | relevance | path

Searched full:short (Results 1 – 25 of 1560) sorted by relevance

12345678910>>...63

/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/
Dlist.std_core_short_instance.yaml16 object_type: Short,
17 init_object_data_type: "short[]",
18 … init_object_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
21 method_return_type: short,
22 expected_data_item_type: short,
23 expected_data_type: "short[]",
25 …expected_test_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
30 object_type: Short,
31 init_object_data_type: "short[]",
32 init_object_data: "[0 as short, 1 as short, Byte.MIN_VALUE as short, Byte.MAX_VALUE as short]",
[all …]
Dlist.std_core_short_static.yaml16 object_type: Short,
17 param_init_data_types: {"param1":"short[]"} ,
18 param_types: {"param1":short},
20 method_return_type: Short,
21 expected_data_item_type: short,
22 expected_data_type: "short[]",
23 …param_list: {"param1": "[(-1) as short, 0 as short, 1 as short, Short.MAX_VALUE as short, Short.MI…
24 …expected_test_data: "[(-1) as short, 0 as short, 1 as short, Short.MAX_VALUE as short, Short.MIN_V…
Dlist.std_core_typeduarrays_methods.yaml22 primitiveTypeWide: "short",
30 primitiveType: "short",
31 elementType: "short",
32 cast2primitive: " as short",
37 …ata: "[0 as short, 10234 as short, 21445 as short, Short.MAX_VALUE as short, 43690 as short, 55321…
56 primitiveType: "short",
57 elementType: "short",
58 cast2primitive: " as short",
61 primitiveTypeWide: "short",
63 …data: "[0 as short, 18 as short, 37 as short, 72 as short, Byte.MAX_VALUE as short, 180 as short, …
Dlist.std_core_value.yaml33 name: short,
34 …init_values: {"0 as short", "1 as short", "-1 as short", "Short.MIN_VALUE as short", "Short.MAX_VA…
35 value_name: Short,
81 name: Short,
82Short.valueOf(0 as short)", "Short.valueOf(1 as short)", "Short.valueOf(-1 as short)", "Short.valu…
83 value_name: Short,
135 name: "short[]",
136 …init_values: {"[0 as short]", "[0 as short, 1 as short, -1 as short, Short.MIN_VALUE as short, Sho…
183 name: "Short[]",
184Short.valueOf(0 as short)]", "[Short.valueOf(0 as short), Short.valueOf(1 as short), Short.valueOf…
Dlist.std_core_typedarrays_function1.yaml28 primitiveType: "short",
29 elementType: "short",
30 cast2primitive: " as short",
33 …"[Short.MIN_VALUE as short, -12345 as short, -777 as short, -1 as short, 0 as short, 1 as short, 7…
34 …abnormalData: "[Short.MIN_VALUE - 2 as short, Short.MIN_VALUE - 1 as short, Short.MAX_VALUE + 1 as…
/arkcompiler/runtime_core/static_core/tests/cts-assembly/
Dtst-branch.pa32 call.short ret0
35 call.short ret1
43 call.short ret0
46 call.short ret1
54 call.short ret0
57 call.short ret1
65 call.short ret0
68 call.short ret1
76 call.short ret0
79 call.short ret1
[all …]
Dtst-select.pa169 call.short testVarsEqZeroI32, v0, v1
171 call.short testVarsEqZeroI32, v0, v0
173 call.short testVarsNeZeroI32, v0, v1
175 call.short testVarsNeZeroI32, v0, v0
177 call.short testVarSmallImmEqZeroI32, v3
179 call.short testVarSmallImmEqZeroI32, v2
181 call.short testVarSmallImmNeZeroI32, v3
183 call.short testVarSmallImmNeZeroI32, v2
185 call.short testVarLargeImmEqZeroI32, v3
187 call.short testVarLargeImmEqZeroI32, v2
[all …]
Dtst-compare.pa167 call.short testVarsEqZeroI32, v0, v1
169 call.short testVarsEqZeroI32, v0, v0
171 call.short testVarsNeZeroI32, v0, v1
173 call.short testVarsNeZeroI32, v0, v0
175 call.short testVarSmallImmEqZeroI32, v3
177 call.short testVarSmallImmEqZeroI32, v2
179 call.short testVarSmallImmNeZeroI32, v3
181 call.short testVarSmallImmNeZeroI32, v2
183 call.short testVarLargeImmEqZeroI32, v3
185 call.short testVarLargeImmEqZeroI32, v2
[all …]
/arkcompiler/runtime_core/tests/cts-assembly/
Dtst-branch.pa32 call.short ret0
35 call.short ret1
43 call.short ret0
46 call.short ret1
54 call.short ret0
57 call.short ret1
65 call.short ret0
68 call.short ret1
76 call.short ret0
79 call.short ret1
[all …]
Dtst-compare.pa167 call.short testVarsEqZeroI32, v0, v1
169 call.short testVarsEqZeroI32, v0, v0
171 call.short testVarsNeZeroI32, v0, v1
173 call.short testVarsNeZeroI32, v0, v0
175 call.short testVarSmallImmEqZeroI32, v3
177 call.short testVarSmallImmEqZeroI32, v2
179 call.short testVarSmallImmNeZeroI32, v3
181 call.short testVarSmallImmNeZeroI32, v2
183 call.short testVarLargeImmEqZeroI32, v3
185 call.short testVarLargeImmEqZeroI32, v2
[all …]
Dtst-select.pa169 call.short testVarsEqZeroI32, v0, v1
171 call.short testVarsEqZeroI32, v0, v0
173 call.short testVarsNeZeroI32, v0, v1
175 call.short testVarsNeZeroI32, v0, v0
177 call.short testVarSmallImmEqZeroI32, v3
179 call.short testVarSmallImmEqZeroI32, v2
181 call.short testVarSmallImmNeZeroI32, v3
183 call.short testVarSmallImmNeZeroI32, v2
185 call.short testVarLargeImmEqZeroI32, v3
187 call.short testVarLargeImmEqZeroI32, v2
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DShort.sts19 * Represents boxed short value and related operations
21 export final class Short extends Integral implements Comparable<Short>, JSONable<Short> {
22 private value: short;
25 * Constructs a new Short instance with initial value zero
32 * Constructs a new Short instance with provided initial value
36 public constructor(value: short) {
41 * Constructs a new Short instance with provided initial value
45 public constructor(value: Short) {
54 public unboxed(): short {
65 public static valueOf(value: short): Short {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/03.numeric_operator_contexts/binary_numeric_promotion/
Dresult_type_bitwise.params.yaml17 - { type: byte, val: 1 as byte, rt: short, rv: 1 as short, op: '^', res: 3 }
25 - { type: byte, val: 1 as byte, rt: Short, rv: new Short(1 as short), op: '&', res: 3 }
32 - { type: short, val: 1 as short, rt: byte, rv: 1 as byte, op: '^', res: 3 }
33 - { type: short, val: 1 as short, rt: short, rv: 1 as short, op: '|', res: 3 }
34 - { type: short, val: 1 as short, rt: char, rv: "c'0'", op: '&', res: 3 }
35 - { type: short, val: 1 as short, rt: int, rv: 1, op: '^', res: 3 }
36 - { type: short, val: 1 as short, rt: long, rv: 1 as long, op: '|', res: 4 }
37 - { type: short, val: 1 as short, rt: float, rv: 1.0 as float, op: '^', res: 3 }
38 - { type: short, val: 1 as short, rt: double, rv: 1.0, op: '&', res: 4 }
40 - { type: short, val: 1 as short, rt: Byte, rv: new Byte(1 as byte), op: '&', res: 3 }
[all …]
Dresult_type_cond.params.yaml17 - { type: byte, val: 1 as byte, rt: short, rv: 1 as short, res: 2 }
25 - { type: byte, val: 1 as byte, rt: Short, rv: new Short(1 as short), res: 40 }
32 - { type: short, val: 1 as short, rt: byte, rv: 1 as byte, res: 2 }
33 - { type: short, val: 1 as short, rt: short, rv: 1 as short, res: 2 }
34 - { type: short, val: 1 as short, rt: char, rv: "c'0'", res: 40 }
35 - { type: short, val: 1 as short, rt: int, rv: 1, res: 3 }
36 - { type: short, val: 1 as short, rt: long, rv: 1 as long, res: 4 }
37 - { type: short, val: 1 as short, rt: float, rv: 1.0 as float, res: 7 }
38 - { type: short, val: 1 as short, rt: double, rv: 1.0, res: 8 }
40 - { type: short, val: 1 as short, rt: Byte, rv: new Byte(1 as byte), res: 40 }
[all …]
Dresult_type_bool.params.yaml17 - { type: byte, val: 1 as byte, rt: short, rv: 1 as short, op: '!=' }
25 - { type: byte, val: 1 as byte, rt: Short, rv: new Short(1 as short), op: '>' }
32 - { type: short, val: 1 as short, rt: byte, rv: 1 as byte, op: '>' }
33 - { type: short, val: 1 as short, rt: short, rv: 1 as short, op: '>=' }
34 - { type: short, val: 1 as short, rt: char, rv: "c'0'", op: '<' }
35 - { type: short, val: 1 as short, rt: int, rv: 1, op: '<=' }
36 - { type: short, val: 1 as short, rt: long, rv: 1 as long, op: '==' }
37 - { type: short, val: 1 as short, rt: float, rv: 1.0 as float, op: '!=' }
38 - { type: short, val: 1 as short, rt: double, rv: 1.0, op: '>' }
40 - { type: short, val: 1 as short, rt: Byte, rv: new Byte(1 as byte), op: '>=' }
[all …]
Dresult_type_arith.params.yaml17 - { type: byte, val: 1 as byte, rt: short, rv: 1 as short, op: '-', res: 3 }
25 - { type: byte, val: 1 as byte, rt: Short, rv: new Short(1 as short), op: '/', res: 3 }
32 - { type: short, val: 1 as short, rt: byte, rv: 1 as byte, op: '+', res: 3 }
33 - { type: short, val: 1 as short, rt: short, rv: 1 as short, op: '-', res: 3 }
34 - { type: short, val: 1 as short, rt: char, rv: "c'0'", op: '*', res: 3 }
35 - { type: short, val: 1 as short, rt: int, rv: 1, op: '/', res: 3 }
36 - { type: short, val: 1 as short, rt: long, rv: 1 as long, op: '%', res: 4 }
37 - { type: short, val: 1 as short, rt: float, rv: 1.0 as float, op: '+', res: 7 }
38 - { type: short, val: 1 as short, rt: double, rv: 1.0, op: '-', res: 8 }
40 - { type: short, val: 1 as short, rt: Byte, rv: new Byte(1 as byte), op: '*', res: 3 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/
Dunboxing2_call.params.yaml17 - type: short
56 ref_type: Short
57 values: [new Short(Short.MIN_VALUE), new Short(255 as short)]
60 ref_type: Short
61 values: [new Short(Short.MIN_VALUE), new Short(255 as short)]
64 ref_type: Short
65 values: [new Short(Short.MIN_VALUE), new Short(255 as short)]
68 ref_type: Short
69 values: [new Short(Short.MIN_VALUE), new Short(255 as short)]
Dunboxing2.params.yaml18 dst_type: short
55 - src_type: Short
57 values: [-32768 as short, -128 as short, 0 as short]
59 - src_type: Short
61 values: [-32768 as short, -128 as short, 0 as short]
63 - src_type: Short
65 values: [-32768 as short, -128 as short, 0 as short]
67 - src_type: Short
69 values: [-32768 as short, -128 as short, 0 as short]
Dprim_narrowing.params.yaml17 - { 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'" }
24 - { stype: char, src: "c'\\u0000'", dtype: short, dst: 0 as short }
25 - { stype: char, src: "c'\\uffff'", dtype: short, dst: (-1) as short }
29 - { stype: int, src: Int.MIN_VALUE, dtype: short, dst: 0 as short }
30 - { stype: int, src: Int.MAX_VALUE, dtype: short, dst: (-1) as short }
36 - { stype: long, src: Long.MIN_VALUE, dtype: short, dst: 0 as short }
37 - { stype: long, src: Long.MAX_VALUE, dtype: short, dst: (-1) as short }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/
Dsequenced.params.yaml16 - { stype: byte, sval: '0 as byte', dtype: Short }
24 - { stype: char, sval: "c'X'", dtype: Short }
30 - { stype: short, sval: '0 as short', dtype: Byte }
31 - { stype: short, sval: '0 as short', dtype: Char }
32 - { stype: short, sval: '0 as short', dtype: Int }
33 - { stype: short, sval: '0 as short', dtype: Long }
34 - { stype: short, sval: '0 as short', dtype: Float }
35 - { stype: short, sval: '0 as short', dtype: Double }
38 - { stype: int, sval: '0', dtype: Short }
45 - { stype: long, sval: '0 as long', dtype: Short }
[all …]
/arkcompiler/runtime_core/tests/regression/
Dstack-9-params.pa23 call.short IO.printString, v0, v0
24 call.short IO.printI64, a0, a0
25 call.short IO.printString, v0, v0
26 call.short IO.printI64, a1, a1
27 call.short IO.printString, v0, v0
28 call.short IO.printI64, a2, a2
29 call.short IO.printString, v0, v0
30 call.short IO.printI64, a3, a3
31 call.short IO.printString, v0, v0
32 call.short IO.printI64, a4, a4
[all …]
/arkcompiler/runtime_core/static_core/tests/regression/
Dstack-9-params.pa23 call.short IO.printString, v0, v0
24 call.short IO.printI64, a0, a0
25 call.short IO.printString, v0, v0
26 call.short IO.printI64, a1, a1
27 call.short IO.printString, v0, v0
28 call.short IO.printI64, a2, a2
29 call.short IO.printString, v0, v0
30 call.short IO.printI64, a3, a3
31 call.short IO.printString, v0, v0
32 call.short IO.printI64, a4, a4
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/call_lmbd/
Dcall-lmbd_n.params.yaml17 to_type: short
51 - from_type: Short
54 - { expr: new Short(), val: 0 }
55 - { expr: new Short(Byte.MIN_VALUE as short), val: -128 }
56 - { expr: new Short(Byte.MAX_VALUE as short), val: 127 }
57 - { expr: new Short(Short.MIN_VALUE), val: -32768 }
58 - { expr: new Short(Short.MAX_VALUE), val: 32767 }
60 - from_type: Short
63 - { expr: new Short(), val: 0 }
64 - { expr: new Short(Byte.MIN_VALUE as short), val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/decl_var/
Ddecl-var.params.yaml24 to_type: short
58 - from_type: Short
59 to_type: short
61 - { expr: new Short(), val: 0 }
62 - { expr: new Short(Byte.MIN_VALUE as short), val: -128 }
63 - { expr: new Short(Byte.MAX_VALUE as short), val: 127 }
64 - { expr: new Short(Short.MIN_VALUE), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE), val: 32767 }
67 - from_type: Short
70 - { expr: new Short(), 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/
Ddecl-const.params.yaml24 to_type: short
58 - from_type: Short
59 to_type: short
61 - { expr: new Short(), val: 0 }
62 - { expr: new Short(Byte.MIN_VALUE as short), val: -128 }
63 - { expr: new Short(Byte.MAX_VALUE as short), val: 127 }
64 - { expr: new Short(Short.MIN_VALUE), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE), val: 32767 }
67 - from_type: Short
70 - { expr: new Short(), val: 0 }
[all …]

12345678910>>...63