Home
last modified time | relevance | path

Searched full:use (Results 1 – 25 of 7937) sorted by relevance

12345678910>>...318

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DdownlevelLetConst15.ts5 * you may not use this file except in compliance with the License.
21 'use strict'
22 AssertType('use strict', "string");
24 declare function use(a: any);
40 use(x);
41 AssertType(use(x), "any");
42 AssertType(use, "(any) => any");
50 use(z0);
51 AssertType(use(z0), "any");
52 AssertType(use, "(any) => any");
[all …]
DdownlevelLetConst14.ts5 * you may not use this file except in compliance with the License.
21 'use strict'
22 AssertType('use strict', "string");
24 declare function use(a: any);
40 use(x);
41 AssertType(use(x), "any");
42 AssertType(use, "(any) => any");
50 use(z0);
51 AssertType(use(z0), "any");
52 AssertType(use, "(any) => any");
[all …]
DdownlevelLetConst17.ts5 * you may not use this file except in compliance with the License.
21 'use strict'
22 AssertType('use strict', "string");
24 declare function use(a: any);
30 use(x);
31 AssertType(use(x), "any");
32 AssertType(use, "(any) => any");
35 use(x);
36 AssertType(use(x), "any");
37 AssertType(use, "(any) => any");
[all …]
DblockScopedBindingsReassignedInLoop1.ts5 * you may not use this file except in compliance with the License.
21 declare function use(n: number): void;
23 AssertType((function () { 'use strict' for (let i = 0; i < 9; ++i) { (() => use(++i))(); }})(…
24 AssertType((function () { 'use strict' for (let i = 0; i < 9; ++i) { (() => use(++i))(); }}),…
25 AssertType(function () { 'use strict' for (let i = 0; i < 9; ++i) { (() => use(++i))(); }}, "…
27 'use strict'
28 AssertType('use strict', "string");
39 (() => use(++i))();
40 AssertType((() => use(++i))(), "void");
41 AssertType((() => use(++i)), "() => void");
[all …]
DfallFromLastCase1.ts5 * you may not use this file except in compliance with the License.
21 declare function use(a: string);
30 use("1");
31 AssertType(use("1"), "any");
32 AssertType(use, "(string) => any");
39 use("2");
40 AssertType(use("2"), "any");
41 AssertType(use, "(string) => any");
54 use("1");
55 AssertType(use("1"), "any");
[all …]
DpathMappingBasedModuleResolution5_classic.ts5 * you may not use this file except in compliance with the License.
26 declare function use(a: any): void; function
28 use(x.toExponential());
29 AssertType(use(x.toExponential()), "void");
30 AssertType(use, "(any) => void");
34 use(y.toExponential());
35 AssertType(use(y.toExponential()), "void");
36 AssertType(use, "(any) => void");
40 use(z.toExponential());
41 AssertType(use(z.toExponential()), "void");
[all …]
DcapturedLetConstInLoop3_ES6.ts5 * you may not use this file except in compliance with the License.
22 declare function use(a: any);
48 use(v);
49 AssertType(use(v), "any");
50 AssertType(use, "(any) => any");
79 use(v);
80 AssertType(use(v), "any");
81 AssertType(use, "(any) => any");
115 use(v);
116 AssertType(use(v), "any");
[all …]
DcapturedLetConstInLoop3.ts5 * you may not use this file except in compliance with the License.
22 declare function use(a: any);
48 use(v);
49 AssertType(use(v), "any");
50 AssertType(use, "(any) => any");
79 use(v);
80 AssertType(use(v), "any");
81 AssertType(use, "(any) => any");
115 use(v);
116 AssertType(use(v), "any");
[all …]
DsystemModuleConstEnumsSeparateCompilation.ts5 * you may not use this file except in compliance with the License.
21 declare function use(a: any);
25 use(TopLevelConstEnum.X);
26 AssertType(use(TopLevelConstEnum.X), "any");
27 AssertType(use, "(any) => any");
30 use(M.NonTopLevelConstEnum.X);
31 AssertType(use(M.NonTopLevelConstEnum.X), "any");
32 AssertType(use, "(any) => any");
DsystemModuleConstEnums.ts5 * you may not use this file except in compliance with the License.
21 declare function use(a: any);
25 use(TopLevelConstEnum.X);
26 AssertType(use(TopLevelConstEnum.X), "any");
27 AssertType(use, "(any) => any");
30 use(M.NonTopLevelConstEnum.X);
31 AssertType(use(M.NonTopLevelConstEnum.X), "any");
32 AssertType(use, "(any) => any");
DargumentsAsPropertyName.ts5 * you may not use this file except in compliance with the License.
26 declare function use(s: any); function
38 use(myType.arguments[i]);
39 AssertType(use(myType.arguments[i]), "any");
40 AssertType(use, "(any) => any");
50 [1, 2, 3].forEach(function(j) { use(x); })
51 AssertType([1, 2, 3].forEach(function(j) { use(x); }), "void");
57 AssertType(function(j) { use(x); }, "(number) => void");
59 AssertType(use(x), "any");
60 AssertType(use, "(any) => any");
DcheckSwitchStatementIfCaseTypeIsString.ts5 * you may not use this file except in compliance with the License.
21 declare function use(a: any): void;
26 AssertType(x.forEach((v) => { switch(v) { case "test": use(this); …
28 AssertType((v) => { switch(v) { case "test": use(this); } …
34 case "test": use(this);
36 AssertType(use(this), "void");
37 AssertType(use, "(any) => void");
DlocalClassesInLoop.ts5 * you may not use this file except in compliance with the License.
21 declare function use(a: any);
23 "use strict"
24 AssertType("use strict", "string");
39 use(data[0]() === data[1]());
40 AssertType(use(data[0]() === data[1]()), "any");
41 AssertType(use, "(any) => any");
DlocalClassesInLoop_ES6.ts5 * you may not use this file except in compliance with the License.
21 declare function use(a: any);
23 "use strict"
24 AssertType("use strict", "string");
39 use(data[0]() === data[1]());
40 AssertType(use(data[0]() === data[1]()), "any");
41 AssertType(use, "(any) => any");
DcapturedLetConstInLoop12.ts5 * you may not use this file except in compliance with the License.
22 AssertType((function() { "use strict"; for (let i = 0; i < 4; i++) { (() => [i] = [i +…
23 AssertType((function() { "use strict"; for (let i = 0; i < 4; i++) { (() => [i] = [i +…
24 AssertType(function() { "use strict"; for (let i = 0; i < 4; i++) { (() => [i] = [i + …
26 "use strict";
27 AssertType("use strict", "string");
53 AssertType((function() { "use strict"; for (let i = 0; i < 4; i++) { (() => ({a:i} = {…
54 AssertType((function() { "use strict"; for (let i = 0; i < 4; i++) { (() => ({a:i} = {…
55 AssertType(function() { "use strict"; for (let i = 0; i < 4; i++) { (() => ({a:i} = {a…
57 "use strict";
[all …]
DdestructuringTempOccursAfterPrologue.ts5 * you may not use this file except in compliance with the License.
22 'use strict';
23 AssertType('use strict', "string");
25 'use strong';
26 AssertType('use strong', "string");
DcapturedLetConstInLoop9_ES6.ts5 * you may not use this file except in compliance with the License.
98 declare function use(a: any); function
219 use(x);
220 AssertType(use(x), "any");
221 AssertType(use, "(any) => any");
224 use(z);
225 AssertType(use(z), "any");
226 AssertType(use, "(any) => any");
229 use(x1);
230 AssertType(use(x1), "any");
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/systemModule15/
Dfile1.ts5 * you may not use this file except in compliance with the License.
23 declare function use(v: any): void;
25 use(moduleB.value);
26 AssertType(use(moduleB.value), "void");
27 AssertType(use, "(any) => void");
30 use(moduleB.moduleC);
31 AssertType(use(moduleB.moduleC), "void");
32 AssertType(use, "(any) => void");
35 use(moduleB.moduleCStar);
36 AssertType(use(moduleB.moduleCStar), "void");
[all …]
/arkcompiler/runtime_core/tests/checked/verify_aot_tests/
Dverify_aot_test.pa3 # you may not use this file except in compliance with the License.
25 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
31 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
37 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
43 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
49 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
55 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
61 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
67 #! RUN_PAOC options: " --paoc-use-cha=true --paoc-boot-panda-locations /dev/null/arkstdlib.abc"
72 #! RUN_PAOC options: "--paoc-use-cha=true --paoc-boot-panda-locations /dev/null/test.abc", abor…
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/reExportUndefined2/
Db.ts5 * you may not use this file except in compliance with the License.
22 declare function use(a: number); function
23 use(undefined);
24 AssertType(use(undefined), "any");
25 AssertType(use, "(number) => any");
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgraph_editor.cpp4 * you may not use this file except in compliance with the License.
103 GateRef use = *useIt; in PropagateMerge() local
109 if (acc_.GetOpCode(use) == OpCode::VALUE_SELECTOR || in PropagateMerge()
110 acc_.GetOpCode(use) == OpCode::DEPEND_SELECTOR) { in PropagateMerge()
111 acc_.DecreaseIn(use, edge.GetIndex() + 1); // +1 skip state input in PropagateMerge()
136 auto use = acc_.Uses(cur); in EliminatePhi() local
139 bool noUses = use.begin() == use.end(); in EliminatePhi()
155 for (auto it = use.begin(); it != use.end(); ++it) { in EliminatePhi()
Dasync_function_lowering.cpp4 * you may not use this file except in compliance with the License.
190 for (auto use : loopBeginUses) { in UpdateValueSelector() local
191 if (accessor_.GetOpCode(use) == OpCode::VALUE_SELECTOR && use != prevBcOffsetPhiGate) { in UpdateValueSelector()
192 auto machineType = accessor_.GetMachineType(use); in UpdateValueSelector()
193 auto gateType = accessor_.GetGateType(use); in UpdateValueSelector()
204 auto firstValueGate = accessor_.GetValueIn(use, 0); in UpdateValueSelector()
208 accessor_.ReplaceValueIn(use, newValueSelector); in UpdateValueSelector()
209 } else if (accessor_.GetOpCode(use) == OpCode::DEPEND_SELECTOR) { in UpdateValueSelector()
210 … // if there is a dependSelector in the use node of the loop-begin, a new dependSelector node needs in UpdateValueSelector()
214 auto dependGate = accessor_.GetDep(use); in UpdateValueSelector()
[all …]
/arkcompiler/runtime_core/docs/
Dcoding-style.md22 9. Do not use special naming for getters/setters (google allows this:
32 // Use this instead of or along with annotations in comments.
47 12. Use standard notices in comments (e.g. TODO:, NB!, no FIXME: allowed).
48 13. Use standard flowerbox comments at the top of headers and translation units (agree on the forma…
49 Temporary you can use this:
69 16. Use `maybe_unused` attribute for unused vars/arguments.
/arkcompiler/runtime_core/cmake/
DPandaCmakeFunctions.cmake3 # you may not use this file except in compliance with the License.
15 # We need use linker scripts for section replacement above 4GB
19 # When using rapidcheck we should use linker scripts with
32 # For cross-aarch64 with ASAN with linker script we need use additional path-link
33 … # Here we use default addresses space (without ASAN flag). It is nuance of cross-building.
40 # We need use specific options for AMD64 building with Clang compiler
DClangTidy.cmake3 # you may not use this file except in compliance with the License.
17 # When clang/gcc is used for cross-compilation, it is ran on host and use defines and options for h…
46 …message(FATAL_ERROR "clang-tidy not found, but requested for build. Use -DPANDA_ENABLE_CLANG_TIDY=…
89 # By default all checks are enabled globally, so the most reasonable use
93 # * We use permissive policy for checks, i.e. everything is enabled by default,
147 "-readability-identifier-naming" # disabled because we will use little-hump-style
148 "-google-runtime-references" # disabled to use non-const references
150 …"-fuchsia-default-arguments-calls" # disabled because we use functions with default arguments a lot
151 …"-fuchsia-default-arguments-declarations" # disabled because we use functions with default argumen…
152 "-modernize-use-trailing-return-type" # disabled as a stylistic check
[all …]

12345678910>>...318