Home
last modified time | relevance | path

Searched full:arguments (Results 1 – 25 of 1820) sorted by relevance

12345678910>>...73

/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule207.ets17 console.log(arguments[0]);
21 console.log(arguments[1]);
25 for (let i = 0; i < arguments.length; i++) {
26 console.log(arguments[i]);
31 console.log('Number of arguments:', arguments.length);
35 console.log(arguments);
39 let args = Array.prototype.slice.call(arguments);
44 console.log(Array.prototype.join.call(arguments, ', '));
48 console.log(arguments);
52 let args = Array.prototype.slice.call(arguments);
[all …]
Drule207.ets.arkts2.json20 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
40 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
70 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
90 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
100 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
110 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
150 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
180 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
190 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
230 … "rule": "Special arguments object inside functions are not supported (arkts-no-arguments-obj)",
[all …]
/arkcompiler/runtime_core/libpandabase/
DREADME.md7 pandargs is header-only utility tool that helps to parse command line arguments. It supports severa…
25 …d of `PandArg`, `PandArgCompound` can be used, which serves for creation of the compound arguments.
28 #### Arguments subsubsection
35 // argument name | argument description | sub-arguments
43 - PandArgCompound accepts three parameters: argument name, description and list of sub-arguments
52 - List of sub-arguments has type `std::initializer_list<PandArgBase *>`, and it accepts any non-com…
53 Sub-arguments should not be added to the parser via `PandArgParser::Add`.
77 - regular arguments
78 - tail arguments
79 - remainder arguments
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/
DREADME.md7 pandargs is header-only utility tool that helps to parse command line arguments. It supports severa…
25 …d of `PandArg`, `PandArgCompound` can be used, which serves for creation of the compound arguments.
28 #### Arguments subsubsection
35 // argument name | argument description | sub-arguments
43 - PandArgCompound accepts three parameters: argument name, description and list of sub-arguments
52 - List of sub-arguments has type `std::initializer_list<PandArgBase *>`, and it accepts any non-com…
53 Sub-arguments should not be added to the parser via `PandArgParser::Add`.
77 - regular arguments
78 - tail arguments
79 - remainder arguments
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/
Dtest5.ts.json24 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
34 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
44 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
54 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
64 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
74 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
84 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
94 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
104 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
114 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
[all …]
/arkcompiler/runtime_core/static_core/scripts/code_style/
Dclang_tidy_rename.py177 arguments = get_args() variable
180 arguments.build_dir = str(os.path.abspath(arguments.build_dir))
181 arguments.panda_dir = str(os.path.abspath(arguments.panda_dir))
182 arguments.fix_dir = str(os.path.abspath(arguments.fix_dir))
184 arguments.fix_dir = os.path.join(arguments.fix_dir, "renamer_fixes")
185 os.mkdir(arguments.fix_dir)
187 if not os.path.exists(os.path.join(arguments.build_dir, 'compile_commands.json')):
191 arguments.panda_dir, arguments.build_dir, arguments.filename_filter)
197 check_file_list(files_list, arguments.panda_dir, arguments.build_dir,
198 arguments.fix_dir, arguments.clang_rules_autofix)
[all …]
/arkcompiler/ets_runtime/test/aottest/getunmappedargs/
Dgetunmappedargs.ts18 print(arguments[0]);
23 print(arguments[0]);
24 print(arguments[1]);
25 print(arguments[2]);
30 print(arguments[0]);
31 print(arguments[1]);
/arkcompiler/ets_frontend/ets2panda/
DREADME.md7 es2panda [OPTIONS] [input file] -- [arguments]
10 ## Optional arguments
13 ## Tail arguments
24 ### Optional arguments
29 ### Tail arguments
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DoptionalArgumentsLowering.cpp23 ArenaVector<ir::Expression *> &arguments);
28 ES2PANDA_ASSERT(!callExpr->Arguments().empty()); in TransformArgumentsForTrailingLambda()
29 auto lastArg = callExpr->Arguments().back(); in TransformArgumentsForTrailingLambda()
30 callExpr->Arguments().pop_back(); in TransformArgumentsForTrailingLambda()
31 TransformArguments(ctx, callExpr, sig, callExpr->Arguments()); in TransformArgumentsForTrailingLambda()
33 callExpr->Arguments().pop_back(); in TransformArgumentsForTrailingLambda()
34 callExpr->Arguments().push_back(lastArg); in TransformArgumentsForTrailingLambda()
38 ArenaVector<ir::Expression *> &arguments) in TransformArguments() argument
40 if (signature->ArgCount() < arguments.size()) { in TransformArguments()
45 if (arguments.size() < signature->MinArgCount()) { // #22952: workaround for dynamic types in TransformArguments()
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_generic_types.ets.json24 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
34 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
44 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
54 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
94 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
104 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
114 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
124 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
134 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
144 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda…
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/os/
Dexec.h41 std::array<const char *, sizeof...(args) + 1> arguments = {args..., nullptr}; in decltype() local
42 return os::exec::Exec(Span(arguments)); in decltype()
48 std::array<const char *, sizeof...(args) + 1> arguments = {args..., nullptr}; in decltype() local
49 return os::exec::ExecNoWait(Span(arguments)); in decltype()
55 std::array<const char *, sizeof...(args) + 1> arguments = {args..., nullptr}; in decltype() local
56 return os::exec::ExecWithCallback(callback, Span(arguments)); in decltype()
62 std::array<const char *, sizeof...(args) + 1> arguments = {args..., nullptr}; in decltype() local
63 return os::exec::ExecWithCallbackNoWait(callback, Span(arguments)); in decltype()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/
D.pylintrc26 # R0913: Too many arguments (too-many-arguments)
28 # W1202: Use % formatting in logging functions and pass the % parameters as arguments (logging-form…
29 # R0917: Too many positional arguments
34 too-many-arguments,
38 too-many-positional-arguments
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/
D.pylintrc26 # R0913: Too many arguments (too-many-arguments)
28 # W1202: Use % formatting in logging functions and pass the % parameters as arguments (logging-form…
29 # R0917: Too many positional arguments,
36 too-many-arguments,
41 too-many-positional-arguments,
/arkcompiler/ets_frontend/es2panda/
DREADME.md7 es2panda [OPTIONS] [input file] -- [arguments]
10 ## Optional arguments
23 ## Tail arguments
34 ### Optional arguments
39 ### Tail arguments
/arkcompiler/runtime_core/static_core/plugins/ets/doc/stdlib/packages/
Descompat.rst27 | **Arguments\:**
43 | **Arguments\:**
59 | **Arguments\:**
75 | **Arguments\:**
95 | **Arguments\:**
138 | **Arguments\:**
154 | **Arguments\:**
179 | **Arguments\:**
199 | **Arguments\:**
217 | **Arguments\:**
[all …]
/arkcompiler/ets_runtime/test/moduletest/getunmappedargs/
Dgetunmappedargs.js18 * @tc.desc:test arguments
23 print(arguments[0])
24 print(arguments[1])
25 print(arguments[2])
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/04.class_implementation_clause/
Dwildcard_type_argument.ets19 desc: Use wildcard in type arguments.
20 assert: If the typeReference has type arguments, none of the type arguments may be wildcard type ar…
Dwildcard_type_argument_negative.ets19 desc: Use wildcard in type arguments.
20 assert: If the typeReference has type arguments, none of the type arguments may be wildcard type ar…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/03.class_extension_clause/
Dwildcard_type_argument_negative.ets19 desc: Use wildcard in type arguments.
20 assert: If the typeReference has type arguments, none of the type arguments may be wildcard type ar…
Dwildcard_type_argument.ets19 desc: Use wildcard in type arguments.
20 assert: If the typeReference has type arguments, none of the type arguments may be wildcard type ar…
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-new-expression-expected.txt22 "arguments": [],
63 "arguments": [
166 "arguments": [],
178 "arguments": [],
190 "arguments": [],
248 "arguments": [
275 "arguments": [],
320 "arguments": [
347 "arguments": [],
359 "arguments": [],
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/02.superinterfaces_and_subinterfaces/
Dtype_argument.ets17 desc: Use well-formed parameterized type in type arguments.
18arguments, it must denote a well-formed parameterized type (link to parameterized types), and non…
Dwildcart_type_argument.ets17 desc: Use wildcard in type arguments.
18arguments, it must denote a well-formed parameterized type (link to parameterized types), and non…
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Drest_parameter_08.ets25 /* @@@ label1 Error TypeError: Expected 1 arguments, got 0. */
26 /* @@@ label1 Error TypeError: Expected 4 arguments, got 0. */
28 /* @@@ label2 Error TypeError: Expected 4 arguments, got 1. */
30 /* @@@ label3 Error TypeError: Expected 4 arguments, got 3. */
32 /* @@@ label4 Error TypeError: Expected 4 arguments, got 5. */
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dglobal_value_numbering_test.cpp56 auto x = builder.Arguments(1); in HWTEST_F_L0()
57 auto y = builder.Arguments(2); in HWTEST_F_L0()
58 auto z = builder.Arguments(3); in HWTEST_F_L0()
82 auto x = builder.Arguments(1); in HWTEST_F_L0()
83 auto y = builder.Arguments(2); in HWTEST_F_L0()
106 auto x = builder.Arguments(1); in HWTEST_F_L0()
107 auto y = builder.Arguments(2); in HWTEST_F_L0()
130 auto x = builder.Arguments(1); in HWTEST_F_L0()
131 auto y = builder.Arguments(2); in HWTEST_F_L0()
161 auto x = builder.Arguments(1); in HWTEST_F_L0()
[all …]

12345678910>>...73