Home
last modified time | relevance | path

Searched full:parameter (Results 1 – 25 of 1383) sorted by relevance

12345678910>>...56

/arkcompiler/ets_frontend/ets2panda/test/parser/ts/
Dtest-ts-parameter-property-expected.txt15 "program": "test-ts-parameter-property.ts"
20 "program": "test-ts-parameter-property.ts"
36 "program": "test-ts-parameter-property.ts"
41 "program": "test-ts-parameter-property.ts"
69 "program": "test-ts-parameter-property.ts"
74 "program": "test-ts-parameter-property.ts"
85 "program": "test-ts-parameter-property.ts"
90 "program": "test-ts-parameter-property.ts"
98 "program": "test-ts-parameter-property.ts"
103 "program": "test-ts-parameter-property.ts"
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dfunctions.ets.json123 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
124 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
133 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
134 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
143 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
144 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
153 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
154 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
163 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
164 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
[all …]
Dnull_check_calls.ets.json33 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number[]'.",
34 "rule": "Argument of type 'null' is not assignable to parameter of type 'number[]'.",
43 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number'.",
44 "rule": "Argument of type 'null' is not assignable to parameter of type 'number'.",
53 …"suggest": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n T…
54 …"rule": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type…
63 …"suggest": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n T…
64 …"rule": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type…
93 "suggest": "Argument of type 'null' is not assignable to parameter of type 'A'.",
94 "rule": "Argument of type 'null' is not assignable to parameter of type 'A'.",
[all …]
Dno-overload-matches.ts.json23parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the followi…
24parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the followi…
33parameter of type 'string'.\n Overload 2 of 2, '(p11: string, p21: number): undefined', gave the …
34parameter of type 'string'.\n Overload 2 of 2, '(p11: string, p21: number): undefined', gave the …
43parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the followi…
44parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the followi…
/arkcompiler/ets_runtime/test/perform/string/
Dexpect_output.txt20 string indexOf input parameter is a substring : 14
21 string indexOf Input parameter is not a substring : 15
25 string slice input parameter is negative : 18
26 string substring the first parameter is less than the second parameter : 18
27 string substring the first parameter is greater than the second parameter : 18
28 string substring The first parameter is equal to the second parameter : 11
30 string substr negative number in parameter : 18
32 string replace into string.replace searchtag in the middle of the input parameter : 59
33 string replace into string.replace searchtag in the beginning of the input parameter : 46
35 string repeat the parameter is integer : 18
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/regression/
D14201.ets.json23 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
24 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
33 … "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'string'.",
34 "rule": "Argument of type 'undefined' is not assignable to parameter of type 'string'.",
43 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
44 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
53 … "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'string'.",
54 "rule": "Argument of type 'undefined' is not assignable to parameter of type 'string'.",
63 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.",
64 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.",
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
Dvariance_typeparam_union.ets70 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
71 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
72 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
73 /* @@@ label3 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
74 /* @@@ label4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
75 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
76 /* @@@ label6 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
77 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
78 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position…
79 /* @@@ label8 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position…
[all …]
Dvariance_typeparam_array.ets45 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
46 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
48 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
51 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
52 /* @@@ label8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
53 /* @@@ label9 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
54 /* @@@ label10 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' …
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/01.overload-equivalent_signatures/
Doverload_equivalent_example_1.ets20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
24 … • All other parameter types in S1 are equal to parameter types in the same positions in S2.
25 Parameter names and return types do not influence overload-equivalence.
Doverload_equivalent_example_0.ets20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
24 … • All other parameter types in S1 are equal to parameter types in the same positions in S2.
25 Parameter names and return types do not influence overload-equivalence.
Doverload_equivalent_example_3.ets20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
24 … • All other parameter types in S1 are equal to parameter types in the same positions in S2.
25 Parameter names and return types do not influence overload-equivalence.
Doverload_equivalent_example_2.ets20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
24 … • All other parameter types in S1 are equal to parameter types in the same positions in S2.
25 Parameter names and return types do not influence overload-equivalence.
Doverload_equivalent_example_8.ets20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
24 … • All other parameter types in S1 are equal to parameter types in the same positions in S2.
25 Parameter names and return types do not influence overload-equivalence.
Doverload_equivalent_example_6.ets20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
24 … • All other parameter types in S1 are equal to parameter types in the same positions in S2.
25 Parameter names and return types do not influence overload-equivalence.
Doverload_equivalent_example_5.ets20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
24 … • All other parameter types in S1 are equal to parameter types in the same positions in S2.
25 Parameter names and return types do not influence overload-equivalence.
Doverload_equivalent_example_7.ets20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
24 … • All other parameter types in S1 are equal to parameter types in the same positions in S2.
25 Parameter names and return types do not influence overload-equivalence.
Doverload_equivalent_example_4.ets20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
24 … • All other parameter types in S1 are equal to parameter types in the same positions in S2.
25 Parameter names and return types do not influence overload-equivalence.
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp65 #pragma clang diagnostic ignored "-Wunused-parameter"
68 #pragma GCC diagnostic ignored "-Wunused-parameter"
85 …ctionKind kind = static_cast<FunctionKind>(GetTArg(argv, argc, 0)); // 1: means the first parameter in DEF_RUNTIME_STUBS()
102 …le<JSTaggedValue> accessor = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS()
103 …tionKind kind = static_cast<FunctionKind>(GetTArg(argv, argc, 2)); // 2: means the second parameter in DEF_RUNTIME_STUBS()
113 JSTaggedValue allocateSize = GetArg(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS()
115 …SHandle<JSHClass> hclassHandle = GetHArg<JSHClass>(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS()
147 JSTaggedValue allocateSize = GetArg(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS()
152 if (argc > 1) { // 1: means the first parameter in DEF_RUNTIME_STUBS()
153 …SHandle<JSHClass> hclassHandle = GetHArg<JSHClass>(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/
Dvariance_typeparam_array.ets45 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
46 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
48 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
51 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
52 /* @@@ label8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
53 /* @@@ label9 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
54 /* @@@ label10 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' …
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Dbalance_expressions_test.cpp31 PARAMETER(0U, 0U).u64(); in AddMulParallelBuildGraph()
32 PARAMETER(1U, 1U).u64(); in AddMulParallelBuildGraph()
33 PARAMETER(2U, 2U).u64(); in AddMulParallelBuildGraph()
34 PARAMETER(3U, 3U).u64(); in AddMulParallelBuildGraph()
35 PARAMETER(4U, 4U).u64(); in AddMulParallelBuildGraph()
36 PARAMETER(5U, 5U).u64(); in AddMulParallelBuildGraph()
37 PARAMETER(6U, 6U).u64(); in AddMulParallelBuildGraph()
38 PARAMETER(7U, 7U).u64(); in AddMulParallelBuildGraph()
89 PARAMETER(0U, 0U).u64(); in TEST_F()
90 PARAMETER(1U, 1U).u64(); in TEST_F()
[all …]
Dsavestate_optimization_tests.cpp55 PARAMETER(0U, 0U).s32(); in TEST_F()
56 PARAMETER(1U, 1U).s32(); in TEST_F()
69 PARAMETER(0U, 0U).s32(); in TEST_F()
70 PARAMETER(1U, 1U).s32(); in TEST_F()
85 PARAMETER(0U, 0U).s32(); in TEST_F()
86 PARAMETER(1U, 1U).s32(); in TEST_F()
139 PARAMETER(0U, 0U).s32(); in TEST_F()
140 PARAMETER(1U, 1U).s32(); in TEST_F()
156 PARAMETER(0U, 0U).s32(); in TEST_F()
157 PARAMETER(1U, 1U).s32(); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dvn_doc.md80 0.u64 Parameter arg 0 -> (v10, v6, v7, v13)
81 1.u64 Parameter arg 1 -> (v10, v6, v7, v13)
82 2.f64 Parameter arg 2 -> (v11, v9)
83 3.f64 Parameter arg 3 -> (v11, v9)
84 4.f32 Parameter arg 4 -> (v8, v12)
85 5.f32 Parameter arg 5 -> (v8, v12)
110 0.u64 Parameter arg 0 -> (v10, v6, v7, v13)
111 1.u64 Parameter arg 1 -> (v10, v6, v7, v13)
112 2.f64 Parameter arg 2 -> (v11, v9)
113 3.f64 Parameter arg 3 -> (v11, v9)
[all …]
/arkcompiler/runtime_core/compiler/docs/
Dvn_doc.md80 0.u64 Parameter arg 0 -> (v10, v6, v7, v13)
81 1.u64 Parameter arg 1 -> (v10, v6, v7, v13)
82 2.f64 Parameter arg 2 -> (v11, v9)
83 3.f64 Parameter arg 3 -> (v11, v9)
84 4.f32 Parameter arg 4 -> (v8, v12)
85 5.f32 Parameter arg 5 -> (v8, v12)
110 0.u64 Parameter arg 0 -> (v10, v6, v7, v13)
111 1.u64 Parameter arg 1 -> (v10, v6, v7, v13)
112 2.f64 Parameter arg 2 -> (v11, v9)
113 3.f64 Parameter arg 3 -> (v11, v9)
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/interop/
Dreflect_built_in.ets.arkts2.json24 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
34 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
44 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
54 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
64 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
74 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
114 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
124 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
134 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
144 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/readonly-parameter-test/
Dreadonly-parameter-and-Readonly-test2.ets38 … label6 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
39 … label7 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
40 … label8 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
41 … label9 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
42 …@ label Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
43 … label1 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
44 … label2 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
45 … label3 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
46 … label4 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
47 … label5 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */

12345678910>>...56