Home
last modified time | relevance | path

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

12345678910>>...20

/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/ets_frontend/ts2panda/tests/expression/
Darguments.test.ts34 describe("arguments Keyword", function () {
35 it('arguments: Array-like object accessible inside functions', function () {
37 snippetCompiler.compile(`function foo(a,b) {arguments[0];}`);
38 …IRNode.pg = new PandaGen("foo", creatAstFromSnippet(`function foo(a,b) {arguments[0];}`), 0, undef…
56 it('arguments as parameter shadows keyword', function () {
58 snippetCompiler.compile(`function foo(arguments) {arguments[0];}`);
59 …IRNode.pg = new PandaGen("foo", creatAstFromSnippet(`function foo(arguments) {arguments[0];}`), 0,…
/arkcompiler/ets_frontend/ts2panda/src/expression/
DnewExpression.ts30 if (containSpreadElement(expr.arguments)) {
32 … createArrayFromElements(expr, compiler, <ts.NodeArray<ts.Expression>>expr.arguments, argRegs);
40 // prepare arguments for newobj.dyn.range instruction
42 if (expr.arguments) {
43 numArgs += expr.arguments.length;
50 if (expr.arguments) {
51 // store ctor arguments in registers
52 expr.arguments.forEach((argExpr: ts.Expression) => {
DcallExpression.ts33 compiler.compileExpression(expr.arguments[0]);
53 let { arguments: args, passThis: passThis } = getHiddenParameters(innerExpression, compiler);
55 // compile arguments of function call
90 return { arguments: args, passThis: passThis };
96 for (let i = 0; i < expr.arguments.length; i++) {
97 let argument = expr.arguments[i];
105 expr.arguments.forEach((argExpr: ts.Expression) => {
144 createArrayFromElements(expr, compiler, <ts.NodeArray<ts.Expression>>expr.arguments, argArray);
/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/es2panda/test/parser/js/
Dtest-new-expression-expected.txt23 "arguments": [],
65 "arguments": [
172 "arguments": [],
184 "arguments": [],
196 "arguments": [],
255 "arguments": [
282 "arguments": [],
328 "arguments": [
356 "arguments": [],
368 "arguments": [],
[all …]
Dtest-call-expression-expected.txt43 "arguments": [
72 "arguments": [
128 "arguments": [
198 "arguments": [
257 "arguments": [],
300 "arguments": [
386 "arguments": [
474 "arguments": [
533 "arguments": [
DInvalid-destructuring-target-arguments-8-expected.txt1 …ntaxError: Invalid destructuring assignment target: arguments [Invalid-destructuring-target-argume…
DInvalid-destructuring-target-arguments-1-expected.txt1 …ntaxError: Invalid destructuring assignment target: arguments [Invalid-destructuring-target-argume…
DInvalid-destructuring-target-arguments-3-expected.txt1 …ntaxError: Invalid destructuring assignment target: arguments [Invalid-destructuring-target-argume…
DInvalid-destructuring-target-arguments-4-expected.txt1 …ntaxError: Invalid destructuring assignment target: arguments [Invalid-destructuring-target-argume…
DInvalid-destructuring-target-arguments-2-expected.txt1 …ntaxError: Invalid destructuring assignment target: arguments [Invalid-destructuring-target-argume…
DInvalid-destructuring-target-arguments-5-expected.txt1 …ntaxError: Invalid destructuring assignment target: arguments [Invalid-destructuring-target-argume…
DInvalid-destructuring-target-arguments-6-expected.txt1 …ntaxError: Invalid destructuring assignment target: arguments [Invalid-destructuring-target-argume…
/arkcompiler/ets_frontend/es2panda/
DREADME.md7 es2panda [OPTIONS] [input file] -- [arguments]
10 ## Optional arguments
23 ## Tail arguments
34 ### Optional arguments
39 ### Tail arguments
/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/plugins/ecmascript/tests/
DCMakeLists.txt18 …set(multiValues EXPECTED_STDOUT VERIFIER_EXPECTED_STDOUT VERIFIER_SEARCH_STDERR ARGUMENTS RUNTIME_…
91 ARGUMENTS "${ARG_ARGUMENTS}"
107 ARGUMENTS "${ARG_ARGUMENTS}"
124 ARGUMENTS "${ARG_ARGUMENTS}"
142 ARGUMENTS "${ARG_ARGUMENTS}"
158 ARGUMENTS "${ARG_ARGUMENTS}"
177 ARGUMENTS "${ARG_ARGUMENTS}"
192 ARGUMENTS "${ARG_ARGUMENTS}"
207 ARGUMENTS "${ARG_ARGUMENTS}"
222 ARGUMENTS "${ARG_ARGUMENTS}"
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcall.short.yaml24 Call indicated static method, i.e. create new frame, pass values of arguments and
31 Arguments are passed in source registers in the same order as in method signature.
32 … Non-range instructions can be used to pass up to 4 arguments (unused register slot values will
34 …For methods with more arguments range kind of instruction is to be used, which takes the needed nu…
35 of arguments starting from 'vs' register.
47 description: Check that 'call.short' supports up to 2 arguments.
151 description: Verifier should check usage of uninitialized arguments passed to function.
164 # 1st argument is function arguments
262 … description: Check 'call.short' when arguments of function and instruction parameters mismatch.
274 # 1st - function arguments
[all …]
Dcall.yaml25 Call indicated static method, i.e. create new frame, pass values of arguments and
32 Arguments are passed in source registers in the same order as in method signature.
33 … Non-range instructions can be used to pass up to 4 arguments (unused register slot values will
35 …For methods with more arguments range kind of instruction is to be used, which takes the needed nu…
36 of arguments starting from 'vs' register.
48 description: Check that 'call' supports up to 4 arguments.
168 description: Verifier should check usage of uninitialized arguments passed to function.
181 # 1st argument is function arguments
263 description: Check 'call' when arguments of function and instruction parameters mismatch.
275 # 1st - function arguments
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dlowering_relate_gate_test.cpp54 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
77 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
78 auto arg1 = builder.Arguments(1); in HWTEST_F_L0()
99 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
100 auto arg1 = builder.Arguments(1); in HWTEST_F_L0()
121 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
145 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
146 auto arg1 = builder.Arguments(1); in HWTEST_F_L0()
167 auto glue = builder.Arguments(0); in HWTEST_F_L0()
168 auto arg0 = builder.Arguments(1); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/cmake/
DTemplateBasedGen.cmake20 # Mandatory arguments:
25 # Optional arguments:
29 # * EXTRA_ARGV -- a list of positional arguments that could be accessed in '.erb' files via ARGV[]
89 # Mandatory arguments:
92 # Optional arguments:
123 # Mandatory arguments:
129 # EXTRA_ARGV -- a list of positional arguments that could be accessed in '.erb' files via ARGV[]
154 # Mandatory arguments:
162 # Parsing function arguments
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DcallExpression.h37 explicit CallExpression(Expression *callee, ArenaVector<Expression *> &&arguments, in CallExpression() argument
41 arguments_(std::move(arguments)), in CallExpression()
57 const ArenaVector<Expression *> &Arguments() const in Arguments() function
62 ArenaVector<Expression *> &Arguments() in Arguments() function
/arkcompiler/ets_runtime/test/aottest/newobjspread/
Dnewobjspread.ts22 this.a = arguments[0];
23 this.b = arguments[1];
24 this.c = arguments[2];
/arkcompiler/runtime_core/bytecode_optimizer/
Dreg_encoder.h29 * |<-locals->|<-free registers->|<-RegAlloc temps->|<-arguments->|
36 * * arguments (>= 0) are registers allocated for function's arguemnts.
42 * Space for arguments, however, can contain "holes" (each "hole" corresponds
46 * number of registers used in the unoptimized bytecode. Total number of arguments
51 * 1. Shift temps and arguments to the left adjacently to locals, and reserve the
55 * |<-locals->|<-range temps->|<-RegAlloc temps->|<-arguments->|<-free registers->|
63 …* |<-Renumber temps->|<-locals->|<-range temps->|<-RegAlloc temps->|<-arguments->|<-free registers…
/arkcompiler/runtime_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml107 Call 'any' value that represents a function, i.e. create a new frame, pass values of arguments
113 arguments of a function.
114 Non-range instructions can be used to pass up to 4 arguments (unused register slot values will
116 …For methods with more arguments range kind of instruction is to be used, which takes the needed nu…
117 of arguments starting from 'v' register.

12345678910>>...20