Home
last modified time | relevance | path

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

12345678910>>...50

/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/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/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.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, …
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/04.bigint_literals/
Dbigint_func_n.params.yaml16 - 'BigInt() // missing argument'
17 - 'BigInt(new Object()) // wrong argument type'
18 - 'BigInt(null) // wrong argument type'
19 - 'BigInt(undefined) // wrong argument type'
22 - 'BigInt.asIntN(1n, 0n) // wrong 1st argument type'
23 - 'BigInt.asIntN("5", 12345n) // wrong 1st argument type'
24 - 'BigInt.asIntN(32, 0 as byte) // wrong 2nd argument type'
25 - 'BigInt.asIntN(32, 12345) // wrong 2nd argument type'
28 - 'BigInt.asUintN(1n, 0n) // wrong 1st argument type'
29 - 'BigInt.asUintN("5", 12345n) // 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_test_suite/linker/scripts/
Dtest_app_linker_context_exception.sh17 for ARGUMENT in "$@"; do
18 case "$ARGUMENT" in
20 RUN_PREFIX="${ARGUMENT#*=}"
23 ARK_BINARY="${ARGUMENT#*=}"
26 BOOT_PANDA_FILES="${ARGUMENT}"
29 NON_EXISTING_ABC="${ARGUMENT#*=}"
32 ENTRY_ABC="${ARGUMENT#*=}"
35 ENTRYPOINT="${ARGUMENT#*=}"
38 echo "Unexpected argument: '${ARGUMENT}'"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/03.readonly_utility_type/
Dreadonly_type_of_union.params.yaml16 - { argument: "{i: 3.9, j: \"some str\"}", class: "A", num: "3.9", str: "\"some str\"" }
17 - { argument: "{i: 3.9, j: \"some str\"}", class: "C", num: "3.9", str: "\"some str\"" }
18 - { argument: "{i: 3.9}", class: "A", num: "3.9", str: "\"A\"" }
19 - { argument: "{i: 3.9}", class: "C", num: "3.9", str: "\"C\"" }
20 - { argument: "{j: \"some str\"}", class: "A", num: "1.7", str: "\"some str\"" }
21 - { argument: "{j: \"some str\"}", class: "C", num: "2.6", str: "\"some str\"" }
22 - { argument: "{}", class: "A", num: "1.7", str: "\"A\"" }
23 - { argument: "{}", class: "C", num: "2.6", str: "\"C\"" }
Dreadonly_type.params.yaml16 - { argument: "{i: 3.9, j: \"some str\"}", class: "A", num: "3.9", str: "\"some str\"" }
17 - { argument: "{i: 3.9, j: \"some str\"}", class: "C", num: "3.9", str: "\"some str\"" }
18 - { argument: "{i: 3.9}", class: "A", num: "3.9", str: "\"A\"" }
19 - { argument: "{i: 3.9}", class: "C", num: "3.9", str: "\"C\"" }
20 - { argument: "{j: \"some str\"}", class: "A", num: "1.7", str: "\"some str\"" }
21 - { argument: "{j: \"some str\"}", class: "C", num: "2.6", str: "\"some str\"" }
22 - { argument: "{}", class: "A", num: "1.7", str: "\"A\"" }
23 - { argument: "{}", class: "C", num: "2.6", str: "\"C\"" }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DReflectGetBadCases.ets59 … 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.ets38 console.println("Test 'onearg': expected argument '1' but was " + x);
47 console.println("Test 'twoargs': expected first argument '1' but was " + x);
51 console.println("Test 'twoargs': expected second argument '2' but was " + y);
60 console.println("Test 'threeargs': expected first argument '1' but was " + x);
64 console.println("Test 'threeargs': expected second argument '2' but was " + y);
68 console.println("Test 'threeargs': expected third argument '3' but was " + z);
77 console.println("Test 'fourargs': expected first argument '1' but was " + x1);
81 console.println("Test 'fourargs': expected second argument '2' but was " + x2);
85 console.println("Test 'fourargs': expected third argument '3' but was " + x3);
89 console.println("Test 'fourargs': expected fourth argument '4' but was " + x4);
[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 …]
/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/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/01.partial_utility_type/
Dincorrect_parameter.params.yaml21 - { argument: "{i: 1, j: 1}", doc: "extra parameter" }
22 - { argument: "{j: false}", doc: "invalid parameter type" }
23 - { argument: "{j: \"some str\"}", doc: "invalid parameter type" }
24 - { argument: "{j: 1.8}", doc: "invalid parameter type" }
25 - { argument: "{i: 1.9}", doc: "invalid variable name" }
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: 3 }
19 - { argument: "{}", result: 2 }
Dmodule_implements.params.yaml16 - { argument: "{i: 1.9, j: \"some str\"}", result: 3 }
17 - { argument: "{i: 1.9}", result: 2 }
18 - { argument: "{j: \"some str\"}", result: 3 }
19 - { argument: "{}", result: 2 }
Dpartial_getter_and_setter_int.params.yaml16 - { argument: "{j: \"some str\", i: 1.9}", result: 3 }
17 - { argument: "{i: 1.9}", result: 2 }
18 - { argument: "{j: \"some str\"}", result: 3 }
19 - { argument: "{}", result: 2 }
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: 3 }
19 - { argument: "{}", result: 2 }
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: 3 }
19 - { argument: "{}", result: 2 }
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: 3 }
19 - { argument: "{}", result: 2 }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/02.required_utility_type/
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 }
Drequired_module_class.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.
94 …escribes original C++ argument. It is used to match which **template** from `cppToCTypes.yaml` sho…
132 `ptr_depth` is number of `*` in argument.
133 `ref_depth` is number of `&` in argument.
146 2) `new_args`: describes C arguments, into which the original argument will be expanded.
160 Describes argument for C-API:
[all …]

12345678910>>...50