Home
last modified time | relevance | path

Searched full:two (Results 1 – 25 of 882) sorted by relevance

12345678910>>...36

/arkcompiler/ets_runtime/test/jittest/bytecode_to_cir_with_insufficient_profile_004/
Dbytecode_to_cir_with_insufficient_profile_004.ts26 function PrintWithTwo(one, two)
28 print("function with two args: " + one + ", " + two);
31 function PrintWithThree(one, two, three)
33 print("function with three args: " + one + ", " + two + ", " + three);
36 function PrintWithFour(one, two, three, four)
38 print("function with four args: " + one + ", " + two + ", " + three + "," + four);
52 PrintWithTwo(one, two)
54 print("class function with two args: " + one + ", " + two);
57 PrintWithThree(one, two, three)
59 print("class function with three args: " + one + ", " + two + ", " + three);
[all …]
Dexpect_output.txt16 function with two args: 1, 2
21 class function with two args: 1, 2
27 function with two args: 1, 2
32 class function with two args: 1, 2
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe69.md16 let [one, two] = [1, 2]; // semicolon is required here
17 [one, two] = [two, one]
31 let two = arr[1]
34 one = two
35 two = tmp
Drecipe102.md7 In TypeScript, an interface that extends two other interfaces with the same method
9 ArkTS because ArkTS does not allow an interface to contain two methods with
10 signatures that are not distinguishable, e.g., two methods that have the same
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dliterals_as_prop_names.sts21 'Two': number;
26 2: 'two',
27 'Two': 2,
32 console.log(litAsPropName["Two"]);
37 Two: number;
42 _2: 'two',
43 Two: 2,
49 console.log(litAsPropName_fix.Two);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/
D16169_false_unreachable_statement_after_class.sts32 class Two extends One {
41 class Two implements One {
49 class Two extends One {
61 class Two extends One {
70 class Two implements One {
79 class Two extends One {
/arkcompiler/ets_runtime/test/moduletest/arraywith/
Dexpect_output.txt22 [1,"two","three","four"]
24 [null,"two",3,4]
25 [false,"two",3,"four"]
27 [1,"two",null,"four"]
28 [1,"two",3,null,5]
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule69.sts16 let [one, two] = [1, 2];
17 [one, two] = [two, one]
27 one = two
28 two = tmp
/arkcompiler/runtime_core/static_core/verification/util/tests/
Denum_tag_test.cpp24 enum class Numbers { ONE, TWO, THREE, FOUR, FIVE }; enumerator
32 …using EnumTag5 = TagForEnum<Numbers, Numbers::ONE, Numbers::TWO, Numbers::THREE, Numbers::FOUR, Nu… in TEST_F()
36 EXPECT_EQ(EnumTag5::GetIndexFor(Numbers::TWO), 1UL); in TEST_F()
39 using EnumTag3 = TagForEnum<Numbers, Numbers::ONE, Numbers::TWO, Numbers::THREE>; in TEST_F()
43 EXPECT_EQ(EnumTag3::GetIndexFor(Numbers::TWO), 1UL); in TEST_F()
Dsaturated_enum_test.cpp25 enum class Numbers { ONE, TWO, THREE, FOUR, FIVE }; enumerator
29 SaturatedEnum<Numbers, Numbers::FOUR, Numbers::THREE, Numbers::TWO, Numbers::ONE> sEnum; in TEST_F()
36 EXPECT_FALSE(sEnum[Numbers::TWO]); in TEST_F()
42 EXPECT_TRUE(sEnum[Numbers::TWO]); in TEST_F()
54 return en != Numbers::TWO; in TEST_F()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/unions/
Dunions.ts16 const TWO = 2; constant
32 assertEq(NumberOrStringEquality(TWO, TWO), true);
33 assertEq(NumberOrStringEquality(TWO, '2'), false);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/03.types/References_Types/Tuples_type/
Dtuple_as_generic_6.sts24 two: Y;
28 this.two = p1;
32 return [this.two, this.one]; // Values swapped here !!!!
41 assert(tp.two == result[0])
Dtuple_as_generic_5.sts24 two: Y;
28 this.two = p1;
32 return [this.one, this.two];
/arkcompiler/ets_runtime/test/moduletest/arrayReverseCase/
Dexpect_output.txt14 array1: one,two,three
15 reversed1: three,two,one
16 array1: three,two,one
DarrayReverseCase.js16 const array1 = ['one', 'two', 'three'];
18 // Expected output: "array1:" Array ["one", "two", "three"]
22 // Expected output: "reversed1:" Array ["three", "two", "one"]
26 // Expected output: "array1:" Array ["three", "two", "one"]
/arkcompiler/ets_frontend/es2panda/test/compiler/sendable/
Dsendable-field-type-5.ts20 TWO
33 TWO
68 TWO
80 TWO
/arkcompiler/ets_runtime/test/aottest/supercallforward/
Dsupercallforward.ts56 let c = new Child("two", 2);
57 assert_true(c.name === "two");
82 let c = new GrandChild("two", 2);
83 assert_true(c.name === "two");
116 let c = new ChildRestArgs("two", 2);
118 assert_true(c.args[0] === "two");
144 let c = new GrandChildRestArgs("two", 2);
146 assert_true(c.args[0] === "two");
181 let c = new ChildArguments("two", 2);
183 assert_true(c.args[0] === "two");
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/02.override-compatible_signatures/
Dneg.sts19 …A compile-time error occurs if a package declares two functions with override-equivalent signature…
20two methods with override-equivalent signatures or two constructors with override-equivalent signa…
Dpos.sts19 …A compile-time error occurs if a package declares two functions with override-equivalent signature…
20two methods with override-equivalent signatures or two constructors with override-equivalent signa…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/04.overloading_and_overriding_in_classes/
Dsingle_class_over_generic_2.sts18Two instance methods, two static methods with the same name or, two constructors are defined in th…
Dsingle_class_over_generic_1.sts18Two instance methods, two static methods with the same name or, two constructors are defined in th…
Dsingle_class_over_generic_3.sts18Two instance methods, two static methods with the same name or, two constructors are defined in th…
Dsingle_class_overload_n.sts20Two instance methods, two static methods with the same name or, two constructors are defined in th…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/classes/
Dclasses.ts16 const TWO = 2; constant
33 const d = new Derived(TWO, THREE);
34 assertEq(d.a, TWO);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/08.method_overload_signatures/
Dmethod_overload_2.sts17 desc: Overload two methods, two inherited.
18 assert: If two methods of a class (whether both declared in the same class, or both inherited by a …

12345678910>>...36