| /arkcompiler/ets_runtime/test/sharedtest/check/ |
| D | expect_output.txt | 8 # Unless required by applicable law or agreed to in writing, software 20 Success update propString to null with stobjbyname 21 Success update subClassPropSendable to null with stobjbyname 22 Fail to update propNumber to null with stobjbyname. err: TypeError: Cannot set sendable property wi… 23 Fail to update propBool to null with stobjbyname. err: TypeError: Cannot set sendable property with… 24 Fail to update propBigInt1 to null with stobjbyname. err: TypeError: Cannot set sendable property w… 25 Fail to update propBigInt2 to null with stobjbyname. err: TypeError: Cannot set sendable property w… 26 Success update propStringOrNull to null with stobjbyname 27 Success update propNumberOrNull to null with stobjbyname 28 Success update propBoolOrNull to null with stobjbyname [all …]
|
| D | sharedcheck.ts | 9 * Unless required by applicable law or agreed to in writing, software 32 * Unless required by applicable law or agreed to in writing, software 149 print("Fail to delete propNumber. err: " + error) 157 print("Success to extend prop with defineProperty") 159 print("Fail to extend prop with defineProperty. err: " + error); 166 print("Fail to extend prop1 with defineProperty. err: " + error) 173 print("Fail to extend prop2 with defineProperties. err: " + error) 180 print("Fail to extend prop3 with stobjbyname. err: " + error) 190 print("Fail to replace instance's func. err: " + error); 200 print("Fail to update prototype. err: " + error) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ani/docs/ |
| D | ani.md | 17 - env: A pointer to the environment structure. 18 - class_descriptor: The descriptor of the class to find. 19 - result: A pointer to the class to be populated. 32 - env: A pointer to the environment structure. 33 - cls: The class to query. 34 - name: The name of the static method to retrieve. 35 - signature: The signature of the static method to retrieve. 36 - result: A pointer to store the retrieved static method. 41 …d a static method in the specified class and convert it to an object of type `ani_datic_sthod` to … 48 - env: A pointer to the environment structure. [all …]
|
| /arkcompiler/ets_frontend/ets2panda/bindings/test/testcases/ |
| D | cases.json | 3 "expectedFilePath": "path/to/bindings/test/expected/getDefinitionAtPosition.json", 5 "path/to/bindings/test/testcases/getDefinitionAtPosition/getDefinitionAtPosition2.ets", 9 "path/to/bindings/test/testcases/getDefinitionAtPosition/getDefinitionAtPosition3.ets", 13 "path/to/bindings/test/testcases/getDefinitionAtPosition/getDefinitionAtPosition5.ets", 17 "path/to/bindings/test/testcases/getDefinitionAtPosition/getDefinitionAtPosition7.ets", 21 "path/to/bindings/test/testcases/getDefinitionAtPosition/getDefinitionAtPosition9.ets", 25 "path/to/bindings/test/testcases/getDefinitionAtPosition/getDefinitionAtPosition11.ets", 29 "path/to/bindings/test/testcases/getDefinitionAtPosition/getDefinitionAtPosition13.ets", 33 "path/to/bindings/test/testcases/getDefinitionAtPosition/getDefinitionAtPosition15.ets", 37 "path/to/bindings/test/testcases/getDefinitionAtPosition/getDefinitionAtPosition17.ets", [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/ets_frontend/arkguard/test/ut/initialization/ |
| D | ConfigResolver-hsp.spec.ts | 9 * Unless required by applicable law or agreed to in writing, software 265 expect(hspObfuscationContent).not.to.include('-disable-obfuscation'); 266 expect(hspObfuscationContent).to.include('-enable-toplevel-obfuscation'); 267 expect(hspObfuscationContent).not.to.include('-enable-property-obfuscation'); 268 expect(hspObfuscationContent).not.to.include('-enable-string-property-obfuscation'); 269 expect(hspObfuscationContent).not.to.include('-enable-filename-obfuscation'); 270 expect(hspObfuscationContent).not.to.include('-enable-export-obfuscation'); 271 expect(hspObfuscationContent).not.to.include('-remove-comments'); 272 expect(hspObfuscationContent).not.to.include('-compact'); 273 expect(hspObfuscationContent).not.to.include('-remove-log'); [all …]
|
| D | ConfigResolver.spec.ts | 9 * Unless required by applicable law or agreed to in writing, software 108 expect(ob1.disableObfuscation).to.be.true; 109 expect(ob1.enablePropertyObfuscation).to.be.true; 110 expect(ob1.enableToplevelObfuscation).to.be.true; 111 expect(ob1.printNameCache).to.equal('test'); 112 expect(ob1.printKeptNamesPath).to.equal('./test/ut/initialization/printKeptNamesPath.txt'); 113 expect(ob1.applyNameCache).to.equal('test case'); 134 expect(config1.reservedPropertyNames).to.deep.equal(['prop1', 'prop2']); 135 expect(config1.reservedGlobalNames).to.deep.equal(['global1', 'global2']); 136 expect(config1.keepComments).to.deep.equal(['comment1', 'comment2']); [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | doxygen.config | 3 # This file describes the settings to be used by the documentation system 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 52 # the logo to the output directory. 56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path 58 # entered, it will be relative to the location where doxygen was started. If 63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- 73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII 74 # characters to appear in the names of generated files. If set to NO, non-ASCII 81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 83 # information to generate all constant output in the proper language. [all …]
|
| D | runtime-compiled_code-interaction.md | 9 * Transition from the interpeter to compiled code and vise versa 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 …rpreter is a part of the runtime aimed to execute bytecode of managed functions. The interpreter i… 23 The compiler is aimed to translate managed function's bytecode to native code. The compiler has an … 25 changes its entrypoint to newly generated code. Next time when the function gets called native code… 28 Panda runtime and managed code must call functions according to the target calling convention. 29 Compiled code of a managed function must accept one extra argumnent: the pointer to `panda::Method`… 36 - a pointer to `panda::Method` in the register R0. 48 | pending_exception_ | panda::ObjectHeader* | A pointer to a thrown exception or 0 if there is n… [all …]
|
| D | rationale-for-bytecode.md | 26 Here comes the bytecode. Simply said, it is an attempt to build an abstract CPU on top of real 28 special program called _interpreter_. The goal of the interpreter is to read our unified _virtual_ 30 making interpretation slower than _native code execution_. In return, we get the ability to 38 to distinguish between an abstract system and the hardware. 45 One very important question is how an operation refers to its operands. 52 push_arg1 ; copy the first argument to the top of the stack 53 push_arg2 ; copy the second argument to the top of stack 74 require up to 4 bytes to encode. 76 At the same time, to execute a stack-based addition we need to run 3 instructions compared to 77 just a single register-based instruction. Since the interpreter has an extra work to do to read [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | doxygen.config | 3 # This file describes the settings to be used by the documentation system 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 52 # the logo to the output directory. 56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path 58 # entered, it will be relative to the location where doxygen was started. If 63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- 73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII 74 # characters to appear in the names of generated files. If set to NO, non-ASCII 81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 83 # information to generate all constant output in the proper language. [all …]
|
| D | rationale-for-bytecode.md | 26 Here comes the bytecode. Simply said, it is an attempt to build an abstract CPU on top of real 28 special program called _interpreter_. The goal of the interpreter is to read our unified _virtual_ 30 making interpretation slower than _native code execution_. In return, we get the ability to 38 to distinguish between an abstract system and the hardware. 45 One very important question is how an operation refers to its operands. 52 push_arg1 ; copy the first argument to the top of the stack 53 push_arg2 ; copy the second argument to the top of stack 74 require up to 4 bytes to encode. 76 At the same time, to execute a stack-based addition we need to run 3 instructions compared to 77 just a single register-based instruction. Since the interpreter has an extra work to do to read [all …]
|
| D | runtime-compiled_code-interaction.md | 9 * Transition from the interpeter to compiled code and vise versa 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 …rpreter is a part of the runtime aimed to execute bytecode of managed functions. The interpreter i… 23 The compiler is aimed to translate managed function's bytecode to native code. The compiler has an … 25 changes its entrypoint to newly generated code. Next time when the function gets called native code… 28 Panda runtime and managed code must call functions according to the target calling convention. 29 Compiled code of a managed function must accept one extra argument: the pointer to `ark::Method` wh… 36 - a pointer to `ark::Method` in the register R0. 46 The result of call is placed according to the target calling convention. [all …]
|
| /arkcompiler/runtime_core/libabckit/ |
| D | .doxygen | 3 # This file describes the settings to be used by the documentation system 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 52 # the logo to the output directory. 56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path 58 # entered, it will be relative to the location where doxygen was started. If 63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- 73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII 74 # characters to appear in the names of generated files. If set to NO, non-ASCII 81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 83 # information to generate all constant output in the proper language. [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ani/ |
| D | ani.h | 9 * Unless required by applicable law or agreed to in writing, software 258 * @param[in] env A pointer to the environment structure. 259 * @param[out] result A pointer to a variable where the version information will be stored. 269 * @param[in] env A pointer to the environment structure. 270 * @param[out] result A pointer to the VM instance to be populated. 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. 285 * @param[out] result A pointer to store the object return value. [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | functions.ets.json | 10 "Unless required by applicable law or agreed to in writing, software", 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'.", 153 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 154 "rule": "Argument of type 'null' is not assignable to parameter of type 'string'.", 163 "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", [all …]
|
| D | null_check_calls.ets.json | 10 "Unless required by applicable law or agreed to in writing, software", 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 … of type 'number | null' is not assignable to parameter of type 'number'.\n Type 'null' is not as… 54 … of type 'number | null' is not assignable to parameter of type 'number'.\n Type 'null' is not as… 63 … of type 'number | null' is not assignable to parameter of type 'number'.\n Type 'null' is not as… 64 … of type 'number | null' is not assignable to parameter of type 'number'.\n Type 'null' is not as… 73 "suggest": "Type 'null' is not assignable to type 'Object'.", [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-assembly/ |
| D | floatcast-test-0.pa | 8 # Unless required by applicable law or agreed to in writing, software 16 # f32toi32 (NaN to 0 check) 22 # f64toi64 (NaN to 0 check) 28 # f32tou32 (NaN to 0 check) 34 # f64tou64 (NaN to 0 check) 40 # f32toi64 (NaN to 0 check) 46 # f32tou64 (NaN to 0 check) 52 # f32toi32 (MAX_INT32 + 1F to MAX_INT32 check) 58 # f32toi32 (MIN_INT32 + 1F to MIN_INT32 (0x80000000) check) 59 # (sign bit set to 1 so if we sum float(MIN_INT32) with 1F [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
| D | ApiExtractor.spec.ts | 9 * Unless required by applicable law or agreed to in writing, software 674 expect(fileWhiteList!.fileReservedInfo.propertyParams.has('para1')).to.be.true; 675 expect(fileWhiteList!.fileReservedInfo.propertyParams.has('para2')).to.be.true; 676 expect(fileWhiteList!.fileReservedInfo.propertyParams.has('para3')).to.be.true; 677 expect(fileWhiteList!.fileReservedInfo.propertyParams.has('para4')).to.be.true; 678 expect(ApiExtractor.mConstructorPropertySet.has('para1')).to.be.true; 679 expect(ApiExtractor.mConstructorPropertySet.has('para2')).to.be.true; 680 expect(ApiExtractor.mConstructorPropertySet.has('para3')).to.be.true; 681 expect(ApiExtractor.mConstructorPropertySet.has('para4')).to.be.true; 695 expect(fileWhiteList!.fileReservedInfo.enumProperties.has('A1')).to.be.false; [all …]
|
| D | ApiReader.spec.ts | 9 * Unless required by applicable law or agreed to in writing, software 75 expect(fileWhiteList1.fileKeepInfo.enumProperties.has('BLOCK_PARAM1')).to.be.true; 76 expect(fileWhiteList1.fileKeepInfo.enumProperties.has('BLOCK_PARAM2')).to.be.true; 78 expect(fileWhiteList2.fileKeepInfo.enumProperties.has('ENUM_PARAM1')).to.be.true; 79 expect(fileWhiteList2.fileKeepInfo.enumProperties.has('ENUM_PARAM2')).to.be.true; 81 expect(fileWhiteList3.fileKeepInfo.enumProperties.has('EXPORT_PARAM1')).to.be.true; 82 expect(fileWhiteList3.fileKeepInfo.enumProperties.has('EXPORT_PARAM2')).to.be.true; 84 expect(fileWhiteList4.fileKeepInfo.enumProperties.has('NS_PARAM1')).to.be.true; 85 expect(fileWhiteList4.fileKeepInfo.enumProperties.has('NS_PARAM2')).to.be.true; 126 expect(fileWhiteList1.fileKeepInfo.enumProperties.has('BLOCK_PARAM1')).to.be.true; [all …]
|
| D | ProjectCollections.spec.ts | 9 * Unless required by applicable law or agreed to in writing, software 43 it('should add all elements from sourceSet to targetSet', ()=> { 47 expect(targetSet.size).to.be.equal(4); 48 expect(targetSet.has(1)).to.be.true; 49 expect(targetSet.has(2)).to.be.true; 50 expect(targetSet.has(3)).to.be.true; 51 expect(targetSet.has(4)).to.be.true; 55 it('should convert an array to a set', ()=> { 58 expect(set.size).to.be.equal(3); 59 expect(set.has(1)).to.be.true; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | StringBuilder.ets | 9 * Unless required by applicable law or agreed to in writing, software 24 …new (Object|undefined)[StringBuilder.INITIAL_BUF_SIZE]; // array with pointers to strings or char[] 37 * @param fromChars array that will be used to initialize the builder 51 * @param fromChars array that will be used to initialize the builder 65 * @param s string that will be used to initialize the builder 87 * Appends an object representation as string to the builder's internal buffer 89 * @param o object that will be converted to a string 99 * Appends a string to the builder's internal buffer 101 * @param s string to be appended 112 * Appends a boolean as string to the builder's internal buffer [all …]
|
| D | BuiltinArrayAlgorithms.ets | 9 * Unless required by applicable law or agreed to in writing, software 30 * tries to find a lower bound of a key in sorted arr. 31 * The array has to be sorted before calling this function. 34 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple… 36 * @param key a value to find lower bound of. It may be not in arr, lower bound will present anyway 38 * @param startIndex an index of arr to begin search with 40 * @param endIndex a last index to stop search in arr, i.e. arr[endIndex] is not checked 68 * tries to find a lower bound of a key in sorted arr. 69 * The array has to be sorted before calling this function. 72 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/attempt_invalid_type_conversion/ |
| D | attemp_invalid_type_conversion_only_compile.params.yaml | 8 # Unless required by applicable law or agreed to in writing, software 16 …- desc: Verify that attempting to cast a readonly property to a mutable property results in a type… 25 - desc: Verify that attempting to cast a function to a number results in a type error. 31 - desc: Verify that attempting to cast a boolean to a number results in a type error. 37 - desc: Verify that attempting to cast null to a number results in a type error. 43 - desc: Verify that attempting to cast a string to a number results in a type error. 49 - desc: Verify that directly assigning a number to a string variable results in a type error. 55 - desc: Verify that attempting to cast a number to a string results in a type error. 61 - desc: Verify that attempting to cast a class instance to a number results in a type error. 67 - desc: Verify that attempting to cast a class instance to a number results in a type error. [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/05.casting_conversions_to_type_parameter/ |
| D | cast_neg.params.yaml | 8 # Unless required by applicable law or agreed to in writing, software 15 - to: 'Object' 18 - to: 'C' 22 - to: 'I' 25 - to: 'FixedArray<byte>' 29 - to: 'FixedArray<C>' 33 - to: 'FixedArray<I>' 36 - to: '() => void' 40 - to: 'B|J' 44 - to: 'A|boolean' [all …]
|