Home
last modified time | relevance | path

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

12345678910>>...59

/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…
/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 …]
/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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/01.integer_types_and_operations/subtraction/
Dsubtraction_short.params.yaml19 - { left: "Short.MAX_VALUE as short", right: 0, result: "Short.MAX_VALUE as short" }
20 - { left: "Short.MAX_VALUE as short", right: 1, result: 32766 }
21 - { left: "Short.MIN_VALUE as short", right: 0, result: "Short.MIN_VALUE as short" }
22 - { left: "Short.MIN_VALUE as short", right: 1, result: -32769 }
25 - { left: "Short.MIN_VALUE as short", right: -1, result: -32767 }
26 - { left: "Short.MAX_VALUE as short", right: -1, result: 32768 }
27 - { left: "Short.MIN_VALUE as short", right: "Short.MAX_VALUE as short", result: -65535 }
28 - { left: "Short.MAX_VALUE as short", right: "Short.MIN_VALUE as short", result: 65535 }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/01.integer_types_and_operations/multiplication/
Dmultiplication_short.params.yaml19 - { left: 0, right: "Short.MAX_VALUE as short", result: 0 }
20 - { left: 1, right: "Short.MAX_VALUE as short", result: "Short.MAX_VALUE as short" }
21 - { left: 0, right: "Short.MIN_VALUE as short", result: 0 }
22 - { left: 1, right: "Short.MIN_VALUE as short", result: "Short.MIN_VALUE as short" }
26 - { left: -1, right: "Short.MIN_VALUE as short", result: 32768 }
27 - { left: -1, right: "Short.MAX_VALUE as short", result: -32767 }
28 - { left: "Short.MAX_VALUE as short", right: "Short.MAX_VALUE as short", result: 1073676289 }
29 - { left: "Short.MIN_VALUE as short", right: "Short.MIN_VALUE as short", result: 1073741824 }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/01.integer_types_and_operations/equal/
Dequal_short.params.yaml23 - { left: "Short.MIN_VALUE as short", right: 0, result: "false" }
24 - { left: "Short.MIN_VALUE as short", right: 742, result: "false" }
25 - { left: "Short.MIN_VALUE as short", right: "Short.MAX_VALUE as short", result: "false" }
26 - { left: "Short.MIN_VALUE as short", right: "Short.MIN_VALUE as short", result: "true" }
27 - { left: "Short.MAX_VALUE as short", right: 0, result: "false" }
28 - { left: "Short.MAX_VALUE as short", right: 742, result: "false" }
29 - { left: "Short.MAX_VALUE as short", right: "Short.MAX_VALUE as short", result: "true" }
30 - { left: "Short.MAX_VALUE as short", right: "Short.MIN_VALUE as short", result: "false" }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/01.integer_types_and_operations/not_equal/
Dnot_equal_short.params.yaml23 - { left: "Short.MIN_VALUE as short", right: 0, result: "true" }
24 - { left: "Short.MIN_VALUE as short", right: 21198, result: "true" }
25 - { left: "Short.MIN_VALUE as short", right: "Short.MAX_VALUE as short", result: "true" }
26 - { left: "Short.MIN_VALUE as short", right: "Short.MIN_VALUE as short", result: "false" }
27 - { left: "Short.MAX_VALUE as short", right: 0, result: "true" }
28 - { left: "Short.MAX_VALUE as short", right: 30221, result: "true" }
29 - { left: "Short.MAX_VALUE as short", right: "Short.MAX_VALUE as short", result: "false" }
30 - { left: "Short.MAX_VALUE as short", right: "Short.MIN_VALUE as short", result: "true" }
/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/03.types/07.value_types/01.integer_types_and_operations/addition/
Daddition_short.params.yaml19 - { left: 0, right: "Short.MAX_VALUE as short", result: "Short.MAX_VALUE as short" }
20 - { left: 1, right: "Short.MAX_VALUE as short", result: 32768 }
21 - { left: 0, right: "Short.MIN_VALUE as short", result: "Short.MIN_VALUE as short" }
22 - { left: 1, right: "Short.MIN_VALUE as short", result: -32767 }
25 - { left: -1, right: "Short.MIN_VALUE as short", result: -32769 }
26 - { left: -1, right: "Short.MAX_VALUE as short", result: 32766 }
27 - { left: "Short.MIN_VALUE as short", right: "Short.MAX_VALUE as short", result: -1 }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/01.integer_types_and_operations/remainder/
Dremainder_short.params.yaml20 - { left: 1, right: "Short.MAX_VALUE as short", result: 1 }
21 - { left: 1, right: "Short.MIN_VALUE as short", result: 1 }
22 - { left: -1, right: "Short.MAX_VALUE as short", result: -1 }
23 - { left: -1, right: "Short.MIN_VALUE as short", result: -1 }
24 - { left: "Short.MAX_VALUE as short", right: "Short.MIN_VALUE as short", result: "Short.MAX_VALUE a…
25 - { left: "Short.MIN_VALUE as short", right: "Short.MAX_VALUE as short", result: -1 }
/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 as short), new Short(255 as short)]
60 ref_type: Short
61 values: [new Short(Short.MIN_VALUE as short), new Short(255 as short)]
64 ref_type: Short
65 values: [new Short(Short.MIN_VALUE as short), new Short(255 as short)]
68 ref_type: Short
69 values: [new Short(Short.MIN_VALUE as short), new Short(255 as short)]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/01.integer_types_and_operations/bitwise_and/
Dbitwise_and_short.params.yaml20 - { left: "Short.MIN_VALUE as short", right: "Short.MIN_VALUE as short", result: "Short.MIN_VALUE a…
21 - { left: "Short.MAX_VALUE as short", right: "Short.MAX_VALUE as short", result: "Short.MAX_VALUE a…
22 - { left: "Short.MIN_VALUE as short", right: "Short.MAX_VALUE as short", result: 0 }
27 - { left: "0x5555", right: "0xaaaa as short", result: 0 }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/07.value_types/01.integer_types_and_operations/bitwise_or/
Dbitwise_or_short.params.yaml20 - { left: "Short.MIN_VALUE as short", right: "Short.MIN_VALUE as short", result: "Short.MIN_VALUE a…
21 - { left: "Short.MAX_VALUE as short", right: "Short.MAX_VALUE as short", result: "Short.MAX_VALUE a…
22 - { left: "Short.MIN_VALUE as short", right: "Short.MAX_VALUE as short", result: -1 }
27 - { left: "0x5555", right: "0xaaaa as short", result: -1 }
/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_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_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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.unboxing_conversion/decl_field/
Ddecl-field.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 as short), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE as short), 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/comp_obj/
Dcomp-clss.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 as short), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE as short), val: 32767 }
67 - from_type: Short
70 - { expr: new Short(), val: 0 }
[all …]
Dcomp-intf.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 as short), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE as short), 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/call_cons/
Dcall-cons.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 as short), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE as short), 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_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 as short), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE as short), 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/call_meth/
Dcall-meth.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 as short), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE as short), 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/call_lmbd/
Dcall-lmbd.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 as short), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE as short), 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/assn_var/
Dassn-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 as short), val: -32768 }
65 - { expr: new Short(Short.MAX_VALUE as short), val: 32767 }
67 - from_type: Short
70 - { expr: new Short(), val: 0 }
[all …]

12345678910>>...59