| /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/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/03.bigint_literals/ |
| D | bigint_func_n.params.yaml | 16 - '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/ |
| 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 | undefined_check_calls.ts.json | 21 … "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'.", 22 … "rule": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'." 28 …"suggest": "Argument of type 'string | undefined' is not assignable to parameter of type 'Resource… 29 …"rule": "Argument of type 'string | undefined' is not assignable to parameter of type 'ResourceStr…
|
| /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_func_tests/escompat/ |
| D | ReflectGetBadCases.sts | 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.sts | 36 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/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 …]
|
| D | test-update-expression-expected.txt | 10 "argument": { 55 "argument": { 122 "argument": { 164 "argument": { 168 "argument": { 224 "argument": { 228 "argument": { 232 "argument": { 283 "argument": { 287 "argument": {
|
| D | test-unary-expression-expected.txt | 10 "argument": { 52 "argument": { 97 "argument": { 164 "argument": { 206 "argument": { 248 "argument": { 290 "argument": { 335 "argument": { 367 "argument": { 399 "argument": { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/js/ |
| D | test-throw-statement-expected.txt | 6 "argument": { 33 "argument": { 60 "argument": { 87 "argument": { 114 "argument": { 141 "argument": { 168 "argument": { 196 "argument": { 224 "argument": { 251 "argument": { [all …]
|
| D | test-update-expression-expected.txt | 10 "argument": { 56 "argument": { 125 "argument": { 168 "argument": { 172 "argument": { 229 "argument": { 233 "argument": { 237 "argument": { 289 "argument": { 293 "argument": {
|
| D | test-unary-expression-expected.txt | 10 "argument": { 53 "argument": { 99 "argument": { 168 "argument": { 209 "argument": { 252 "argument": { 295 "argument": { 340 "argument": { 373 "argument": { 406 "argument": { [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | pandargs_test.cpp | 32 PandArg<bool> pab("bool", REF_DEF_BOOL, "Sample boolean argument"); in TEST() 33 PandArg<int> pai("int", REF_DEF_INT, "Sample integer argument"); in TEST() 34 PandArg<double> pad("double", REF_DEF_DOUBLE, "Sample rational argument"); in TEST() 35 PandArg<std::string> pas("string", REF_DEF_STRING, "Sample string argument"); in TEST() 36 PandArg<uint32_t> pau32("uint32", REF_DEF_UINT32, "Sample uint32 argument"); in TEST() 37 PandArg<uint64_t> pau64("uint64", REF_DEF_UINT64, "Sample uint64 argument"); in TEST() 38 PandArg<arg_list_t> pald("dlist", REF_DEF_DLIST, "Sample delimiter list argument", ":"); in TEST() 39 PandArg<arg_list_t> pal("list", REF_DEF_LIST, "Sample list argument"); in TEST() 41 PandArg<int> pair("rint", REF_DEF_INT, "Integer argument with range", -100L, 100U); in TEST() 43 …PandArg<uint32_t> paur32("ruint32", REF_DEF_UINT64, "uint32 argument with range", 0U, 1000000000U); in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/02.override-compatible_signatures/ |
| D | override_with_object.params.yaml | 17 # override-compatible argument (contravariance) 29 # override-compatible argument (contravariance) 41 # override-incompatible argument (covariance) 84 # override-compatible argument (covariance) 99 # override-compatible argument (covariance) 114 # override-incompatible argument (contravariance) 192 # override-compatible argument (invariance) 204 # override-compatible argument (covariance) 217 # override-incompatible argument (covariance) 230 # override-compatible argument (covariance) [all …]
|
| D | override_variance.params.yaml | 17 # override-compatible argument (contravariance) 29 # override-compatible argument (contravariance) 41 # override-incompatible argument (contravariance) 98 # override-compatible argument (invariance) 113 # override-compatible argument (covariance) 128 # override-compatible argument (covariance) 143 # override-incompatible argument (contravariance) 221 # override-compatible argument (invariance) 233 # override-compatible argument (invariance) 246 # override-incompatible argument (covariance) [all …]
|
| /arkcompiler/runtime_core/tests/fuzztest/pandargs_fuzzer/ |
| D | pandargs_fuzzer.cpp | 25 … panda::PandArg<panda::arg_list_t> pandarg_arg("list", arg, "Sample arg_list_t argument", "a"); in PandargsFuzzTest() 27 … panda::PandArg<uint64_t> pandarg("uint64", static_cast<uint64_t>(size), "Sample uint64 argument"); in PandargsFuzzTest() 32 panda::PandArg<std::string> pandarg_string("string", str, "Sample string argument"); in PandargsFuzzTest() 33 panda::PandArg<bool> pandarg_bool("bool", false, "Sample boolean argument"); in PandargsFuzzTest()
|
| /arkcompiler/runtime_core/bytecode_optimizer/tools/ |
| D | optimizer_coverage.sh | 18 for ARGUMENT in "$@" 20 case "$ARGUMENT" in 22 PANDA_BINARY_ROOT="${ARGUMENT#*=}" 25 PANDA_ROOT="${ARGUMENT#*=}"
|
| /arkcompiler/ets_frontend/ets2panda/scripts/ |
| D | es2panda_coverage.sh | 19 for ARGUMENT in "$@" 21 case "$ARGUMENT" in 23 PANDA_BINARY_ROOT="${ARGUMENT#*=}" 26 PANDA_ROOT="${ARGUMENT#*=}"
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | c_string.cpp | 29 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not long int"); in CStringToL() 37 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not long long int"); in CStringToLL() 45 …ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not unsigned long long int"… in CStringToULL() 53 ASSERT(result != HUGE_VALF && "CString argument is not float"); in CStringToF() 54 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not float"); in CStringToF() 62 ASSERT(result != HUGE_VALF && "CString argument is not double"); in CStringToD() 63 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not double"); in CStringToD()
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tools/ |
| D | optimizer_coverage.sh | 18 for ARGUMENT in "$@"; do 19 case "$ARGUMENT" in 21 PANDA_BINARY_ROOT="${ARGUMENT#*=}" 24 PANDA_ROOT="${ARGUMENT#*=}"
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/optional_reference_type/ |
| D | optional_reference_type.ts | 17 return arr ? arr[0] : 'Argument not found'; 23 return arr ? arr[0] : 'Argument not found'; 27 return arr ? arr[0] : 'Argument not found'; 68 return 'Argument not found'; 70 return 'Argument not found';
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | panda_string.cpp | 32 ASSERT(!(result == 0 && str.c_str() == endPtr) && "PandaString argument is not long long int"); in PandaStringToLL() 40 …ASSERT(!(result == 0 && str.c_str() == endPtr) && "PandaString argument is not unsigned long long … in PandaStringToULL() 48 ASSERT(result != HUGE_VALF && "PandaString argument is not float"); in PandaStringToF() 49 ASSERT(!(result == 0 && str.c_str() == endPtr) && "PandaString argument is not float"); in PandaStringToF() 57 ASSERT(result != HUGE_VALF && "PandaString argument is not double"); in PandaStringToD() 58 ASSERT(!(result == 0 && str.c_str() == endPtr) && "PandaString argument is not double"); in PandaStringToD()
|