| /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 ThrowingFunction1<in P1, out R> extends Function<R> { 29 export interface ThrowingFunction2<in P1, in P2, out R> extends Function<R> { 33 export interface ThrowingFunction3<in P1, in P2, in P3, out R> extends Function<R> { 37 export interface ThrowingFunction4<in P1, in P2, in P3, in P4, out R> extends Function<R> { 41 export interface ThrowingFunction5<in P1, in P2, in P3, in P4, in P5, out R> extends Function<R> { 45 export interface ThrowingFunction6<in P1, in P2, in P3, in P4, in P5, in P6, out R> extends Functio… 49 export interface ThrowingFunction7<in P1, in P2, in P3, in P4, in P5, in P6, in P7, out R> extends … 53 export interface ThrowingFunction8<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, out R> e… [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/runtime_core/libabckit/src/include_v2/c/isa/ |
| D | isa_static.h | 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 139 * @param [ in ] AbckitInst *inst . 142 AbckitCoreClass *(*iGetClass)(AbckitInst *inst /* in */); 147 * @param [ in ] AbckitInst *inst . 148 * @param [ in ] AbckitCoreClass *klass . 152 void (*iSetClass)(AbckitInst *inst /* in */, AbckitCoreClass *klass /* in */); 157 * @param [ in ] AbckitInst *inst . 160 enum AbckitIsaApiStaticConditionCode (*iGetConditionCode)(AbckitInst *inst /* in */); 165 * @param [ in ] AbckitInst *inst . [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/ |
| D | ambient_annotations_bad_type03.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 21 … Error TypeError: Field 'mutiArray' in annotation 'ClassAuthor' is declared in the ambient declara… 22 …18:2 Error TypeError: Field 'color' in annotation 'ClassAuthor' is declared in the ambient declara… 23 … Error TypeError: Field 'testBools' in annotation 'ClassAuthor' is declared in the ambient declara… 24 … Error TypeError: Field 'reviewers' in annotation 'ClassAuthor' is declared in the ambient declara… 25 …Error TypeError: Field 'favorColor' in annotation 'ClassAuthor' is declared in the ambient declara… 26 …2 Error TypeError: Field 'testBool' in annotation 'ClassAuthor' is declared in the ambient declara… 27 …ror TypeError: Field 'reviewersAge' in annotation 'ClassAuthor' is declared in the ambient declara… 28 … Error TypeError: Field 'authorAge' in annotation 'ClassAuthor' is declared in the ambient declara… [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/runtime_core/libabckit/include/cpp/headers/ |
| D | dynamic_isa.h | 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 67 // Rvalue annotated so we can call it only in callchain context 78 * stores the result in returned instruction. 80 * @param [ in ] acc - Inst containing right operand. 81 * @param [ in ] input0 - Inst containing left operand. 88 * @param [ in ] inst - Inst to be inspected. 95 * @param [ in ] inst - Inst to be modified. 96 * @param [ in ] mdl - Module to be set. 103 * @param [ in ] inst - Inst to be inspected. [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| 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", 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… [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/ets_runtime/test/aottest/isin/ |
| D | isin.js | 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 17 print('a' in A); 18 print('b' in A); 19 print('c' in A); 39 print(1 in obj) 40 print("abc" in obj) 41 print("3" in obj) 42 print(5 in obj) 43 print(6 in obj) [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | arkts-debugger-expression-evaluation.md | 1 # Expression evaluation feature in debugger for ArkTS language 3 …ion functionality for ArkTS language in the debugger, it is necessary to have the ability to compi… 4 The approach is implemented in the `ScopedDebugInfoPlugin` in `es2panda` and is concluded in compil… 11 …le to supports imports, so all features work only if the entity is located in the file where evalu… 13 2. In expression that will be evaluated, user can access private and protected fields and methods o… 29 The main problem in expression evaluation feature is compilation with debugging information, so let… 31 …t logical step after starting to execute es2panda in evaluation mode is to wrap the given expressi… 33 This step is necessary, because several evaluations are possible in a single file. 35 …a primitive value, then a return statement of this value will be generated in the evaluation metho… 37 **There are two main ideas that help in solving the problem of expression compilation:** [all …]
|
| /arkcompiler/runtime_core/libabckit/include/c/isa/ |
| D | isa_dynamic.h | 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 271 * @param [ in ] inst - Inst to be inspected. 282 * @param [ in ] inst - Inst to be modified. 283 * @param [ in ] md - Module to be set. 296 * @param [ in ] inst - Inst to be inspected. 306 * @param [ in ] inst - Inst to be modified. 307 * @param [ in ] cc - Condition code to be set. 318 * @param [ in ] inst - Inst to be inspected. 326 * @param [ in ] inst - Inst to be inspected. [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/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/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/libabckit/include/c/ |
| D | ir_core.h | 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 74 * @param [ in ] graph - Graph to read ISA type from. 82 * @param [ in ] graph - Graph to be inspected. 94 * @param [ in ] graph - Graph to be inspected. 102 * @param [ in ] graph - Graph to be inspected. 108 * @brief Returns number of basic blocks in given `graph`. 109 * @return Number of basic blocks in given `graph`. 110 * @param [ in ] graph - Graph to be inspected. 116 …* @brief Enumerates basic blocks of the `graph` in reverse postorder, invoking callback `cb` for e… [all …]
|
| D | metadata_core.h | 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 88 /* NOTE: (knazarov) may need to prune this enum in order to only expose user-friendly literal types… 149 * @param [ in ] file - Binary file to read version from. 155 …* @brief Enumerates modules that are defined in binary file `file`, invoking callback `cb` for eac… 158 * @param [ in ] file - Binary file to enumerate local modules in. 159 …* @param [ in, out ] data - Pointer to the user-defined data that will be passed to the callback `… 161 …* @param [ in ] cb - Callback that will be invoked. Should return `false` on early exit and `true`… 169 …* @brief Enumerates modules that are defined in other binary file, but are referenced in binary fi… 172 * @param [ in ] file - Binary file to enumerate external modules in. [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/ |
| D | test4.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", 44 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n… 54 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n… 64 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n… 74 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n… 84 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n… 94 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n… 104 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n… 114 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n… [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/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/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/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/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 …]
|