Home
last modified time | relevance | path

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

12345678910>>...13

/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/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 …]
Dtest-update-expression-expected.txt10 "argument": {
55 "argument": {
122 "argument": {
164 "argument": {
168 "argument": {
224 "argument": {
228 "argument": {
232 "argument": {
283 "argument": {
287 "argument": {
Dtest-unary-expression-expected.txt10 "argument": {
52 "argument": {
97 "argument": {
164 "argument": {
206 "argument": {
248 "argument": {
290 "argument": {
335 "argument": {
367 "argument": {
399 "argument": {
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DdeclarationEmitFirstTypeArgumentGenericFunctionType.ts23 let prop11: X< <Tany>() => Tany >; // spaces before the first type argument
26 let prop12: X<(<Tany>() => Tany)>; // spaces before the first type argument
39 function f3(): X< <Tany>() => Tany> { // written with space before type argument
49 let prop2: Y<string[], <Tany>() => Tany>; // No space after second type argument
52 let prop2: Y<string[], <Tany>() => Tany>; // space after second type argument
55 let prop3: Y< <Tany>() => Tany, <Tany>() => Tany>; // space before first type argument
58 let prop4: Y<(<Tany>() => Tany), <Tany>() => Tany>; // parenthesized first type argument
/arkcompiler/runtime_core/libpandabase/tests/
Dpandargs_test.cpp32 PandArg<bool> pab("bool", ref_def_bool, "Sample boolean argument");
33 PandArg<int> pai("int", ref_def_int, "Sample integer argument");
34 PandArg<double> pad("double", ref_def_double, "Sample rational argument");
35 PandArg<std::string> pas("string", ref_def_string, "Sample string argument");
36 PandArg<uint32_t> pau32("uint32", ref_def_uint32, "Sample uint32 argument");
37 PandArg<uint64_t> pau64("uint64", ref_def_uint64, "Sample uint64 argument");
38 PandArg<arg_list_t> pald("dlist", ref_def_dlist, "Sample delimiter list argument", ":");
39 PandArg<arg_list_t> pal("list", ref_def_list, "Sample list argument");
40 PandArg<int> pair("rint", ref_def_int, "Integer argument with range", -100, 100);
41 … PandArg<uint32_t> paur32("ruint32", ref_def_uint64, "uint32 argument with range", 0, 1000000000);
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dc_string.cpp32 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not long int"); in CStringToL()
40 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not long long int"); in CStringToLL()
48 …ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not unsigned long long int"… in CStringToULL()
56 ASSERT(result != HUGE_VALF && "CString argument is not float"); in CStringToF()
57 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not float"); in CStringToF()
65 ASSERT(result != HUGE_VALF && "CString argument is not double"); in CStringToD()
66 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not double"); in CStringToD()
/arkcompiler/ets_frontend/test262/
Des2022_tests.txt64 built-ins/Array/prototype/at/index-argument-tointeger.js
65 built-ins/Array/prototype/at/index-non-numeric-argument-tointeger.js
69 built-ins/Array/prototype/at/index-non-numeric-argument-tointeger-invalid.js
76 built-ins/String/prototype/at/index-argument-tointeger.js
77 built-ins/String/prototype/at/index-non-numeric-argument-tointeger.js
81 built-ins/String/prototype/at/index-non-numeric-argument-tointeger-invalid.js
86 built-ins/TypedArray/prototype/at/index-argument-tointeger.js
87 built-ins/TypedArray/prototype/at/index-non-numeric-argument-tointeger.js
91 built-ins/TypedArray/prototype/at/index-non-numeric-argument-tointeger-invalid.js
/arkcompiler/runtime_core/bytecode_optimizer/tools/
Doptimizer_coverage.sh18 for ARGUMENT in "$@"
20 case "$ARGUMENT" in
22 PANDA_BINARY_ROOT="${ARGUMENT#*=}"
25 PANDA_ROOT="${ARGUMENT#*=}"
/arkcompiler/ets_frontend/es2panda/ir/base/
DspreadElement.h35 …t SpreadElement(AstNodeType nodeType, Expression *argument) : Expression(nodeType), argument_(argu… in SpreadElement() argument
37 const Expression *Argument() const in Argument() function
42 Expression *Argument() in Argument() function
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub.cpp35 GateRef argument = env_.GetArgument(i); in InitializeArguments() local
38 acc_.SetMachineType(argument, type); in InitializeArguments()
40 acc_.SetMachineType(argument, paramsType[i].GetMachineType()); in InitializeArguments()
42 acc_.SetGateType(argument, paramsType[i].GetGateType()); in InitializeArguments()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dextend_assembler.h68 // X11 is neither callee saved reegister nor argument register in AvailableRegister1()
73 // X12 is neither callee saved reegister nor argument register in AvailableRegister2()
78 // X13 is neither callee saved reegister nor argument register in AvailableRegister3()
83 // X14 is neither callee saved reegister nor argument register in AvailableRegister4()
91 LOG_COMPILER(FATAL) << "arm64 invalid call argument:" << i; in CallDispatcherArgument()
/arkcompiler/runtime_core/libpandabase/utils/
Dpandargs.h44 // Base class for panda argument
224 errstr_ += "pandargs: Can't add `nullptr` as an argument\n"; in Add()
229 errstr_ += "pandargs: Argument " + arg->GetName() + " has duplicate\n"; in Add()
237 errstr_ += "pandargs: Can't add `nullptr` as a tail argument\n"; in PushBackTail()
241 … errstr_ += "pandargs: Tail argument " + arg->GetName() + " is already in tail arguments list\n"; in PushBackTail()
413 errstr_ += "Invalid argument type \"" + i->GetName() + "\"\n"; in GetRegularArgs()
512 errstr_.append("pandargs: Invalid sub-argument \""); in ParseSubArgument()
618 // NOTE: currently we have only double dash argument prefix in ParseNextArg()
621 // regular argument in ParseNextArg()
626 // remainder argument in ParseNextArg()
[all …]
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DawaitExpression.h34 …explicit AwaitExpression(Expression *argument) : Expression(AstNodeType::AWAIT_EXPRESSION), argume… in AwaitExpression() argument
36 const Expression *Argument() const in Argument() function
DyieldExpression.h35 explicit YieldExpression(Expression *argument, bool isDelegate) in YieldExpression() argument
36 : Expression(AstNodeType::YIELD_EXPRESSION), argument_(argument), delegate_(isDelegate) in YieldExpression()
45 const Expression *Argument() const in Argument() function
DunaryExpression.h35 explicit UnaryExpression(Expression *argument, lexer::TokenType unaryOperator) in UnaryExpression() argument
36 : Expression(AstNodeType::UNARY_EXPRESSION), argument_(argument), operator_(unaryOperator) in UnaryExpression()
45 const Expression *Argument() const in Argument() function
DupdateExpression.h34 explicit UpdateExpression(Expression *argument, lexer::TokenType updateOperator, bool isPrefix) in UpdateExpression() argument
36 argument_(argument), in UpdateExpression()
49 const Expression *Argument() const in Argument() function
/arkcompiler/ets_frontend/es2panda/ir/statements/
DreturnStatement.h35 …explicit ReturnStatement(Expression *argument) : Statement(AstNodeType::RETURN_STATEMENT), argumen… in ReturnStatement() argument
37 const Expression *Argument() const in Argument() function
DthrowStatement.h36 …explicit ThrowStatement(Expression *argument) : Statement(AstNodeType::THROW_STATEMENT), argument_… in ThrowStatement() argument
38 const Expression *Argument() const in Argument() function
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-unary-expression-followedby-type-assertion-expected.txt35 "argument": {
101 "argument": {
135 "argument": {
228 "argument": {
281 "argument": {
Dtest-ts-non-null-expression-expected.txt80 "argument": {
135 "argument": {
190 "argument": {
245 "argument": {
/arkcompiler/ets_runtime/ecmascript/
Dtagged_array-inl.h87 JSHandle<TaggedArray> argument = factory->NewTaggedArray(length); in Append() local
90 argument->Set(thread, index, first->Get(index)); in Append()
93 argument->Set(thread, index, second->Get(index - firstLength)); in Append()
95 return argument; in Append()
106 JSHandle<TaggedArray> argument = factory->NewTaggedArray(copyLength); in AppendSkipHole() local
113 argument->Set(thread, index, val); in AppendSkipHole()
121 argument->Set(thread, index++, val); in AppendSkipHole()
124 return argument; in AppendSkipHole()
/arkcompiler/ets_runtime/test/moduletest/bindfunction/
Dbindfunction.js48 // Create a function with a preset leading argument
51 // Create a function with a preset first argument.
63 const result3 = addThirtySeven(5, 10); // 37 + 5 = 42, (the second argument is ignored)
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/
Dextended_assembler_x64.h56 // r10 is neither callee saved reegister nor argument register in AvailableRegister1()
61 // r11 is neither callee saved reegister nor argument register in AvailableRegister2()
77 LOG_COMPILER(FATAL) << "x64 invalid call argument:" << i; in CallDispatcherArgument()
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DfunctionCall_7-expected.txt28 "argument": {
85 "argument": {
213 TypeError: Argument of type 'number' is not assignable to parameter of type 'string'. [functionCall…

12345678910>>...13