| /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 | 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 …]
|
| D | inspector.md | 3 Two big parts, the `Inspector` and `InspectorServer` classes, isolate debugger and server logic res… 7 The main class, it is responsible for interoperability with the runtime and managing other modules.… 9 The `Inspector` class implements `PtHooks` interface and manages debugger events correspondingly. 11 `Inspector` uses the following modules. 15 …es a `ThreadState` and processes logic of thread suspensions. Threads have the following three lev… 19 The thread is paused (`state_.IsPaused()` is `true`) means that a breakpoint was hit, or a step was… 23 The thread is suspended (`suspended_` is `true`) means that the thread actually is going to sleep n… 25 …the suspension (i.e. setting `suspended_` to `true`) the `pre_suspend_` and `post_suspend_` callba… 27 The thread could be resumed when still remaining paused. In this case it suspends again. This oppor… 31 …the thread is suspended, the `thread_->Suspend()` call is performed. It increases managed thread's… [all …]
|
| /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/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, 70 The grammar rules below introduce the productions to be used by other forms 102 The *potentiallyNullishExpression* introduces an expression that can be [all …]
|
| D | 1_intro.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. 18 This document presents complete information on the new common-purpose, 28 The |LANG| language combines and supports features that are in use in many 35 At the same time, |LANG| does not support features that allow software 37 the language uses the strong static typing principle. It allows no dynamic [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/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/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/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/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/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 37 …* @brief defines the scheduling policy for a coroutine. Maybe in future we would like to add more … 43 /// schedule to the parent's worker only [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/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/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 | 11 You can obfuscate the following names: 16 We enable the obfuscation of parameter names and local variable names by default. However, 21 When you create a new project, the following config will be generated in `build-profile.json5`. 45 To enable obfuscation, the following conditions should be satisfied: 46 * the property `ruleOptions.enable` is `true` and the property `ruleOptions.enable` of every depend… 49 The files in the property `ruleOptions.files` will be applied when you build HAP or HAR. 51 The files in the property `consumerFiles` will be applied when you build the project or library whi… 52 depends on this library. They will also be merged into a file `obfuscation.txt` in the resulting HA… 54 When you are building HAP or HAR, the final obfucation rules are combination of self's `ruleOptions… 56 If you are building HAR, the content of `obfuscation.txt` is the combination of self's `consumerFil… [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/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Box.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. 35 * @param value: TT the initial value 42 * Returns the value contained in the box 44 * @returns T - value in the box 51 * Sets the value contained in the box [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | escape_analysis.md | 4 …mization - **Scalar replacement** which eliminates an object allocation if the object never escape… 14 …the algorithm initially marks all the allocations as virtual and iterates over instructions in the… 15 At the end of the analysis each object allocation has a state describing if an allocation could be … 18 The object state is either virtual state (VirtualState) or implicit materialized state. Multiple in… 20 VirtualState contains information about the instruction it was originally created for and mapping b… 23 - correctly initialize the object if materialization is required; 24 - replace LoadObject from virtual object with the instruction that was stored in the field. 26 …the beginning of the block its state is evaluated using states of predecessing blocks. If there is… 28 The state of loop's header could not be evaluated using procedure described above as initially ther… 33 * alias mapping - a map from an instruction in the original method to an in instruction that should… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/ |
| D | why.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. 18 This chapter explains why it makes sense to migrate from the standard |TS| to 22 allowing programs to write code fast. At the same time, these languages are 24 to check some value for ``undefined``---as a result, the program would crash 25 causing inconvenience to users. Detecting such issues during the development [all …]
|