| /arkcompiler/runtime_core/libabckit/include/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 140 * @param [ in ] AbckitInst *inst . 143 AbckitCoreClass *(*iGetClass)(AbckitInst *inst /* in */); 148 * @param [ in ] AbckitInst *inst . 149 * @param [ in ] AbckitCoreClass *klass . 153 void (*iSetClass)(AbckitInst *inst /* in */, AbckitCoreClass *klass /* in */); 158 * @param [ in ] AbckitInst *inst . 161 enum AbckitIsaApiStaticConditionCode (*iGetConditionCode)(AbckitInst *inst /* in */); 166 * @param [ in ] AbckitInst *inst . [all …]
|
| 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/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/ |
| D | ambient_annotations_bad_type03.ets | 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 Warning: Implicit Boxing to Int in Binary Expression. [implicit_boxing_unboxing_1.ets:26:9] 2 Warning: Implicit Boxing to Int in Assignment Expression. [implicit_boxing_unboxing_1.ets:26:9] 3 Warning: Implicit Boxing to Int in Binary Expression. [implicit_boxing_unboxing_1.ets:27:9] 4 Warning: Implicit Boxing to Int in Assignment Expression. [implicit_boxing_unboxing_1.ets:27:9] 5 Warning: Implicit Boxing to Char in Variable Declaration. [implicit_boxing_unboxing_1.ets:33:15] 6 Warning: Implicit Boxing to Float in Variable Declaration. [implicit_boxing_unboxing_1.ets:34:21] 7 Warning: Implicit Boxing to Double in Variable Declaration. [implicit_boxing_unboxing_1.ets:35:22] 8 Warning: Implicit Boxing to Short in Variable Declaration. [implicit_boxing_unboxing_1.ets:36:21] 9 Warning: Implicit Boxing to Long in Variable Declaration. [implicit_boxing_unboxing_1.ets:37:20] 10 Warning: Implicit Boxing to Int in Variable Declaration. [implicit_boxing_unboxing_1.ets: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/test/ast/compiler/ets/ |
| D | variance_typeparam_union.ets | 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 16 class A123<in T1,out T2,T3>{ 70 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 71 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 72 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 73 /* @@@ label3 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 74 /* @@@ label4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 75 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 76 /* @@@ label6 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… [all …]
|
| D | variance_typeparam_super.ets | 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 interface I2<in IT1, out IT2>{} 19 class A2<in IT1, out IT2>{} 21 class B1<in T1, out T2, T3> implements I1<T3>{} 22 class B2<in T1, out T2, T3> implements /* @@ label1 */I1<T1>{} 23 class B3<in T1, out T2, T3> implements I2<T1,T2>{} 24 class B4<in T1, out T2, T3> implements I2<T1,T3>{} 25 class B5<in T1, out T2, T3> implements /* @@ label2 */I2<T2,T3>{} 26 class B6<in T1, out T2, T3> extends A1<T3>{} [all …]
|
| D | variance_typeparam_class.ets | 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 16 class B<in U1,out U2,U3>{} 18 class A<in T1,out T2,T3>{ 25 … //2.B<in U1,out U2,U3> U1 is contravariant, U2 is covariant, U3 is invariance 30 … //2.B<in U1,out U2,U3> U1 is contravariant, U2 is covariant, U3 is invariance 52 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 53 /* @@@ label1 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 54 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 55 /* @@@ label2 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… [all …]
|
| D | variance_typeparam_lambda.ets | 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 16 class A<in T1,out T2,T3>{ 45 /* @@@ label1 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 46 /* @@@ label2 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 48 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 51 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… [all …]
|
| D | variance_typeparam_array.ets | 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 16 class A<in T1,out T2,T3>{ 45 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 46 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 48 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 51 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… [all …]
|
| D | variance_typeparam.ets | 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 16 class A<in T1,out T2,T3>{ 45 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 46 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 48 /* @@@ label4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 49 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 51 /* @@@ label7 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… [all …]
|
| D | DeclareCheckAssign.ets | 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 46 /* @@? 16:37 Error TypeError: Initializers are not allowed in ambient contexts: byte_1 */ 47 /* @@? 16:66 Error TypeError: Initializers are not allowed in ambient contexts: byte_2 */ 48 /* @@? 17:38 Error TypeError: Initializers are not allowed in ambient contexts: byte_12 */ 49 /* @@? 17:64 Error TypeError: Initializers are not allowed in ambient contexts: byte_22 */ 50 /* @@? 18:38 Error TypeError: Initializers are not allowed in ambient contexts: byte_13 */ 51 /* @@? 18:70 Error TypeError: Initializers are not allowed in ambient contexts: byte_23 */ 52 /* @@? 19:38 Error TypeError: Initializers are not allowed in ambient contexts: byte_14 */ 53 /* @@? 20:30 Error TypeError: A 'const' initializer in an ambient context must be a string or numer… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | sendable_class_interface_property.ets.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_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/plugins/ets/runtime/ani/ |
| D | ani.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 256 * This function retrieves the version information and stores it in the result parameter. 258 * @param[in] env A pointer to the environment structure. 267 * This function retrieves the VM instance and stores it in the result parameter. 269 * @param[in] env A pointer to the environment structure. 281 * @param[in] env A pointer to the environment structure. 282 * @param[in] cls The class of the object to create. 283 * @param[in] method The constructor method to invoke. 284 * @param[in] ... Variadic arguments to pass to the constructor method. [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/ets_runtime/test/moduletest/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 23 1 in 0; 35 assert_equal(-3 in v5, false); 40 assert_equal('a' in obj, true); 41 assert_equal('b' in obj, false); 46 assert_equal(0 in arr, true); 47 assert_equal(1 in arr, false); 49 assert_equal(100 in arr, true); 50 assert_equal('length' in arr, true); [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/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/ |
| D | variance_typeparam_array.ets | 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 16 class A<in T1,out T2,T3>{ 45 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 46 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 48 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 51 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… [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, then the undefined bits are not accessed in a verified code. 28 …Register field width in instruction encoding can be 4 (16 addressable registers), 8 (256 registers… 34 …The main goal of using accumulator is to improve encoding density without losing much in performan… 36 …a source from a previous instruction result and passing it to the next instruction in its destinat… 44 …caller frame to the top of the callee frame. E.g., the last argument is placed in the register wit… 45 …index, and the first argument is placed in the register with the index that equals the size of the… 46 …arguments. The accumulator value is considered *undefined*; it is not read in the verified bytecod… 48 …via accumulator. Otherwise, the accumulator content in the caller frame is considered *undefined*;… [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/dynamic/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 …]
|