Home
last modified time | relevance | path

Searched full:invoke (Results 1 – 25 of 260) sorted by relevance

1234567891011

/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcall.polymorphic.range.yaml25 .record panda.invoke.MethodHandles <external>
26 .record panda.invoke.MethodHandles$Lookup <external>
27 .record panda.invoke.MethodHandle <external>
28 .record panda.invoke.VarHandle <external>
29 .record panda.invoke.MethodType <external>
35 … .function panda.invoke.MethodHandles$Lookup panda.invoke.MethodHandles.lookup() <external, static>
36 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.MethodHandles$Look…
37 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.MethodHandles$Loo…
38 ….function panda.invoke.VarHandle panda.invoke.MethodHandles$Lookup.findVarHandle(panda.invoke.Meth…
86 ….function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1, R a2, R a3) <ex…
[all …]
Dcall.polymorphic.yaml25 .record panda.invoke.MethodHandles <external>
26 .record panda.invoke.MethodHandles$Lookup <external>
27 .record panda.invoke.MethodHandle <external>
28 .record panda.invoke.VarHandle <external>
29 .record panda.invoke.MethodType <external>
35 … .function panda.invoke.MethodHandles$Lookup panda.invoke.MethodHandles.lookup() <external, static>
36 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.MethodHandles$Look…
37 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.MethodHandles$Loo…
38 ….function panda.invoke.VarHandle panda.invoke.MethodHandles$Lookup.findVarHandle(panda.invoke.Meth…
86 ….function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1, R a2, R a3) <ex…
[all …]
Dcall.polymorphic.short.yaml25 .record panda.invoke.MethodHandles <external>
26 .record panda.invoke.MethodHandles$Lookup <external>
27 .record panda.invoke.MethodHandle <external>
28 .record panda.invoke.VarHandle <external>
29 .record panda.invoke.MethodType <external>
35 … .function panda.invoke.MethodHandles$Lookup panda.invoke.MethodHandles.lookup() <external, static>
36 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.MethodHandles$Look…
37 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.MethodHandles$Loo…
38 ….function panda.invoke.VarHandle panda.invoke.MethodHandles$Lookup.findVarHandle(panda.invoke.Meth…
86 … .function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1) <external>
[all …]
Dcalle.polymorphic.range.yaml25 .record panda.invoke.MethodHandles <external>
26 .record panda.invoke.MethodHandles$Lookup <external>
27 .record panda.invoke.MethodHandle <external>
28 .record panda.invoke.VarHandle <external>
29 .record panda.invoke.MethodType <external>
35 … .function panda.invoke.MethodHandles$Lookup panda.invoke.MethodHandles.lookup() <external, static>
36 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.MethodHandles$Look…
37 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.MethodHandles$Loo…
38 ….function panda.invoke.VarHandle panda.invoke.MethodHandles$Lookup.findVarHandle(panda.invoke.Meth…
86 ….function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1, R a2, R a3…
[all …]
Dcalle.polymorphic.yaml25 .record panda.invoke.MethodHandles <external>
26 .record panda.invoke.MethodHandles$Lookup <external>
27 .record panda.invoke.MethodHandle <external>
28 .record panda.invoke.VarHandle <external>
29 .record panda.invoke.MethodType <external>
35 … .function panda.invoke.MethodHandles$Lookup panda.invoke.MethodHandles.lookup() <external, static>
36 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.MethodHandles$Look…
37 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.MethodHandles$Loo…
38 ….function panda.invoke.VarHandle panda.invoke.MethodHandles$Lookup.findVarHandle(panda.invoke.Meth…
86 ….function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1, R a2, R a3…
[all …]
Dcalle.polymorphic.short.yaml25 .record panda.invoke.MethodHandles <external>
26 .record panda.invoke.MethodHandles$Lookup <external>
27 .record panda.invoke.MethodHandle <external>
28 .record panda.invoke.MethodType <external>
34 … .function panda.invoke.MethodHandles$Lookup panda.invoke.MethodHandles.lookup() <external, static>
35 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.MethodHandles$Look…
36 …a.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.MethodHandles$Loo…
76 … .function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1) <external>
82 - 'panda.invoke.MethodHandle.invokeExact, v16, v2'
84 - 'panda.invoke.MethodHandle.invokeExact, v1, v16'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/06.callable_types/01.callable_types_with_invoke_method/
Dct_invoke_access.params.yaml16 // private invoke from same-class another invoke
25 // private invoke from same-class method
36 // protected invoke from same-class another invoke
45 // protected invoke from same-class method
56 // protected invoke from subclass invoke
67 // protected invoke from subclass method
81 // protected invoke from another class invoke
93 // protected invoke from another class method
107 // private invoke from subclass invoke
119 // private invoke from subclass method
Dct_invoke.params.yaml127 // shadowed invoke
143 // overloaded invoke
161 // overloaded invoke
179 // mix of static and instance invoke
198 // mix of static and instance invoke
212 // error propagation from invoke
216 throw new Error('invoke error')
233 if (e.message != 'invoke error') return 1
237 // call chain of invoke
251 // invoke calls another invoke
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/inlining_test/
Dinlining_nested_lambdas.ets18 ….ETSGLOBAL::test,inlining_nested_lambdas.LambdaObject-ETSGLOBAL\$lambda\$invoke\$0::<ctor>,.*,STAT…
19 ….ETSGLOBAL::test,inlining_nested_lambdas.LambdaObject-ETSGLOBAL\$lambda\$invoke\$1::<ctor>,.*,STAT…
20 ….ETSGLOBAL::test,inlining_nested_lambdas.LambdaObject-ETSGLOBAL\$lambda\$invoke\$1::invoke1,.*,VIR…
23 …olvedVirtual.Inlined .* inlining_nested_lambdas.LambdaObject-ETSGLOBAL\$lambda\$invoke\$1::invoke1/
26 // NOTE(compiler): lambda$invoke$0::invoke1 can be also inlined (now only `F2` is inlined into `tes…
31 ….ETSGLOBAL::test,inlining_nested_lambdas.LambdaObject-ETSGLOBAL\$lambda\$invoke\$0::<ctor>,.*,STAT…
32 ….ETSGLOBAL::test,inlining_nested_lambdas.LambdaObject-ETSGLOBAL\$lambda\$invoke\$1::<ctor>,.*,STAT…
33 ….ETSGLOBAL::test,inlining_nested_lambdas.LambdaObject-ETSGLOBAL\$lambda\$invoke\$1::invoke1,.*,VIR…
36 …olvedVirtual.Inlined .* inlining_nested_lambdas.LambdaObject-ETSGLOBAL\$lambda\$invoke\$1::invoke1/
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/function_return_array_test/ts_to_ets/
Dtest_sts_return_array.ets31 let ret1 = functionReturnArray1.invoke();
34 let ret2 = functionReturnArray1.invoke(ESValue.wrap(arr));
37 let ret3 = functionReturnArray2.invoke(ESValue.wrap(arr));
40 let ret4 = functionReturnArray3.invoke();
43 let ret5 = functionReturnArray3.invoke(ESValue.wrap(arr));
46 let ret6 = functionReturnString1.invoke();
49 let ret7 = functionReturnString1.invoke(ESValue.wrap(arrString));
52 let ret8 = functionReturnString2.invoke(ESValue.wrap(arrString));
55 let ret9 = functionReturnString3.invoke();
58 let ret10 = functionReturnString3.invoke(ESValue.wrap(arrString));
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_transfer/ets_to_ts/
Dtest_transfer.ets40 testDynamicArrayBuffer.invoke(ESValue.wrap(dynamicArrayBuffer));
49 testDynamicInt8Array.invoke(ESValue.wrap(dynamicTypedArray));
58 testDynamicUint8Array.invoke(ESValue.wrap(dynamicTypedArray));
67 testDynamicUint8ClampedArray.invoke(ESValue.wrap(dynamicTypedArray));
76 testDynamicInt16Array.invoke(ESValue.wrap(dynamicTypedArray));
85 testDynamicUint16Array.invoke(ESValue.wrap(dynamicTypedArray));
94 testDynamicInt32Array.invoke(ESValue.wrap(dynamicTypedArray));
103 testDynamicUint32Array.invoke(ESValue.wrap(dynamicTypedArray));
112 testDynamicFloat32Array.invoke(ESValue.wrap(dynamicTypedArray));
121 testDynamicFloat64Array.invoke(ESValue.wrap(dynamicTypedArray));
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/function_overload/ts_to_ets/
Dtest_function_overload.ets22 let res1 = processInputDy.invoke(ESValue.wrapNumber(5)); // 2 * 5 = 10
23 let res2 = processInputDy.invoke(ESValue.wrapString('hello')); // 'HELLO'
24 let res3 = processInputDy.invoke(ESValue.wrapBoolean(true)); // false
31 let res1 = createArrayDy.invoke(ESValue.wrapNumber(5), ESValue.wrapNumber(1));
33 …let res2 = createArrayDy.invoke(ESValue.wrapString('a'), ESValue.wrapNumber(1), ESValue.wrapNumber…
35 let res3 = createArrayDy.invoke(ESValue.wrapBoolean(true), ESValue.wrapNumber(2));
44 let res1 = getUserDy.invoke(ESValue.wrapNumber(123));
46 let res2 = getUserDy.invoke(ESValue.wrapString('admin'));
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/taskpool/ts_to_ets/
Dtaskpool_interop_tests.ets19 let res1 = processInputDy.invoke(ESValue.wrapNumber(5)); // 2 * 5 = 10
20 let res2 = processInputDy.invoke(ESValue.wrapString('hello')); // 'HELLO'
21 let res3 = processInputDy.invoke(ESValue.wrapBoolean(true)); // false
34 let res1 = createArrayDy.invoke(ESValue.wrapNumber(5), ESValue.wrapNumber(1));
36 …let res2 = createArrayDy.invoke(ESValue.wrapString('a'), ESValue.wrapNumber(1), ESValue.wrapNumber…
38 let res3 = createArrayDy.invoke(ESValue.wrapBoolean(true), ESValue.wrapNumber(2));
52 let res1 = getUserDy.invoke(ESValue.wrapNumber(123));
54 let res2 = getUserDy.invoke(ESValue.wrapString('admin'));
119 let obj = module.getProperty('baseFunc').invoke()
128 let obj = module.getProperty('childFunc').invoke()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/eworker/ts_to_ets/
Deworker_interop_tests.ets22 let res1 = processInputDy.invoke(ESValue.wrapNumber(5)); // 2 * 5 = 10
23 let res2 = processInputDy.invoke(ESValue.wrapString('hello')); // 'HELLO'
24 let res3 = processInputDy.invoke(ESValue.wrapBoolean(true)); // false
37 let res1 = createArrayDy.invoke(ESValue.wrapNumber(5), ESValue.wrapNumber(1));
38 …let res2 = createArrayDy.invoke(ESValue.wrapString('a'), ESValue.wrapNumber(1), ESValue.wrapNumber…
39 let res3 = createArrayDy.invoke(ESValue.wrapBoolean(true), ESValue.wrapNumber(2));
53 let res1 = getUserDy.invoke(ESValue.wrapNumber(123));
55 let res2 = getUserDy.invoke(ESValue.wrapString('admin'));
120 let obj = module.getProperty('baseFunc').invoke()
129 let obj = module.getProperty('childFunc').invoke()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_optional_params/ts_to_ets/
Doptional_params.ets18 module.getProperty("foo1").invoke(ESValue.wrap(1), ESValue.wrap("str"));
19 module.getProperty("foo2").invoke(ESValue.wrap(1), ESValue.wrap("str"), ESValue.wrap(true));
20 …module.getProperty("foo3").invoke(ESValue.wrap(1), ESValue.wrap("str"), ESValue.wrap(true), ESValu…
22 module.getProperty("fun1").invoke(ESValue.wrap(1), ESValue.wrap("str"));
23 module.getProperty("fun2").invoke(ESValue.wrap(1), ESValue.wrap("str"), ESValue.wrap(false));
24 …module.getProperty("fun3").invoke(ESValue.wrap(1), ESValue.wrap("str"), ESValue.wrap(false), ESVal…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/modules/spawn/
Dspawn.ets40 mainAbility.invoke();
88 abilityExpectVerificationError("@app.module5.MainAbility::invoke")
92 abilityExpectVerificationError("@app.module6.MainAbility::invoke")
96 abilityExpectVerificationError("@app.module.MainAbility::invoke");
100 abilityExpectVerificationError("@app.module1.MainAbility::invoke");
112 abilityExpectVerificationError("@app.module.MainAbility::invoke");
116 abilityExpectVerificationError("@app.module1.MainAbility::invoke");
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/06.callable_types/
Dct.params.yaml17 // CTE if both invoke and instantiate are present in the same class
27 // CTE if both invoke and instantiate are available
40 // CTE if both invoke and instantiate are available
53 // CTE if both invoke and instantiate are available
66 // CTE if invoke is not static, implicit call
77 // CTE if invoke is not static, explicit call
84 let x = C.invoke(42.0, 'abc')
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/function_with_this/ts_to_ets/
Dtest_function_this.ets34 let obj = module.getProperty('baseFunc').invoke()
40 let obj = module.getProperty('childFunc').invoke()
47 let result = fooBaseObj.getProperty('foo').invoke()
61 let result = fooChildObj.getProperty('foo').invoke()
74 let result = module.getProperty('arrowFunc').invoke()
/arkcompiler/ets_frontend/ets2panda/test/unit/plugin/
Dplugin_test-expected.txt6 invoke
7 invoke
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DTypeMethodInvoke.ets32 const res = sum.invoke(null, args) as Long
42 assertEQ( getIsEvenPlusX.invoke(c, args) as Boolean, true)
45 assertEQ( getIsEvenPlusX.invoke(c, args) as Boolean, false)
48 assertEQ( getIsEvenPlusX.invoke(c, args) as Boolean, true)
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_regexp_test.cpp41 // invoke RegExpConstructor method in HWTEST_F_L0()
60 // invoke RegExpConstructor method in HWTEST_F_L0()
77 // invoke RegExpConstructor method in HWTEST_F_L0()
95 // invoke RegExpConstructor method in HWTEST_F_L0()
113 // invoke RegExpConstructor method in HWTEST_F_L0()
130 // invoke RegExpConstructor method in HWTEST_F_L0()
136 // invoke GetSource method in HWTEST_F_L0()
147 // invoke RegExpConstructor method in HWTEST_F_L0()
153 // invoke GetSource method in HWTEST_F_L0()
163 // invoke RegExpConstructor method in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/examples/finalization_registry/
Dfin_reg_test.ets23 public native invoke(arg: Object | undefined): void
27 cb.invoke(undefined)
33 cb.invoke(arg)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/koala-related-benchmarks/
Darkts-mockup.ets17 // TODO: inheriting static invoke with type parameters causes es2panda crash
20 console.println("Executing invoke")
47 console.println("Executing invoke")
65 console.println("Executing invoke")
/arkcompiler/ets_frontend/ets2panda/linter/test/interop/
Dinterop_import_typeof_js.ets.migrate.ets30 myAaa.invoke().typeOf(); //error
31 let fun = myAaa.invoke();
34 Dog.invoke(ESValue.wrap('doge')).typeOf(); //error
35 Doge.invoke(ESValue.wrap('doge')).typeOf(); //error
/arkcompiler/runtime_core/static_core/docs/coroutines/
Dcoro_seq.plantuml7 CoroutineManager -> "Coroutine: main": Invoke "main"
13 CoroutineManager -> "Coroutine: foo": Invoke "foo"

1234567891011