Home
last modified time | relevance | path

Searched defs:arg (Results 1 – 25 of 189) sorted by relevance

12345678

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/standalone_function/js_to_ets/
Dopt_arg_type.js20 function functionArgTypeDoubleOpt(arg = 1.7976931348623157e308) { argument
24 function functionArgTypeByteOpt(arg = -128) { argument
28 function functionArgTypeShortOpt(arg = -32768) { argument
32 function functionArgTypeIntOpt(arg = -2147483648) { argument
36 function functionArgTypeLongOpt(arg = 9007199254740991) { argument
40 function functionArgTypeFloatOpt(arg = 3.14) { argument
44 function functionArgTypeCharOpt(arg = 'c') { argument
48 function functionArgTypeBooleanOpt(arg = true) { argument
52 function functionArgTypeStringOpt(arg = 'test') { argument
56 function functionArgTypeObjectOpt(arg = { id: 1 }) { argument
[all …]
Darg_type.js17 function functionArgTypeIdentical(arg) { argument
21 function functionArgTypeObject(arg) { argument
25 function functionArgTypeClass(arg) { argument
29 function functionArgTypeArray(arg) { argument
33 function functionArgTypeTuple(arg) { argument
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/js_to_ets/indirect_call/
Dindirect_call.js17 function indirectCallTypeAny(arg) { argument
21 function indirectCallTypeLiteral(arg) { argument
34 method(arg) { argument
56 interfaceMethod(arg) { argument
66 function indirectCallUnion(arg) { argument
70 function indirectCallTypeByRefArray(arg) { argument
74 function indirectCallTypeByRefTuple(arg) { argument
78 function indirectCallTypeByRefMap(arg) { argument
88 function indirectCallTypeByValueNumber(arg) { argument
92 function indirectCallTypeByValueString(arg) { argument
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic_as_parameter/ts_to_sts/
Dgeneric_as_parameter.js73 function anyTypeParameter(arg) { argument
100 let genericTypeFunctionReturnAny = function (arg) { argument
128 let extendGenericNumber = function (arg) { return arg; }; argument
130 let extendGenericString = function (arg) { return arg; }; argument
132 let extendGenericBool = function (arg) { return arg; }; argument
134 let extendGenericArr = function (arg) { return arg; }; argument
136 let extendGenericObj = function (arg) { return arg; }; argument
138 let extendGenericUnion = function (arg) { return arg; }; argument
140 let extendGenericTuple = function (arg) { return arg; }; argument
142 let extendGenericLiteral = function (arg) { return arg; }; argument
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/js_to_ets/js_suites/
Dscenarios.js77 function genericFunction(arg) { argument
81 function genericTypeParameter(arg) { argument
85 function genericTypeReturnValue(arg) { argument
97 function functionArgTypeAny(arg) { argument
101 function functionArgTypeUnknown(arg) { argument
105 function functionArgTypeUndefined(arg) { argument
109 function functionArgTypeTuple(arg) { argument
143 function functionDefaultIntParameterFunction(arg = INT_VALUE) { argument
148 function functionDefaultStringParameterFunction(arg = STRING_VALUE) { argument
153 function functionDefaultFloatParameterFunction(arg = FLOAT_VALUE) { argument
[all …]
/arkcompiler/runtime_core/libpandabase/tests/
Dmutex_test.cpp43 ThreadRWLockArgs *arg = reinterpret_cast<ThreadRWLockArgs *>(input); in TestThread1() local
54 ThreadRWLockArgs *arg = reinterpret_cast<ThreadRWLockArgs *>(input); in TestThread2() local
64 ThreadRWLockArgs *arg = reinterpret_cast<ThreadRWLockArgs *>(input); in TestThread3() local
82 ThreadMutexArgs *arg = reinterpret_cast<ThreadMutexArgs *>(input); in TestThread4() local
94 ThreadRWLockArgs *arg = reinterpret_cast<ThreadRWLockArgs *>(input); in TestThread5() local
104 ThreadRWLockArgs arg = {rwlock, &res}; variable
131 ThreadRWLockArgs arg = {rwlock, &res}; variable
163 ThreadMutexArgs arg = {lock, &index}; variable
178 ThreadRWLockArgs arg = {rwlock, nullptr}; variable
/arkcompiler/ets_runtime/ecmascript/ohos/
Dcode_decrypt.cpp25 struct code_decrypto_arg arg; in DecryptSetKey() local
35 struct code_decrypto_arg arg; in DecrypRemoveKey() local
45 struct code_decrypto_arg arg; in DecryptAssociateKey() local
55 struct code_decrypto_arg arg; in DecrypRemoveAssociateKey() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/setter/ts_to_ets/
Dsetter.js18 set value(arg) { argument
26 set value(arg) { argument
34 set value(arg) { argument
52 set value(arg) { argument
60 set value(arg) { argument
68 set value(arg) { argument
77 set value(arg) { argument
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dcgbb.h291 void SetLevel(uint32 arg) in SetLevel()
299 void SetFrequency(uint32 arg) in SetFrequency()
327 void SetNext(BB *arg) in SetNext()
331 void SetPrev(BB *arg) in SetPrev()
339 void SetLabIdx(LabelIdx arg) in SetLabIdx()
351 void SetFirstStmt(StmtNode &arg) in SetFirstStmt()
363 void SetLastStmt(StmtNode &arg) in SetLastStmt()
376 void SetFirstInsn(Insn *arg) in SetFirstInsn()
428 void SetLastInsn(Insn *arg) in SetLastInsn()
569 void InsertLiveInRegNO(regno_t arg) in InsertLiveInRegNO()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/constructor_as_arg/
Dmain.js39 exports.createClassWithArgFromTs = function createClassWithArgFromTs(arg) { argument
59 exports.createChildClassWithArgFromTs = function createChildClassWithArgFromTs(arg) { argument
79 …onymousClassCreateClassWithArgFromTs = function createAnonymousClassCreateClassWithArgFromTs(arg) { argument
104 exports.createClassFunction = function createClassFunction(arg, val) { argument
107 exports.createClassArrowFunction = function createClassArrowFunction(arg, val) { argument
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic_static/ts_to_sts/
Dmain.js64 function genericStaticMethodCallFromTs(arg) { argument
76 function genericClassExtendsCallFromTs(arg) { argument
88 function genericLiteralCallFromTs(arg) { argument
100 function genericExtraSetCallFromTs(arg) { argument
112 function genericSubsetByRefStaticCallFromTs(arg) { argument
124 function genericSubsetByValueStaticCallFromTs(arg) { argument
136 function genericUnionStaticCallFromTs(arg) { argument
159 function userClassFromTs(arg) { argument
171 function userInterfaceFromTs(arg) { argument
/arkcompiler/runtime_core/static_core/libpandabase/tests/genmc/
Dmutex_test_4.cpp30 static void *Thread1(void *arg) in Thread1()
44 static void *Thread2(void *arg) in Thread2()
56 static void *Thread3(void *arg) in Thread3()
Dcondvar_test_3.cpp31 static void *Thread1(void *arg) in Thread1()
47 static void *Thread2(void *arg) in Thread2()
Dcondvar_test_2.cpp33 static void *Thread1(void *arg) in Thread1()
44 static void *Thread2(void *arg) in Thread2()
Dcondvar_test_1.cpp32 static void *Thread1(void *arg) in Thread1()
44 static void *Thread2(void *arg) in Thread2()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic/ts_to_ets/
Dgeneric.js25 set(arg) { argument
36 set(arg) { argument
47 set(arg) { argument
58 set(arg) { argument
78 exports.genericFunction = function genericFunction(arg) { argument
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/intersection_signature/
Dmain.js88 function ChildAgeNameInterfaceClass(...arg) {
105 function checkIntersectionInterface(arg) { argument
120 function throwExceptionInterface(arg) { argument
127 function checkAgeNameGeneric(arg) { argument
167 function ChildAgeNameGenericClass(...arg) {
184 function throwExceptionGeneric(arg) { argument
190 function checkUnionType(arg) { argument
230 function ChildAgeNameUnionClass(...arg) {
247 function throwExceptionUnion(arg) { argument
253 function checkLiteralType(arg) { argument
[all …]
/arkcompiler/runtime_core/libpandabase/tests/genmc/
Dmutex_test_4.cpp31 static void *Thread1(void *arg) in Thread1()
46 static void *Thread2(void *arg) in Thread2()
59 static void *Thread3(void *arg) in Thread3()
/arkcompiler/runtime_core/libpandabase/utils/
Dpandargs.h221 bool Add(PandArgBase *arg) in Add()
234 bool PushBackTail(PandArgBase *arg) in PushBackTail()
345 bool IsArgSet(PandArgBase *arg) const in IsArgSet()
360 auto arg = static_cast<PandArgCompound *>(i); in GetHelpString() local
510 auto arg = parent_arg->FindSubArg(arg_name); in ParseSubArgument() local
541 auto arg = static_cast<PandArgCompound *>(FindArg(arg_name)); in ParseCompoundArg() local
593 PandArgBase *arg = FindArg(arg_name); in ParseNextRegularArg() local
614 PandArgBase *arg = nullptr; in ParseNextArg() local
717 size_t ParseNextParam(PandArgBase *arg, std::string_view argstr) in ParseNextParam()
752 std::size_t ParseStringArgParam(PandArg<std::string> *arg, std::string_view argstr) in ParseStringArgParam()
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dpandargs.h224 bool Add(PandArgBase *arg) in Add()
237 bool PushBackTail(PandArgBase *arg) in PushBackTail()
344 bool IsArgSet(PandArgBase *arg) const in IsArgSet()
359 auto arg = static_cast<PandArgCompound *>(i); in GetHelpString() local
510 auto arg = parentArg->FindSubArg(argName); in ParseSubArgument() local
541 auto arg = static_cast<PandArgCompound *>(FindArg(argName)); in ParseCompoundArg() local
599 PandArgBase *arg = FindArg(argName); in ParseNextRegularArg() local
620 PandArgBase *arg = nullptr; in ParseNextArg() local
719 size_t ParseNextParam(PandArgBase *arg, std::string_view argstr) in ParseNextParam()
754 std::size_t ParseStringArgParam(PandArg<std::string> *arg, std::string_view argstr) in ParseStringArgParam()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/callable_signature/ts_to_sts/
Dmain.js19 _call: function (...arg) {
28 let fn = function (...arg) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interfaces/interface_method_returns_value/js_interface/
Dindex.js102 genericInterface.prototype.getGeneric = function (arg) { argument
105 genericInterface.prototype.getFunctionReturningType = function (arg) { argument
106 return function (arg) { return 0; }; argument
158 getGeneric: function (arg) { argument
162 getFunctionReturningType: function (arg) { argument
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_arguments_test.cpp41 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() local
64 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() local
86 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() local
106 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() local
128 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() local
/arkcompiler/ets_frontend/ets2panda/test/compiler/ts/
Dswitch_statement.ts16 var arg = -1; variable
/arkcompiler/toolchain/tooling/client/tcpServer/
Dtcp_server.cpp39 void CreateServer(void* arg) in CreateServer()
119 void TcpServer::StartTcpServer([[maybe_unused]] void* arg) in StartTcpServer()
183 int TcpServer::CreateTcpServer([[maybe_unused]] void* arg) in CreateTcpServer()

12345678