Home
last modified time | relevance | path

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

12345678910

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/05.callable_types/01.callable_types_with_invoke_method/
Dct_invoke.params.yaml18 static invoke(): number { return 42.0 }
27 static invoke(): number { return 42.0 }
30 if (C.invoke() != 42.0) return 1
36 static invoke(): number { return 42.0 }
46 static invoke(): number { return 42.0 }
49 let x = A.invoke()
56 static invoke() { C.res = 1 }
67 static invoke(): void { C.res = 1 }
78 static invoke(): C {
86 if (C() != C() || C.invoke() != C.invoke() || C.invoke() != C()) return 1
[all …]
Dct_invoke_access.params.yaml16 // private invoke from same-class another invoke
18 private static invoke(p: string) { return p }
19 public static invoke() { return C('abc') }
25 // private invoke from same-class method
27 private static invoke(p: string) { return p + p }
36 // protected invoke from same-class another invoke
38 protected static invoke(p: string) { return p }
39 public static invoke() { return C('abc') }
45 // protected invoke from same-class method
47 protected static invoke(p: string) { return p + p }
[all …]
/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/05.callable_types/
Dct.params.yaml17 // CTE if both invoke and instantiate are present in the same class
19 static invoke() {}
27 // CTE if both invoke and instantiate are available
29 static invoke() {}
40 // CTE if both invoke and instantiate are available
46 static invoke() {}
53 // CTE if both invoke and instantiate are available
58 static invoke() {}
66 // CTE if invoke is not static, implicit call
68 invoke(p: number, q: string): string {
[all …]
Dct1.params.yaml25 static invoke(): C {
30 static invoke(p: number): C {
41 if (C.invoke().fld != 'CI') return 1
42 if (C.invoke(42.0).fld != 'NJ') return 1
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/16.Support_for_GUI_Programming/callable-classes/
Dtype-call-expression-with-param_4.sts28 static invoke(val: int) { counter = val; }
29 static invoke(val: String) { name = val; }
30 static invoke(val: number) { pi = val; }
37 CallMeTrinity.invoke("Trinity");
38 CallMeTrinity.invoke(42);
39 CallMeTrinity.invoke(3.14159265358)
Dtype-call-expression-with-param_0.sts25 static invoke() { counter++; }
26 static invoke(assign: int) { counter += assign; }
31 CallMeTrinity.invoke(3);
Dtype-call-expression-with-param_1.sts26 static invoke() { counter++; }
27 static invoke(...assign: int[]) { counter += assign.length; }
32 CallMeTrinity.invoke(3);
Dtype-call-expression-short-with-param_1.sts27 static invoke(val: int) { counter = val; }
28 static invoke(val: String) { name = val; }
29 static invoke(val: number) { pi = val; }
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DErrors.sts26 static invoke(message?: String, options?: ErrorOptions): EvalError {
30 static invoke(message: String): EvalError {
43 static invoke(message?: String, options?: ErrorOptions): TypeError {
47 static invoke(message: String): TypeError {
60 static invoke(message?: String, options?: ErrorOptions): ReferenceError {
64 static invoke(message: String): ReferenceError {
77 static invoke(message?: String, options?: ErrorOptions): URIError {
81 static invoke(message: String): URIError {
118 … static invoke(errors: Iterable<Error>, message?: String, options?: ErrorOptions): AggregateError {
122 static invoke(errors: Error[], message?: String, options?: ErrorOptions): AggregateError {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/js_call/
Djs_call.sts23 //! INST /CallStatic.*jscall::invoke/
26 //! INST_NEXT /CallStatic.*jscall::invoke/
28 //! INST_NEXT /CallStatic.*jscall::invoke/
35 //! INST_NOT /CallStatic.*jscall::invoke/
69 //! INST /CallStatic.*jscall::invoke/
72 //! INST_NEXT /CallStatic.*jscall::invoke/
74 //! INST_NEXT /CallStatic.*jscall::invoke/
82 //! INST_NOT /CallStatic.*jscall::invoke/
126 //! INST_COUNT /CallStatic.*jscall::invoke/, 6
134 //! INST_NOT /CallStatic.*jscall::invoke/
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_operations/
Dclass_operations_frontend.sts29 //! INST_NOT /CallStatic.*jscall::invoke/
40 //! INST_NOT /CallStatic.*jsnew::invoke/
62 //! INST_NOT /CallStatic.*jscall::invoke/
73 //! INST_NOT /CallStatic.*jsnew::invoke/
74 //! INST_NOT /CallStatic.*jscall::invoke/
96 //! INST_NOT /CallStatic.*jsnew::invoke/
116 //! INST_NOT /CallStatic.*jsnew::invoke/
139 //! INST_NOT /CallStatic.*jsnew::invoke/
140 //! INST_NOT /CallStatic.*jscall::invoke/
159 //! INST_NOT /CallStatic.*jsnew::invoke/
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_utils.cpp43 EtsMethod *invoke = lambda->GetClass()->GetMethod("invoke"); in InvokeVoid() local
44 if (invoke == nullptr) { in InvokeVoid()
45 LOG(FATAL, RUNTIME) << "No method 'invoke' found"; in InvokeVoid()
49 invoke->GetPandaMethod()->InvokeVoid(coro, &arg); in InvokeVoid()
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
DlambdaWithWrongOptionalParameter.sts26 /* @@? 1:1 Error TypeError: No matching call signature for lambda$invoke$0(undefined) */
28 /* @@? 1:1 Error TypeError: No matching call signature for lambda$invoke$0(Int|undefined) */
30 /* @@? 1:1 Error TypeError: No matching call signature for lambda$invoke$0(undefined) */
32 /* @@? 1:1 Error TypeError: No matching call signature for lambda$invoke$0(Int|undefined) */
/arkcompiler/ets_frontend/ets2panda/test/unit/plugin/
Dplugin_test-expected.txt6 invoke
7 invoke
De2p_test_plugin-expected.txt9 invoke
10 invoke
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DTypeMethodInvoke.sts32 const res = sum.invoke(null, args) as Long
42 assert getIsEvenPlusX.invoke(c, args) as Boolean == true
45 assert getIsEvenPlusX.invoke(c, args) as Boolean == false
48 assert 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/ets_func_tests/koala-related-benchmarks/
Darkts-mockup.sts17 // 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/runtime_core/static_core/docs/coroutines/
Dcoro_seq.plantuml7 CoroutineManager -> "Coroutine: main": Invoke "main"
13 CoroutineManager -> "Coroutine: foo": Invoke "foo"

12345678910