Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/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.cpp56 CodeHolder code(GetAllocator()); in TEST_F() local
57 code.init(rt.environment()); in TEST_F()
59 x86::Assembler a(&code); in TEST_F()
68 Error err = rt.add(&fn, &code); in TEST_F()
81 CodeHolder code(GetAllocator()); in TEST_F() local
82 code.init(rt.environment()); in TEST_F()
85 x86::Assembler a(&code); in TEST_F()
90 func.init(FuncSignatureT<size_t, size_t, size_t>(CallConv::kIdHost), code.environment()); in TEST_F()
111 Error err = rt.add(&fn, &code); in TEST_F()
122 CodeHolder code(GetAllocator()); in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/
Dasmjit_test.cpp60 CodeHolder code(GetAllocator()); in TEST_F() local
61 code.init(rt.environment()); in TEST_F()
63 x86::Assembler a(&code); in TEST_F()
72 Error err = rt.add(&fn, &code); in TEST_F()
85 CodeHolder code(GetAllocator()); in TEST_F() local
86 code.init(rt.environment()); in TEST_F()
89 x86::Assembler a(&code); in TEST_F()
94 func.init(FuncSignatureT<size_t, size_t, size_t>(CallConv::kIdHost), code.environment()); in TEST_F()
115 Error err = rt.add(&fn, &code); in TEST_F()
126 CodeHolder code(GetAllocator()); in TEST_F() local
[all …]
/arkcompiler/runtime_core/compiler/tests/x86/
Dasmjit_test.cpp32 CodeHolder code; in TEST_F() local
33 code.init(rt.environment()); in TEST_F()
35 x86::Assembler a(&code); in TEST_F()
44 Error err = rt.add(&fn, &code); in TEST_F()
57 CodeHolder code; in TEST_F() local
58 code.init(rt.environment()); in TEST_F()
61 x86::Assembler a(&code); in TEST_F()
66 func.init(FuncSignatureT<size_t, size_t, size_t>(CallConv::kIdHost), code.environment()); in TEST_F()
87 Error err = rt.add(&fn, &code); in TEST_F()
99 CodeHolder code; in TEST_F() local
[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
112 code
[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
112 code
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/x86/
Dasmjit_test.cpp31 CodeHolder code; in TEST_F() local
32 code.init(rt.environment()); in TEST_F()
34 x86::Assembler a(&code); in TEST_F()
43 Error err = rt.add(&fn, &code); in TEST_F()
56 CodeHolder code; in TEST_F() local
57 code.init(rt.environment()); in TEST_F()
60 x86::Assembler a(&code); in TEST_F()
65 func.init(FuncSignatureT<size_t, size_t, size_t>(CallConv::kIdHost), code.environment()); in TEST_F()
86 Error err = rt.add(&fn, &code); in TEST_F()
98 CodeHolder code; in TEST_F() local
[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/ets_frontend/ts2panda/templates/
Ddiagnostic.ts.erb19 code:number;
23 …constructor(irnode:ts.Node | undefined, code:number, file?:ts.SourceFile | undefined, args?:(strin…
24 this.code = code
88 function diag(code:number, category:ts.DiagnosticCategory, key:string, message:string, reportsUnnec…
89 …return { code: code, category: category, key: key, message: message, reportsUnnecessary: reportsUn…
122 % code = data[1]["code"]
123 <%= propName %> = <%= code %>,
127 export function getDiagnostic(code:DiagnosticCode): ts.DiagnosticMessage|undefined {
128 switch (code) {
130 % def createKey(name,code)
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/cookbook_convertor/res/
Drecipes.rst30 .. code-block:: typescript
40 .. code-block:: typescript
86 .. code-block:: typescript
124 .. code-block:: typescript
133 .. code-block:: typescript
154 .. code-block:: typescript
162 .. code-block:: typescript
180 .. code-block:: typescript
204 .. code-block:: typescript
240 .. code-block:: typescript
[all …]
/arkcompiler/ets_frontend/ets2panda/linter-4.2/cookbook_convertor/res/
Drecipes.rst30 .. code-block:: typescript
40 .. code-block:: typescript
86 .. code-block:: typescript
124 .. code-block:: typescript
133 .. code-block:: typescript
154 .. code-block:: typescript
162 .. code-block:: typescript
180 .. code-block:: typescript
204 .. code-block:: typescript
240 .. code-block:: typescript
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/stdlib/packages/
Descompat.rst18 .. rst-class:: doc-code-block
34 .. rst-class:: doc-code-block
50 .. rst-class:: doc-code-block
66 .. rst-class:: doc-code-block
71 …y be kept for compatibility purposes. Avoid using it, and update existing code if possible; see th…
86 .. rst-class:: doc-code-block
91 …y be kept for compatibility purposes. Avoid using it, and update existing code if possible; see th…
117 .. rst-class:: doc-code-block
129 .. rst-class:: doc-code-block
145 .. rst-class:: doc-code-block
[all …]
/arkcompiler/ets_frontend/test262/
Deshost.patch44 + genTempFileName(code){
45 + let file = code.file;
46 + let scenario = code.scenario === 'strict mode' ? '' : code.scenario;
60 evalScript(code, options = {}) {
63 + let fileBase = path.basename(code.file);
64 + let originalFilePath = code.file.split(fileBase)[0];
65 + let tempFile = this.genTempFileName(code);
81 if (typeof code === 'object' && code.contents) {
82 let {attrs, contents, file} = code;
89 - // When testing module or dynamic import code that imports itself,
[all …]
DdynamicImport_tests.txt129 nested-else-script-code-valid.js
130 nested-with-script-code-valid.js
132 nested-async-gen-await-script-code-valid.js
136 nested-async-function-script-code-valid.js
137 nested-async-function-await-script-code-valid.js
143 nested-arrow-assignment-expression-script-code-valid.js
146 nested-while-script-code-valid.js
147 nested-async-arrow-function-return-await-script-code-valid.js
152 nested-arrow-script-code-valid.js
153 top-level-script-code-valid.js
[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 `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/irtoc/backend/
Dcompilation.cpp41 static UsedRegisters CollectForCode(ArenaAllocator *allocator, Span<const uint8_t> code) in CollectForCode() argument
44 ASSERT(!code.Empty()); in CollectForCode()
51 auto startInstr = reinterpret_cast<const vixl::aarch64::Instruction *>(code.data()); in CollectForCode()
52 auto endInstr = reinterpret_cast<const vixl::aarch64::Instruction *>(&(*code.end())); in CollectForCode()
107 uint32_t code = reg.GetCode(); in AppendRegisterNameToOutput() local
110 if (!(code == static_cast<uint32_t>(instr->GetRd()) || in AppendRegisterNameToOutput()
111 (isPair && code == static_cast<uint32_t>(instr->GetRt2())))) { in AppendRegisterNameToOutput()
116 regMask_.Set(code); in AppendRegisterNameToOutput()
120 vregMask_.Set(code); in AppendRegisterNameToOutput()
256 auto code = llvmCompiler->GetCompiledCode(unit->GetName()); in Compile() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/
Dintro.rst19 recipes to rewrite your standard |TS| code to |LANG|. Although |LANG| is
24 #. **Fully supported features**: the original code requires no modification
27 #. **Partially supported features**: some minor code refactoring is needed.
29 variables. Please note that your code will still remain a valid |TS| code
31 #. **Unsupported features**: a greater code refactoring effort can be required.
33 typing to your code everywhere ``any`` is used.
Drecipes.rst39 .. code-block:: typescript
49 .. code-block:: typescript
102 .. code-block:: typescript
112 .. code-block:: typescript
148 .. code-block:: typescript
160 .. code-block:: typescript
185 .. code-block:: typescript
193 .. code-block:: typescript
216 .. code-block:: typescript
240 .. code-block:: typescript
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D14_ambients.rst28 Ambient declarations cannot include executable code. As a consequence, they
44 .. code-block:: abnf
61 .. code-block:: typescript
82 .. code-block:: abnf
110 .. code-block:: abnf
138 .. code-block:: typescript
149 .. code-block:: typescript
176 .. code-block:: abnf
200 .. code-block:: abnf
208 .. code-block:: abnf
[all …]
/arkcompiler/ets_runtime/test/workloadtest/
DREADME.md20 …s_runtime/test/workloadtest/work_load.py --report True --code-path='/workspace/openharmony/code' -…
22 * code-path: your code path
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dgenerics.rst18 Generic types and functions allow creating the code capable to work over a
29 .. code-block:: typescript
43 .. code-block:: typescript
50 .. code-block:: typescript
65 .. code-block:: typescript
73 // ... other code ...
85 A generic function can be used to create a more universal code. Consideration
88 .. code-block:: typescript
98 .. code-block:: typescript
108 .. code-block:: typescript
[all …]
Ddisabled-features.txt6 Object literal types are used to make the code more flexible. Consider the example:
8 .. code-block:: typescript
16 .. code-block:: typescript
40 .. code-block:: typescript
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dassembler_aarch64.cpp677 uint32_t code = Sf(!rd.IsW()) | op | imm_field | hw_field | Rd(rd.GetId()); in MovWide() local
678 EmitU32(code); in MovWide()
717 uint32_t code = Sf(!rd.IsW()) | op | imm | Rn(rn.GetId()) | Rd(rd.GetId()); in BitWiseOpImm() local
718 EmitU32(code); in BitWiseOpImm()
725 uint32_t code = Sf(!rd.IsW()) | op | shift_field | Rm(operand.Reg().GetId()) | in BitWiseOpShift() local
727 EmitU32(code); in BitWiseOpShift()
732 uint32_t code = Sf(!rd.IsW()) | LSL_Reg | Rm(rm.GetId()) | Rn(rn.GetId()) | Rd(rd.GetId()); in Lsl() local
733 EmitU32(code); in Lsl()
738 uint32_t code = Sf(!rd.IsW()) | LSR_Reg | Rm(rm.GetId()) | Rn(rn.GetId()) | Rd(rd.GetId()); in Lsr() local
739 EmitU32(code); in Lsr()
[all …]
/arkcompiler/toolchain/build/compile_script/
Dark.py349 code = _call("{0} clean {1}".format(self.gn_binary_path, out_path))
350 if code != 0:
352 sys.exit(code)
364 code = call_with_output(
368 if code != 0:
370 sys.exit(code)
383 code = call_with_output(ninja_cmd, build_log_path)
384 if code != 0:
386 sys.exit(code)
428 code = call_with_output(test262_cmd, test262_log_path)
[all …]

12345678910>>...19