Home
last modified time | relevance | path

Searched full:argument (Results 1 – 25 of 1180) sorted by relevance

12345678910>>...48

/arkcompiler/runtime_core/static_core/libpandabase/
DREADME.md7 …r-only utility tool that helps to parse command line arguments. It supports several argument types:
23 pandargs API consists of two major entities: template class `PandArg`, which represents an argument
30 To create an argument, it's template constructor should be called. Here is an instance:
33 // argument name | default value | argument description
34 ark::PandArg<bool> pab("bool", false, "Sample boolean argument");
35 // argument name | argument description | sub-arguments
36 …PandArgCompound arg("compound", "Sample boolean argument", {&sub_bool_arg, &sub_int_ar…
40 - 3 parameters: argument name, default value, description.
41 - 4 parameters for single list: argument name, default value, description, delimiter.
42 - 5 parameters for integer args: argument name, default value, description, min value, max value
[all …]
/arkcompiler/runtime_core/libpandabase/
DREADME.md7 …r-only utility tool that helps to parse command line arguments. It supports several argument types:
23 pandargs API consists of two major entities: template class `PandArg`, which represents an argument
30 To create an argument, it's template constructor should be called. Here is an instance:
33 // argument name | default value | argument description
34 panda::PandArg<bool> pab("bool", false, "Sample boolean argument");
35 // argument name | argument description | sub-arguments
36 …PandArgCompound arg("compound", "Sample boolean argument", {&sub_bool_arg, &sub_int_ar…
40 - 3 parameters: argument name, default value, description.
41 - 4 parameters for single list: argument name, default value, description, delimiter.
42 - 5 parameters for integer args: argument name, default value, description, min value, max value
[all …]
/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.json23Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, …
24Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, …
33Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, …
34Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, …
43Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, …
44Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, …
Dundefined_check_calls.ts.json23 … "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'.",
24 … "rule": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'.",
33 …"suggest": "Argument of type 'string | undefined' is not assignable to parameter of type 'Resource…
34 …"rule": "Argument of type 'string | undefined' is not assignable to parameter of type 'ResourceStr…
63 "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'A'.",
64 "rule": "Argument of type 'undefined' is not assignable to parameter of type 'A'.",
73 "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'A'.",
74 "rule": "Argument of type 'undefined' is not assignable to parameter of type 'A'.",
83 "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'A'.",
84 "rule": "Argument of type 'undefined' is not assignable to parameter of type 'A'.",
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dclass_as_object_1.sts19 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
20 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
21 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
22 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
23 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
24 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
25 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
26 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
27 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
28 /* @@? 16:13 Error TypeError: Class name can't be the argument of function or method. */
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/03.bigint_literals/
Dbigint_func_n.params.yaml16 - 'BigInt() // missing argument'
17 - 'BigInt(123 as byte) // wrong argument type'
18 - 'BigInt(new Int(1)) // wrong argument type'
19 - 'BigInt(new Object()) // wrong argument type'
20 - 'BigInt(null) // wrong argument type'
23 - 'BigInt.asIntN(1n, 0n) // wrong 1st argument type'
24 - 'BigInt.asIntN("5", 12345n) // wrong 1st argument type'
25 - 'BigInt.asIntN(32, 0 as byte) // wrong 2nd argument type'
26 - 'BigInt.asIntN(32, 12345) // wrong 2nd argument type'
29 - 'BigInt.asUintN(1n, 0n) // wrong 1st argument type'
[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/runtime_core/static_core/plugins/ets/compiler/tools/
Dpaoc_compile_stdlib.sh20 for ARGUMENT in "$@"; do
21 case "$ARGUMENT" in
23 PANDA_BINARY_ROOT="${ARGUMENT#*=}"
26 TARGET_ARCH="--compiler-cross-arch=${ARGUMENT#*=}"
29 PAOC_MODE="--paoc-mode=${ARGUMENT#*=}"
32 PANDA_RUN_PREFIX="${ARGUMENT#*=}"
35 OPTIONS="${ARGUMENT#*=}"
38 PAOC_OUTPUT="${ARGUMENT#*=}"
41 PAOC_REGEX="--compiler-regex=${ARGUMENT#*=}"
44 echo "Unexpected argument: '${ARGUMENT}'"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DReflectGetBadCases.sts59 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
65 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
71 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
77 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
83 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
89 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
95 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
101 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
107 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
115 … result += e.toString().contains("`target` argument of Reflect.get must be indexed", 0) ? 0 : 1
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/
Dlaunch_instruction.sts36 console.println("Test 'onearg': expected argument '1' but was " + x);
45 console.println("Test 'twoargs': expected first argument '1' but was " + x);
49 console.println("Test 'twoargs': expected second argument '2' but was " + y);
58 console.println("Test 'threeargs': expected first argument '1' but was " + x);
62 console.println("Test 'threeargs': expected second argument '2' but was " + y);
66 console.println("Test 'threeargs': expected third argument '3' but was " + z);
75 console.println("Test 'fourargs': expected first argument '1' but was " + x1);
79 console.println("Test 'fourargs': expected second argument '2' but was " + x2);
83 console.println("Test 'fourargs': expected third argument '3' but was " + x3);
87 console.println("Test 'fourargs': expected fourth argument '4' but was " + x4);
[all …]
/arkcompiler/runtime_core/libabckit/src/
Dmacros.h33 #define LIBABCKIT_BAD_ARGUMENT(argument, returnvalue) \ argument
34 if ((argument) == nullptr) { \
41 #define LIBABCKIT_BAD_ARGUMENT_VOID(argument) \ argument
42 if ((argument) == nullptr) { \
49 #define LIBABCKIT_INTERNAL_ERROR(argument, returnValue) \ argument
50 if ((argument) == nullptr) { \
57 #define LIBABCKIT_INTERNAL_ERROR_VOID(argument) \ argument
58 if ((argument) == nullptr) { \
89 #define LIBABCKIT_ZERO_ARGUMENT(argument, returnvalue) \ argument
90 if ((argument) == 0) { \
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-throw-statement-expected.txt6 "argument": {
33 "argument": {
60 "argument": {
87 "argument": {
114 "argument": {
141 "argument": {
168 "argument": {
195 "argument": {
222 "argument": {
249 "argument": {
[all …]
Dtest-update-expression-expected.txt10 "argument": {
55 "argument": {
122 "argument": {
164 "argument": {
168 "argument": {
224 "argument": {
228 "argument": {
232 "argument": {
283 "argument": {
287 "argument": {
/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-throw-statement-expected.txt6 "argument": {
33 "argument": {
60 "argument": {
87 "argument": {
114 "argument": {
141 "argument": {
168 "argument": {
196 "argument": {
224 "argument": {
251 "argument": {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/02.required_utility_type/
Drequired_getter_and_setter_int.params.yaml16 - { argument: "{j: \"some str\", i: 1.9}", result: 3 }
17 - { argument: "{i: \"some str\", k: false, i: 1.9}", result: 3 }
18 - { argument: "{i: 1.9}", result: -1 } # neg
19 - { argument: "{j: \"some str\"}", result: -1 } # neg
20 - { argument: "{j: , i: }", result: -1 } #neg
Drequired_getter_and_setter.params.yaml16 - { argument: "{i: 1.9, j: \"some str\"}", result: 3 }
17 - { argument: "{i: 1.9, j: \"some str\", k: true}", result: -1 }
18 - { argument: "{i: 1.9}", result: -1 } # neg
19 - { argument: "{j: \"some str\"}", result: -1 } # neg
20 - { argument: "{j: }", result: -1 } # neg
Drequired_module_interface.params.yaml16 - { argument: "{i: 1.9, j: \"some str\"}", result: 3 }
17 - { argument: "{i: 1.9}", result: -1 }
18 - { argument: "{j: \"some str\"}", result: -1 }
19 - { argument: "{}", result: -1 }
/arkcompiler/ets_frontend/ets2panda/public/
DREADME.md25 # Describes C++ original argument.
34 # Describes C arguments, into which the original argument will be expanded.
42 …# Describes additional C return arguments IF original argument is return type and expands to multi…
50 # Create C++ variable from C argument.
60 # Cast C argument to C++ class, to call method from it.
90 …escribes original C++ argument. It is used to match which **template** from `cppToCTypes.yaml` sho…
128 `ptr_depth` is number of `*` in argument.
129 `ref_depth` is number of `&` in argument.
142 2) `new_args`: describes C arguments, into which the original argument will be expanded.
156 Describes argument for C-API:
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/01.partial_utility_type/
Dmodule_interface.params.yaml16 - { argument: "{i: 1.9, j: \"some str\"}", result: 3 }
17 - { argument: "{i: 1.9}", result: 2 }
18 - { argument: "{j: \"some str\"}", result: 1 }
19 - { argument: "{}", result: 0 }
Dmodule_extends.params.yaml16 - { argument: "{i: 1.9, j: \"some str\"}", result: 3 }
17 - { argument: "{i: 1.9}", result: 2 }
18 - { argument: "{j: \"some str\"}", result: 1 }
19 - { argument: "{}", result: 0 }
Dpartial_getter_and_setter.params.yaml16 - { argument: "{_i: 1.9, _j: \"some str\"}", result: 3 }
17 - { argument: "{_i: 1.9}", result: 2 }
18 - { argument: "{_j: \"some str\"}", result: 1 }
19 - { argument: "{_j: }", result: 0 }
Dmodule_class.params.yaml16 - { argument: "{i: 1.9, j: \"some str\"}", result: 3 }
17 - { argument: "{i: 1.9}", result: 2 }
18 - { argument: "{j: \"some str\"}", result: 1 }
19 - { argument: "{}", result: 0 }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/03.readonly_utility_type/
Dreadonly_type.params.yaml16 - { argument: "{i: 3.9, j: \"some str\"}", result: 3 }
17 - { argument: "{i: 1.9}", result: -1 }
18 - { argument: "{j: \"some str\"}", result: -1 }
19 - { argument: "{}", result: -1 }

12345678910>>...48