| /arkcompiler/runtime_core/docs/ |
| D | doxygen.config | 3 # This file describes the settings to be used by the documentation system 7 # front of the TAG it is preceding. 10 # The format is: 20 # This tag specifies the encoding used for all characters in the config file 21 # that follow. The default is UTF-8 which is also the encoding used for all text 22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv 23 # built into libc) for the transcoding. See http://www.gnu.org/software/libiconv 24 # for the list of possible encodings. 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by [all …]
|
| D | runtime-compiled_code-interaction.md | 1 # Interaction of compiled code and the runtime 5 …and Panda runtime should interact with each other. This document describes the following aspects i… 8 * The structure of compiled code stack frames and stack traversing 9 * Transition from the interpeter to compiled code and vise versa 10 * Calling the runtime 14 Documentation of meta information generated by the compiler is located in compiled_method_info.md d… 16 ## Panda runtime (the runtime) 17 Panda runtime as a set of functions aimed to execute managed code. The runtime consists of several … 18 The document refers to the interpreter and the compiler modules. 20 The interpreter is a part of the runtime aimed to execute bytecode of managed functions. The interp… [all …]
|
| D | file_format.md | 3 This document describes Panda binary file format with the following goals in mind: 16 Current binary file format should extend these limits to conform to the modern requirements. 18 To achieve this, all references in the binary file are 4 bytes long. It allows to have 4Gb for 21 The format uses [TaggedValue](#taggedvalue) which allows to store only information we have and 25 the bytecode and some metadata. File can contain multiple indexes each one covers part of the 32 indexes (like sorted list of strings). However, the described binary format supports one index: 37 Foreign classes, fields and methods are declared in other files, with references from the 38 current binary file. Local classes, fields and methods are declared in the current file. 39 Local entities has the same header as the corresponding foreign. So 40 having an offset to an entity it doesn't matter whether the entity is local or foreign. [all …]
|
| D | design-of-interpreter.md | 5 This document outlines the key design decisions in the interpreter and its companion components: 11 | Requirements | Enlists the requirements to the component. | 12 | Key Design Decisions | Summarizes the key decisions to address the requirements. | 13 | Rationale | Elaborates on the rationales behind the decisions. | 16 Please refer to the [glossary](glossary.md) for terminology clarification. 20 This section outlines common requirements that should be considered while designing the interpreter 21 and all related components of the platform: 23 1. The platform should scale from microcontrollers to hi-end mobile phones: 27 1. The platform should support multiple programming languages 33 1. Bytecode should allow the interpreter to run no slower than state of the art interpreters. [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | doxygen.config | 3 # This file describes the settings to be used by the documentation system 7 # front of the TAG it is preceding. 10 # The format is: 20 # This tag specifies the encoding used for all characters in the config file 21 # that follow. The default is UTF-8 which is also the encoding used for all text 22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv 23 # built into libc) for the transcoding. See http://www.gnu.org/software/libiconv 24 # for the list of possible encodings. 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by [all …]
|
| D | import-export.md | 6 The compilation unit’s variables, functions, classes, interfaces, or other declarations are only ac… 17 The primary objectives of this design are: 18 - Give a general picture of how compilation unit handling works within the compiler. 19 …The current code structure needs to be refactored in order to follow the changes of the standard a… 20 …the internal access modifier, single export directive or even the requirement that a package modul… 24 …ule is a module without a package header. A separate module can optionally consist of the following 31 Every module implicitly imports all exported entities from essential kernel packages of the standar… 32 All entities from these packages are accessible as simple names, like the console variable. 41 …the *ETSParser::ParseDefaultSources* method, which parse an internally created ets file named "<d… 50 …the *Helpers::StdLib()* method. The absolute path to the std folder is specified in the *arktsconf… [all …]
|
| D | runtime-compiled_code-interaction.md | 1 # Interaction of compiled code and the runtime 5 …and Panda runtime should interact with each other. This document describes the following aspects i… 8 * The structure of compiled code stack frames and stack traversing 9 * Transition from the interpeter to compiled code and vise versa 10 * Calling the runtime 14 Documentation of meta information generated by the compiler is located in compiled_method_info.md d… 16 ## Panda runtime (the runtime) 17 Panda runtime as a set of functions aimed to execute managed code. The runtime consists of several … 18 The document refers to the interpreter and the compiler modules. 20 The interpreter is a part of the runtime aimed to execute bytecode of managed functions. The interp… [all …]
|
| D | file_format.md | 3 This document describes Panda binary file format with the following goals in mind: 16 Current binary file format should extend these limits to conform to the modern requirements. 18 To achieve this, all references in the binary file are 4 bytes long. It allows to have 4Gb for 21 The format uses [TaggedValue](#taggedvalue) which allows to store only information we have and 25 the bytecode and some metadata. File can contain multiple indexes each one covers part of the 32 indexes (like sorted list of strings). However, the described binary format supports one index: 37 Foreign classes, fields and methods are declared in other files, with references from the 38 current binary file. Local classes, fields and methods are declared in the current file. 39 Local entities has the same header as the corresponding foreign. So 40 having an offset to an entity it doesn't matter whether the entity is local or foreign. [all …]
|
| D | design-of-interpreter.md | 5 This document outlines the key design decisions in the interpreter and its companion components: 11 | Requirements | Enlists the requirements to the component. | 12 | Key Design Decisions | Summarizes the key decisions to address the requirements. | 13 | Rationale | Elaborates on the rationales behind the decisions. | 16 Please refer to the [glossary](glossary.md) for terminology clarification. 20 This section outlines common requirements that should be considered while designing the interpreter 21 and all related components of the platform: 23 1. The platform should scale from microcontrollers to hi-end mobile phones: 27 1. The platform should support multiple programming languages 33 1. Bytecode should allow the interpreter to run no slower than state of the art interpreters. [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test_extended_features/ |
| D | @arkts.collections.d.ets | 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 10 * distributed under the License is distributed on an "AS IS" BASIS, 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 17 * @file Defines the collections for ArkTS 34 * Callback function used in the typed Array's 'from' function. 37 * @param { FromElementType } value - The value in the original array. 38 * @param { number } index - The index in the original array. [all …]
|
| /arkcompiler/runtime_core/ |
| D | LICENSE | 10 "License" shall mean the terms and conditions for use, reproduction, 13 "Licensor" shall mean the copyright owner or entity authorized by 14 the copyright owner that is granting the License. 16 "Legal Entity" shall mean the union of the acting entity and all 18 control with that entity. For the purposes of this definition, 19 "control" means (i) the power, direct or indirect, to cause the 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the 27 "Source" form shall mean the preferred form for making modifications, 36 "Work" shall mean the work of authorship, whether in Source or 37 Object form, made available under the License, as indicated by a [all …]
|
| /arkcompiler/ets_frontend/ets2panda/ |
| D | LICENSE.txt | 10 "License" shall mean the terms and conditions for use, reproduction, 13 "Licensor" shall mean the copyright owner or entity authorized by 14 the copyright owner that is granting the License. 16 "Legal Entity" shall mean the union of the acting entity and all 18 control with that entity. For the purposes of this definition, 19 "control" means (i) the power, direct or indirect, to cause the 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the 27 "Source" form shall mean the preferred form for making modifications, 36 "Work" shall mean the work of authorship, whether in Source or 37 Object form, made available under the License, as indicated by a [all …]
|
| /arkcompiler/toolchain/build/toolchain/mac/ |
| D | linker_driver.py | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 11 # distributed under the License is distributed on an "AS IS" BASIS, 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 23 The linker_driver.py is responsible for forwarding a linker invocation to 24 the compiler driver, while processing special arguments itself. 28 On Mac, the logical step of linking is handled by three discrete tools to 29 perform the image link, debug info link, and strip. The linker_driver.py [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 7_expressions.rst | 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 8 distributed under the License is distributed on an "AS IS" BASIS, 10 See the License for the specific language governing permissions and 11 limitations under the License. 21 This chapter describes the meanings of expressions and the rules for the 22 evaluation of expressions, except for the expressions related to coroutines 77 The grammar rules below introduce several productions to be used by other 88 There are three options the ``objectReference`` refers to: [all …]
|
| /arkcompiler/toolchain/ |
| D | LICENSE | 10 "License" shall mean the terms and conditions for use, reproduction, 13 "Licensor" shall mean the copyright owner or entity authorized by 14 the copyright owner that is granting the License. 16 "Legal Entity" shall mean the union of the acting entity and all 18 control with that entity. For the purposes of this definition, 19 "control" means (i) the power, direct or indirect, to cause the 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the 27 "Source" form shall mean the preferred form for making modifications, 36 "Work" shall mean the work of authorship, whether in Source or 37 Object form, made available under the License, as indicated by a [all …]
|
| /arkcompiler/runtime_core/static_core/ |
| D | LICENSE | 10 "License" shall mean the terms and conditions for use, reproduction, 13 "Licensor" shall mean the copyright owner or entity authorized by 14 the copyright owner that is granting the License. 16 "Legal Entity" shall mean the union of the acting entity and all 18 control with that entity. For the purposes of this definition, 19 "control" means (i) the power, direct or indirect, to cause the 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the 27 "Source" form shall mean the preferred form for making modifications, 36 "Work" shall mean the work of authorship, whether in Source or 37 Object form, made available under the License, as indicated by a [all …]
|
| /arkcompiler/ets_runtime/ |
| D | LICENSE | 10 "License" shall mean the terms and conditions for use, reproduction, 13 "Licensor" shall mean the copyright owner or entity authorized by 14 the copyright owner that is granting the License. 16 "Legal Entity" shall mean the union of the acting entity and all 18 control with that entity. For the purposes of this definition, 19 "control" means (i) the power, direct or indirect, to cause the 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the 27 "Source" form shall mean the preferred form for making modifications, 36 "Work" shall mean the work of authorship, whether in Source or 37 Object form, made available under the License, as indicated by a [all …]
|
| /arkcompiler/ets_runtime/docs/ |
| D | overview.md | 3 …the compiler, toolchain, and runtime. It supports compilation and running of high-level programmin… 5 …olchain and JS runtime. The JS compiler toolchain compiles JS source code into ArkCompiler bytecod… 7 Figure 1 Architecture of the JS compiler toolchain 10 The source code compiler of ArkCompiler JS Runtime receives JS source code, based on which ts2abc g… 30 …JS Compiler Subsystem consists of the Stub compiler, optimized compilation framework based on the … 37 - Concurrency management: abc file manager in the actor concurrency model 43 …/TS application execution engine for OpenHarmony rather than a JS execution engine for the browser. 45 …the application execution performance and security, ArkCompiler JS Runtime statically pre-compiles… 47 …The common way to process TS in the industry is to convert TS into JS and execute JS code with JS … 49 …The Actor concurrency model is commonly used in JS engines in the industry to implement concurrent… [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/coroutines/ |
| D | coroutine_manager.h | 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 10 * distributed under the License is distributed on an "AS IS" BASIS, 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 26 /// @brief describes the set of adjustable parameters for CoroutineManager and its descendants init… 32 /// Number of coroutine workers for the N:M mode 38 /// @brief defines the requested launch mode for a coroutine 42 /// schedule to the parent's worker only [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | BuiltinArray.sts | 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 10 * distributed under the License is distributed on an "AS IS" BASIS, 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 78 * Takes an integer value and returns the item at that index, 80 * from the last item in the array. 82 * @param index Zero-based index of the array element to be returned. 83 …* Negative index counts back from the end of the array — if `index` < 0, index + `array.length()` … [all …]
|
| /arkcompiler/ets_frontend/arkguard/ |
| D | LICENSE | 10 "License" shall mean the terms and conditions for use, reproduction, 13 "Licensor" shall mean the copyright owner or entity authorized by 14 the copyright owner that is granting the License. 16 "Legal Entity" shall mean the union of the acting entity and all 18 control with that entity. For the purposes of this definition, 19 "control" means (i) the power, direct or indirect, to cause the 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the 27 "Source" form shall mean the preferred form for making modifications, 36 "Work" shall mean the work of authorship, whether in Source or 37 Object form, made available under the License, as indicated by a [all …]
|
| D | README.md | 5 …The source obfuscation is updated synchronously with the DevEco Studio version. It is recommended … 19 You can obfuscate the following names: 25 We enable the obfuscation of parameter names and local variable names by default. However, 30 When you create a new project, the following config will be generated in `build-profile.json5`. 57 To enable obfuscation, the following conditions should be satisfied: 59 * the property `ruleOptions.enable` is `true` and the property `ruleOptions.enable` of every depend… 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… 65 depends on this library. They will also be merged into a file `obfuscation.txt` in the resulting HA… 67 When you are building HAP or HAR, the final obfucation rules are combination of self's `ruleOptions… [all …]
|
| /arkcompiler/ets_frontend/ |
| D | LICENSE | 10 "License" shall mean the terms and conditions for use, reproduction, 13 "Licensor" shall mean the copyright owner or entity authorized by 14 the copyright owner that is granting the License. 16 "Legal Entity" shall mean the union of the acting entity and all 18 control with that entity. For the purposes of this definition, 19 "control" means (i) the power, direct or indirect, to cause the 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the 27 "Source" form shall mean the preferred form for making modifications, 36 "Work" shall mean the work of authorship, whether in Source or 37 Object form, made available under the License, as indicated by a [all …]
|
| /arkcompiler/ets_frontend/test/scripts/auto_xts_test/ |
| D | readme.md | 4 This script will get the latest images and xts testcases from dailybuilds, then burn the images on … 5 and run the xts testcase on the target to get the test result. 11 Double click the run.bat or in the cmd condition input the path of run.bat 13 …tcases, you need to add module names to the running_modules.txt file. Module names should be split… 15 - Only for the first time of running the script will download the burnning tool and need to install… 16 by yourself. After the pragram run for a while(downloading the tool), there comes the User Account … 17 Click 'yes' and you will see the driver installation interface as following: 19 <br />Click the "驱动卸载" button first and then click the "驱动安装" button, after that close the interfac… 21 - Because the burning tool does not use the relative path as the the storage path of images, the sc… 22 as the storage path to make it run stably. [all …]
|
| /arkcompiler/ets_frontend/test/scripts/sdk_test/ |
| D | readme.md | 4 1) Verify if abc and sourcemap are generated in the compiled package. 5 2) Verify if the application of the compiled package can run normally (this feature is under develo… 9 The SDK test automation script runs on Windows, Python 3.9 and above. 12 1. Ensure that Deveco is installed in the environment. 13 2. Install dependencies of the test suite: 15 …the configuration file `config.yaml`, configure relevant parameters of Deveco and the test applica… 16 …ication, you can modify the config.yaml configuration file and add the configuration under the “ha… 19 The test suite supports daily and manual runs. 20 The test functionality requires a connection to the RK board for testing. You can control whether t… 23 The daily run will download the SDK built on the current day from the trunk branch and use it to pe… [all …]
|