Home
last modified time | relevance | path

Searched full:foo (Results 1 – 25 of 123) sorted by relevance

12345

/ark/ts2abc/ts2panda/tests/statements/
DfunctionDeclaration.test.ts45 snippetCompiler.compile("function foo() {}");
46 let funcName = "foo";
55 let foo = globalScope!.findLocal(funcName); variable
56 expect(foo != undefined).to.be.true;
57 expect(foo instanceof GlobalVariable).to.be.true;
63 function foo() {}
64 function foo() {}
67 new EcmaDefinefuncdyn("#2#foo", new Imm(0), new VReg()),
68 new EcmaStglobalvar("foo"),
74 let foo = globalScope!.findLocal("foo"); variable
[all …]
/ark/runtime_core/tests/cts-generator/cts-template/
Dcall.acc.short.yaml74 - values: ['foo, v0, 0']
75 - values: ['foo, v1, 1']
101 .function i32 foo(i32 a0, i32 a1) {
123 call.acc.short foo, v0, 1
124 call.acc.short foo, v1, 1
125 call.acc.short foo, v2, 1
126 call.acc.short foo, v3, 1
127 call.acc.short foo, v4, 1
128 call.acc.short foo, v5, 1
129 call.acc.short foo, v6, 1
[all …]
Dcall.virt.acc.short.yaml113 - values: ['R.foo, v0, 0']
114 - values: ['foo, v0, 1']
141 .function R R.foo(R a0, i32 a1) {
164 call.virt.acc.short R.foo, v0, 0
165 call.virt.acc.short R.foo, v1, 0
166 call.virt.acc.short R.foo, v2, 0
167 call.virt.acc.short R.foo, v3, 0
168 call.virt.acc.short R.foo, v4, 0
169 call.virt.acc.short R.foo, v5, 0
170 call.virt.acc.short R.foo, v6, 0
[all …]
Dcall.acc.yaml80 - values: ['foo, v0, v0, v0, 0']
120 .function i32 foo(i32 a0, i32 a1, i32 a2, i32 a3) {
142 call.acc foo, v0, v1, v2, 0
143 call.acc foo, v3, v4, v5, 1
144 call.acc foo, v6, v7, v8, 2
145 call.acc foo, v9, v10, v11, 3
146 call.acc foo, v12, v13, v14, 0
147 call.acc foo, v15, v15, v15, 1
162 .function i32 foo(i32 a0, i32 a1, i32 a2, i32 a3) {
168 call.acc foo, a0, a1, a2, 0
[all …]
Dcall.virt.acc.yaml188 .function R R.foo(R a0, i32 a1, i32 a2, i32 a3) {
211 call.virt.acc R.foo, v0, v1, v2, 0
212 call.virt.acc R.foo, v3, v4, v5, 0
213 call.virt.acc R.foo, v6, v7, v8, 0
214 call.virt.acc R.foo, v9, v10, v11, 0
215 call.virt.acc R.foo, v12, v13, v14, 0
216 call.virt.acc R.foo, v15, v15, v15, 0
232 .function R R.foo(R a0, i32 a1, i32 a2, i32 a3) {
238 call.virt.acc R.foo, a0, a1, a2, 0
239 call.virt.acc R.foo, a3, a4, a5, 0
[all …]
/ark/ts2abc/ts2panda/tests/expression/
Dcall.test.ts46 foo();
50 new EcmaTryldglobalbyname("foo"),
62 foo(i);
69 new EcmaTryldglobalbyname("foo"),
81 Foo.method();
87 new EcmaTryldglobalbyname("Foo"),
134 Foo[method]();
141 new EcmaTryldglobalbyname("Foo"),
Darguments.test.ts35 snippetCompiler.compile(`function foo(a,b) {arguments[0];}`);
46 let functionPg = snippetCompiler.getPandaGenByName("foo");
54 snippetCompiler.compile(`function foo(arguments) {arguments[0];}`);
65 let functionPg = snippetCompiler.getPandaGenByName("foo");
/ark/ts2abc/testTs/expect/ambient/ambientShorthand_merging/
DambientShorthand_merging.txt1 {'lb': [{'t': 2, 'v': 7}, {'t': 5, 'v': '#foo#foo'}]}
2 {'lb': [{'t': 2, 'v': 7}, {'t': 5, 'v': '#bar#foo'}]}
/ark/runtime_core/docs/
Dassembly_format.md208 .record Foo {
214 Foo foo
279 .function void R.foo(R a0) {} # virtual function
281 .function void R.foo(R a0) <static> {} # static function
283 .function void R.foo(i32 a0) {} # static function
312 .function foo(_panda_array_string a0)
331 .function void foo()
456 .record Foo <java.extends=SomeRecord> {
462 .function Foo.constructor1(Foo a0) <java.ctor>
467 .function Foo.constructor2(Foo a0, i32 a1) <java.ctor>
[all …]
/ark/ts2abc/testTs/expect/classes/propertyMemberDeclarations/memberFunctionDeclarations/
DstaticFactory1.txt1 … 52}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'foo'}, {'t': 2, 'v': 55…
2 …: 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'foo'}, {'t': 2, 'v': 53…
3 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'foo'}, {'t': 2, 'v': 0…
5 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'foo'}, {'t': 2, 'v': 0…
/ark/js_runtime/test/moduletest/async/
Dasync.js16 async function foo() { function
21 var s = foo()
25 print(foo.name)
/ark/ts2abc/testTs/expect/parser/ecmascript5/ClassDeclarations/
DparserClassDeclaration16.txt1 …: 0}, {'tag': 2, 'value': 0}, {'tag': 2, 'value': 1}, {'tag': 5, 'value': 'foo'}, {'tag': 2, 'valu…
2 …: 3}, {'tag': 2, 'value': 0}, {'tag': 2, 'value': 0}, {'tag': 5, 'value': 'foo'}, {'tag': 2, 'valu…
3 …: 3}, {'tag': 2, 'value': 0}, {'tag': 2, 'value': 0}, {'tag': 5, 'value': 'foo'}, {'tag': 2, 'valu…
DparserClassDeclaration19.txt1 …: 0}, {'tag': 2, 'value': 0}, {'tag': 2, 'value': 1}, {'tag': 5, 'value': 'foo'}, {'tag': 2, 'valu…
2 …: 3}, {'tag': 2, 'value': 0}, {'tag': 2, 'value': 0}, {'tag': 5, 'value': 'foo'}, {'tag': 2, 'valu…
3 …: 3}, {'tag': 2, 'value': 0}, {'tag': 2, 'value': 0}, {'tag': 5, 'value': 'foo'}, {'tag': 2, 'valu…
/ark/ts2abc/testTs/expect/moduleResolution/untypedModuleImport_allowJs/
DuntypedModuleImport_allowJs.txt1 {"literalBuffer": [{"tag": 2,"value": 7 }, {"tag": 5,"value": "#foo#foo"}]}
/ark/runtime_core/runtime/tests/
Dmethod_test.cpp53 .function i32 foo() { in VerifyLineNumber()
75 const std::string name = "foo"; in VerifyLineNumber()
97 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("foo")); in VerifyLineNumber()
203 .function any Foo(any a0) { in TEST_F()
221 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("Foo")); in TEST_F()
239 .function void R.foo(R a0, i32 a1) { in TEST_F()
257 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("foo")); in TEST_F()
271 .function void foo() { # line 2 in TEST_F()
294 Method *method = klass->GetDirectMethod(utf::CStringAsMutf8("foo")); in TEST_F()
354 .function void R.foo() { in TEST_F()
[all …]
/ark/ts2abc/testTs/
Dtest-case.patch731 +import {foo, baz} from "foobarbaz";
732 +foo(baz);
735 +foo(foos);
739 +foo(fileText);
748 +declare module "foo*baz" {
749 + export function foo(s: string): void;
752 +declare module "foo*baz" {
806 +import foo, {bar} from "foo";
807 +foo;
816 +declare module "foo";
[all …]
/ark/js_runtime/test/moduletest/lexicalenv/
Dlexicalenv.js16 function foo(a) { function
25 foo(1)
/ark/js_runtime/test/moduletest/dyninstruction/
Ddyninstruction.js16 function Foo() { class
21 print(Foo())
/ark/js_runtime/test/moduletest/getunmappedargs/
Dgetunmappedargs.js16 function Foo() { class
22 Foo(1)
/ark/ts2abc/ts2panda/tests/types/
Dfunction.test.ts103 ["#0#foo", shift + 2],
119 [2, 3],[2, 0],[2, 0],[5, 'foo'],
140 ["#0#foo", shift + 2],
156 [2, 3], [2, 0], [2, 0], [5, 'foo'],
179 ["#0#foo", shift + 2],
194 [2, 3], [2, 0], [2, 0], [5, 'foo'],
/ark/js_runtime/test/moduletest/newobjdynrange/
Dnewobjdynrange.js16 function foo(arg1, arg2) { function
20 var p = new foo("arg1", "arg2")
/ark/ts2abc/testTs/expect/classes/classExpressions/
DclassExpression4.txt1 …: 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'foo'}, {'t': 2, 'v': 52…
2 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'foo'}, {'t': 2, 'v': 0…
/ark/runtime_core/tests/cts-assembly/
Dop-17.pa18 call.short foo, v0, v1
22 .function i32 foo(i32 a0, i32 a1){
Dop-19.pa18 call.range foo, v0
22 .function i32 foo(i32 a0, i32 a1){
/ark/ts2abc/testTs/expect/classes/classDeclarations/classAbstractKeyword/
DclassAbstractAsIdentifier.txt1 …: 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'foo'}, {'t': 2, 'v': 52…
2 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'foo'}, {'t': 2, 'v': 0…

12345