Home
last modified time | relevance | path

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

12345678910>>...331

/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/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
96 * Appends a boolean as string to the builder's internal buffer
98 * @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 …]
Dfile_format.md6 * Support for fast access to information.
13 doesn't fit in 16-bit unsigned integer. It leads to application developer have to create several
16 Current binary file format should extend these limits to conform to the modern requirements.
18 To achieve this, all references in the binary file are 4 bytes long. It allows to have 4Gb for
21 The format uses [TaggedValue](#taggedvalue) which allows to store only information we have and
22 avoid 0 offsets to absent information.
24 But to achieve more compactness 16-bit indexes are used to refer classes, methods and fields in
30 Binary file format should support fast access to information. It means that
33 a sorted list of offsets to classes. This index is compact and allows to find a type definition
40 having an offset to an entity it doesn't matter whether the entity is local or foreign.
[all …]
Ddesign-of-interpreter.md11 | Requirements | Enlists the requirements to the component. |
12 | Key Design Decisions | Summarizes the key decisions to address the requirements. |
16 Please refer to the [glossary](glossary.md) for terminology clarification.
23 1. The platform should scale from microcontrollers to hi-end mobile phones:
25 1. It should be able to run consuming 64Kb of RAM.
33 1. Bytecode should allow the interpreter to run no slower than state of the art interpreters.
34 1. Bytecode should be compact in size to avoid bloating application code.
35 1. Bytecode description should have a single entry point to simplify maintenance
40 1. Bytecode is register-based: all arguments and variables are mapped to virtual registers,
58 * Converter from bytecode to the compiler's intermediate representation is partially implemented
[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 …]
Dfile_format.md6 * Support for fast access to information.
13 doesn't fit in 16-bit unsigned integer. It leads to application developer have to create several
16 Current binary file format should extend these limits to conform to the modern requirements.
18 To achieve this, all references in the binary file are 4 bytes long. It allows to have 4Gb for
21 The format uses [TaggedValue](#taggedvalue) which allows to store only information we have and
22 avoid 0 offsets to absent information.
24 But to achieve more compactness 16-bit indexes are used to refer classes, methods and fields in
30 Binary file format should support fast access to information. It means that
33 a sorted list of offsets to classes. This index is compact and allows to find a type definition
40 having an offset to an entity it doesn't matter whether the entity is local or foreign.
[all …]
Ddesign-of-interpreter.md11 | Requirements | Enlists the requirements to the component. |
12 | Key Design Decisions | Summarizes the key decisions to address the requirements. |
16 Please refer to the [glossary](glossary.md) for terminology clarification.
23 1. The platform should scale from microcontrollers to hi-end mobile phones:
25 1. It should be able to run consuming 64Kb of RAM.
33 1. Bytecode should allow the interpreter to run no slower than state of the art interpreters.
34 1. Bytecode should be compact in size to avoid bloating application code.
35 1. Bytecode description should have a single entry point to simplify maintenance
40 1. Bytecode is register-based: all arguments and variables are mapped to virtual registers,
58 * Converter from bytecode to the compiler's intermediate representation is partially implemented
[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/ets2panda/linter/test/
Dnull_check_calls.ts.json10 "Unless required by applicable law or agreed to in writing, software",
28 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number[]'.",
29 "rule": "Argument of type 'null' is not assignable to parameter of type 'number[]'."
35 "suggest": "Argument of type 'null' is not assignable to parameter of type 'number'.",
36 "rule": "Argument of type 'null' is not assignable to parameter of type 'number'."
42 … of type 'number | null' is not assignable to parameter of type 'number'.\n Type 'null' is not as…
43 … of type 'number | null' is not assignable to parameter of type 'number'.\n Type 'null' is not as…
49 … of type 'number | null' is not assignable to parameter of type 'number'.\n Type 'null' is not as…
50 … of type 'number | null' is not assignable to parameter of type 'number'.\n Type 'null' is not as…
56 "suggest": "Type 'null' is not assignable to type 'Object'.",
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/
Dwhy.rst7 Unless required by applicable law or agreed to in writing, software
15 Why Migrate from |TS| to |LANG|
18 This chapter explains why it makes sense to migrate from the standard |TS| to
22 allowing programs to write code fast. At the same time, these languages are
24 to check some value for ``undefined``---as a result, the program would crash
25 causing inconvenience to users. Detecting such issues during the development
27 with types and having many errors detected by the compiler prior to the
31 to overcome this drawback by enabling static typing for even stricter
33 - Program performance. To ensure correctness of the program, dynamically-typed
34 languages have to check actual types of objects when the program actually
[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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/
DArray_builtin_algorithms.sts.j29 * Unless required by applicable law or agreed to in writing, software
34 * tries to find a lower bound of a key in sorted arr.
35 * The array has to be sorted before calling this function.
38 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple…
40 * @param key a value to find lower bound of
42 * @param startIndex an index of arr to begin search with
44 * @param endIndex a last index to stop search in arr, i.e. arr[endIndex] is not checked
72 * tries to find a lower bound of a key in sorted arr.
73 * The array has to be sorted before calling this function.
76 …* @param arr array to find a lower bound of a key. Has to be sorted, otherwise the answer is imple…
[all …]
/arkcompiler/toolchain/
DLICENSE19 "control" means (i) the power, direct or indirect, to cause the
28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
34 and conversions to other media types.
38 copyright notice that is included in or attached to the work
46 separable from, or merely link (or bind by name) to the interfaces of,
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
53 or by an individual or Legal Entity authorized to submit on behalf of
56 to the Licensor or its representatives, including but not limited to
[all …]
/arkcompiler/runtime_core/static_core/
DLICENSE19 "control" means (i) the power, direct or indirect, to cause the
28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
34 and conversions to other media types.
38 copyright notice that is included in or attached to the work
46 separable from, or merely link (or bind by name) to the interfaces of,
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
53 or by an individual or Legal Entity authorized to submit on behalf of
56 to the Licensor or its representatives, including but not limited to
[all …]
/arkcompiler/ets_runtime/
DLICENSE19 "control" means (i) the power, direct or indirect, to cause the
28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
34 and conversions to other media types.
38 copyright notice that is included in or attached to the work
46 separable from, or merely link (or bind by name) to the interfaces of,
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
53 or by an individual or Legal Entity authorized to submit on behalf of
56 to the Licensor or its representatives, including but not limited to
[all …]
/arkcompiler/runtime_core/static_core/runtime/fibers/
Dfiber_context.h9 * Unless required by applicable law or agreed to in writing, software
40 * These functions allow the user to:
42 * - switch back to it
44 * None of these functions performs any system calls to the OS kernel.
51 /// @brief Saves current usermode context to the provided buffer in memory.
55 * @brief Saves current context and switches to the target one.
56 * @param from the buffer to save the current context in
57 * @param to the buffer to load the new context from
59 extern "C" int SwitchContext(FiberContext *from, const FiberContext *to);
65 …* @param func the new entry point. After a context switch to ctx with SwitchContext(), the control…
[all …]

12345678910>>...331