Home
last modified time | relevance | path

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

12345678910>>...75

/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/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/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/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/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/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/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/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 …]
Dif_stmt2.params.yaml23 code: |-
35 code: |-
47 code: |-
59 code: |-
72 code: |-
86 code: |-
100 code: |-
114 code: |-
129 code: |-
145 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 …]
Dexpect_output.txt15 …from non-sendable failed. err: TypeError: Class not derived from a sendable object, code: undefined
16 sendable change proto failed. err: TypeError: Cannot set proto with sendable object, code: undefined
18 …le failed. err: TypeError: The subclass of sendable class must be a sendable class, code: undefined
20 …sendable failed. err: TypeError: Cannot set sendable property with mismatched type, code: undefined
21 …sendable failed. err: TypeError: Cannot set sendable property with mismatched type, code: undefined
25 sendable add property failed. err: TypeError: Cannot add property in prevent extensions, code: unde…
26 …property failed. err: TypeError: Cannot set sendable property with mismatched type, code: undefined
27 sendable delete property failed. err: TypeError: Cannot delete property, code: undefined
/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/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/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/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dopcodes.h45 inline constexpr bool IsDAssign(Opcode code) in IsDAssign() argument
47 return (code == OP_dassign || code == OP_maydassign); in IsDAssign()
50 inline constexpr bool IsCallAssigned(Opcode code) in IsCallAssigned() argument
52 …return (code == OP_callassigned || code == OP_virtualcallassigned || code == OP_virtualicallassign… in IsCallAssigned()
53 code == OP_superclasscallassigned || code == OP_interfacecallassigned || in IsCallAssigned()
54code == OP_interfaceicallassigned || code == OP_customcallassigned || code == OP_polymorphiccallas… in IsCallAssigned()
55code == OP_icallassigned || code == OP_icallprotoassigned || code == OP_intrinsiccallassigned || in IsCallAssigned()
56 code == OP_xintrinsiccallassigned || code == OP_intrinsiccallwithtypeassigned); in IsCallAssigned()
/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/ets_runtime/test/sharedtest/sharedarray/
Dsharedarray.ts178 print("add element by index access failed. err: " + err + ", code: " + err.code);
184 print("add element by index access failed. err: " + err + ", code: " + err.code);
190 print("add element by index access failed. err: " + err + ", code: " + err.code);
209 print("add element by index access failed. err: " + err + ", code: " + err.code);
225 print("Create from empty element list failed. err: " + err + ", code: " + err.code);
231 … print("Create from sendable undefined element list failed. err: " + err + ", code: " + err.code);
319 print("slice element failed. err: " + err + ", code: " + err.code);
326 print("slice element failed. err: " + err + ", code: " + err.code);
333 print("slice element failed. err: " + err + ", code: " + err.code);
339 print("slice element failed. err: " + err + ", code: " + err.code);
[all …]
Dexpect_output.txt52 add element by index access failed. err: TypeError: Cannot add property in prevent extensions, code
53 add element by index access failed. err: TypeError: Cannot add property in prevent extensions, code
54 add element by index access failed. err: BusinessError: The value of index is out of range., code: …
58 add element by index access failed. err: BusinessError: The value of index is out of range., code: …
138 …nt by splice api failed. err: BusinessError: Parameter error.Only accept sendable value., code: 401
139 …nt by splice api failed. err: BusinessError: Parameter error.Only accept sendable value., code: 401
142 … without initialValue failed. err: BusinessError: Parameter error.Not enough parameters., code: 401
143 Create with negative length failed. err: BusinessError: Parameter error.Invalid array length., code
145 …with exceed max length failed. err: BusinessError: Parameter error.Invalid array length., code: 401
153 Shrink to -1 fail. err: BusinessError: Parameter error.Invalid array length., code: 401
[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/runtime_core/static_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 argument: the pointer to `ark::Method` wh…
34 When the compiler generates native code for this function for ARM target it must consider that
[all …]

12345678910>>...75