| /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/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": { 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": { 211 "argument": { 254 "argument": { 297 "argument": { 342 "argument": { 375 "argument": { 408 "argument": { [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | pandargs_test.cpp | 32 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/ |
| D | c_string.cpp | 32 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/runtime_core/runtime/mem/ |
| D | panda_string.cpp | 32 ASSERT(!(result == 0 && str.c_str() == end_ptr) && "PandaString argument is not long long int"); in PandaStringToLL() 40 …ASSERT(!(result == 0 && str.c_str() == end_ptr) && "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() == end_ptr) && "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() == end_ptr) && "PandaString argument is not double"); in PandaStringToD()
|
| /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_runtime/ecmascript/compiler/ |
| D | stub.cpp | 31 GateRef argument = env_.GetArgument(i); in InitializeArguments() local 34 acc_.SetMachineType(argument, type); in InitializeArguments() 36 acc_.SetMachineType(argument, paramsType[i].GetMachineType()); in InitializeArguments() 38 acc_.SetGateType(argument, paramsType[i].GetGateType()); in InitializeArguments()
|
| /arkcompiler/ets_frontend/es2panda/ir/base/ |
| D | spreadElement.h | 35 …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/ |
| D | tagged_array-inl.h | 86 JSHandle<TaggedArray> argument = factory->NewTaggedArray(length); in Append() local 89 argument->Set(thread, index, first->Get(index)); in Append() 92 argument->Set(thread, index, second->Get(index - firstLength)); in Append() 94 return argument; in Append() 105 JSHandle<TaggedArray> argument = factory->NewTaggedArray(copyLength); in AppendSkipHole() local 112 argument->Set(thread, index, val); in AppendSkipHole() 120 argument->Set(thread, index++, val); in AppendSkipHole() 123 return argument; in AppendSkipHole()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
| D | extend_assembler.h | 68 // 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/ets_runtime/ecmascript/builtins/ |
| D | builtins_promise_job.cpp | 45 JSHandle<JSTaggedValue> argument = GetCallArg(argv, 1); in PromiseReactionJob() local 58 // 4. If handler is "Identity", let handlerResult be NormalCompletion(argument). in PromiseReactionJob() 59 …Else if handler is "Thrower", let handlerResult be Completion{[[type]]: throw, [[value]]: argument, in PromiseReactionJob() 61 runtimeInfo->SetCallArg(argument.GetTaggedValue()); in PromiseReactionJob() 67 // 6. Else, let handlerResult be Call(handler, undefined, «argument»). in PromiseReactionJob() 70 info->SetCallArg(argument.GetTaggedValue()); in PromiseReactionJob() 137 JSHandle<JSPromiseReactionsFunction> reject(GetCallArg(argv, 1)); // 1 : first argument in DynamicImportJob() 138 JSHandle<EcmaString> dirPath(GetCallArg(argv, 2)); // 2 : second argument in DynamicImportJob() 139 JSHandle<JSTaggedValue> specifier(GetCallArg(argv, 3)); // 3 : third argument in DynamicImportJob() 140 JSHandle<JSTaggedValue> recordName(GetCallArg(argv, 4)); // 4 : fourth argument in DynamicImportJob()
|
| /arkcompiler/runtime_core/compiler/tools/ |
| D | pbc_2_ir_doc_gen.sh | 22 for ARGUMENT in "$@" 24 case "$ARGUMENT" in 26 PANDA_BINARY_ROOT="${ARGUMENT#*=}" 29 PANDA_ROOT="${ARGUMENT#*=}"
|
| /arkcompiler/runtime_core/verification/util/ |
| D | function_traits.h | 58 struct argument { 59 static_assert(N < arity, "invalid argument index"); 64 using arg_type = typename argument<N>::type; 92 using lhs_type = std::decay_t<typename sig::template argument<0>::type>; 93 using rhs_type = std::decay_t<typename sig::template argument<1>::type>; 95 static_assert(std::is_same<lhs_type, rhs_type>::value, "argument types should be the same");
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | pandargs.h | 44 // 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/ |
| D | awaitExpression.h | 34 …explicit AwaitExpression(Expression *argument) : Expression(AstNodeType::AWAIT_EXPRESSION), argume… in AwaitExpression() argument 36 const Expression *Argument() const in Argument() function
|
| D | yieldExpression.h | 35 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
|
| D | unaryExpression.h | 35 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
|
| D | updateExpression.h | 34 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/runtime_core/runtime/bridge/arch/arm/ |
| D | handle_call_imm4_v4_v4_v4_arm.S | 36 // get the first argument 48 // get the second argument 61 // get the third argument 73 // get the fourth argument
|
| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | returnStatement.h | 35 …explicit ReturnStatement(Expression *argument) : Statement(AstNodeType::RETURN_STATEMENT), argumen… in ReturnStatement() argument 37 const Expression *Argument() const in Argument() function
|
| D | throwStatement.h | 36 …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/ |
| D | test-unary-expression-followedby-type-assertion-expected.txt | 36 "argument": { 102 "argument": { 136 "argument": { 230 "argument": { 283 "argument": {
|
| /arkcompiler/ets_runtime/test/moduletest/bindfunction/ |
| D | bindfunction.js | 49 // Create a function with a preset leading argument 52 // Create a function with a preset first argument. 64 const result3 = addThirtySeven(5, 10); // 37 + 5 = 42, (the second argument is ignored)
|