| /arkcompiler/runtime_core/libpandabase/ |
| D | README.md | 7 …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/ |
| D | README.md | 7 …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/ |
| D | functions.ets.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.ets.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 …Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, … 24 …Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, … 33 …Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, … 34 …Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, … 43 …Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, … 44 …Argument 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/ |
| D | bigint_func_n.params.yaml | 16 - '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/ |
| 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/runtime_core/static_core/plugins/ets/compiler/tools/ |
| D | paoc_compile_stdlib.sh | 20 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/ |
| D | test_app_linker_context_exception.sh | 17 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/ |
| D | readonly_type_of_union.params.yaml | 16 - { 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\"" }
|
| D | readonly_type.params.yaml | 16 - { 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/ |
| D | ReflectGetBadCases.ets | 59 … 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/ |
| D | launch_instruction.ets | 38 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/ |
| D | test-throw-statement-expected.txt | 6 "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/ |
| D | macros.h | 33 #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/ |
| D | incorrect_parameter.params.yaml | 21 - { 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" }
|
| D | partial_getter_and_setter.params.yaml | 16 - { 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 }
|
| D | module_implements.params.yaml | 16 - { 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 }
|
| D | partial_getter_and_setter_int.params.yaml | 16 - { 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 }
|
| D | module_interface.params.yaml | 16 - { 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 }
|
| D | module_extends.params.yaml | 16 - { 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 }
|
| D | module_class.params.yaml | 16 - { 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/ |
| D | required_module_interface.params.yaml | 16 - { 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 }
|
| D | required_module_class.params.yaml | 16 - { 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/ |
| D | README.md | 25 # 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 …]
|