| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | ir_builder.h | 73 V(Add, (GateRef gate, GateRef e1, GateRef e2)) \ 74 V(Sub, (GateRef gate, GateRef e1, GateRef e2)) \ 75 V(Mul, (GateRef gate, GateRef e1, GateRef e2)) \ 76 V(FloatDiv, (GateRef gate, GateRef e1, GateRef e2)) \ 77 V(IntDiv, (GateRef gate, GateRef e1, GateRef e2)) \ 78 V(UDiv, (GateRef gate, GateRef e1, GateRef e2)) \ 79 V(IntOr, (GateRef gate, GateRef e1, GateRef e2)) \ 80 V(IntAnd, (GateRef gate, GateRef e1, GateRef e2)) \ 81 V(IntXor, (GateRef gate, GateRef e1, GateRef e2)) \ 82 V(IntLsr, (GateRef gate, GateRef e1, GateRef e2)) \ [all …]
|
| /arkcompiler/runtime_core/libpandabase/serializer/ |
| D | struct_to_tuple.h | 40 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(3, e0, e1, e2); 41 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(4, e0, e1, e2, e3); 42 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(5, e0, e1, e2, e3, e4); 43 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(6, e0, e1, e2, e3, e4, e5); 44 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(7, e0, e1, e2, e3, e4, e5, e6); 45 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(8, e0, e1, e2, e3, e4, e5, e6, e7); 46 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(9, e0, e1, e2, e3, e4, e5, e6, e7, e8); 47 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(10, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9); 48 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(11, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10); 49 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(12, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11); [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/serializer/ |
| D | struct_to_tuple.h | 41 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(3, appName, e1, e2); 42 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(4, e0, e1, e2, e3); 43 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(5, e0, e1, e2, e3, e4); 44 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(6, e0, e1, e2, e3, e4, e5); 45 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(7, e0, e1, e2, e3, e4, e5, e6); 46 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(8, e0, e1, e2, e3, e4, e5, e6, e7); 47 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(9, e0, e1, e2, e3, e4, e5, e6, e7, e8); 48 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(10, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9); 49 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(11, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10); 50 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(12, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11); [all …]
|
| /arkcompiler/runtime_core/static_core/verification/util/tests/ |
| D | flags.cpp | 24 enum class Enum { E1, E2, E3 }; in TEST() enumerator 25 using F = ark::verifier::FlagsForEnum<size_t, Enum, Enum::E1, Enum::E2, Enum::E3>; in TEST() 28 flags[Enum::E2] = true; in TEST() 29 EXPECT_TRUE(flags[Enum::E2]); in TEST() 32 flags[Enum::E2] = false; in TEST() 34 EXPECT_FALSE(flags[Enum::E2]); in TEST() 37 flags[Enum::E2] = true; in TEST() 40 EXPECT_TRUE(flags[Enum::E2]); in TEST() 44 EXPECT_TRUE(flags[Enum::E2]); in TEST()
|
| /arkcompiler/runtime_core/static_core/tests/cts-assembly/ |
| D | exceptions-catch-hierarchy.pa | 15 .record E2 <extends=E1> {} 16 .record E3 <extends=E2> {} 23 .function u1 E2.f(E2 a0) { 34 newobj v0, E2 68 .catch E2, try_begin, try_end, catch_block2_begin
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/11.enumerations/02.enumeration_string_values/ |
| D | enum_str.params.yaml | 33 let e2 = Enum.second 36 assertEQ("" + e1 + e2 + e3, "ABB") 41 const e2 = Enum.second 44 assertEQ("" + e1 + e2 + e3, "ABB") 55 enum Enum { e1 = a, e2 = "DEF" } // constant expression 58 assertEQ(Enum.e2.toString(), "DEF") 62 enum Enum { e1 = a + a, e2 = a + "DEF" } // constant expressions 65 assertEQ(Enum.e2.toString(), "ABCDEF") 68 enum Enum { e1 = "A", e2 = "B", e3 = "C" } 73 case Enum.e2: assertTrue(false); break;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/ |
| D | 16167_2.ets | 32 enum E2 { 37 let e2: E2 = E2.d; 39 let res = flag ? e1 : e2;
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/enums/ |
| D | test-ts-enum-20.ts | 29 export enum E2 {a = ns.ns.E1.a} enum 30 print(E2.a); 31 print(E2["str"]); 34 enum E3 {a = ns2.ns1.ns1.E2.a}
|
| D | test-ts-enum-28.ts | 26 enum E2 { enum 29 print(E2.a); 30 print(E2["str"]);
|
| D | test-ts-enum-30.ts | 28 enum E2 { enum 31 print(E2.a); 32 print(E2["str"]);
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top+export/06_type/ |
| D | 01_type_01_expected.txt | 171 type e2 = { 185 let f2: e2["prop5"] = 1; 187 let g2: e2["prop6"] = 2; 189 let h2: e2["3412"] = 3; 191 let i2: e2["2341"] = 4; 193 let j2: e2["1432"] = 5; 195 let k2: e2["1423"] = 6; 198 let l2: e2[1243] = 7; 200 let m2: e2[2134] = 7; 203 let n2: e2[3142] = 8; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top+export/06_type/ |
| D | 01_type_01_expected.txt | 171 type e2 = { 185 let f2: e2["prop5"] = 1; 187 let g2: e2["prop6"] = 2; 189 let h2: e2["3412"] = 3; 191 let i2: e2["2341"] = 4; 193 let j2: e2["1432"] = 5; 195 let k2: e2["1423"] = 6; 198 let l2: e2[1243] = 7; 200 let m2: e2[2134] = 7; 203 let n2: e2[3142] = 8; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top+export/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: g.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+export/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/export/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top+export/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: g.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations/basic_grammar/17_declaration/ |
| D | 01_declaration_01.d.ts | 36 declare function f1(a:C1, b:{a:E2}):{a:t} 39 declare const enum E2{e,f,g,c} enum 60 function f1(a:ns.C1, b:{a:ns.E2}):{a:ns.t} 63 const enum E2{e=2,f,g,c} enum
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/default/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+top/17_declaration/ |
| D | 01_declaration_01_expected.txt | 31 a: E2; 40 declare const enum E2 { 63 a: ns.E2; 72 const enum E2 {
|