/arkcompiler/ets_frontend/ts2panda/scripts/ |
D | diagnosticMessages.json | 4 "code": 1003 number 8 "code": 1013 number 12 "code": 1014 number 16 "code": 1015 number 20 "code": 1016 number 24 "code": 1024 number 28 "code": 1028 number 32 "code": 1029 number 36 "code": 1030 number 40 "code": 1031 number [all …]
|
/arkcompiler/runtime_core/compiler/tests/amd64/ |
D | asmjit_test.cpp | 52 // 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/compiler/tests/x86/ |
D | asmjit_test.cpp | 28 // 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/libpandafile/ |
D | types.yaml | 17 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/docs/bc_verification/ |
D | cflow_checks.md | 6 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/ |
D | runtime-compiled_code-interaction.md | 1 # 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 …]
|
D | aot.md | 23 - `.text` - Contains compiled native code. Code of each compiled method is placed sequentially into… 30 - `code` - points to the start of `.text` section 89 ; Function executable code | 108 AOT-compiled code may use special PLT-slots to load resolved string without runtime calls. 162 …ed `ark_aotdump`, that aims to dump content of AOT files in yaml format. It can print compiled code 163 as disassembly(`--show-code disasm`) or in base64 binary(`--show-code binary`) 167 `ark_aotdump --show-code disasm file.an` 169 Sometimes it is interesting to see what code had generated for specific IR instruction, to do so th… 170 `--compiler-disasm-dump` that dumps disassembler, IR instruction and all generated native code for … 173 enables printing byte code instruction after ir instruction in dump ir. There is one more option `-…
|
/arkcompiler/ets_frontend/ts2panda/templates/ |
D | diagnostic.ts.erb | 19 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_runtime/docs/ |
D | overview.md | 5 …er toolchain and JS runtime. The JS compiler toolchain compiles JS source code into ArkCompiler by… 10 The source code compiler of ArkCompiler JS Runtime receives JS source code, based on which ts2abc g… 30 … of the Stub compiler, optimized compilation framework based on the Circuit IR, and code generator. 45 …e. To ensure security and performance, ArkCompiler JS Runtime selects the code that supports stric… 47 …code with JS runtime. ts2abc is planned to analyze and obtain the TS type information when compili… 49 …K-JS is able to share immutable objects, methods, and bytecodes (built-in code blocks and constant… 51 …code to access and operate TS objects in OpenHarmony. ArkCompiler JS Runtime is planned to statica…
|
/arkcompiler/ets_frontend/test262/ |
D | dynamicImport_tests.txt | 129 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 …]
|
D | eshost.patch | 44 + 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 …]
|
D | es2abc_skip_tests.json | 59 …essions/dynamic-import/usage/nested-async-gen-await-eval-script-code-host-resolves-module-code.js", 66 …anguage/expressions/dynamic-import/catch/nested-async-gen-return-await-eval-script-code-target.js", 68 … "language/expressions/dynamic-import/catch/nested-async-gen-await-eval-script-code-target.js", 111 … "language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-script-code-target.js", 112 …ressions/dynamic-import/catch/nested-async-arrow-function-return-await-eval-script-code-target.js", 113 …"language/expressions/dynamic-import/catch/nested-async-function-await-eval-script-code-target.js", 114 … "language/expressions/dynamic-import/catch/nested-async-function-eval-script-code-target.js", 115 …ge/expressions/dynamic-import/catch/nested-async-function-return-await-eval-script-code-target.js", 116 … "language/expressions/dynamic-import/catch/nested-block-import-catch-eval-script-code-target.js", 117 … "language/expressions/dynamic-import/catch/nested-block-labeled-eval-script-code-target.js", [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_displaynames.cpp | 184 // 16. Let fallback be ? GetOption(options, "fallback", "string", « "code", "none" », "code"). in InitializeDisplayNames() 187 … {FallbackOption::CODE, FallbackOption::NONE}, in InitializeDisplayNames() 188 … {"code", "none"}, FallbackOption::CODE); in InitializeDisplayNames() 235 // CanonicalCodeForDisplayNames ( type, code ) 239 const JSHandle<EcmaString> &code) in CanonicalCodeForDisplayNames() argument 242 … // a. If code does not match the unicode_language_id production, throw a RangeError exception. in CanonicalCodeForDisplayNames() 244 std::string codeSt = intl::LocaleHelper::ConvertToStdString(code); in CanonicalCodeForDisplayNames() 248 THROW_TYPE_ERROR_AND_RETURN(thread, "not match the language id", code); in CanonicalCodeForDisplayNames() 251 THROW_TYPE_ERROR_AND_RETURN(thread, "not match the unicode_language_id", code); in CanonicalCodeForDisplayNames() 253 // b. If IsStructurallyValidLanguageTag(code) is false, throw a RangeError exception. in CanonicalCodeForDisplayNames() [all …]
|
/arkcompiler/toolchain/tooling/test/testcases/ |
D | js_variable_second_test.h | 213 { "foo", { "function", "Function", "function foo( { [js code] }", 214 "Cannot get source code of funtion"} }, 235 { "function0", { "function", "Function", "function function0( { [js code] }", 236 "Cannot get source code of funtion" } }, 237 { "generator0", { "function", "Generator", "function* generator0( { [js code] }", 238 "Cannot get source code of funtion" } }, 279 … { "iterator0", { "function", "Function", "function [Symbol.iterator]( { [native code] }", 280 "function [Symbol.iterator]() { [native code] }" } }, 297 …{ "array9", { "object", "array", "Array", "Array(1)", "Cannot get source code of funtion", "0", "f… 298 … "Function", "function function0( { [js code] }", "Cannot get source code of funtion", [all …]
|
D | js_container_test.h | 219 { "foo", { "function", "Function", "function foo( { [js code] }", 220 "Cannot get source code of funtion" } }, 221 { "ArrayList", { "function", "Function", "function ArrayList( { [native code] }", 222 "function ArrayList() { [native code] }" } }, 223 { "Deque", { "function", "Function", "function Deque( { [native code] }", 224 "function Deque() { [native code] }" } }, 225 { "HashMap", { "function", "Function", "function HashMap( { [native code] }", 226 "function HashMap() { [native code] }" } }, 227 { "HashSet", { "function", "Function", "function HashSet( { [native code] }", 228 "function HashSet() { [native code] }" } }, [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_displaynames.cpp | 94 // 3. Let code be ? ToString(code). in Of() 99 // 4. Let code be ? CanonicalCodeForDisplayNames(displayNames.[[Type]], code). in Of() 101 // 6. If fields has a field [[<code>]], return fields.[[<code>]]. in Of() 104 …JSHandle<EcmaString> code = JSDisplayNames::CanonicalCodeForDisplayNames(thread, displayNames, typ… in Of() local 106 std::string codeString = intl::LocaleHelper::ConvertToStdString(code); in Of() 109 JSHandle<JSTaggedValue> codeStr = JSHandle<JSTaggedValue>::Cast(code); in Of() 113 // 7. If displayNames.[[Fallback]] is "code", return code. in Of() 115 if (fallback == FallbackOption::CODE) { in Of()
|
/arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
D | f32tou32.yaml | 31 code-template: | 66 code-template: | 101 code-template: | 124 code-template: | 148 code-template: | 164 code-template: | 180 code-template: | 207 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 212 code-template: | 257 code-template: |
|
D | f32tou64.yaml | 31 code-template: | 76 code-template: | 113 code-template: | 140 code-template: | 166 code-template: | 182 code-template: | 197 code-template: | 224 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 229 code-template: | 274 code-template: |
|
D | f32toi64.yaml | 31 code-template: | 72 code-template: | 119 code-template: | 142 code-template: | 166 code-template: | 182 code-template: | 197 code-template: | 224 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 229 code-template: | 274 code-template: |
|
D | f64tou32.yaml | 31 code-template: | 66 code-template: | 113 code-template: | 136 code-template: | 160 code-template: | 176 code-template: | 192 code-template: | 219 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 224 code-template: | 270 code-template: |
|
D | f32toi32.yaml | 31 code-template: | 70 code-template: | 122 code-template: | 150 code-template: | 182 code-template: | 203 code-template: | 224 code-template: | 255 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 260 code-template: | 305 code-template: |
|
D | f64tou64.yaml | 31 code-template: | 76 code-template: | 116 code-template: | 143 code-template: | 169 code-template: | 185 code-template: | 200 code-template: | 227 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 232 code-template: | 278 code-template: |
|
D | f64toi64.yaml | 31 code-template: | 73 code-template: | 126 code-template: | 152 code-template: | 179 code-template: | 195 code-template: | 210 code-template: | 237 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 242 code-template: | 288 code-template: |
|
D | f64toi32.yaml | 31 code-template: | 70 code-template: | 129 code-template: | 157 code-template: | 189 code-template: | 210 code-template: | 231 code-template: | 262 …Return 0 to indicate that negative test failed, because this line is unreachable and code will not… 267 code-template: | 313 code-template: |
|
/arkcompiler/ets_frontend/arkguard/src/ |
D | IObfuscator.ts | 18 * interface for obfuscating source code 20 * @param code string sequence of source code 22 obfuscate(code: string): string;
|