| /arkcompiler/ets_runtime/test/perform/string/ |
| D | expect_output.txt | 20 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/ |
| D | functions.ts.json | 91 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 92 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 98 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 99 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 105 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 106 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 112 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 113 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 119 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 120 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." [all …]
|
| D | null_check_calls.ts.json | 28 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number[]'.", 29 "rule": "Argument of type 'null' is not assignable to parameter of type 'number[]'." 35 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number'.", 36 "rule": "Argument of type 'null' is not assignable to parameter of type 'number'." 42 …"suggest": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n T… 43 …"rule": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type… 49 …"suggest": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n T… 50 …"rule": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type…
|
| D | destructuring_parameters.ts.json | 22 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" 36 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" 64 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" 71 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" 92 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" 113 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" 120 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" 127 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" 134 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" 141 … "rule": "Destructuring parameter declarations are not supported (arkts-no-destruct-params)" [all …]
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs.cpp | 62 #pragma clang diagnostic ignored "-Wunused-parameter" 65 #pragma GCC diagnostic ignored "-Wunused-parameter" 82 … JSHandle<JSObject> receiver = GetHArg<JSObject>(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS() 83 JSTaggedValue argIndex = GetArg(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS() 84 …dle<JSTaggedValue> value = GetHArg<JSTaggedValue>(argv, argc, 2); // 2: means the second parameter in DEF_RUNTIME_STUBS() 85 JSTaggedValue attr = GetArg(argv, argc, 3); // 3: means the third parameter in DEF_RUNTIME_STUBS() 94 …ctionKind kind = static_cast<FunctionKind>(GetTArg(argv, argc, 0)); // 1: means the first parameter in DEF_RUNTIME_STUBS() 111 …le<JSTaggedValue> accessor = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS() 112 …tionKind kind = static_cast<FunctionKind>(GetTArg(argv, argc, 2)); // 2: means the second parameter in DEF_RUNTIME_STUBS() 122 JSTaggedValue allocateSize = GetArg(argv, argc, 0); // 0: means the zeroth 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/ |
| D | overload_equivalent_example_1.sts | 20 …• 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.
|
| D | overload_equivalent_example_0.sts | 20 …• 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.
|
| D | overload_equivalent_example_4.sts | 20 …• 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.
|
| D | overload_equivalent_example_5.sts | 20 …• 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.
|
| D | overload_equivalent_example_8.sts | 20 …• 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.
|
| D | overload_equivalent_example_6.sts | 20 …• 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.
|
| D | overload_equivalent_example_2.sts | 20 …• 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.
|
| D | overload_equivalent_example_3.sts | 20 …• 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.
|
| D | overload_equivalent_example_7.sts | 20 …• 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/ |
| D | function_argument_equivalent_neg_n2.sts | 22 …• 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.
|
| D | function_argument_equivalent_neg.sts | 22 …• 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.
|
| D | function_argument_equivalent_n.sts | 20 …• 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.
|
| D | function_argument_equivalent.sts | 20 …• 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/ |
| D | balance_expressions_test.cpp | 31 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 …]
|
| D | savestate_optimization_tests.cpp | 55 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 …]
|
| D | cse_test.cpp | 46 PARAMETER(0U, 0U).u64(); in SRC_GRAPH() 47 PARAMETER(1U, 1U).u64(); in SRC_GRAPH() 48 PARAMETER(2U, 2U).f64(); in SRC_GRAPH() 49 PARAMETER(3U, 3U).f64(); in SRC_GRAPH() 50 PARAMETER(4U, 4U).f32(); in SRC_GRAPH() 51 PARAMETER(5U, 5U).f32(); in SRC_GRAPH() 98 PARAMETER(0U, 0U).u64(); in OUT_GRAPH() 99 PARAMETER(1U, 1U).u64(); in OUT_GRAPH() 100 PARAMETER(2U, 2U).f64(); in OUT_GRAPH() 101 PARAMETER(3U, 3U).f64(); in OUT_GRAPH() [all …]
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | vn_doc.md | 80 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/ |
| D | vn_doc.md | 80 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/plugins/ets/doc/spec/ |
| D | 5_generics.rst | 47 generic parameter 48 type parameter 61 The type parameter is declared in the type parameter section. It can be used as 64 Syntactically, a type parameter is an unqualified identifier with a proper 65 scope (see :ref:`Scopes` for the scope of type parameters). Each type parameter 66 can have a *constraint* (see :ref:`Type Parameter Constraint`). A type 67 parameter can have a default type (see :ref:`Type Parameter Default`), and can 68 specify its *in-* or *out-* variance (see :ref:`Type Parameter Variance`). 71 generic parameter 77 type parameter [all …]
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | reg_alloc_common_test.cpp | 41 PARAMETER(0, 0).ref(); in TestParametersLocations() 42 PARAMETER(1, 1).u64(); in TestParametersLocations() 43 PARAMETER(2, 2).u64(); in TestParametersLocations() 44 PARAMETER(3, 3).u64(); in TestParametersLocations() 45 PARAMETER(4, 4).u64(); in TestParametersLocations() 46 PARAMETER(5, 5).u64(); in TestParametersLocations() 47 PARAMETER(6, 6).u64(); in TestParametersLocations() 48 PARAMETER(7, 7).u64(); in TestParametersLocations() 49 PARAMETER(8, 8).u64(); in TestParametersLocations() 50 PARAMETER(9, 9).u64(); in TestParametersLocations() [all …]
|