Home
last modified time | relevance | path

Searched full:code (Results 1 – 25 of 2407) sorted by relevance

12345678910>>...97

/arkcompiler/ets_runtime/test/aottest/tryldglobalbyname_global_object/
Dexpect_output.txt14 function Function() { [native code] }
17 function RangeError() { [native code] }
20 function Error() { [native code] }
23 function Object() { [native code] }
26 function SyntaxError() { [native code] }
29 function TypeError() { [native code] }
32 function ReferenceError() { [native code] }
35 function URIError() { [native code] }
38 function Symbol() { [native code] }
41 function EvalError() { [native code] }
[all …]
/arkcompiler/runtime_core/compiler/tests/amd64/
Dasmjit_test.cpp52 // Runtime designed for JIT code execution. in TEST_F()
55 // Holds code and relocation information. in TEST_F()
56 CodeHolder code(GetAllocator()); in TEST_F() local
57 code.init(rt.environment()); in TEST_F()
59 x86::Assembler a(&code); in TEST_F()
67 // Add the generated code to the runtime. in TEST_F()
68 Error err = rt.add(&fn, &code); in TEST_F()
77 // Runtime designed for JIT code execution. in TEST_F()
80 // Holds code and relocation information. in TEST_F()
81 CodeHolder code(GetAllocator()); in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/selectors/
Dcode.test.ts16 …selectCompileLoading, selectRunLoading, selectCode, selectCompileRes, selectRunRes } from './code';
18 import { ICodeReq } from '../../models/code';
21 describe('Code Selectors', () => {
28 it('should select the compile loading state from code', () => {
30 mockState.code.isCompileLoading = true;
34 it('should select the run loading state from code', () => {
36 mockState.code.isRunLoading = true;
40 it('should select the current code from code state', () => {
41 expect(selectCode(mockState)).toBe('initial code');
42 mockState.code.code = 'updated code';
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/
Dasmjit_test.cpp56 // Runtime designed for JIT code execution. in TEST_F()
59 // Holds code and relocation information. in TEST_F()
60 CodeHolder code(GetAllocator()); in TEST_F() local
61 code.init(rt.environment()); in TEST_F()
63 x86::Assembler a(&code); in TEST_F()
71 // Add the generated code to the runtime. in TEST_F()
72 Error err = rt.add(&fn, &code); in TEST_F()
81 // Runtime designed for JIT code execution. in TEST_F()
84 // Holds code and relocation information. in TEST_F()
85 CodeHolder code(GetAllocator()); in TEST_F() local
[all …]
/arkcompiler/runtime_core/compiler/tests/x86/
Dasmjit_test.cpp28 // Runtime designed for JIT code execution. in TEST_F()
31 // Holds code and relocation information. in TEST_F()
32 CodeHolder code; in TEST_F() local
33 code.init(rt.environment()); in TEST_F()
35 x86::Assembler a(&code); in TEST_F()
43 // Add the generated code to the runtime. in TEST_F()
44 Error err = rt.add(&fn, &code); in TEST_F()
53 // Runtime designed for JIT code execution. in TEST_F()
56 // Holds code and relocation information. in TEST_F()
57 CodeHolder code; in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/x86/
Dasmjit_test.cpp27 // Runtime designed for JIT code execution. in TEST_F()
30 // Holds code and relocation information. in TEST_F()
31 CodeHolder code; in TEST_F() local
32 code.init(rt.environment()); in TEST_F()
34 x86::Assembler a(&code); in TEST_F()
42 // Add the generated code to the runtime. in TEST_F()
43 Error err = rt.add(&fn, &code); in TEST_F()
52 // Runtime designed for JIT code execution. in TEST_F()
55 // Holds code and relocation information. in TEST_F()
56 CodeHolder code; in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/snippet_verifier/
DREADME.md31 …screpancies may arise between the stated and actual behavior of the given code examples. To automa…
35 - partN - The code block is the N part of the overall snippet
36 … stated in the specification. If the error type is not specified, but the code should not be compi…
37 - not-subset - this code is not subset of ts
40 .. code-block-meta:
46 .. code-block:: typescript
55 The parameters of the snippet should be declared immediately before the code block in .rst file.
59 .. code-block-meta:
63 .. code-block-meta:
68 .. code-block-meta:
[all …]
/arkcompiler/runtime_core/libpandafile/
Dtypes.yaml17 code: 0x0
22 code: 0x01
27 code: 0x02
34 code: 0x03
42 code: 0x04
50 code: 0x05
58 code: 0x06
66 code: 0x07
74 code: 0x08
82 code: 0x09
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/
Dtypes.yaml17 code: 0x0
22 code: 0x01
27 code: 0x02
34 code: 0x03
42 code: 0x04
50 code: 0x05
58 code: 0x06
66 code: 0x07
74 code: 0x08
82 code: 0x09
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/backend/tests/fixtures/
Doverrides.py25 async def compile_run_arkts(code: str, options: list, disasm: bool = False):
28 "output": f"testing output: {code}, {options}",
29 "error": f"testing error: {code}",
33 "output": f"testing output: {code}",
34 "error": f"testing error: {code}",
41 "output": f"testing output: {code}",
42 "error": f"testing error: {code}",
43 "code": "disasm code",
49 async def compile_arkts(code: str, options: list, disasm: bool = False):
52 "output": f"testing output: {code}, {options}",
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/06.type_inference/01.smart_types/
Dfunc_overload.params.yaml15 - code: |-
20 - code: |-
25 - code: |-
30 - code: |-
35 - code: |-
40 - code: |-
45 - code: |-
50 - code: |-
55 - code: |-
61 - code: |-
[all …]
Dun_num_ops.params.yaml20 code: |-
32 code: |-
39 - code: |-
43 - code: |-
50 - code: |-
58 - code: |-
64 - code: |-
71 - code: |-
78 - code: |-
86 - code: |-
[all …]
Dun_bool_ops.params.yaml20 code: |-
27 - code: |-
31 - code: |-
39 - code: |-
48 - code: |-
56 - code: |-
65 - code: |-
73 - code: |-
82 - code: |-
90 - code: |-
[all …]
Dun1.params.yaml16 - code: |-
21 - code: |-
27 - code: |-
38 - code: |-
58 code: |-
74 code: |-
89 code: |-
104 code: |-
113 - code: |-
122 - code: |-
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sendable/
Dsendable.ts31 print('sendable inherit from sendable failed. err: ' + err + ', code: ' + err.code);
45 print('sendable inherit from non-sendable failed. err: ' + err + ', code: ' + err.code);
63 print('sendable change proto failed. err: ' + err + ', code: ' + err.code);
78 print('non-sendable inherit from non-sendable failed. err: ' + err + ', code: ' + err.code);
93 print('non-sendable inherit from sendable failed. err: ' + err + ', code: ' + err.code);
115 print('sendable contain sendable failed. err: ' + err + ', code: ' + err.code);
131 print('sendable contain non-sendable failed. err: ' + err + ', code: ' + err.code);
145 print('sendable contain static non-sendable failed. err: ' + err + ', code: ' + err.code);
156 print('sendable contain undefined failed. err: ' + err + ', code: ' + err.code);
187 print('sendable contain lexenv failed. err: ' + err + ', code: ' + err.code);
[all …]
/arkcompiler/runtime_core/libabckit/src/
Dmacros.h31 // CC-OFFNXT(G.PRE.02) code readability
36 /* CC-OFFNXT(G.PRE.05) code generation */ \
39 // CC-OFFNXT(G.PRE.02) code readability
44 /* CC-OFFNXT(G.PRE.05) code generation */ \
47 // CC-OFFNXT(G.PRE.02) code readability
52 /* CC-OFFNXT(G.PRE.05) code generation */ \
55 // CC-OFFNXT(G.PRE.02) code readability
60 /* CC-OFFNXT(G.PRE.05) code generation */ \
63 // CC-OFFNXT(G.PRE.02) code readability
68 /* CC-OFFNXT(G.PRE.05) code generation */ \
[all …]
/arkcompiler/runtime_core/static_core/docs/bc_verification/
Dcflow_checks.md6 code
15 code
30 code
46 code
55 code
65 code
83 code
94 code |
102 into code, then they will be considered ok. Currently, due to imprecision
105 ### Code to exception handler
[all …]
/arkcompiler/runtime_core/docs/bc_verification/
Dcflow_checks.md6 code
15 code
30 code
46 code
55 code
65 code
83 code
94 code |
102 into code, then they will be considered ok. Currently, due to imprecision
105 ### Code to exception handler
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sharedcollectionsexception/
Dsharedcollectionsexception.ts43 print("call boundAt fail. err: " + err + ", errCode: " + err.code);
52 print("Call boundConcat fail. err: " + err + ", errCode: " + err.code);
61 print("Call boundEntries failed. err: " + err + ", errCode: " + err.code);
70 print("Call boundFill failed. err: " + err + ", errCode: " + err.code);
79 print("Call boundFilter failed. err: " + err + ", errCode: " + err.code);
88 print("Call boundFind failed. err: " + err + ", errCode: " + err.code);
97 print("Call boundFindIndex failed. err: " + err + ", errCode: " + err.code);
106 print("Call boundForEach failed. err: " + err + ", errCode: " + err.code);
115 print("Call boundIndexOf failed. err: " + err + ", errCode: " + err.code);
124 print("Call boundJoin failed. err: " + err + ", errCode: " + err.code);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/system_arkts/
Dguide.rst16 The main goal of "System |LANG|" is to help developers make their ArkTS code
21 to rewrite the code.
26 The original code requires modifications that keep the code within the Common
29 The original code requires modifications that are not within the Common
34 * **ets-subset-warnings** : Enable all ETS-warnings to keep the code in subset with |T…
53 1. Write some |LANG| code. E.g., you have the following chunk of code:
55 .. code-block:: typescript
72 4. Look through the ETS-Warnings in the output. For the code in the example
81 5. Rewrite the code as suggested by "System |LANG|". After rewriting |LANG|,
82 the code is as follows:
[all …]
/arkcompiler/ets_runtime/test/aottest/ts_inline_accessor_symbol/
Dts_inline_accessor_symbol.ts18 class Code {
49 function createTest(): Code {
50 let code = new Code();
51 let bb0 = code.addBase();
52 let bb1 = code.addBase();
53 return code
57 let code = createTest()
58 code.hash()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/exceptions/
Dts_custom_exception.ts18 code: number; property
22 code: number; property in CustomErrorA
24 constructor(message: string, code: number) {
27 this.code = code;
31 export function createCustomErrorA(message: string, code: number): CustomErrorA {
32 return new CustomErrorA(message, code);
/arkcompiler/runtime_core/static_core/plugins/ets/doc/interop_js/
D6_arkts_features.rst23 .. code-block:: typescript
32 .. code-block:: javascript
43 .. code-block:: typescript
52 .. code-block:: javascript
65 .. code-block:: typescript
74 .. code-block:: javascript
83 .. code-block:: typescript
94 .. code-block:: javascript
109 .. code-block:: typescript
118 .. code-block:: javascript
[all …]
/arkcompiler/runtime_core/docs/
Druntime-compiled_code-interaction.md1 # Interaction of compiled code and the runtime
5 During execution compiled code and Panda runtime should interact with each other. This document des…
8 * The structure of compiled code stack frames and stack traversing
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 …
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`…
34 When the compiler generates native code for this function for ARM target it must consider that
[all …]
/arkcompiler/jsvm/
DREADME.en.md4 …capabilities, including creating and destroying a JS engine, executing JS code, and implementing i…
8code segment to be directly run during application runtime. With JSVM-API, you can also use C/C++ …
17 ├── src # jsvm source code
18 │ ├── inspector # source code about inspector
19 │ └── platform # source code related to platform
42 3. Commit your code

12345678910>>...97