| /arkcompiler/runtime_core/static_core/libpandabase/serializer/ |
| D | struct_to_tuple.h | 40 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(3, appName, 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/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/ets_runtime/ecmascript/compiler/ |
| D | ir_builder.h | 71 V(Add, (GateRef gate, GateRef e1, GateRef e2)) \ 72 V(Sub, (GateRef gate, GateRef e1, GateRef e2)) \ 73 V(Mul, (GateRef gate, GateRef e1, GateRef e2)) \ 74 V(FloatDiv, (GateRef gate, GateRef e1, GateRef e2)) \ 75 V(IntDiv, (GateRef gate, GateRef e1, GateRef e2)) \ 76 V(UDiv, (GateRef gate, GateRef e1, GateRef e2)) \ 77 V(IntOr, (GateRef gate, GateRef e1, GateRef e2)) \ 78 V(IntAnd, (GateRef gate, GateRef e1, GateRef e2)) \ 79 V(IntXor, (GateRef gate, GateRef e1, GateRef e2)) \ 80 V(IntLsr, (GateRef gate, GateRef e1, GateRef e2)) \ [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/plugins/ets/tests/ets-templates/11.enumerations/02.enumeration_string_values/ |
| D | enum_str.params.yaml | 33 let e2 = Enum.second 36 assert "" + e1 + e2 + e3 == "ABB" 41 const e2 = Enum.second 44 assert "" + e1 + e2 + e3 == "ABB" 55 enum Enum { e1 = a, e2 = "DEF" } // constant expression 58 assert Enum.e2.toString() == "DEF" 62 enum Enum { e1 = a + a, e2 = a + "DEF" } // constant expressions 65 assert Enum.e2.toString() == "ABCDEF" 68 enum Enum { e1 = "A", e2 = "B", e3 = "C" } 73 case Enum.e2: assert false; break;
|
| D | enum_str_n.params.yaml | 38 enum Enum { e1 = a, e2 = "DEF" } 41 assert Enum.e2.toString() == "DEF"
|
| /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/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"]);
|
| D | test-ts-enum-33.ts | 20 b = ns2.E2.b, 21 c = ns1.E1.a + ns2.E2.b, 35 export enum E2 { enum
|
| D | test-ts-enum-27.ts | 27 enum E2 { enum 36 print(E2["123"]);
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | expected_test.cpp | 69 auto e2 = Expected<int, ErrorCode>(Unexpected(ErrorCode::First)); in TEST() local 72 EXPECT_FALSE(e2); in TEST() 73 EXPECT_EQ(e2.Error(), ErrorCode::First); in TEST() 85 const auto e2 = Expected<int, ErrorCode>(1); in TEST() local 86 EXPECT_EQ(e2.Value(), 1); in TEST() 87 EXPECT_EQ(*e2, 1); in TEST()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | expected_test.cpp | 71 auto e2 = Expected<int, ErrorCode>(Unexpected(ErrorCode::FIRST)); in TEST() local 74 EXPECT_FALSE(e2); in TEST() 75 EXPECT_EQ(e2.Error(), ErrorCode::FIRST); in TEST() 87 const auto e2 = Expected<int, ErrorCode>(1U); in TEST() local 88 EXPECT_EQ(e2.Value(), 1U); in TEST() 89 EXPECT_EQ(*e2, 1U); in TEST()
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
| D | use-hex-as-key.js | 20 1e2: 100, 25 print(a[1e2]) 44 print(b[1e2])
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe111.md | 25 enum E2 { 47 enum E2 {
|
| D | recipe53.md | 43 let e2 = (new Number(5.0)) instanceof Number // true 66 let e2 = (new Number(5.0)) instanceof Number // true
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | switch_enum_string_case.sts | 16 enum Enum {e1 = "A", e2 = "B", e3 = "C"} 21 case Enum.e2: assert false; break;
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/toplevel/ |
| D | toplevel_module_test1_expected.txt | 18 type e2 = number; 26 let var1: e2;
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | throw_error.sts | 17 interface E2 extends E1 {} 25 class A2 implements E2 {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/29.assignment/02.compound_assignment_operators/ |
| D | ops_neg.sts | 19 A compound assignment expression of the form E1 op= E2 is equivalent to E1 = ((E1) op (E2)) as T,
|
| D | ops.sts | 19 A compound assignment expression of the form E1 op= E2 is equivalent to E1 = ((E1) op (E2)) as T,
|
| D | ops_neg_rt.sts | 19 A compound assignment expression of the form E1 op= E2 is equivalent to E1 = ((E1) op (E2)) as T,
|
| D | ops_boxed.sts | 19 A compound assignment expression of the form E1 op= E2 is equivalent to E1 = ((E1) op (E2)) as T,
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | throw.yaml | 20 .record E2 {} 239 isinstance E2 271 .catch E2, try_begin, try_end, catch_E2_block_begin 276 - values: [1, 2, 0, 4, E2] 303 .catch E2, try_begin, try_end, catch_E2_block_begin 307 - values: [E2, 0, 2, 3] 332 .catch E2, try_begin, try_end, catch_block_begin 339 - E2 374 .catch E2, begin2, end2, catch2 390 - E2 [all …]
|