Home
last modified time | relevance | path

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

12345678910>>...38

/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dfunctions.ts.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.ts.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_runtime/ecmascript/stubs/
Druntime_stubs.cpp58 #pragma clang diagnostic ignored "-Wunused-parameter"
61 #pragma GCC diagnostic ignored "-Wunused-parameter"
78 …ctionKind kind = static_cast<FunctionKind>(GetTArg(argv, argc, 0)); // 1: means the first parameter in DEF_RUNTIME_STUBS()
95 …le<JSTaggedValue> accessor = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS()
96 …tionKind kind = static_cast<FunctionKind>(GetTArg(argv, argc, 2)); // 2: means the second parameter in DEF_RUNTIME_STUBS()
106 JSTaggedValue allocateSize = GetArg(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS()
108 …SHandle<JSHClass> hclassHandle = GetHArg<JSHClass>(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS()
140 JSTaggedValue allocateSize = GetArg(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS()
145 if (argc > 1) { // 1: means the first parameter in DEF_RUNTIME_STUBS()
146 …SHandle<JSHClass> hclassHandle = GetHArg<JSHClass>(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS()
[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.sts20 …• 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.sts20 …• 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.sts20 …• 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.sts20 …• 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.sts20 …• 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.sts20 …• 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.sts20 …• 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.sts20 …• 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.sts20 …• 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/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/03.overloading_for_functions/
Dfunction_argument_equivalent_neg_n2.sts22 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
23 same position in S2 is any reference type or type parameter;
24 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
26 • All other parameter types in S1 are equal to parameter types in the same positions in S2.
27 Parameter names and return types do not influence overload-equivalence.
Dfunction_argument_equivalent_neg.sts22 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter
23 same position in S2 is any reference type or type parameter;
24 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
26 • All other parameter types in S1 are equal to parameter types in the same positions in S2.
27 Parameter names and return types do not influence overload-equivalence.
Dfunction_argument_equivalent_n.sts20 …• 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.
Dfunction_argument_equivalent.sts20 …• 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.
/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/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/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/ets_frontend/ets2panda/test/ast/parser/ets/readonly-parameter-test/
Dreadonly-parameter-and-Readonly-test2.sts38 …@? 30:1 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
39 …@? 31:1 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
40 …@? 34:1 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
41 …@? 36:1 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
42 …@? 17:5 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
43 …@? 18:5 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
44 …@? 19:5 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
45 …@? 23:5 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
46 …@? 24:5 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
47 …@? 25:5 Error TypeError: Cannot modify an array or tuple content that has the readonly parameter */
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D4_names.rst314 .. _class-or-interface-type-parameter-access:
316 - *The scope of a type parameter* name in a class or interface declaration
324 .. _function-type-parameter-access:
326 - The scope of a type parameter name in a function declaration is that
327 entire declaration (*function parameter scope*).
330 parameter name
332 function parameter scope
339 This scope is also applied to function or method parameter names.
607 **Note**: There is no restriction on using a type parameter *T* in
621 type parameter
[all …]

12345678910>>...38