| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | sendable_class_interface_property.ets.json | 13 "See the License for the specific language governing permissions and", 34 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 44 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 54 …"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… 74 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 84 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 94 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 104 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 114 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… [all …]
|
| D | numeric_bigint_compare.ets.arkts2.json | 13 "See the License for the specific language governing permissions and", 34 …"rule": "Not supporting comparison between number type and bigint type (arkts-numeric-bigint-compa… 44 …"rule": "Not supporting comparison between number type and bigint type (arkts-numeric-bigint-compa… 54 …"rule": "Not supporting comparison between number type and bigint type (arkts-numeric-bigint-compa… 64 …"rule": "Not supporting comparison between number type and bigint type (arkts-numeric-bigint-compa… 74 …"rule": "Not supporting comparison between number type and bigint type (arkts-numeric-bigint-compa… 84 …"rule": "Not supporting comparison between number type and bigint type (arkts-numeric-bigint-compa… 94 …"rule": "Not supporting comparison between number type and bigint type (arkts-numeric-bigint-compa… 104 …"rule": "Not supporting comparison between number type and bigint type (arkts-numeric-bigint-compa… 114 …"rule": "Not supporting comparison between number type and bigint type (arkts-numeric-bigint-compa… [all …]
|
| /arkcompiler/ets_runtime/docs/ |
| D | overview.md | 3 …and configurable multi-language compilation and runtime platform of OpenHarmony. It contains core … 5 ArkCompiler JS Runtime consists of two parts: JS compiler toolchain and JS runtime. The JS compiler… 22 …anguage-irrelevant runtime libraries, including ArkCompiler File, Tooling, and ArkCompiler Base. A… 26 …ecutes bytecodes, inline caching that stores hidden classes, and Profiler that analyzes and record… 30 … of the Stub compiler, optimized compilation framework based on the Circuit IR, and code generator. 35 …emory management: object allocator and garbage collector (CMS-GC and Partial-Compressing-GC for co… 36 - Analysis tools: DFX tool and CPU and heap profiling tool 38 …- Standard library: standard library defined by ECMAScript, efficient container library, and objec… 39 …- Others: asynchronous work queues, TypeScript (TS) type loading, and JS native APIs (JSNAPIs) for… 45 …and security, ArkCompiler JS Runtime statically pre-compiles JS/TS programs into ArkCompiler bytec… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | method-resolution-class-and-interface-in-signatures_5-expected.txt | 13 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 18 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 30 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 35 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 44 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 49 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 62 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 67 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 79 "program": "method-resolution-class-and-interface-in-signatures_5.ets" 84 "program": "method-resolution-class-and-interface-in-signatures_5.ets" [all …]
|
| /arkcompiler/runtime_core/static_core/ |
| D | LICENSE | 6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10 "License" shall mean the terms and conditions for use, reproduction, 11 and distribution as defined by Sections 1 through 9 of this document. 16 "Legal Entity" shall mean the union of the acting entity and all 29 source, and configuration files. 34 and conversions to other media types. 42 form, that is based on (or derived from) the Work and for which the 47 the Work and Derivative Works thereof. 50 the original version of the Work and any modifications or additions 58 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/toolchain/ |
| D | LICENSE | 6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10 "License" shall mean the terms and conditions for use, reproduction, 11 and distribution as defined by Sections 1 through 9 of this document. 16 "Legal Entity" shall mean the union of the acting entity and all 29 source, and configuration files. 34 and conversions to other media types. 42 form, that is based on (or derived from) the Work and for which the 47 the Work and Derivative Works thereof. 50 the original version of the Work and any modifications or additions 58 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/jsvm/ |
| D | LICENSE | 6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10 "License" shall mean the terms and conditions for use, reproduction, 11 and distribution as defined by Sections 1 through 9 of this document. 16 "Legal Entity" shall mean the union of the acting entity and all 29 source, and configuration files. 34 and conversions to other media types. 42 form, that is based on (or derived from) the Work and for which the 47 the Work and Derivative Works thereof. 50 the original version of the Work and any modifications or additions 58 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/ets_runtime/ |
| D | LICENSE | 6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10 "License" shall mean the terms and conditions for use, reproduction, 11 and distribution as defined by Sections 1 through 9 of this document. 16 "Legal Entity" shall mean the union of the acting entity and all 29 source, and configuration files. 34 and conversions to other media types. 42 form, that is based on (or derived from) the Work and for which the 47 the Work and Derivative Works thereof. 50 the original version of the Work and any modifications or additions 58 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/runtime_core/ |
| D | LICENSE | 6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10 "License" shall mean the terms and conditions for use, reproduction, 11 and distribution as defined by Sections 1 through 9 of this document. 16 "Legal Entity" shall mean the union of the acting entity and all 29 source, and configuration files. 34 and conversions to other media types. 42 form, that is based on (or derived from) the Work and for which the 47 the Work and Derivative Works thereof. 50 the original version of the Work and any modifications or additions 58 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/ets_frontend/ets2panda/ |
| D | LICENSE.txt | 6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10 "License" shall mean the terms and conditions for use, reproduction, 11 and distribution as defined by Sections 1 through 9 of this document. 16 "Legal Entity" shall mean the union of the acting entity and all 29 source, and configuration files. 34 and conversions to other media types. 42 form, that is based on (or derived from) the Work and for which the 47 the Work and Derivative Works thereof. 50 the original version of the Work and any modifications or additions 58 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/ |
| D | LICENSE | 5 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 9 "License" shall mean the terms and conditions for use, reproduction, 10 and distribution as defined by Sections 1 through 9 of this document. 15 "Legal Entity" shall mean the union of the acting entity and all 28 source, and configuration files. 33 and conversions to other media types. 41 form, that is based on (or derived from) the Work and for which the 46 the Work and Derivative Works thereof. 49 the original version of the Work and any modifications or additions 57 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/ |
| D | LICENSE | 5 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 9 "License" shall mean the terms and conditions for use, reproduction, 10 and distribution as defined by Sections 1 through 9 of this document. 15 "Legal Entity" shall mean the union of the acting entity and all 28 source, and configuration files. 33 and conversions to other media types. 41 form, that is based on (or derived from) the Work and for which the 46 the Work and Derivative Works thereof. 49 the original version of the Work and any modifications or additions 57 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 1_intro.rst | 10 See the License for the specific language governing permissions and 28 The |LANG| language combines and supports features that are in use in many 30 helpful and powerful. 32 |LANG| supports imperative, object-oriented, functional, and generic 33 programming paradigms, and combines them safely and consistently. 46 based on classes and interfaces. The major notions of this approach are as 50 - Interfaces as abstractions to be implemented by classes, and 51 - Methods (class instance or interface methods) with overriding and dynamic 55 enables powerful, flexible, safe, clear, and adequate software design. 70 presumes that software is designed and implemented as a composition [all …]
|
| /arkcompiler/ets_frontend/arkguard/ |
| D | LICENSE | 6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10 "License" shall mean the terms and conditions for use, reproduction, 11 and distribution as defined by Sections 1 through 9 of this document. 16 "Legal Entity" shall mean the union of the acting entity and all 29 source, and configuration files. 34 and conversions to other media types. 42 form, that is based on (or derived from) the Work and for which the 47 the Work and Derivative Works thereof. 50 the original version of the Work and any modifications or additions 58 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/ets_frontend/ |
| D | LICENSE | 6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 10 "License" shall mean the terms and conditions for use, reproduction, 11 and distribution as defined by Sections 1 through 9 of this document. 16 "Legal Entity" shall mean the union of the acting entity and all 29 source, and configuration files. 34 and conversions to other media types. 42 form, that is based on (or derived from) the Work and for which the 47 the Work and Derivative Works thereof. 50 the original version of the Work and any modifications or additions 58 and issue tracking systems that are managed by, or on behalf of, the [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/19.union_types/ |
| D | assignment_of_arrays_with_union_types.params.yaml | 11 # See the License for the specific language governing permissions and 18 desc: Test an array with a union type of number and string. 22 desc: Test an array with a union type of boolean and number. 26 desc: Test an array with a union type of string and boolean. 30 desc: Test an array with a union type of number, string, and boolean. 34 desc: Test an array with a union type of an enum type and number. 44 desc: Test an array with a union type of an enum type and string. 54 desc: Test an array with a union type of an enum type and boolean. 64 desc: Test an array with a union type of an enum type, number, and string. 75 desc: Test an array with a union type of a string array and a boolean array. [all …]
|
| /arkcompiler/runtime_core/libabckit/doc/ |
| D | implementation_description.md | 3 Important note: Currently AbcKit supports JS, ArkTS and static ArkTS, but **static ArkTS support is… 4 Compiled JS and ArkTS are stored in "dynamic" `abc` file format and static ArkTS in "static" `abc` … 5 AbcKit works with these file formats using "dynamic" and "static" runtimes. 10 2. [C API and C++ implementation](#c-api-and-c-implementation) 13 5. [Dispatch between dynamic and static file formats](#dispatch-between-dynamic-and-static-file-for… 14 6. [Data structures (context) and opaque pointers](#data-structures-context-and-opaque-pointers) 21 **AbcKit supports two types of `abc` files**: dynamic and static. 24 1. `panda::panda_file` and `ark::panda_file` 25 2. `panda::abc2program` and `ark::abc2program` 26 3. `panda::pandasm` and `ark::pandasm` [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | ir_format.md | 4 * Possibility to implement various optimizations and analyses 5 * Support all the features and instructions of Panda bytecode 8 * Be able to convert to other IR and back 10 ## Optimizations and analyses 12 …nality for various code transformations and analyses. The structure of the IR should be as clear a… 13 Also in the compilation process, the order of execution of optimizations and analyses is very impor… 14 The first goal of the Panda IR to be able to change the order of the passes, add and delete passes(… 51 !NOTE It is possible to write other optimizations based on the specifics of the language and VM 55 …n an arbitrary order. Some restrictions will still be: register allocation and code generation at … 59 * Using profile information for IFC and speculative optimizations [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/RationalNumber/ |
| D | CompareGetCommonFactorTest.ets | 12 * See the License for the specific language governing permissions and 22 …suite.addTest("Compares two RationalNumber objects (2/1 and 3/4) and verifies the result.", testCo… 23 …suite.addTest("Compares two RationalNumber objects (2/1 and 0/0) and verifies the result.", testCo… 24 …suite.addTest("Compares two RationalNumber objects (2/1 and 8/3) and verifies the result.", testCo… 25 …suite.addTest("Compares two identical RationalNumber objects (2/1 and 2/1) and verifies the result… 27 …suite.addTest("Compares two RationalNumber objects (0/0 and 2/1) and verifies the result.", testCo… 28 suite.addTest("Calculates the greatest common divisor of 4 and 8.", testGetCommonFactor001) 29 suite.addTest("Calculates the greatest common divisor of 10 and 15.", testGetCommonFactor002) 30 suite.addTest("Calculates the greatest common divisor of 8 and 4.", testGetCommonFactor003) 31 suite.addTest("Calculates the greatest common divisor of 8 and 16.", testGetCommonFactor004) [all …]
|
| /arkcompiler/runtime_core/docs/changelogs/ |
| D | 2022-08-18-isa-changelog.md | 6 * Function Kind and Header index 7 * MethodId, StringId and LiteralArrayId 11 The bytecode size and runtime performance have been suffering for a long time as the all the 12 ecmascript specific bytecode are prefixed and their opcode were encoded with two bytes. 13 1. We delete all original java specific opcodes and delete java specific opcode prefix. 15 3. We add prefix "deprecated" and keep the many old isa as "deprecated"-prefixed opcodes (for compa… 16 4. We add prefix "throw" and make all throwing opcodes be prefixed by "throw". 18 6. We adjust the format of some opcodes (about immediate number and accumulator), so that the bytec… 22 ## Function Kind and Header index 26 We reuse the field 32-bit field `access_flags_` to encode Function Kind and Header index. [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/ |
| D | summary.rst | 10 See the License for the specific language governing permissions and 20 full list with more detailed code examples and workaround suggestions. 31 - |LANG| programs must be easy for a developer to read and understand because 33 - |LANG| must execute fast and consume as little power as possible because 44 and improving performance. To achieve this, the usage of type ``any`` is 75 Rationale and Impact 78 Our research and experiments let us conclude that ``any`` is not welcome already 127 delete p1.x // Compile-time error in TypeScript and ArkTS 131 named `z`, and it is impossible to add 135 p2.z = "Label"; // Compile-time error in TypeScript and ArkTS [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule145.ets.json | 13 "See the License for the specific language governing permissions and", 23 … "suggest": "Property 'n' has no initializer and is not definitely assigned in the constructor.", 24 … "rule": "Property 'n' has no initializer and is not definitely assigned in the constructor.", 33 … "suggest": "Property 's' has no initializer and is not definitely assigned in the constructor.", 34 … "rule": "Property 's' has no initializer and is not definitely assigned in the constructor.", 43 … "suggest": "Function lacks ending return statement and return type does not include 'undefined'.", 44 … "rule": "Function lacks ending return statement and return type does not include 'undefined'.", 63 … "suggest": "Function lacks ending return statement and return type does not include 'undefined'.", 64 … "rule": "Function lacks ending return statement and return type does not include 'undefined'.", 73 … "suggest": "Function lacks ending return statement and return type does not include 'undefined'.", [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | ir_format.md | 4 * Possibility to implement various optimizations and analyses 5 * Support all the features and instructions of Panda bytecode 8 * Be able to convert to other IR and back 10 ## Optimizations and analyses 12 …nality for various code transformations and analyses. The structure of the IR should be as clear a… 13 Also in the compilation process, the order of execution of optimizations and analyses is very impor… 14 The first goal of the Panda IR to be able to change the order of the passes, add and delete passes(… 60 !NOTE It is possible to write other optimizations based on the specifics of the language and VM 64 …n an arbitrary order. Some restrictions will still be: register allocation and code generation at … 68 * Using profile information for IFC and speculative optimizations [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | and.yaml | 11 # See the License for the specific language governing permissions and 16 - file-name: "and" 19 description: Perform specified binary operation on two registers and store result 27 - sig: and v1:in:i32, v2:in:i32 35 and v0, v1 43 description: Check 'and' with zero and various values. 68 - sig: and v1:in:i32, v2:in:i32 76 and v0, v1 84 description: Check 'and' with +1 and various values. 116 - sig: and v1:in:i32, v2:in:i32 [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | and.yaml | 11 # See the License for the specific language governing permissions and 16 - file-name: "and" 19 description: Perform specified binary operation on two registers and store result 27 - sig: and v1:in:i32, v2:in:i32 35 and v0, v1 43 description: Check 'and' with zero and various values. 68 - sig: and v1:in:i32, v2:in:i32 76 and v0, v1 84 description: Check 'and' with +1 and various values. 117 - sig: and v1:in:i32, v2:in:i32 [all …]
|