Home
last modified time | relevance | path

Searched full:one (Results 1 – 25 of 1499) sorted by relevance

12345678910>>...60

/arkcompiler/ets_runtime/test/jittest/bytecode_to_cir_with_insufficient_profile_004/
Dbytecode_to_cir_with_insufficient_profile_004.ts21 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 …]
Dexpect_output.txt15 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/
Done_line_comment.ets17 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 …]
Done_line_comment1_n.ets17 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/
Dclass_composite_bad_multiple_init.ets22 one: String = "";
26 let a: Many = {one: "one", one: "one", one: "one", one: "one"}
Dclass_composite_initialization_order.ets21 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/
Dinterface_composite_bad_multiple_init.ets22 one: String
26 let a: Many = {one: "one", one: "one", one: "one", one: "one"}
Dinterface_composite_initialization_order.ets21 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/
DCMakeLists.txt27 # 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/
Dconstant_char_asexpression.ets21 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/
Dliterals_as_prop_names.ets19 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 …]
Dliterals_as_prop_names.ets.migrate.ets24 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 …]
Dinterface_literal_prop_name.ets22 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/
DREADME.md11 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/
Dfcmp.pa18 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/
Dfcmp.pa18 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/
Drecipe69.md16 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/
DIntlPluralRulesTest.ets32 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/
Dbytecode_to_cir_with_insufficient_profile_001.ts17 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/
Djava_typing.als19 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/
Drule69.ets16 let [one, two] = [1, 2];
17 [one, two] = [two, one]
26 let tmp = one
27 one = two
/arkcompiler/ets_frontend/arkguard/scripts/
Dgrammar_test.py110 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/
Dinfer2.params.yaml54 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/
Daccessto_common_union_members_19.ets20 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/
Dfixed_array_types_ext.params.yaml34 - 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.

12345678910>>...60