| /arkcompiler/ets_runtime/test/jittest/bytecode_to_cir_with_insufficient_profile_004/ |
| D | bytecode_to_cir_with_insufficient_profile_004.ts | 21 function PrintWithOne(one) 23 print("function with one arg: " + one); 26 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); 47 PrintWithOne(one) 49 print("class function with one arg: " + one); [all …]
|
| D | expect_output.txt | 15 function with one arg: 1 20 class function with one arg: 1 26 function with one arg: 1 31 class function with one arg: 1
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/10.comments/ |
| D | one_line_comment.ets | 17 desc: One-line comment 20 // one-liner { 21 function // one-liner function 22 // one-liner 24 // one-liner 26 // one-liner 28 // one-liner 30 // one-liner 32 // one-liner 34 // one-liner [all …]
|
| D | one_line_comment1_n.ets | 17 desc: One-line comment 21 // one-liner 23 let x = 4; / one-liner with missing slash 25 // one-liner
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/01.object_literal_of_class_type/ |
| D | class_composite_bad_multiple_init.ets | 22 one: String = ""; 26 let a: Many = {one: "one", one: "one", one: "one", one: "one"}
|
| D | class_composite_initialization_order.ets | 21 one: String = ""; 28 let a: Ordered = { four: "four", three: "three", two: "two", one: "one"} 30 assertEQ<String, String>(a.one, "one")
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/02.object_literal_of_interface_type/ |
| D | interface_composite_bad_multiple_init.ets | 22 one: String 26 let a: Many = {one: "one", one: "one", one: "one", one: "one"}
|
| D | interface_composite_initialization_order.ets | 21 one: String; 28 let a: Ordered = { four: "four", three: "three", two: "two", one: "one"} 30 assertEQ<String, String>(a.one, "one")
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/ |
| D | CMakeLists.txt | 27 # WORKERS "AUTO" "ONE" 34 # STACKFUL ONE JITOSR 64 if (workers_count STREQUAL "ONE") 97 WORKERS "AUTO" "ONE" 106 WORKERS "AUTO" "ONE" 114 WORKERS "ONE" 122 WORKERS "ONE" 131 WORKERS "ONE" 139 WORKERS "AUTO" "ONE" 147 WORKERS "AUTO" "ONE" [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | constant_char_asexpression.ets | 21 enum TestEnum1 { One = constcharToByte } 22 assertEQ(TestEnum1.One.valueOf(),112) 26 enum TestEnum2 { One = constcharToShort } 27 assertEQ(TestEnum2.One.valueOf(),112) 31 enum TestEnum3 { One = constcharToInt } 32 assertEQ(TestEnum3.One.valueOf(),112) 36 enum TestEnum4 { One = constcharToLong } 37 assertEQ(TestEnum4.One.valueOf(),112)
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | literals_as_prop_names.ets | 19 One = "one", 25 public one: string = "1111111111"; 31 one: "1", 36 console.log(litAsPropName["one"]); 41 public one: string = "1111111111"; 47 one: "1111111111", 53 console.log(litAsPropName_fix.one); 74 one: string; 79 one: '12321', 86 LiteralAsPropertyNameEnum['One'] [all …]
|
| D | literals_as_prop_names.ets.migrate.ets | 24 One = "one", 30 public one: string = "1111111111"; 36 one: "1", 41 console.log(litAsPropName.one); 46 public one: string = "1111111111"; 52 one: "1111111111", 58 console.log(litAsPropName_fix.one); 83 one: string; 88 one: '12321', 95 LiteralAsPropertyNameEnum['One'] [all …]
|
| D | interface_literal_prop_name.ets | 22 one: string, 29 one: 'i1', 35 one: 'i1', 42 public one?: string = 'c1'; 49 one: 'c1', 56 one: 'c1',
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/testing/ |
| D | README.md | 11 let one = 1; 12 assertEQ(one, 1); 13 assertNE(one, 2); 14 assertLT(one, 3); 15 assertLE(one, 1, "1 should be <= 1"); 16 assertLE(one, 4); 18 // Add one more test to the testsuite
|
| /arkcompiler/runtime_core/static_core/tests/regression/ |
| D | fcmp.pa | 18 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 22 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 27 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 28 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 35 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 39 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 44 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 45 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
|
| /arkcompiler/runtime_core/tests/regression/ |
| D | fcmp.pa | 18 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 22 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 27 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 28 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 35 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 39 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 44 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 45 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe69.md | 16 let [one, two] = [1, 2]; // semicolon is required here 17 [one, two] = [two, one] 30 let one = arr[0] 33 let tmp = one 34 one = two
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
| D | IntlPluralRulesTest.ets | 32 runSelectTest("en", 1, "one") 36 runSelectTest("ru", 1, "one") 39 runSelectTest("ru", 21, "one") 43 runSelectTest("fr", 1, "one") 45 runSelectTest("fr", 0, "one") 54 runSelectTest(fakeLocale, 1, "one") 98 runTestWithOptions("en", 1, { type: "cardinal" }, "one") 100 runTestWithOptions("en", 1, { type: "ordinal" }, "one") 105 runTestWithOptions("fr", 1, { localeMatcher: "lookup" }, "one") 106 runTestWithOptions("fr", 1, { localeMatcher: "best fit" }, "one") [all …]
|
| /arkcompiler/ets_runtime/test/jittest/bytecode_to_cir_with_insufficient_profile_001/ |
| D | bytecode_to_cir_with_insufficient_profile_001.ts | 17 constructor(one) { 18 this._one = one; 25 for (; testClass_.one < 5; (testClass_.one)++) { 26 print(testClass_.one);
|
| /arkcompiler/runtime_core/static_core/verification/models/contexts_merge/ |
| D | java_typing.als | 19 one sig Top extends Type {} { no Top.~@subtypes } 20 one sig Bot extends Type {} { no Bot.@subtypes } 23 one sig Object extends Type {} 24 one sig NullType extends Type {} 41 one sig Null extends Value {} { type = NullType} 43 sig Register {holds: one Value, type: Type}
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule69.ets | 16 let [one, two] = [1, 2]; 17 [one, two] = [two, one] 26 let tmp = one 27 one = two
|
| /arkcompiler/ets_frontend/arkguard/scripts/ |
| D | grammar_test.py | 110 for one in file_name_list: 112 one.endswith(EXTENTION_JS) 113 or one.endswith(EXTENTION_TS) 114 or one.endswith(EXTENTION_DETS) 135 for one in NO_NEED_RUN_WITH_NODE_FILES: 136 if file_path.endswith(one): 184 for one in files: 185 abs_path = os.path.join(directory, one) 295 for one in self.all_file_list: 296 if should_run_with_node(one): [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/07.variable_and_constant_declarations/04.type_inference_from_initializer/ |
| D | infer2.params.yaml | 54 function foo(p: "one"|"two"|number): int { return 2 } 56 let b = cond ? "one" : "two" // type of b is string 66 let b = cond ? 1 : "one" // type of b is Int|string 94 const b = cond ? "one" : "two" // type of b is "one" | "two" 95 assertTrue(b instanceof "one"|"two") 102 function foo(p: "one"): int { return 3 } 103 function foo(p: Int|"one"): int { return 4 } 105 const b = cond ? 1 : "one" // type of b is "one" | Int 106 assertTrue(b instanceof Int|"one")
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/19.union_types/02.access_to_common_union_members/ |
| D | accessto_common_union_members_19.ets | 20 enum NumberEnum { One, Two }; 21 enum StringEnum { One = "One", Two = "Two" }; 27 let numUnion: Union1 = NumberEnum.One;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/02.fixed_array_types/ |
| D | fixed_array_types_ext.params.yaml | 34 - desc: Create a one-dimensional fixed array with the data type number. 40 - desc: Create a one-dimensional fixed array with the data type string. 80 - desc: Create a one-dimensional fixed array with the data type int. 86 - desc: Create a one-dimensional fixed array with the data type boolean. 92 - desc: Create a one-dimensional fixed array with the data type short. 98 - desc: Create a one-dimensional fixed array with the data type byte. 104 - desc: Create a one-dimensional fixed array with the data type long. 110 - desc: Create a one-dimensional fixed array with the data type float. 116 - desc: Create a one-dimensional fixed array with the data type double. 122 - desc: Create a one-dimensional fixed array with the data type char.
|