/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.ts | 24 name: '0'; 28 name: '1'; 32 name: '2'; 36 name: '3'; 40 name: '4'; 44 name: '5'; 48 name: '6'; 52 name: '7'; 56 name: '8'; 60 name: '9'; [all …]
|
D | arrayFilter.ts | 22 AssertType(foo, "{ name: string; }[]"); 23 AssertType([ { name: 'bar' }, { name: null }, { name: 'baz' }], "{ name: string; }[]"); 25 { name: 'bar' }, 26 AssertType({ name: 'bar' }, "{ name: string; }"); 27 AssertType(name, "string"); 30 { name: null }, 31 AssertType({ name: null }, "{ name: null; }"); 32 AssertType(name, "null"); 35 { name: 'baz' 36 AssertType({ name: 'baz' }, "{ name: string; }"); [all …]
|
D | typeArgInference2.ts | 22 name: string; 38 let z3 = foo({ name: null }); // { name: any 39 AssertType(z3, "{ name: any; }"); 41 AssertType(foo({ name: null }), "{ name: any; }"); 45 AssertType({ name: null }, "{ name: null; }"); 47 AssertType(name, "null"); 52 let z4 = foo({ name: "abc" }); // { name: string 53 AssertType(z4, "{ name: string; }"); 55 AssertType(foo({ name: "abc" }), "{ name: string; }"); 59 AssertType({ name: "abc" }, "{ name: string; }"); [all …]
|
D | arrowFunctionWithObjectLiteralBody5.ts | 21 let a = () => <Error>{ name: "foo", message: "bar" }; 23 AssertType(() => <Error>{ name: "foo", message: "bar" }, "() => Error"); 24 AssertType(<Error>{ name: "foo", message: "bar" }, "Error"); 25 AssertType({ name: "foo", message: "bar" }, "{ name: string; message: string; }"); 26 AssertType(name, "string"); 31 let b = () => (<Error>{ name: "foo", message: "bar" }); 33 AssertType(() => (<Error>{ name: "foo", message: "bar" }), "() => Error"); 34 AssertType((<Error>{ name: "foo", message: "bar" }), "Error"); 35 AssertType(<Error>{ name: "foo", message: "bar" }, "Error"); 36 AssertType({ name: "foo", message: "bar" }, "{ name: string; message: string; }"); [all …]
|
D | arrowFunctionWithObjectLiteralBody6.ts | 21 let a = () => <Error>{ name: "foo", message: "bar" }; 23 AssertType(() => <Error>{ name: "foo", message: "bar" }, "() => Error"); 24 AssertType(<Error>{ name: "foo", message: "bar" }, "Error"); 25 AssertType({ name: "foo", message: "bar" }, "{ name: string; message: string; }"); 26 AssertType(name, "string"); 31 let b = () => (<Error>{ name: "foo", message: "bar" }); 33 AssertType(() => (<Error>{ name: "foo", message: "bar" }), "() => Error"); 34 AssertType((<Error>{ name: "foo", message: "bar" }), "Error"); 35 AssertType(<Error>{ name: "foo", message: "bar" }, "Error"); 36 AssertType({ name: "foo", message: "bar" }, "{ name: string; message: string; }"); [all …]
|
D | objectLiteralArraySpecialization.ts | 26 let thing = create([ { name: "bob", id: 24 }, { name: "doug", id: 32 } ]); // should not error 27 AssertType(thing, "MyArrayWrapper<{ name: string; id: number; }>"); 28 AssertType(create([ { name: "bob", id: 24 }, { name: "doug", id: 32 } ]), "MyArrayWrapper<{ name: s… 30 AssertType([ { name: "bob", id: 24 }, { name: "doug", id: 32 } ], "{ name: string; id: number; }[]"… 31 AssertType({ name: "bob", id: 24 }, "{ name: string; id: number; }"); 32 AssertType(name, "string"); 36 AssertType({ name: "doug", id: 32 }, "{ name: string; id: number; }"); 37 AssertType(name, "string"); 42 thing.doSomething((x, y) => x.name === "bob"); // should not error 43 AssertType(thing.doSomething((x, y) => x.name === "bob"), "void"); [all …]
|
D | forOfTransformsExpression.ts | 22 let items = [{ name: "A" }, { name: "C" }, { name: "B" }]; 23 AssertType(items, "{ name: string; }[]"); 24 AssertType([{ name: "A" }, { name: "C" }, { name: "B" }], "{ name: string; }[]"); 25 AssertType({ name: "A" }, "{ name: string; }"); 26 AssertType(name, "string"); 28 AssertType({ name: "C" }, "{ name: string; }"); 29 AssertType(name, "string"); 31 AssertType({ name: "B" }, "{ name: string; }"); 32 AssertType(name, "string"); 35 for (let item of items.sort((a, b) => a.name.localeCompare(b.name))) {
|
D | typeInferenceWithExcessProperties.ts | 24 name: string; 34 AssertType(parrot({ name: "TypeScript",}), "{ name: string; }"); 36 AssertType({ name: "TypeScript",}, "{ name: string; }"); 38 name: "TypeScript", 39 AssertType(name, "string"); 45 AssertType(parrot({ name: "TypeScript", age: 5,}), "{ name: string; age: number; }"); 47 AssertType({ name: "TypeScript", age: 5,}, "{ name: string; age: number; }"); 49 name: "TypeScript", 50 AssertType(name, "string"); 60 AssertType(parrot({ name: "TypeScript", age: function () { },}), "{ name: string; age: () => … [all …]
|
D | callSignatureFunctionOverload.ts | 24 (name: string): string; 25 AssertType(name, "string"); 27 (name: 'order'): string; 28 AssertType(name, "string"); 30 (name: 'content'): string; 31 AssertType(name, "string"); 33 (name: 'done'): string; 34 AssertType(name, "string"); 40 (name: string): string; 41 AssertType(name, "string"); [all …]
|
/arkcompiler/runtime_core/libpandabase/events/ |
D | events.yaml | 15 # - name - name of the event 17 # Then you can dump your event by writing EVENT_<name.upcase()>(values). For example, for 'osr_entr… 27 - name: osr_entry 29 - name: method_name 31 - name: bc_offset 33 - name: kind 36 - name: result 40 - name: inline 42 - name: caller 44 - name: callee [all …]
|
/arkcompiler/runtime_core/libpandabase/templates/ |
D | logger.yaml | 15 - name: fatal 17 - name: error 19 - name: warning 21 - name: info 23 - name: debug 27 - name: alloc 28 - name: mm-obj-events 30 - name: assembler 31 - name: classlinker 33 - name: common [all …]
|
/arkcompiler/runtime_core/compiler/ |
D | compiler.yaml | 15 name: compiler 19 - name: compiler-non-optimizing 25 - name: compiler-regex 31 - name: compiler-visualizer-dump 37 - name: compiler-dump 41 - name: final 45 - name: compact 49 - name: life-intervals 53 - name: folder 57 - name: bytecode [all …]
|
/arkcompiler/ets_runtime/test/resource/js_runtime/ |
D | ohos_test.xml | 16 <target name="BaseTest"> 18 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 21 <target name="BuiltinsArrayBufferAllocateArrayBufferFuzzTest"> 23 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 26 <target name="BuiltinsArrayBufferArrayBufferConstructorFuzzTest"> 28 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 31 <target name="BuiltinsArrayBufferCloneArrayBufferFuzzTest"> 33 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 36 <target name="BuiltinsArrayBufferFastSetValueInBufferFuzzTest"> 38 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> [all …]
|
/arkcompiler/ets_frontend/ |
D | README_zh.md | 1 # ets_frontend组件<a name="ZH-CN_TOPIC_0000001137330686"></a> 3 - [ets_frontend组件<a name="ZH-CN_TOPIC_0000001137330686"></a>](#ets_frontend组件) 4 - [简介<a name="section11660541593"></a>](#简介) 5 - [目录<a name="section161941989596"></a>](#目录) 6 - [编译构建<a name="section0446154755015"></a>](#编译构建) 7 - [使用说明<a name="section33105542504"></a>](#使用说明) 8 - [相关仓<a name="section1371113476307"></a>](#相关仓) 10 ## 简介<a name="section11660541593"></a> 20 ## 目录<a name="section161941989596"></a> 47 ## 编译构建<a name="section0446154755015"></a> [all …]
|
D | README.md | 1 # ets_frontend <a name="EN-US_TOPIC_0000001137330686"></a> 3 - [ets_frontend <a name="EN-US_TOPIC_0000001137330686"></a>](#ets_frontend-) 4 - [Introduction<a name="section11660541593"></a>](#introduction) 5 - [Directory Structure<a name="section161941989596"></a>](#directory-structure) 6 - [Build<a name="section0446154755015"></a>](#Build) 7 - [Usage Guidelines<a name="section33105542504"></a>](#usage-guidelines) 8 - [Repositories Involved<a name="section1371113476307"></a>](#repositories-involved) 10 ## Introduction<a name="section11660541593"></a> 20 ## Directory Structure<a name="section161941989596"></a> 47 ## Build<a name="section0446154755015"></a> [all …]
|
/arkcompiler/ets_runtime/docs/ |
D | using-the-toolchain.md | 1 # Using the Toolchain<a name="EN-US_TOPIC_0000001128256014"></a> 12 $ $ ./build.sh --product-name rk3568 --build-target ark_ts2abc_build 23 <a name="table18706114344420"></a> 24 …152915291529%" id="mcps1.1.6.1.1"><p id="p1970694310447"><a name="p1970694310447"></a><a name="p19… 26 …683068306829%" id="mcps1.1.6.1.2"><p id="p9548142314456"><a name="p9548142314456"></a><a name="p95… 28 …4443444344434%" id="mcps1.1.6.1.3"><p id="p170614318449"><a name="p170614318449"></a><a name="p170… 30 …260126012601%" id="mcps1.1.6.1.4"><p id="p1841257144811"><a name="p1841257144811"></a><a name="p18… 32 …2075207521%" id="mcps1.1.6.1.5"><p id="p15894191313495"><a name="p15894191313495"></a><a name="p15… 36 …291529%" headers="mcps1.1.6.1.1 "><p id="p0706154312447"><a name="p0706154312447"></a><a name="p07… 38 …306829%" headers="mcps1.1.6.1.2 "><p id="p1654810236457"><a name="p1654810236457"></a><a name="p16… [all …]
|
D | README_zh.md | 40 ./build.sh --product-name rk3568 47 ./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages 53 …./build.sh --product-name rk3568 --gn-args use_musl=true --target-cpu arm64 --build-target ark_js_… 59 ./build.sh --product-name rk3568 --build-target ark_js_packages 64 ./build.sh --product-name rk3568 --build-target ets_frontend_build 93 …./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages --build-target et… 146 ./build.sh --product-name rk3568 --build-target ark_host_linux_tools_packages 199 ./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages 205 ./build.sh --product-name rk3568 --build-target ets_frontend_build 222 …"top" width="50%" id="mcps1.1.3.1.1"><p id="p51552743010"><a name="p51552743010"></a><a name="p515… [all …]
|
D | development-example.md | 1 # Development Example<a name="EN-US_TOPIC_0000001128096218"></a> 8 ## HelloWorld<a name="section105987593810"></a> 15 …./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages # arm platform a… 22 …./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages --build-target et… 27 …./build.sh --product-name ohos_arm64 --build-target ark_js_packages --build-target ld-musl-aarch64… 32 ./build.sh --product-name rk3568 --build-target ark_js_runtime --build-target ld-musl-arm.so.1 120 ## Performing Test Case Test262<a name="section118471435115815"></a> 127 ./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages 133 ./build.sh --product-name rk3568 --build-target ets_frontend_build 150 <a name="table11141827153017"></a> [all …]
|
/arkcompiler/toolchain/test/resource/tooling/ |
D | ohos_test.xml | 16 <target name="DebuggerEntryTest"> 18 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/sample.abc -> /data/test" src="o… 19 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/exception.abc -> /data/test" src… 20 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/arrow_func.abc -> /data/test" sr… 21 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/async_func.abc -> /data/test" sr… 22 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/range_error.abc -> /data/test" s… 23 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/syntax_exception.abc -> /data/te… 24 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/throw_exception.abc -> /data/tes… 25 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/step.abc -> /data/test" src="out… 26 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/variable_first.abc -> /data/test… [all …]
|
/arkcompiler/ets_frontend/legacy_bin/api8/ |
D | manifest_tag.xml | 16 <remote name="origin" fetch="." review="https://openharmony.gitee.com/openharmony/"/> 20 …<project name="ability_ability_lite" path="foundation/aafwk/aafwk_lite" revision="a68d6d7043d8455c… 21 …<project name="ability_ability_runtime" path="foundation/aafwk/standard" revision="2d1fae94bc520c9… 22 …<project name="accessibility" path="base/accessibility" revision="8b7e96589b672c590a65b9ec58241ec0… 23 …<project name="account_os_account" path="base/account/os_account" revision="3fd5f525cdcdaab2b92872… 24 …<project name="ai_engine" path="foundation/ai/engine" revision="ea2bf753964f265c2875d06e17b46544a9… 25 …<project name="applications_admin_provisioning" path="applications/standard/admin_provisioning" re… 26 …<project name="applications_call" path="applications/standard/call" revision="19077cc0474000320fe7… 27 …<project name="applications_camera" path="applications/standard/camera" revision="d14dd4df946144e7… 28 …<project name="applications_camera_sample_communication" path="applications/sample/camera/communic… [all …]
|
/arkcompiler/ets_runtime/test/aottest/ts_multi_inline_max_call/ |
D | expect_output.txt | 14 [trace] aot inline function name: foo@ts_multi_inline_max_call caller function name: func_main_0@ts… 15 [trace] aot inline function name: foo1@ts_multi_inline_max_call caller function name: foo@ts_multi_… 16 [trace] aot inline function name: bar@ts_multi_inline_max_call caller function name: foo1@ts_multi_… 18 [trace] aot inline function name: foo2@ts_multi_inline_max_call caller function name: foo@ts_multi_… 19 [trace] aot inline function name: bar@ts_multi_inline_max_call caller function name: foo2@ts_multi_… 21 [trace] aot inline function name: foo3@ts_multi_inline_max_call caller function name: foo@ts_multi_… 22 [trace] aot inline function name: bar@ts_multi_inline_max_call caller function name: foo3@ts_multi_… 24 [trace] aot inline function name: foo4@ts_multi_inline_max_call caller function name: foo@ts_multi_… 25 [trace] aot inline function name: bar@ts_multi_inline_max_call caller function name: foo4@ts_multi_… 27 [trace] aot inline function name: foo5@ts_multi_inline_max_call caller function name: foo@ts_multi_… [all …]
|
/arkcompiler/ets_runtime/test/aottest/pgo_call/ |
D | expect_output.txt | 14 [trace] aot inline function name: callFoo1@pgo_call caller function name: func_main_0@pgo_call 15 [trace] aot inline function name: foo@pgo_call caller function name: callFoo1@pgo_call 16 [trace] aot inline function name: callFoo1@pgo_call caller function name: func_main_0@pgo_call 17 [trace] aot inline function name: foo@pgo_call caller function name: callFoo1@pgo_call 18 [trace] aot inline function name: callFoo2@pgo_call caller function name: func_main_0@pgo_call 19 [trace] aot inline function name: callFoo2@pgo_call caller function name: func_main_0@pgo_call 20 [trace] aot inline function name: callFoo2@pgo_call caller function name: func_main_0@pgo_call 21 [trace] aot inline function name: callFoo2@pgo_call caller function name: func_main_0@pgo_call 22 [trace] aot inline function name: callFoo3@pgo_call caller function name: func_main_0@pgo_call
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bc_call_signature.cpp | 29 #define INIT_SIGNATURES(name) \ in Initialize() argument 30 BytecodeHandlerCallSignature::Initialize(&callSigns_[name]); \ in Initialize() 31 callSigns_[name].SetID(ID_##name); \ in Initialize() 32 callSigns_[name].SetName(std::string("BCStub_") + #name); \ in Initialize() 33 callSigns_[name].SetConstructor( \ in Initialize() 36 new name##StubBuilder(&callSigns_[name], \ in Initialize() 41 #define INIT_SIGNATURES_DYN(name, ...) \ in Initialize() argument 42 INIT_SIGNATURES(name) \ in Initialize() 43 callSigns_[name].SetTargetKind(CallSignature::TargetKind::BYTECODE_PROFILE_HANDLER); in Initialize() 48 #define INIT_HELPER_SIGNATURES(name) \ in Initialize() argument [all …]
|
D | rt_call_signature.cpp | 29 #define INIT_SIGNATURES(name) \ in Initialize() argument 30 name##CallSignature::Initialize(&callSigns_[ID_##name]); \ in Initialize() 31 callSigns_[ID_##name].SetName(std::string("RTStub_") + #name); \ in Initialize() 32 callSigns_[ID_##name].SetID(ID_##name); \ in Initialize() 33 assert(callSigns_[ID_##name].IsRuntimeNGCStub() || \ in Initialize() 34 callSigns_[ID_##name].IsRuntimeStub() || \ in Initialize() 35 callSigns_[ID_##name].IsDeoptStub() || \ in Initialize() 36 callSigns_[ID_##name].IsRuntimeVAStub()); in Initialize() 42 #define INIT_ASM_SIGNATURES(name) \ in Initialize() argument 43 callSigns_[RuntimeStubCSigns::ID_##name].SetName(std::string("RTStub_") + #name); \ in Initialize() [all …]
|
/arkcompiler/ets_runtime/ |
D | OAT.xml | 23 2. task name: Only an name, no practical effect. 30 1. policy: All policyitems will be merged to default OAT.xml rules, the name of policy doesn't affe… 31 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 32 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… 41 4. policyitem name: This field is used for define the license, copyright, "*" means match all, the … 45 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is us… 56 <policy name="defaultPolicy" desc="" > 57 …<policyitem type="compatibility" name="Apache" path="arkcompiler/ets_runtime" rule="may" group="de… 60 <policy name="projectPolicy" desc=""> 61 …<policyitem type="copyright" name="Copyright (c) 2023 Shenzhen Kaihong Digital Industry Developmen… [all …]
|