Home
last modified time | relevance | path

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

12345678910

/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 export function indirectCallTypeAny(arg) { argument
21 export function indirectCallTypeLiteral(arg) { argument
34 method(arg) { argument
56 interfaceMethod(arg) { argument
66 export function indirectCallUnion(arg) { argument
70 export function indirectCallTypeByRefArray(arg) { argument
74 export function indirectCallTypeByRefTuple(arg) { argument
78 export function indirectCallTypeByRefMap(arg) { argument
88 export function indirectCallTypeByValueNumber(arg) { argument
92 export 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.js24 export function anyTypeParameter(arg) { argument
51 export let genericTypeFunctionReturnAny = function (arg) { argument
78 export let extendGenericNumber = function (arg) { return arg; }; argument
79 export let extendGenericString = function (arg) { return arg; }; argument
80 export let extendGenericBool = function (arg) { return arg; }; argument
81 export let extendGenericArr = function (arg) { return arg; }; argument
82 export let extendGenericObj = function (arg) { return arg; }; argument
83 export let extendGenericUnion = function (arg) { return arg; }; argument
84 export let extendGenericTuple = function (arg) { return arg; }; argument
85 export 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 export function genericFunction(arg) { argument
81 export function genericTypeParameter(arg) { argument
85 export function genericTypeReturnValue(arg) { argument
97 export function functionArgTypeAny(arg) { argument
101 export function functionArgTypeUnknown(arg) { argument
105 export function functionArgTypeUndefined(arg) { argument
109 export function functionArgTypeTuple(arg) { argument
143 export function functionDefaultIntParameterFunction(arg = INT_VALUE) { argument
148 export function functionDefaultStringParameterFunction(arg = STRING_VALUE) { argument
153 export 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/runtime_core/static_core/plugins/ets/tests/interop_js/tests/setter/ts_to_ets/
Dsetter.js17 set value(arg) { argument
25 set value(arg) { argument
33 set value(arg) { argument
52 set value(arg) { argument
60 set value(arg) { argument
68 set value(arg) { argument
78 set value(arg) { argument
/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/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/generic_static/ts_to_sts/
Dmain.js48 export function genericStaticMethodCallFromTs(arg) { argument
59 export function genericClassExtendsCallFromTs(arg) { argument
70 export function genericLiteralCallFromTs(arg) { argument
81 export function genericExtraSetCallFromTs(arg) { argument
92 export function genericSubsetByRefStaticCallFromTs(arg) { argument
103 export function genericSubsetByValueStaticCallFromTs(arg) { argument
114 export function genericUnionStaticCallFromTs(arg) { argument
134 export function userClassFromTs(arg) { argument
145 export 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.js21 set(arg) { argument
32 set(arg) { argument
43 set(arg) { argument
54 set(arg) { argument
74 export function genericFunction(arg) { argument
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/intersection_signature/
Dmain.js57 function ChildAgeNameInterfaceClass(...arg) {
72 export function checkIntersectionInterface(arg) { argument
87 export function throwExceptionInterface(arg) { argument
94 export function checkAgeNameGeneric(arg) { argument
133 function ChildAgeNameGenericClass(...arg) {
148 function throwExceptionGeneric(arg) { argument
154 export function checkUnionType(arg) { argument
193 function ChildAgeNameUnionClass(...arg) {
208 function throwExceptionUnion(arg) { argument
214 export 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/plugins/ets/tests/interop_js/tests/callable_signature/ts_to_sts/
Dmain.js17 _call: function (...arg) {
26 let fn = function (...arg) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interfaces/interface_method_returns_value/js_interface/
Dindex.js97 getGeneric(arg) { argument
101 getFunctionReturningType(arg) { argument
102 return function (arg) { return 0; }; argument
174 getGeneric: function (arg) { argument
179 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/runtime_core/static_core/plugins/ets/tests/interop_js/tests/getter_arkjs/ets_to_js/
Dcheck_static_getter_class.js19 const checkArray = (arg) => arg instanceof Array; argument
20 const checkObj = (arg) => arg !== null && typeof arg === 'object' && !Array.isArray(arg); argument
/arkcompiler/toolchain/tooling/dynamic/client/tcpServer/
Dtcp_server.cpp40 void CreateServer(void* arg) in CreateServer()
122 void TcpServer::StartTcpServer([[maybe_unused]] void* arg) in StartTcpServer()
186 int TcpServer::CreateTcpServer([[maybe_unused]] void* arg) in CreateTcpServer()
/arkcompiler/ets_frontend/ets2panda/test/compiler/ts/
Dswitch_statement.ts16 var arg = -1; variable
/arkcompiler/runtime_core/static_core/runtime/tests/
Dinvokation_helper.h44 inline void WriteArgImpl(arch::ArgWriter<RUNTIME_ARCH> *writer, size_t nfloats, float arg, Args... … in WriteArgImpl()
51 inline void WriteArgImpl(arch::ArgWriter<RUNTIME_ARCH> *writer, size_t nfloats, T arg, Args... args) in WriteArgImpl()
80 inline void WriteArg(arch::ArgWriter<RUNTIME_ARCH> *writer, T arg, Args... args) in WriteArg()

12345678910