| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | functions.ts.json | 123 "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 …]
|
| D | null_check_calls.ts.json | 33 "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 …]
|
| D | no-overload-matches.ts.json | 23 …parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the followi… 24 …parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the followi… 33 …parameter of type 'string'.\n Overload 2 of 2, '(p11: string, p21: number): undefined', gave the … 34 …parameter of type 'string'.\n Overload 2 of 2, '(p11: string, p21: number): undefined', gave the … 43 …parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the followi… 44 …parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the followi…
|
| /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/regression/ |
| D | 14201.ets.json | 23 "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/ |
| D | runtime_stubs.cpp | 58 #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/ |
| 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_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_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_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.
|
| 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_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.
|
| /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 …]
|
| /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/ets_frontend/ets2panda/test/ast/parser/ets/readonly-parameter-test/ |
| D | readonly-parameter-and-Readonly-test2.sts | 38 …@? 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/ |
| D | 4_names.rst | 314 .. _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 …]
|