| /arkcompiler/ets_frontend/ets2panda/test/parser/ts/ |
| D | test-ts-type-predicate.ts | 10 * distributed under the License is distributed on an "AS IS" BASIS, 24 function function2(asserts: number | string): asserts is number { return }; 25 var var2: (asserts: number | string) => asserts is number; 28 (asserts: number | string): asserts is number; property 29 (asserts: { a: number | string }): asserts is this; property 32 function function3(is: number | string): is is number { return }; 33 var var3: (is: number | string) => is is number; 36 (is: number | string): is is number; property 37 (is: { a: number | string }): is is this; property 40 function function4(a: number | string): a is number { return }; [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-ts-type-predicate.ts | 10 * distributed under the License is distributed on an "AS IS" BASIS, 24 function function2(asserts: number | string): asserts is number { return }; 25 var var2: (asserts: number | string) => asserts is number; 28 (asserts: number | string): asserts is number; property 29 (asserts: { a: number | string }): asserts is this; property 32 function function3(is: number | string): is is number { return }; 33 var var3: (is: number | string) => is is number; 36 (is: number | string): is is number; property 37 (is: { a: number | string }): is is this; property 40 function function4(a: number | string): a is number { return }; [all …]
|
| /arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/ |
| D | expect_output.txt | 9 # distributed under the License is distributed on an "AS IS" BASIS, 16 ReferenceError: Function is not defined 19 ReferenceError: RangeError is not defined 22 ReferenceError: Error is not defined 25 ReferenceError: Object is not defined 28 ReferenceError: SyntaxError is not defined 31 ReferenceError: TypeError is not defined 34 ReferenceError: ReferenceError is not defined 37 ReferenceError: URIError is not defined 40 ReferenceError: Symbol is not defined [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | doxygen.config | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # that follow. The default is UTF-8 which is also the encoding used for all text 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
| D | glossary.md | 6 development of compilers and interpreters is confusing in some cases. This document describes what 12 compilation" are used to indicate that the source code or bytecode is compiled before actual 13 execution. In case of Panda Runtime, AOT compilation is used to compile Panda Bytecode into 17 * **Compiler** is a tool that performs source code or bytecode translation, optimization and 19 * **IR** stands for **Intermediate Representation**. IR is an internal compiler data structure 25 compilation" are used to indicate that the source code or bytecode is compiled during program 26 execution. In case of Panda Runtime, JIT compilation is used to compile Panda Bytecode into 29 * **Panda Assembler** is a tool that translates **Panda Assembly Language** 31 * **Panda Assembly Language** is a low-level programming language retaining very strong 34 * **Panda Binary File** or **Panda File** or **PF** is a binary representation of Panda Bytecode. [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | doxygen.config | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # that follow. The default is UTF-8 which is also the encoding used for all text 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
| D | glossary.md | 6 development of compilers and interpreters is confusing in some cases. This document describes what 12 compilation" are used to indicate that the source code or bytecode is compiled before actual 13 execution. In case of Panda Runtime, AOT compilation is used to compile Panda Bytecode into 17 * **Compiler** is a tool that performs source code or bytecode translation, optimization and 19 * **IR** stands for **Intermediate Representation**. IR is an internal compiler data structure 25 compilation" are used to indicate that the source code or bytecode is compiled during program 26 execution. In case of Panda Runtime, JIT compilation is used to compile Panda Bytecode into 29 * **Panda Assembler** is a tool that translates **Panda Assembly Language** 31 * **Panda Assembly Language** is a low-level programming language retaining very strong 34 * **Panda Binary File** or **Panda File** or **PF** is a binary representation of Panda Bytecode. [all …]
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | reg_alloc_graph_coloring_doc.md | 17 This paper describes register allocation algorithm that is based on ideas of Chordal-graph coloring… 18 …is described in works of Sebastian Hack and Fernando Pereira. It is based on observation that prog… 19 …hs") to construct PEO is used Max Cardinality Search (MCS) algorithm. In this implementation was u… 23 …is built by liveness-intervals, algorithm under the hood is the same as in Linear-scan from works … 26 If interval is pre-colored, this value is set as pre-color for node. And input parameters is marked… 27 Here additionally to the built graph with regular edges that represent interference, it is built af… 31 … MCS or LexBFS (that is reverse PEO), one by one is colored by a Greedy coloring algorithm. Greedy… 36 There are two classes of approaches for coalescing, that is: 37 …is known to potentially can increase register pressure, and make graph G’ not K-colorable as origi… 38 …is a way when in front of coloring nodes are “hinted” with preferred colors. And on stage of color… [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | reg_alloc_graph_coloring_doc.md | 17 This paper describes register allocation algorithm that is based on ideas of Chordal-graph coloring… 18 …is described in works of Sebastian Hack and Fernando Pereira. It is based on observation that prog… 19 …hs") to construct PEO is used Max Cardinality Search (MCS) algorithm. In this implementation was u… 23 …is built by liveness-intervals, algorithm under the hood is the same as in Linear-scan from works … 26 If interval is pre-colored, this value is set as pre-color for node. And input parameters is marked… 27 Here additionally to the built graph with regular edges that represent interference, it is built af… 31 … MCS or LexBFS (that is reverse PEO), one by one is colored by a Greedy coloring algorithm. Greedy… 36 There are two classes of approaches for coalescing, that is: 37 …is known to potentially can increase register pressure, and make graph G’ not K-colorable as origi… 38 …is a way when in front of coloring nodes are “hinted” with preferred colors. And on stage of color… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | functions.ets.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 104 … "rule": "Using \"this\" inside stand-alone functions is not supported (arkts-no-standalone-this)", 113 … "suggest": "Property 'c' has no initializer and is not definitely assigned in the constructor.", 114 … "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor.", 123 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 124 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.", 133 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 134 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.", 143 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 144 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.", [all …]
|
| D | null_check_calls.ets.json | 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 24 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 33 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number[]'.", 34 "rule": "Argument of type 'null' is not assignable to parameter of type 'number[]'.", 43 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number'.", 44 "rule": "Argument of type 'null' is not assignable to parameter of type 'number'.", 53 …uggest": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Typ… 54 …"rule": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type… 63 …uggest": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Typ… 64 …"rule": "Argument of type 'number | null' is not assignable to parameter of type 'number'.\n Type… [all …]
|
| /arkcompiler/runtime_core/libabckit/ |
| D | .doxygen | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # file that follow. The default is UTF-8 which is also the encoding used for all 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/moduleLazyImport/ |
| D | expect_output.txt | 9 # distributed under the License is distributed on an "AS IS" BASIS, 14 this is E 15 this is H 17 this is entry 18 this is F 20 this is D_Cjs 21 this is A 23 this is B {"foo":"module use cjsModule"} 24 this is C_Cjs 29 this is lazyFileWithDynImport [all …]
|
| /arkcompiler/ets_runtime/test/perform/string/ |
| D | expect_output.txt | 9 # distributed under the License is distributed on an "AS IS" BASIS, 14 string replace regexp flag is g: 44 15 string replace regexp flag is gi :15 16 string replace regexp pattern is /([^d]*)(d*)([^w]*)/ : 161 17 string split number of input parameters is 2 : 70 18 string split number of input parameters is 1 : 35 20 string indexOf input parameter is a substring : 14 21 string indexOf Input parameter is not a substring : 15 22 string indexOf number of input parameters is 2 : 11 23 string slice number of input parameters is 1 : 17 [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | variance_typeparam_class.ets | 10 * distributed under the License is distributed on an "AS IS" BASIS, 24 … //1.readonlyfield1 is read-only ,need covariant/invariance 25 … //2.B<in U1,out U2,U3> U1 is contravariant, U2 is covariant, U3 is invariance 26 … //3.B<T1,T2,T3> T1 is contravariant, T2 is covariant, T3 is invariance 27 //B<T1,T2,T3> is covariant 29 … //1.readonlyfield2 is read-only ,need covariant/invariance 30 … //2.B<in U1,out U2,U3> U1 is contravariant, U2 is covariant, U3 is invariance 31 … //3.B<T2,T1,T3> T2 is covariant, T1 is contravariant, T3 is invariance 32 //B<T1,T2,T3> is contravariant 52 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… [all …]
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/ |
| D | basic_block.h | 10 * distributed under the License is distributed on an "AS IS" BASIS, 74 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `basicBlock` is NULL. 75 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `cb` is NULL. 82 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `basicBlock` is NULL. 83 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `cb` is NULL. 90 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if basicBlock is NULL. 117 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if basicBlock is NULL. 118 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL. 119 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is constant. 130 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if basicBlock is NULL. [all …]
|
| /arkcompiler/runtime_core/libabckit/include/c/isa/ |
| D | isa_dynamic.h | 10 * distributed under the License is distributed on an "AS IS" BASIS, 272 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL. 273 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is not Intrinsic. 274 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if Intrinsic opcode is not GETMODULENAMESPACE or 284 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL. 285 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `md` is NULL. 286 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is not Intrinsic. 287 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if Intrinsic opcode is not GETMODULENAMESPACE or 297 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL. 298 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is not Intrinsic. [all …]
|
| D | isa_static.h | 10 * distributed under the License is distributed on an "AS IS" BASIS, 141 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 150 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 151 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitCoreClass *klass is NULL. 159 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 168 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 176 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 186 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 195 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 205 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitGraph *graph is NULL. [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | Multiline_string.ets | 10 * distributed under the License is distributed on an "AS IS" BASIS, 17 let x = `This is an example of a multiline string, 20 type UT = `This is an example of a multiline string, 23 let x2:UT = `This is an example of a multiline string, 27 assertEQ(x2, `This is an example of a multiline string, 30 …assertEQ(x2, "This is an example of a multiline string,\n which should be enclo… 32 let x3 = `This is an example of a multiline string`; 33 type UT2 = `This is an example of a multiline string` | "X"; 34 let x4:UT2 = `This is an example of a multiline string` 36 assertEQ(x4, `This is an example of a multiline string`) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | RegExpGroupsTest.ets | 10 * distributed under the License is distributed on an "AS IS" BASIS, 17 "groups is undefined", 18 "groups is undefined", 19 "groups is undefined", 20 "groups is undefined", 21 "groups is undefined", 22 "groups is undefined", 23 "groups is undefined", 24 "groups is undefined", 25 "groups is undefined", [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sendableobj/ |
| D | sendable.ts | 10 * distributed under the License is distributed on an "AS IS" BASIS, 41 print("Sendable class is sendable"); 43 print("Sendable class is not sendable"); 48 print("UnSendable class is sendable"); 50 print("UnSendable class is not sendable"); 55 print("boolean is sendable"); 57 print("boolean is not sendable"); 63 print("string is sendable"); 65 print("string is not sendable"); 70 print("number is sendable"); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | BuiltinArrayAlgorithms.ets | 10 * distributed under the License is distributed on an "AS IS" BASIS, 32 …* Lower bound is an index of a first element, where (element < key) is false. If no such element i… 34 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple… 40 * @param endIndex a last index to stop search in arr, i.e. arr[endIndex] is not checked 42 * @returns index such (arr[index] < key) is false. If no such index is found than endIndex 70 …* Lower bound is an index of a first element, where (element < key) is false. If no such element i… 72 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple… 76 * @returns index such (arr[index] < key) is false. If no such index is found than arr.length 85 …* Upper bound is an index of a first element, where (key < element) is true. If no such element is… 87 …* @param arr array to find a upper bound of a key. Has to be sorted, otherwise the answer is imple… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/ |
| D | Array_builtin_algorithms.ets.j2 | 10 * distributed under the License is distributed on an "AS IS" BASIS, 36 …* Lower bound is an index of a first element, where (element < key) is false. If no such element i… 38 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple… 44 * @param endIndex a last index to stop search in arr, i.e. arr[endIndex] is not checked 46 * @returns index such (arr[index] < key) is false. If no such index is found than endIndex 74 …* Lower bound is an index of a first element, where (element < key) is false. If no such element i… 76 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple… 80 * @returns index such (arr[index] < key) is false. If no such index is found than arr.length 89 …* Upper bound is an index of a first element, where (key < element) is true. If no such element is… 91 …* @param arr array to find a upper bound of a key. Has to be sorted, otherwise the answer is imple… [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/crashStack/offColumn/js/ |
| D | off-column-callthis-expected.txt | 1 1 is not callable 4 call is not callable 7 1 is not callable 10 1 is not callable 13 call is not callable 16 1 is not callable 19 1 is not callable 22 call is not callable 25 1 is not callable 28 1 is not callable [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/crashStack/enableColumn/js/ |
| D | enable-column-callthis-expected.txt | 1 1 is not callable 4 1 is not callable 7 1 is not callable 10 1 is not callable 13 1 is not callable 16 1 is not callable 19 1 is not callable 22 1 is not callable 25 1 is not callable 28 1 is not callable [all …]
|