| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Function.sts | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 25 export interface Function1<in P1, out R> extends Function<R> { 29 export interface Function2<in P1, in P2, out R> extends Function<R> { 33 export interface Function3<in P1, in P2, in P3, out R> extends Function<R> { 37 export interface Function4<in P1, in P2, in P3, in P4, out R> extends Function<R> { 41 export interface Function5<in P1, in P2, in P3, in P4, in P5, out R> extends Function<R> { 45 export interface Function6<in P1, in P2, in P3, in P4, in P5, in P6, out R> extends Function<R> { 49 export interface Function7<in P1, in P2, in P3, in P4, in P5, in P6, in P7, out R> extends Function… 53 export interface Function8<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, out R> extends F… [all …]
|
| D | Box.sts | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 42 * Returns the value contained in the box 44 * @returns T - value in the box 51 * Sets the value contained in the box 79 * Returns the value contained in the box 81 * @returns boolean - value in the box 88 * Sets the value contained in the box 116 * Returns the value contained in the box 118 * @returns byte - value in the box [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_isa.yaml | 3 # you may not use this file except in compliance with the License. 8 # Unless required by applicable law or agreed to in writing, software 71 acc: in:top 139 - sig: ecma.add2dyn v:in:top 143 - sig: ecma.sub2dyn v:in:top 147 - sig: ecma.mul2dyn v:in:top 151 - sig: ecma.div2dyn v:in:top 155 - sig: ecma.mod2dyn v:in:top 159 - sig: ecma.eqdyn v:in:top 163 - sig: ecma.noteqdyn v:in:top [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_warnings_tests/implicit_boxing_unboxing_tests/ |
| D | implicit_boxing_unboxing_1-expected.txt | 1 ETS Warning: Implicit Boxing to Int in Assignment Expression. [implicit_boxing_unboxing_1.sts:26:9] 2 ETS Warning: Implicit Unboxing to int in Binary Expression. [implicit_boxing_unboxing_1.sts:26:9] 3 ETS Warning: Implicit Boxing to Int in Assignment Expression. [implicit_boxing_unboxing_1.sts:27:9] 4 ETS Warning: Implicit Unboxing to int in Binary Expression. [implicit_boxing_unboxing_1.sts:27:9] 5 ETS Warning: Implicit Boxing to Char in Variable Declaration. [implicit_boxing_unboxing_1.sts:33:15] 6 ETS Warning: Implicit Boxing to Float in Variable Declaration. [implicit_boxing_unboxing_1.sts:34:2… 7 ETS Warning: Implicit Boxing to Double in Variable Declaration. [implicit_boxing_unboxing_1.sts:35:… 8 ETS Warning: Implicit Boxing to Short in Variable Declaration. [implicit_boxing_unboxing_1.sts:36:2… 9 ETS Warning: Implicit Boxing to Long in Variable Declaration. [implicit_boxing_unboxing_1.sts:37:20] 10 ETS Warning: Implicit Boxing to Int in Variable Declaration. [implicit_boxing_unboxing_1.sts:38:19] [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | sendable_class_interface_property.ts.json | 5 "you may not use this file except in compliance with the License.", 10 "Unless required by applicable law or agreed to in writing, software", 29 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 36 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 43 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 50 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 57 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 64 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 71 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 78 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… [all …]
|
| D | sendable_explicit_field_type.ts.json | 5 "you may not use this file except in compliance with the License.", 10 "Unless required by applicable law or agreed to in writing, software", 134 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 141 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 148 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 155 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 169 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 176 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 190 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 197 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… [all …]
|
| D | shared_module.ts.json | 5 "you may not use this file except in compliance with the License.", 10 "Unless required by applicable law or agreed to in writing, software", 22 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)" 29 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)" 36 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)" 43 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)" 50 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)" 57 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)" 64 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)" 71 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)" [all …]
|
| D | arkui_decorators.ts.json | 5 "you may not use this file except in compliance with the License.", 10 "Unless required by applicable law or agreed to in writing, software", 126 …"suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.", 127 … "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor." 133 … "suggest": "Property 'age' has no initializer and is not definitely assigned in the constructor.", 134 … "rule": "Property 'age' has no initializer and is not definitely assigned in the constructor." 140 …": "Property 'localStorage' has no initializer and is not definitely assigned in the constructor.", 141 …"rule": "Property 'localStorage' has no initializer and is not definitely assigned in the construc… 147 …"suggest": "Property 'provide' has no initializer and is not definitely assigned in the constructo… 148 … "rule": "Property 'provide' has no initializer and is not definitely assigned in the constructor." [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/in_operator/ |
| D | privateNameInInExpressionTransform.ts | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 22 #f in a; // expect F's 'f' WeakMap 23 #fun in a; // expect F's 'instances' WeakSet 24 #staticF in a; // expect F's constructor 25 #staticMethod in a; // expect F's constructor 28 // '==' and '||' have lower precedence than 'in' 29 // 'in' naturally has same precedence as 'in' 30 // '<<' has higher precedence than 'in' 32 a == #f in a || a; // Good precedence: (a == (#f in a)) || a [all …]
|
| /arkcompiler/runtime_core/isa/ |
| D | isa.yaml | 3 # you may not use this file except in compliance with the License. 8 # Unless required by applicable law or agreed to in writing, software 27 bits of a register, undefined bits shall not be accessed in verified code. 28 …Register field width in instruction encoding could be 4 (16 addressable registers), 8 (256 registe… 34 …The main goal of using accumulator is to improve encoding density without losing much in performan… 36 …a source from previous instruction result and passing it to the next instruction in its destinatio… 45 …caller frame onto the top of the callee frame such as the last argument is placed in the register … 47 …arguments. Accumulator value is considered as undefined and shall not be read in verified bytecode. 49 …accumulator. Otherwise accumulator content in caller frame is considered as undefined and shall not 50 be read in verified bytecode. [all …]
|
| /arkcompiler/runtime_core/static_core/isa/ |
| D | isa.yaml | 3 # you may not use this file except in compliance with the License. 8 # Unless required by applicable law or agreed to in writing, software 27 bits of a register, undefined bits shall not be accessed in verified code. 28 …Register field width in instruction encoding could be 4 (16 addressable registers), 8 (256 registe… 34 …The main goal of using accumulator is to improve encoding density without losing much in performan… 36 …a source from previous instruction result and passing it to the next instruction in its destinatio… 45 …caller frame onto the top of the callee frame such as the last argument is placed in the register … 47 …arguments. Accumulator value is considered as undefined and shall not be read in verified bytecode. 49 …accumulator. Otherwise accumulator content in caller frame is considered as undefined and shall not 50 be read in verified bytecode. [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Set.sts | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 20 * Checks if a value is in the Set 22 * @param v the value to find in the Set 24 * @returns true if the value is in the Set 30 * Returns number of unique elements in the Set 32 * @returns number of unique elements in the Set 37 * Executes a provided function once per each value in the Set object, in insertion order 44 * Executes a provided function once per each value in the Set object, in insertion order 51 * Executes a provided function once per each value in the Set object, in insertion order [all …]
|
| /arkcompiler/ets_frontend/arkguard/ |
| D | README.md | 5 …d to the latest open source code, ahead of the source obfuscation function in the released DevEco … 13 # Usage in DevEco Studio 15 Arkguard has been integrated into SDK. It is convenient to use Arkguard in DevEco Studio. 16 In DevEco Studio, Arkguard can be enabled only in Stage Model (FA Model is not supported). 17 For now only name obfuscations can be used in DevEco Studio (because other obfuscation 22 * names in global scope 30 When you create a new project, the following config will be generated in `build-profile.json5`. 60 * build in release mode 62 The files in the property `ruleOptions.files` will be applied when you build HAP or HAR. 64 The files in the property `consumerFiles` will be applied when you build the project or library whi… [all …]
|
| /arkcompiler/toolchain/tooling/client/tcpServer/test/js_test_case/ |
| D | js_test.py | 7 # you may not use this file except in compliance with the License. 12 # Unless required by applicable law or agreed to in writing, software 80 for line in breakpoint_lines: 82 for i in breakpoint_lines: 92 for line in breakpoint_lines: 93 for i in range(self.repeat_time): 95 for i in breakpoint_lines: 105 for line in breakpoint_lines: 108 for i in range(len(breakpoint_lines)): 119 for line in breakpoint_lines: [all …]
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/config/ |
| D | non_testable.yaml | 3 # you may not use this file except in compliance with the License. 8 # Unless required by applicable law or agreed to in writing, software 21 description: In dynamically-typed language context load string as 'any' value. 24 description: In dynamically-typed language context accept 'any' values in source 43 - sig: mov.dyn v1:out:any, v2:in:any 56 - sig: lda.dyn v:in:any 70 acc: in:any 94 Return 'any' value in accumulator from method to its caller 101 acc: in:any 110 definition in the new frame. [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test_rules/ |
| D | rule71.ts.json | 5 "you may not use this file except in compliance with the License.", 10 "Unless required by applicable law or agreed to in writing, software", 22 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 29 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 36 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 43 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 50 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 57 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 64 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 71 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… [all …]
|
| D | rule71.ts.autofix.json | 5 "you may not use this file except in compliance with the License.", 10 "Unless required by applicable law or agreed to in writing, software", 22 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 29 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 36 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 43 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 50 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 57 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 71 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… 85 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/isa/ |
| D | isa.yaml | 3 # you may not use this file except in compliance with the License. 8 # Unless required by applicable law or agreed to in writing, software 39 - sig: ets.launch.short method_id, v1:in:top, v2:in:top 44 - sig: ets.launch method_id, v1:in:top, v2:in:top, v3:in:top, v4:in:top 49 - sig: ets.launch.range method_id, v:in:top 54 - sig: ets.launch.virt.short method_id, v1:in:top, v2:in:top 59 - sig: ets.launch.virt method_id, v1:in:top, v2:in:top, v3:in:top, v4:in:top 64 - sig: ets.launch.virt.range method_id, v:in:top 100 - sig: ets.ldobj.name v:in:ref, field_id 107 - sig: ets.ldobj.name.64 v:in:ref, field_id [all …]
|
| /arkcompiler/runtime_core/static_core/scripts/cmake-checker/ |
| D | cmake_checker.py | 5 # you may not use this file except in compliance with the License. 10 # Unless required by applicable law or agreed to in writing, software 44 # don't search in following files and folders 46 ignore_files = [os.path.join(directory, s) for s in ignore_files] 49 # search in following third_party folders 54 # Fetch all cmake files in directory 55 for root, dirs, files in os.walk(directory, followlinks=True): 57 for white_path in white_list_paths: 63 for ignore_path in ignore_paths: 64 … if root.startswith(os.path.join(directory, ignore_path)) or "third_party" in root: [all …]
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | reg_alloc_graph_coloring_doc.md | 18 …in works of Sebastian Hack and Fernando Pereira. It is based on observation that programs in a str… 19 In works of Hack ("Register Allocation for Programs in SSA Form") and Pereira ("Register Allocation… 20 …rom Architecture and remapped (to sequential numbering) in order <caller-saved, callee-saved>. In … 23 Graph is built by liveness-intervals, algorithm under the hood is the same as in Linear-scan from w… 32 … one. This way we don’t have situations when different cliques are colored in parallel that at the… 37 …d make graph G’ not K-colorable as original graph G. Post coalescing (like in Pereira algorithm) i… 38 - Biasing, is a way when in front of coloring nodes are “hinted” with preferred colors. And on stag… 40 Each affinity edge means connection of two values by move-relation. That means that in worst-case s… 41 … edges of IG form components known as Affinity-components. In best-case scenario all nodes in affi… 42 …h will “hint” all nodes of bias to caller-save register. So if other nodes in bias have intersecti… [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | reg_alloc_graph_coloring_doc.md | 18 …in works of Sebastian Hack and Fernando Pereira. It is based on observation that programs in a str… 19 In works of Hack ("Register Allocation for Programs in SSA Form") and Pereira ("Register Allocation… 20 …rom Architecture and remapped (to sequential numbering) in order <caller-saved, callee-saved>. In … 23 Graph is built by liveness-intervals, algorithm under the hood is the same as in Linear-scan from w… 32 … one. This way we don’t have situations when different cliques are colored in parallel that at the… 37 …d make graph G’ not K-colorable as original graph G. Post coalescing (like in Pereira algorithm) i… 38 - Biasing, is a way when in front of coloring nodes are “hinted” with preferred colors. And on stag… 40 Each affinity edge means connection of two values by move-relation. That means that in worst-case s… 41 … edges of IG form components known as Affinity-components. In best-case scenario all nodes in affi… 42 …h will “hint” all nodes of bias to caller-save register. So if other nodes in bias have intersecti… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/common/recursive_import/ |
| D | CMakeLists.txt | 3 # you may not use this file except in compliance with the License. 8 # Unless required by applicable law or agreed to in writing, software 26 …in-circle/foo0.sts ${CMAKE_CURRENT_BINARY_DIR}/case_2_3-sources-in-circle recursive_import_2 EXPOR… 29 …in-circle-fail-no-ets-module-compile/foo0.sts ${CMAKE_CURRENT_BINARY_DIR}/case_3_3-sources-in-circ… 32 …in-circle_no-ets-module-compile_2/foo0.sts ${CMAKE_CURRENT_BINARY_DIR}/case_4_3-sources-in-circle_…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/ |
| D | summary.rst | 4 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 29 |LANG| was designed with the following goals in mind: 39 time. As a result, understanding what data structures are used in the code 42 That all types are known before the program actually runs results in the 45 prohibited in |LANG|. 81 in |TS|. According to our measurements, ``any`` is used in approximately 1% of 90 .. _Changing Object Layout in Runtime Is Prohibited: 92 Changing Object Layout in Runtime Is Prohibited 96 to not change during program execution. In other words, it is prohibited to do [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | cfi_directives.md | 5 In some situations **hand-written** assembly code is preferred to compiler-generated, i.e. for perf… 6 In case of **compiler-generated** code compilers emit special **debug symbols** in resulting binary… 12 In case you need basics please read related wiki article. 24 In prolog we save `lr`, `fp` and `callee` regs on stack. 26 `Debugger` or `profiler` will use this information in unwinding: 28 - to restore `callees` in previous frame 30 In epilog we read saved `callees` from stack and also `fp`/`lr`. Here we annotate that saved regist… 41 In that case we "say" to `debugger` that we are not going to return to previous frame. So we direct…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/03.overloading_for_functions/ |
| D | function_argument_equivalent_n.sts | 4 you may not use this file except in compliance with the License. 9 Unless required by applicable law or agreed to in writing, software 20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter… 21 same position in S2 is any reference type or type parameter; 22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at… 23 position in S2 is also G with any list of type arguments; 24 • All other parameter types in S1 are equal to parameter types in the same positions in S2. 32 {% for c in cases %} 39 {% for d in cases %}
|