Home
last modified time | relevance | path

Searched full:to (Results 1 – 25 of 9124) sorted by relevance

12345678910>>...365

/arkcompiler/ets_runtime/test/sharedtest/check/
Dexpect_output.txt8 # 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 …]
Dsharedcheck.ts9 * 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/tests/ets_warnings_tests/implicit_boxing_unboxing_tests/
Dimplicit_boxing_unboxing_1-expected.txt1 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/ets_frontend/arkguard/test/ut/initialization/
DConfigResolver-hsp.spec.ts9 * Unless required by applicable law or agreed to in writing, software
264 expect(hspObfuscationContent).not.to.include('-disable-obfuscation');
265 expect(hspObfuscationContent).to.include('-enable-toplevel-obfuscation');
266 expect(hspObfuscationContent).not.to.include('-enable-property-obfuscation');
267 expect(hspObfuscationContent).not.to.include('-enable-string-property-obfuscation');
268 expect(hspObfuscationContent).not.to.include('-enable-filename-obfuscation');
269 expect(hspObfuscationContent).not.to.include('-enable-export-obfuscation');
270 expect(hspObfuscationContent).not.to.include('-remove-comments');
271 expect(hspObfuscationContent).not.to.include('-compact');
272 expect(hspObfuscationContent).not.to.include('-remove-log');
[all …]
DConfigResolver.spec.ts9 * 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/static_core/plugins/ets/stdlib/std/core/
DConsole.sts9 * Unless required by applicable law or agreed to in writing, software
25 * Standard console, that provides access to standard output stream
31 * Prints an object to the console
33 * @param i value to print
40 * Prints a string to the console
42 * @param i value to print
47 * Prints a boolean to the console
49 * @param i value to print
54 * Prints a byte to the console
56 * @param i value to print
[all …]
DStringBuilder.sts9 * Unless required by applicable law or agreed to in writing, software
26 …] = new NullableObject[StringBuilder.INITIAL_BUF_SIZE]; // array with pointers to strings or char[]
39 * @param fromChars array that will be used to initialize the builder
53 * @param s string that will be used to initialize the builder
75 * Appends an object representation as string to the builder's internal buffer
77 * @param o object that will be converted to a string
87 * Appends a string to the builder's internal buffer
89 * @param s string to be appended
100 * Appends a boolean as string to the builder's internal buffer
102 * @param i value to be appended
[all …]
DBuiltinArrayAlgorithms.sts9 * 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/docs/
Ddoxygen.config3 # 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 …]
Drationale-for-bytecode.md26 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 …]
Druntime-compiled_code-interaction.md9 * 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/docs/
Ddoxygen.config3 # 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 …]
Druntime-compiled_code-interaction.md9 * 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 …]
Drationale-for-bytecode.md26 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/libabckit/
D.doxygen3 # 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/ets_frontend/ets2panda/linter/test/main/
Dfunctions.ts.json10 "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 …]
Dundefined_check_calls.ts.json10 "Unless required by applicable law or agreed to in writing, software",
23 … "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'.",
24 … "rule": "Argument of type 'undefined' is not assignable to parameter of type 'number[]'.",
33 …"suggest": "Argument of type 'string | undefined' is not assignable to parameter of type 'Resource…
34 …"rule": "Argument of type 'string | undefined' is not assignable to parameter of type 'ResourceStr…
43 "suggest": "Type 'undefined' is not assignable to type 'Object'.",
44 "rule": "Type 'undefined' is not assignable to type 'Object'.",
53 "suggest": "Type 'undefined' is not assignable to type 'Object'.",
54 "rule": "Type 'undefined' is not assignable to type 'Object'.",
63 "suggest": "Argument of type 'undefined' is not assignable to parameter of type 'A'.",
[all …]
Dnull_check_calls.ts.json10 "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/
Dfloatcast-test-0.pa8 # 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/
DApiExtractor.spec.ts9 * Unless required by applicable law or agreed to in writing, software
650 expect(fileWhiteList!.fileReservedInfo.propertyParams.has('para1')).to.be.true;
651 expect(fileWhiteList!.fileReservedInfo.propertyParams.has('para2')).to.be.true;
652 expect(fileWhiteList!.fileReservedInfo.propertyParams.has('para3')).to.be.true;
653 expect(fileWhiteList!.fileReservedInfo.propertyParams.has('para4')).to.be.true;
654 expect(ApiExtractor.mConstructorPropertySet.has('para1')).to.be.true;
655 expect(ApiExtractor.mConstructorPropertySet.has('para2')).to.be.true;
656 expect(ApiExtractor.mConstructorPropertySet.has('para3')).to.be.true;
657 expect(ApiExtractor.mConstructorPropertySet.has('para4')).to.be.true;
671 expect(fileWhiteList!.fileReservedInfo.enumProperties.has('A1')).to.be.false;
[all …]
DApiReader.spec.ts9 * Unless required by applicable law or agreed to in writing, software
70 expect(fileWhiteList1.fileKeepInfo.enumProperties.has('BLOCK_PARAM1')).to.be.true;
71 expect(fileWhiteList1.fileKeepInfo.enumProperties.has('BLOCK_PARAM2')).to.be.true;
73 expect(fileWhiteList2.fileKeepInfo.enumProperties.has('ENUM_PARAM1')).to.be.true;
74 expect(fileWhiteList2.fileKeepInfo.enumProperties.has('ENUM_PARAM2')).to.be.true;
76 expect(fileWhiteList3.fileKeepInfo.enumProperties.has('EXPORT_PARAM1')).to.be.true;
77 expect(fileWhiteList3.fileKeepInfo.enumProperties.has('EXPORT_PARAM2')).to.be.true;
79 expect(fileWhiteList4.fileKeepInfo.enumProperties.has('NS_PARAM1')).to.be.true;
80 expect(fileWhiteList4.fileKeepInfo.enumProperties.has('NS_PARAM2')).to.be.true;
121 expect(fileWhiteList1.fileKeepInfo.enumProperties.has('BLOCK_PARAM1')).to.be.true;
[all …]
DProjectCollections.spec.ts9 * 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/libabckit/include/c/extensions/arkts/
Dmetadata_arkts.h9 * Unless required by applicable law or agreed to in writing, software
36 * @brief Struct that holds the pointers to the non-modifying API for Arkts-specific Abckit types.
76 …* @brief Convert an instance of type `AbckitArktsModule` to the instance of type `AbckitCoreModule…
77 * used to invoke the corresponding APIs.
78 * @return Pointer to the language-independent representation of the `m`.
79 * @param [ in ] m - Module to convert.
85 …* @brief Convert an instance of type `AbckitCoreModule` to the instance of type `AbckitArktsModule…
86 * used to invoke the corresponding APIs.
87 * @return Pointer to the language-dependent representation of the `m`.
88 * @param [ in ] m - Module to convert.
[all …]
/arkcompiler/runtime_core/libabckit/include/c/
Dmetadata_core.h9 * 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…
135 * @brief Struct that holds the pointers to the non-modifying API for core Abckit types.
149 * @param [ in ] file - Binary file to read version from.
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 `…
172 * @param [ in ] file - Binary file to enumerate external modules in.
173 …* @param [ in, out ] data - Pointer to the user-defined data that will be passed to the callback `…
188 …* @brief Converts value of type `AbckitString` to C-style null-terminated string. Returned pointer…
189 * used to write to the memory.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DGlobal.sts9 * Unless required by applicable law or agreed to in writing, software
19 * Represents the NaN value according to IEEE-754 specification
24 * Represents the +Infinity value according to IEEE-754 specification
31 * This function is an equivalent to @link{<Double.parseInt(s, radix)>}
42 * This function is an equivalent to @link{<Double.parseInt(s, radix)>}
53 * This function is an equivalent to @link{<Double.parseInt(s, radix)>}
64 * This function is an equivalent to @link{<Double.parseFloat(s)>}
75 * @param d the Double to test
86 * @param d the `double` to test
97 * @param f the `Float` value to test
[all …]

12345678910>>...365