| /arkcompiler/ets_runtime/test/aottest/large_func_acc/ |
| D | large_func_acc.ts | 21 var r = 0; variable 22 r += add(1, 2); 23 r += add(1, 2); 24 r += add(1, 2); 25 r += add(1, 2); 26 r += add(1, 2); 27 r += add(1, 2); 28 r += add(1, 2); 29 r += add(1, 2); 30 r += add(1, 2); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/12.indexing_expression/02.record_indexing_expression/ |
| D | ind.params.yaml | 20 let r: Record<"1"|"2"|"3", Short> = { 26 assert(r["1"] == 1 && r["2"] == 1 && r["3"] == 3) 27 r["1"] = 10 28 r["2"] = 20 29 r["3"] = 30 30 assert(r["1"] == 10 && r["2"] == 20 && r["3"] == 30) 36 let r: Record<"11"|"12"|"13", Short> = { 42 assert(r[i] == 0) // CTE expected, expression is not permitted in index 52 let r: Record<"11"|"12"|"13", Short> = { 57 r[foo("1")] = 99 // CTE expected, expression is not permitted in index [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | ldobj.obj.yaml | 26 .record R { 42 R fR 43 R[] fRArray 48 .function void R.ctor(R a0) <ctor> { 66 .record R <panda.extends=Q> { 79 R fR 80 R[] fRArray 87 .function void R.ctor(R a0) <ctor> { 121 - 'ldobj.obj v0, R.fQ' 123 - 'ldobj.obj v1, R.fR' [all …]
|
| D | ldobj.v.obj.yaml | 26 .record R { 42 R fR 43 R[] fRArray 48 .function void R.ctor(R a0) <ctor> { 66 .record R <panda.extends=Q> { 79 R fR 80 R[] fRArray 87 .function void R.ctor(R a0) <ctor> { 123 - 'ldobj.v.obj v1, v0, R.fQ' 125 - 'ldobj.v.obj v1, v1, R.fR' [all …]
|
| D | ldstatic.obj.yaml | 26 .record R { 42 R fR <static> 43 R[] fRArray <static> 48 .function void R.ctor(R a0) <ctor> { 66 .record R <panda.extends=Q> { 79 R fR <static> 80 R[] fRArray <static> 87 .function void R.ctor(R a0) <ctor> { 231 - R.fu1 233 - R.fu8 [all …]
|
| D | stobj.obj.yaml | 26 .record R { 42 R fR 43 R[] fRArray 47 .function void R.ctor(R a0) <ctor> { 65 .record R <panda.extends=Q> { 78 R fR 79 R[] fRArray 85 .function void R.ctor(R a0) <ctor> { 115 initobj R.ctor 122 .function void check(R a0) { [all …]
|
| D | stobj.v.obj.yaml | 20 .record R { 36 R fR 37 R[] fRArray 48 .record R <panda.extends=Q> { 61 R fR 62 R[] fRArray 94 newobj v0, R 99 - stobj.v.obj v1, v0, R.fR 102 - stobj.v.obj v0, v2, R.fR 106 .function void check(R a0) <static> { [all …]
|
| D | ststatic.obj.yaml | 26 .record R { 42 R fR <static> 43 R[] fRArray <static> 47 .function void R.ctor(R a0) <ctor> { 65 .record R <panda.extends=Q> { 78 R fR <static> 79 R[] fRArray <static> 85 .function void R.ctor(R a0) <ctor> { 114 ststatic.obj R.fR 249 - R.fQ [all …]
|
| D | call.virt.range.yaml | 22 # x = R.currentValue 26 # R.currentValue = x 28 .function i32 R.nextRand(R a0) { 29 ldobj a0, R.currentValue 48 stobj a0, R.currentValue 185 .record R { 190 .function void R.constructor(R a0) <ctor> { 195 .function void R.storeValues(R a0, %s) { 200 .function u32 R.test(R a0) { 201 …st - generate pseudo-random values, store to registers as primitive/objects and invoke R.storeValue [all …]
|
| D | call.virt.acc.short.yaml | 53 .record R {} 54 .function void R.f1(R a0) { 57 .function void R.f2(R a0, i32 a1) { 60 .function void R.f3(R a0, i32 a1, i32 a2) { 63 .function void R.sf0() { 66 .function void R.sf1(i32 a0) { 69 .function void R.sf2(i32 a0, i32 a1) { 72 .function void R.sf3(i32 a0, i32 a1, i32 a2) { 88 newobj v0, R 92 - values: ['R.f1, v0, 0'] [all …]
|
| D | stobj.v.yaml | 20 .record R { 46 .record R <panda.extends=Q> { 59 R fR 60 R[] fRArray 94 newobj v0, R 100 - stobj.v v2, v0, R.fi32 103 - stobj.v v1, v2, R.fi32 107 .function void check(R a0) <static> { 108 stobj.v v0, a0, R.fi32 116 stobj.v a0, v0, R.fi32 [all …]
|
| D | calle.polymorphic.range.yaml | 40 .record R <panda.access = public, panda.extends = W> { 50 .record Q <panda.access = public, panda.extends = R> {} 52 .function panda.Class R.getPrimitiveType(panda.String a0) <static, panda.access=public> { 62 call.short R.test 86 …32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1, R a2, R a3) <external> 87 .function i32 R.test() <static, panda.access = public> { 133 …32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1, R a2, R a3) <external> 134 .function i32 R.test() <static, panda.access = public> { 149 newobj v100, R 150 newobj v101, R [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Function.sts | 19 export interface Function<R> {} 21 export interface ThrowingFunction0<out R> extends Function<R> { 22 invoke0(): R throws; 25 export interface ThrowingFunction1<in P1, out R> extends Function<R> { 26 invoke0(p1: P1): R throws; 29 export interface ThrowingFunction2<in P1, in P2, out R> extends Function<R> { 30 invoke0(p1: P1, p2: P2): R throws; 33 export interface ThrowingFunction3<in P1, in P2, in P3, out R> extends Function<R> { 34 invoke0(p1: P1, p2: P2, p3: P3): R throws; 37 export interface ThrowingFunction4<in P1, in P2, in P3, in P4, out R> extends Function<R> { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/06.spread_expression/ |
| D | spex.params.yaml | 46 let r = [c'a', ...a, c'd'] 47 assert(r.length == 4 && (new String(r) == "abcd")) 52 let r = [1 as byte, ...a, 4 as byte] 53 assert(r.length == 4 && r[0] == 1 && r[1] == 2 && r[2] == 3 && r[3] == 4) 58 let r = [1 as short, ...a, 4 as short] 59 assert(r.length == 4 && r[0] == 1 && r[1] == 2 && r[2] == 3 && r[3] == 4) 64 let r = [1, ...a, 4] 65 assert(r.length == 4 && r[0] == 1 && r[1] == 2 && r[2] == 3 && r[3] == 4) 70 let r = [1 as long, ...a, 4 as long] 71 assert(r.length == 4 && r[0] == 1 && r[1] == 2 && r[2] == 3 && r[3] == 4) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/01.character_type_and_literals/02.character_types_and_operations/comparison/ |
| D | cmp_ref.params.yaml | 18 - { op: '==', r: 'true' } 19 - { op: '!=', r: 'false' } 20 - { op: '<', r: 'false' } 21 - { op: '<=', r: 'true' } 22 - { op: '>', r: 'false' } 23 - { op: '>=', r: 'true' } 28 - { op: '==', r: 'true' } 29 - { op: '!=', r: 'false' } 30 - { op: '<', r: 'false' } 31 - { op: '<=', r: 'true' } [all …]
|
| D | cmp_val.params.yaml | 18 - { op: '==', r: 'true' } 19 - { op: '!=', r: 'false' } 20 - { op: '<', r: 'false' } 21 - { op: '<=', r: 'true' } 22 - { op: '>', r: 'false' } 23 - { op: '>=', r: 'true' } 28 - { op: '==', r: 'true' } 29 - { op: '!=', r: 'false' } 30 - { op: '<', r: 'false' } 31 - { op: '<=', r: 'true' } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/04.record_utility_type/ |
| D | rec.params.yaml | 24 let r: R1 = {} 25 r = foo(r) 26 assert(r["Null Pointer Error"] instanceof Error) 27 assert(r["NPE"] == undefined) 37 let r: R1<string> = {} 38 r = foo(r) 39 assert(r["Null Pointer Error"] instanceof Error) 40 assert(r["NPE"] == undefined) 45 let r: Record<string, number>[] = new Record<string, number>[3] 46 r[0] = { "A": 1 } [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | call.virt.acc.short.yaml | 47 .record R {} 48 .function void R.f1(R a0) { 51 .function void R.f2(R a0, i32 a1) { 54 .function void R.f3(R a0, i32 a1, i32 a2) { 57 .function void R.sf0() { 60 .function void R.sf1(i32 a0) { 63 .function void R.sf2(i32 a0, i32 a1) { 66 .function void R.sf3(i32 a0, i32 a1, i32 a2) { 82 newobj v0, R 86 - values: ['R.f1, v0, 0'] [all …]
|
| D | ldobj.obj.yaml | 22 .record R { 38 R fR 39 R[] fRArray 44 .function void R.ctor(R a0) <ctor> { 75 - 'ldobj.obj v0, R.fQ' 77 - 'ldobj.obj v1, R.fR' 79 - 'ldobj.obj v15, R.fQArray' 81 - 'ldobj.obj v240, R.fi32Array' 83 - 'ldobj.obj v255, R.fObj' 95 .function R get_null() { [all …]
|
| D | ldstatic.obj.yaml | 22 .record R { 38 R fR <static> 39 R[] fRArray <static> 44 .function void R.ctor(R a0) <ctor> { 183 - R.fu1 185 - R.fu8 187 - R.fi8 189 - R.fu16 191 - R.fi16 193 - R.fu32 [all …]
|
| D | ldobj.v.obj.yaml | 22 .record R { 38 R fR 39 R[] fRArray 44 .function void R.ctor(R a0) <ctor> { 75 - 'ldobj.v.obj v1, v0, R.fQ' 77 - 'ldobj.v.obj v1, v1, R.fR' 79 - 'ldobj.v.obj v1, v15, R.fQArray' 91 .function R get_null() { 109 - R.fQ 111 - R.fObj [all …]
|
| D | call.virt.acc.yaml | 49 .record R {} 50 .function void R.f1(R a0) { 53 .function void R.f2(R a0, i32 a1) { 56 .function void R.f3(R a0, i32 a1, i32 a2) { 59 .function void R.f4(R a0, i32 a1, i32 a2, i32 a3) { 62 .function void R.f5(R a0, i32 a1, i32 a2, i32 a3, i32 a4) { 65 .function void R.sf1(i32 a0) { 68 .function void R.sf2(i32 a0, i32 a1) { 71 .function void R.sf3(i32 a0, i32 a1, i32 a2) { 74 .function void R.sf4(i32 a0, i32 a1, i32 a2, i32 a3) { [all …]
|
| D | stobj.obj.yaml | 22 .record R { 38 R fR 39 R[] fRArray 43 .function void R.ctor(R a0) <ctor> { 69 initobj R.ctor 76 .function void check(R a0) { 77 stobj.obj a0, R.fR 83 .function void check(R a0) { 85 stobj.obj v0, R.fR 101 .function R get_null() { [all …]
|
| D | stobj.v.obj.yaml | 20 .record R { 36 R fR 37 R[] fRArray 63 newobj v0, R 68 - stobj.v.obj v1, v0, R.fR 71 - stobj.v.obj v0, v2, R.fR 75 .function void check(R a0) <static> { 76 stobj.v.obj v0, a0, R.fR 83 .function void check(R a0) <static> { 85 stobj.v.obj a0, v0, R.fR [all …]
|
| /arkcompiler/ets_frontend/legacy_bin/api8/src/ |
| D | index.js | 2 …r="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&&"function"==typeof Buffer.allocUnsa… class
|