Home
last modified time | relevance | path

Searched full:as (Results 1 – 25 of 10390) sorted by relevance

12345678910>>...416

/arkcompiler/ets_frontend/es2panda/test/parser/ts/stack_overflow/
Dstack_overflow_as.ts10 * distributed under the License is distributed on an "AS IS" BASIS,
16 // stack overflow If the recursion depth exceeds 1021 with 'as'
18 a as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
19 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
20 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
21 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
22 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
23 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
24 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
25 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
[all …]
Dstack_overflow_as_normal.ts10 * distributed under the License is distributed on an "AS IS" BASIS,
16 // stack overflow If the recursion depth exceeds 1021 with 'as'
18 a as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
19 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
20 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
21 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
22 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
23 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
24 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
25 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/
Dlist.std_core_long_instance.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
24 …init_object_data: "[0 as long, 1 as int, -1 as int, Long.MIN_VALUE as long, Long.MAX_VALUE as long…
26 …expected_test_data: "[0 as long, 1 as long, -1 as long, Long.MIN_VALUE as long, Long.MAX_VALUE as
41 init_object_data: "[0 as long, 1 as long, Byte.MIN_VALUE as long, Byte.MAX_VALUE as long]",
43 expected_test_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
56 init_object_data: "[0 as long, 1 as long, Short.MIN_VALUE as long, Short.MAX_VALUE as long]",
58 …expected_test_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
71 …init_object_data: "[0 as long, 1 as long, -1 as long, Int.MIN_VALUE as long, Int.MAX_VALUE as long…
73 … expected_test_data: "[0 as int, 1 as int, -1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
86 …init_object_data: "[0 as long, 1 as long, -1 as long, Long.MIN_VALUE as long, Long.MAX_VALUE as lo…
[all …]
Dlist.std_core_float_instance.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
23 …init_object_data: "[0.0 as float, 1.0 as float, Float.MIN_VALUE as float, Float.MAX_VALUE as float…
25 …expected_test_data: "[0.0 as float, 1.0 as float, Float.MIN_VALUE as float, Float.MAX_VALUE as flo…
37 … init_object_data: "[0.0 as float, 1.0 as float, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
39 expected_test_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
51 …init_object_data: "[0.0 as float, 1.0 as byte, Short.MIN_VALUE as short, Short.MAX_VALUE as short]…
53 …expected_test_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
65 … init_object_data: "[0.0 as float, 1.0 as float, Int.MIN_VALUE as float, Int.MAX_VALUE as float]",
67 expected_test_data: "[0 as int, 1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
79 …init_object_data: "[0.0 as float, 1.0 as float, Long.MIN_VALUE as float, Long.MAX_VALUE as float]",
[all …]
Dlist.std_core_byte_instance.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
18 init_object_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
25 expected_test_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
32 init_object_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
39 expected_test_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
46 init_object_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
53 … expected_test_data: "[0 as short, 1 as short, Byte.MIN_VALUE as short, Byte.MAX_VALUE as short]",
60 init_object_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
67 expected_test_data: "[0 as int, 1 as int, Byte.MIN_VALUE as int, Byte.MAX_VALUE as int]",
74 init_object_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
[all …]
Dlist.std_core_int_instance.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
18 init_object_data: "[0 as int, 1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
25 expected_test_data: "[0 as int, 1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
32 init_object_data: "[0 as int, 1 as int, Byte.MIN_VALUE as int, Byte.MAX_VALUE as int]",
39 expected_test_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
46 init_object_data: "[0 as int, 1 as int, Short.MIN_VALUE as int, Short.MAX_VALUE as int]",
53 …expected_test_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
60 init_object_data: "[0 as int, 1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
67 expected_test_data: "[0 as int, 1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
74 init_object_data: "[0 as int, 1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
[all …]
Dlist.std_core_short_instance.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
18 … init_object_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
25 …expected_test_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
32 init_object_data: "[0 as short, 1 as short, Byte.MIN_VALUE as short, Byte.MAX_VALUE as short]",
39 expected_test_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
46 … init_object_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
53 …expected_test_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
60 … init_object_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
67 expected_test_data: "[0 as int, 1 as int, Short.MIN_VALUE as int, Short.MAX_VALUE as int]",
74 … init_object_data: "[0 as short, 1 as short, Short.MIN_VALUE as short, Short.MAX_VALUE as short]",
[all …]
Dlist.std_core_value.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
16 init_values: {"0 as char", "1 as char", "Char.MIN_VALUE as char", "Char.MAX_VALUE as char"},
28 …init_values: {"0 as byte", "1 as byte", "-1 as byte", "Byte.MIN_VALUE as byte", "Byte.MAX_VALUE as
34 …init_values: {"0 as short", "1 as short", "-1 as short", "Short.MIN_VALUE as short", "Short.MAX_VA…
40 …init_values: {"0 as int", "1 as int", "-1 as int", "Int.MIN_VALUE as int", "Int.MAX_VALUE as int"},
46 …init_values: {"0 as long", "1 as long", "-1 as long", "Long.MIN_VALUE as long", "Long.MAX_VALUE as
52 …init_values: {"0.0 as float", "1.0 as float", "-1.0 as float", "Float.MIN_VALUE as float", "Float.…
58 …init_values: {"0.0 as double", "1.0 as double", "-1.0 as double", "Double.MIN_VALUE as double", "D…
64 …ues: {"Char.valueOf(0 as char)", "Char.valueOf(1 as char)", "Char.valueOf(Char.MIN_VALUE as char)"…
76 …lueOf(0 as byte)", "Byte.valueOf(1 as byte)", "Byte.valueOf(-1 as byte)", "Byte.valueOf(Byte.MIN_V…
[all …]
Dlist.std_core_double_instance.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
24 …init_object_data: "[0 as double, 1 as double, Byte.MIN_VALUE as double, Byte.MAX_VALUE as double]",
26 …expected_test_data: "[0 as double, 1 as double, Byte.MIN_VALUE as double, Byte.MAX_VALUE as double…
39 …init_object_data: "[0 as double, 1 as double, Byte.MIN_VALUE as double, Byte.MAX_VALUE as double]",
41 expected_test_data: "[0 as byte, 1 as byte, Byte.MIN_VALUE as byte, Byte.MAX_VALUE as byte]",
54 … init_object_data: "[0 as double, 1 as double, Short.MIN_VALUE as byte, Short.MAX_VALUE as byte]",
56 … expected_test_data: "[0 as short, 1 as short, Short.MIN_VALUE as byte, Short.MAX_VALUE as byte]",
69 … init_object_data: "[0 as double, 1 as double, Int.MIN_VALUE as double, Int.MAX_VALUE as double]",
71 expected_test_data: "[0 as int, 1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
84 …init_object_data: "[0 as double, 1 as double, Long.MIN_VALUE as double, Long.MAX_VALUE as double]",
[all …]
Dlist.std_core_typeduarrays_methods.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
24 …data: "[0 as byte, 18 as byte, 37 as byte, 72 as byte, Byte.MAX_VALUE as byte, 180 as byte, 221 as
32 cast2primitive: " as short",
37 …data: "[0 as short, 10234 as short, 21445 as short, Short.MAX_VALUE as short, 43690 as short, 5532…
45 cast2primitive: " as int",
50 …data: "[0 as int, 1073741824 as int, Int.MAX_VALUE as int, 3221225472 as int, 3758096384 as int, 4…
58 cast2primitive: " as short",
63 …data: "[0 as short, 18 as short, 37 as short, 72 as short, Byte.MAX_VALUE as short, 180 as short, …
75 … "[0 as long, 1073741824 as long, 2147483648 as long, 3221225472 as long, 3758096384 as long, 4026…
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dcast_expressions.sts10 * distributed under the License is distributed on an "AS IS" BASIS,
18 let Byte_: Byte = new Byte(42 as byte);
22 let byte_byte = byte_ as byte;
23 let byte_short = byte_ as short;
24 let byte_char = byte_ as char;
25 let byte_int = byte_ as int;
26 let byte_long = byte_ as long;
27 let byte_float = byte_ as float;
28 let byte_double = byte_ as double;
30 let Byte_byte = Byte_ as byte;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic_as_parameter/ts_to_sts/
Dgeneric_as_parameter.sts10 * distributed under the License is distributed on an "AS IS" BASIS,
101 return anyTypeParameter(etsNumber) as int == etsNumber as int;
105 return anyTypeParameter(etsString) as string == etsString as string;
109 return anyTypeParameter(etsBool) as boolean == etsBool as boolean;
115 return res as Array<int> instanceof Array
116 && res[0] as int == etsArr[0] as int;
124 return anyTypeParameter(etsUnion) as int == etsNumber as int;
130 return res as Array<Tuple> instanceof Array
131 && res[0] as int == etsTuple[0] as int
132 && res[1] as boolean == etsTuple[1] as boolean;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/assn_var/
Dassn-var.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/decl_var/
Ddecl-var.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/comp_arr/
Dcomp-arr.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/call_cons/
Dcall-cons.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/decl_field/
Ddecl-field.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/comp_obj/
Dcomp-clss.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
20 - { expr: 0 as byte, val: 0 }
21 - { expr: 0x7F as byte, val: 127 }
22 - { expr: 0x80 as byte, val: -128 }
28 - { expr: 0 as byte, val: 0 }
29 - { expr: 0x7F as byte, val: 127 }
30 - { expr: 0x80 as byte, val: -128 }
36 - { expr: 0 as short, val: 0 }
37 - { expr: 0x007F as short, val: 127 }
38 - { expr: 0xFF80 as short, val: -128 }
[all …]
Dcomp-intf.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/decl_const/
Ddecl-const.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/call_lmbd/
Dcall-lmbd.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/call_meth/
Dcall-meth.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.boxing_conversion/call_func/
Dcall-func.params.yaml9 # distributed under the License is distributed on an "AS IS" BASIS,
19 - { expr: 0 as byte, val: 0 }
20 - { expr: 0x7F as byte, val: 127 }
21 - { expr: 0x80 as byte, val: -128 }
26 - { expr: 0 as byte, val: 0 }
27 - { expr: 0x7F as byte, val: 127 }
28 - { expr: 0x80 as byte, val: -128 }
33 - { expr: 0 as short, val: 0 }
34 - { expr: 0x007F as short, val: 127 }
35 - { expr: 0xFF80 as short, val: -128 }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DAtomics.sts10 * distributed under the License is distributed on an "AS IS" BASIS,
43 let mem = (buffer as SharedArrayBuffer).getSharedMemory()
61 ….validateAtomicAccess(typedArray.byteOffset as int, Int8Array.BYTES_PER_ELEMENT as int, typedArray…
65 let newValue = (oldValue + value) as byte
69 let mem = (buffer as SharedArrayBuffer).getSharedMemory()
70 return mem.atomicAddI8(indexedPosition, value as byte)
73 ….validateAtomicAccess(typedArray.byteOffset as int, Int16Array.BYTES_PER_ELEMENT as int, typedArra…
77 let newValue = (oldValue + value) as short
81 let mem = (buffer as SharedArrayBuffer).getSharedMemory()
82 return mem.atomicAddI16(indexedPosition, value as short)
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DPunctuatorAnyEqual.sts10 * distributed under the License is distributed on an "AS IS" BASIS,
24 a_int = 10 as int;
25 a_long = 1234 as long;
29 a_int = 10 as int;
30 a_long = 1234 as long;
34 a_int = 2000 as int;
35 a_long = 1234 as long;
39 a_int = 2000 as int;
40 a_long = 1234 as long;
44 a_int = 2 as int;
[all …]

12345678910>>...416