| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | ir_builder.h | 64 V(ZExtInt, (GateRef gate, GateRef e1)) \ 65 V(SExtInt, (GateRef gate, GateRef e1)) \ 66 V(FPExt, (GateRef gate, GateRef e1)) \ 67 V(FPTrunc, (GateRef gate, GateRef e1)) \ 70 V(IntRev, (GateRef gate, GateRef e1)) \ 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)) \ [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | enums_01.sts | 16 enum E1 { 27 assert(E1.e1_item1.toString() == "0"); 28 assert(E1.e1_item1.valueOf() == 0); 29 assert(E1.e1_item2.toString() == "7"); 30 assert(E1.e1_item2.valueOf() == 7); 31 assert(E1.e1_item3.toString() == "8"); 32 assert(E1.e1_item3.valueOf() == 8); 34 …// cons.print("First element of 'E1': '" + E1.e1_item1.toString() + "' = " + E1.e1_item1.ordinal()… 35 // ", second: '" + E1.e1_item2.toString() + "' = " + E1.e1_item2.ordinal() + " and third: '" + 36 // E1.e1_item3.toString() + "' = " + E1.e1_item3.ordinal() + ".\n") [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/serializer/ |
| D | struct_to_tuple.h | 39 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(2, e0, e1); 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); [all …]
|
| /arkcompiler/runtime_core/libpandabase/serializer/ |
| D | struct_to_tuple.h | 39 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(2, e0, e1); 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); [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() 30 EXPECT_FALSE(flags[Enum::E1]); in TEST() 33 EXPECT_FALSE(flags[Enum::E1]); in TEST() 38 flags[Enum::E1] = true; in TEST() 39 EXPECT_TRUE(flags[Enum::E1]); in TEST() 42 flags[Enum::E1] = false; in TEST() 43 EXPECT_FALSE(flags[Enum::E1]); in TEST()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/11.enumerations/02.enumeration_string_values/ |
| D | enum_str.params.yaml | 32 let e1 = Enum.first 36 assert "" + e1 + e2 + e3 == "ABB" 40 const e1 = Enum.first 44 assert "" + e1 + e2 + e3 == "ABB" 55 enum Enum { e1 = a, e2 = "DEF" } // constant expression 57 assert Enum.e1.toString() == "ABC" 62 enum Enum { e1 = a + a, e2 = a + "DEF" } // constant expressions 64 assert Enum.e1.toString() == "ABCABC" 68 enum Enum { e1 = "A", e2 = "B", e3 = "C" } 72 case Enum.e1: assert false; break;
|
| /arkcompiler/runtime_core/static_core/tests/cts-assembly/ |
| D | exceptions-catch-hierarchy.pa | 14 .record E1 {} 15 .record E2 <extends=E1> {} 18 .function u1 E1.f(E1 a0) { 56 call.virt E1.f, v0 67 .catch E1, try_begin, try_end, catch_block1_begin
|
| D | exceptions-catchall.pa | 16 .record E1 {} 19 newobj v0, E1 35 .catch E1, try_begin, try_end, catch_block2_begin
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | throw.yaml | 19 .record E1 {} 178 - newobj v0, E1 225 isinstance E1 270 .catch E1, try_begin, try_end, catch_E1_block_begin 275 - values: [1, 0, 3, 4, E1] 301 .catch E1, try_begin, try_end, catch_E1_block_begin 306 - values: [E1, 1, 0, 3] 331 .catch E1, try_begin, try_end, catch_block_begin 337 - E1 373 .catch E1, begin1, end1, catch1 [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/enums/ |
| D | test-ts-enum-21.ts | 19 enum E1 { enum 23 print(E1.c); 24 print(E1[1]); 25 print(E1.d); 26 print(E1[2]);
|
| D | test-ts-enum-20.ts | 24 export enum E1 {a=E.b} enum 25 print(E1.a); 26 print(E1["str"]); 29 export enum E2 {a = ns.ns.E1.a}
|
| /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, 20 where T is the type of E1, except that E1 is evaluated only once.
|
| D | ops.sts | 19 A compound assignment expression of the form E1 op= E2 is equivalent to E1 = ((E1) op (E2)) as T, 20 where T is the type of E1, except that E1 is evaluated only once.
|
| 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, 20 where T is the type of E1, except that E1 is evaluated only once.
|
| D | ops_boxed.sts | 19 A compound assignment expression of the form E1 op= E2 is equivalent to E1 = ((E1) op (E2)) as T, 20 where T is the type of E1, except that E1 is evaluated only once.
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | throw.yaml | 23 .record E1 <panda.extends=panda.Throwable> {} 30 .record E1 {} 233 - newobj v0, E1 287 - newobj v0, E1 336 isinstance E1 381 .catch E1, try_begin, try_end, catch_E1_block_begin 386 - values: [1, 0, 3, 4, E1] 436 isinstance E1 469 .catch E1, try_begin, try_end, catch_E1_block_begin 474 - values: [1, 2, 0, 0, E1] [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/02.floating_point_literals/ |
| D | float_literals.params.yaml | 27 - '0.e1' 28 - '0.0e1' 33 - '0.E1' 34 - '0.0E1'
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test_satisfies11.ts | 18 let e1: string | undefined; variable 19 for((e1 satisfies (string | undefined)) of a1){ 20 console.log(e1);
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | exceptions-02.pa | 16 .record E1 {} 19 newobj v0, E1 35 .catch E1, try_begin, try_end, catch_block2_begin
|
| /arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-opcode-suite/ |
| D | throw.pa | 14 .record E1 {} 17 newobj v0, E1 32 .catch E1, try_begin, try_end, catch_block1_begin
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | switch_enum_string_case_duplicate.sts | 16 enum Enum {e1 = "A", e2 = "B", e3 = "C"} 21 case Enum.e1: break; 22 case Enum.e1: break;
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/toplevel/ |
| D | toplevel_import_test2_expected.txt | 17 * Export: a1, b1, c1, d1, e1 18 …* Expect toplevel elements to avoid being obfuscated as a1, b1, c1, d1, e1, since they're export e… 25 export { l1 as b1, m1 as a1, n1 as c1, o1 as d1, p1 as e1 };
|
| D | toplevel_import_test1.ts | 18 * Export: b1, a1, c1, d1, e1 19 …* Expect toplevel elements to avoid being obfuscated as a1, b1, c1, d1, e1, since they're export e… 21 import {b1, a1, c1, d1, e1} from './toplevel_import_test2';
|
| D | toplevel_import_test2.ts | 18 * Export: a1, b1, c1, d1, e1 19 …* Expect toplevel elements to avoid being obfuscated as a1, b1, c1, d1, e1, since they're export e… 26 export {var1 as b1, var2 as a1, var3 as c1, var4 as d1, var5 as e1};
|
| D | toplevel_import_test1_expected.txt | 17 * Export: b1, a1, c1, d1, e1 18 …* Expect toplevel elements to avoid being obfuscated as a1, b1, c1, d1, e1, since they're export e… 20 import { b1, a1, c1, d1, e1 } from './toplevel_import_test2';
|