| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/10.comments/ |
| D | one_line_comment.sts | 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.sts | 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_test_suite/coroutines/ |
| D | CMakeLists.txt | 26 # WORKERS "AUTO" "ONE" 33 # STACKFUL JS_POOL ONE JITOSR 59 if (workers_count STREQUAL "ONE") 93 WORKERS "ONE" 102 WORKERS "ONE" 110 WORKERS "ONE" 119 WORKERS "ONE" 127 WORKERS "AUTO" "ONE" 135 WORKERS "AUTO" "ONE" 152 WORKERS "ONE" [all …]
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_private.cpp | 292 SetFrozenFunction(thread, prototype, "add", ContainersArrayList::Add, FuncLength::ONE); in InitializeArrayList() 296 SetFrozenFunction(thread, prototype, "has", ContainersArrayList::Has, FuncLength::ONE); in InitializeArrayList() 299 ContainersArrayList::IncreaseCapacityTo, FuncLength::ONE); in InitializeArrayList() 302 …tFrozenFunction(thread, prototype, "getIndexOf", ContainersArrayList::GetIndexOf, FuncLength::ONE); in InitializeArrayList() 304 …unction(thread, prototype, "getLastIndexOf", ContainersArrayList::GetLastIndexOf, FuncLength::ONE); in InitializeArrayList() 305 …nFunction(thread, prototype, "removeByIndex", ContainersArrayList::RemoveByIndex, FuncLength::ONE); in InitializeArrayList() 306 SetFrozenFunction(thread, prototype, "remove", ContainersArrayList::Remove, FuncLength::ONE); in InitializeArrayList() 310 SetFrozenFunction(thread, prototype, "sort", ContainersArrayList::Sort, FuncLength::ONE); in InitializeArrayList() 325 ContainersArrayList::GetIteratorObj, FuncLength::ONE); in InitializeArrayList() 341 …unction(thread, arrayListIteratorPrototype, "next", JSAPIArrayListIterator::Next, FuncLength::ONE); in InitializeArrayListIterator() [all …]
|
| /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/ets_frontend/ets2panda/linter/test/ |
| D | literals_as_prop_names.sts | 19 public one: string = "1111111111"; 25 one: "1", 30 console.log(litAsPropName["one"]); 35 public one: string = "1111111111"; 41 one: "1111111111", 47 console.log(litAsPropName_fix.one); 68 one: string; 73 one: '12321',
|
| D | interface_literal_prop_name.sts | 22 one: string, 29 one: 'i1', 35 one: 'i1', 42 public one?: string = 'c1'; 49 one: 'c1', 56 one: 'c1',
|
| /arkcompiler/ets_frontend/arkguard/scripts/ |
| D | grammar_test.py | 90 for one in file_name_list: 92 one.endswith(EXTENTION_JS) 93 or one.endswith(EXTENTION_TS) 94 or one.endswith(EXTENTION_DETS) 115 for one in NO_NEED_RUN_WITH_NODE_FILES: 116 if file_path.endswith(one): 161 for one in files: 162 abs_path = os.path.join(directory, one) 269 for one in self.all_file_list: 270 if should_run_with_node(one): [all …]
|
| /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.sts | 16 let [one, two] = [1, 2]; 17 [one, two] = [two, one] 26 let tmp = one 27 one = two
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/04.overloading_and_overriding_in_classes/ |
| D | access_modifier_over.params.yaml | 17 - doc: Public member can be overridden and/or implemented by the public one. 26 - doc: Public member can be overridden and/or implemented by the public one. 35 - doc: Public member can be overridden and/or implemented by the public one. 44 - doc: Public member can be overridden and/or implemented by the public one. 53 - doc: Public member can be overridden and/or implemented by the public one. 62 - doc: Public member can be overridden and/or implemented by the public one. 71 - doc: Public member can be overridden and/or implemented by the public one. 80 - doc: Public member can be overridden and/or implemented by the public one. 89 - doc: Public member can be overridden and/or implemented by the public one. 99 - doc: Internal member can be overridden by the internal one only [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/03.types/References_Types/Tuples_type/ |
| D | tuple_as_generic_6.sts | 23 one: X; 27 this.one = p0; 32 return [this.two, this.one]; // Values swapped here !!!! 40 assert(tp.one == result[1])
|
| D | tuple_as_generic_7.sts | 23 one: X; 26 this.one = value; 30 return [this.one, this.one];
|
| D | tuple_as_generic_5.sts | 23 one: X; 27 this.one = p0; 32 return [this.one, this.two];
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/08.method_overload_signatures/ |
| D | method_overload_1.sts | 17 desc: Overload two methods, one declared and one inherited. 18 …both declared in the same class, or both inherited by a class, or one declared and one inherited) …
|
| /arkcompiler/runtime_core/static_core/verification/models/typesystem/ |
| D | ark_typesystem.als | 29 variance: one Variance, 30 type: one Type 38 // to avoid higher-order relations, using one level of 65 // one type per one pair sort->params 66 all t: Type | one universe.t 68 all t: Type | one universe.sort[t] 69 all t: Type | one universe.params[t] 149 private one sig TestTypeSystem {
|
| /arkcompiler/runtime_core/static_core/verification/util/tests/ |
| D | enum_tag_test.cpp | 24 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() 39 using EnumTag3 = TagForEnum<Numbers, Numbers::ONE, Numbers::TWO, Numbers::THREE>; in TEST_F() 44 EXPECT_EQ(EnumTag3::GetValueFor(0UL), Numbers::ONE); in TEST_F()
|
| D | saturated_enum_test.cpp | 25 enum class Numbers { ONE, TWO, THREE, FOUR, FIVE }; enumerator 29 SaturatedEnum<Numbers, Numbers::FOUR, Numbers::THREE, Numbers::TWO, Numbers::ONE> sEnum; in TEST_F() 30 EXPECT_EQ(sEnum, Numbers::ONE); in TEST_F() 37 EXPECT_TRUE(sEnum[Numbers::ONE]); in TEST_F()
|
| /arkcompiler/runtime_core/docs/changelogs/ |
| D | 2022-08-18-isa-changelog.md | 14 …of ecmascript specific opcodes, such that most of the bytecode opcode can be encoded with one byte. 23 As we merge some "define-function" opcodes as one opcode, in function we add one field which record… 38 …y ask that all methodId, stringId and literalarrayId in a method should be put in one index header. 39 As we use 16-bit to encode methodId, stringId and literalarrayId, the number of these Ids in one me…
|
| /arkcompiler/ets_runtime/test/moduletest/arrayReverseCase/ |
| D | expect_output.txt | 14 array1: one,two,three 15 reversed1: three,two,one 16 array1: three,two,one
|
| D | arrayReverseCase.js | 16 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/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/04.class_implementation_clause/ |
| D | same_field_and_method_names.sts | 17 desc: class field and a method from one of superinterfaces that a class implements have the same na… 18 …if a class field and a method from one of superinterfaces that a class implements have the same na…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/methods/ |
| D | methods.ts | 17 const ONE = 1; constant 48 assertEq(o.SumIntArray([ONE, TWO, THREE, FOUR, FIVE]), FIFTEEN); 53 // NOTE(ivagin): add one more check like this: "assertEq(o.OptionalString(), undefined);" 54 …assertEq(o.SumIntVariadic(ONE, TWO, THREE, FOUR, FIVE).toFixed(PRECISION), FIFTEEN.toFixed(PRECISI…
|