Home
last modified time | relevance | path

Searched refs:print (Results 1 - 25 of 703) sorted by relevance

12345678910>>...29

/arkcompiler/runtime_core/bytecode_optimizer/tests/js/
H A DconstantProgagation.js34 print(a > b);
36 print(a > b);
40 print(a > b);
44 print(a > b);
52 print(a > b);
54 print(a > b);
58 print(a > b);
61 print(a > b);
63 print(a > b);
66 print(
[all...]
/arkcompiler/ets_runtime/test/moduletest/string/
H A Dstring.js22 print("string".length);
23 print("string"[3]);
24 print("string".at(-1));
32 print((flag === str1).toString());
33 print((flag === str2).toString());
34 print((flag === str3).toString());
40 print((utf81 === utf82).toString());
41 print((utf81 === utf83).toString());
51 print(e.message);
55 print(str
[all...]
/arkcompiler/runtime_core/compiler/tests/js/
H A DregallocTest.js78 print(e);
84 print(v1);
90 print(f1 + f2);
91 print(f2 * f);
98 print(v1);
99 print(v2);
100 print(v3);
106 print(v1);
107 print(v2);
111 print(
[all...]
H A DbranchElimination.js31 print(1);
34 print(2);
36 print(3);
44 print(1);
46 print(2);
49 print(3);
56 print(1);
58 print(2);
66 print(1);
68 print(
[all...]
/arkcompiler/ets_runtime/test/moduletest/elements_kind/
H A Delements_kind.js35 print("test1 - success");
37 print("test1 - failed");
47 print("test2 - success");
49 print("test2 - failed");
58 print(a[10]); // deopt point
60 print("test3 - success");
62 print("test3 - failed");
71 print(a[10]); // deopt point
74 print("test4 - success");
76 print("test
[all...]
/arkcompiler/ets_frontend/es2panda/test/optimizer/js/opt-try-catch-func/
H A Dtest-raw-try-catch.js21 print(e);
22 print(a);
25 print(a);
29 print(a);
32 print(a);
36 print(e);
37 print(a);
40 print(a);
43 print(a);
48 print(
[all...]
/arkcompiler/ets_runtime/test/moduletest/elements_kind_generic/
H A Delements_kind_generic.js28 print("test1 - success");
30 print("test1 - failed");
40 print("test2 - success");
42 print("test2 - failed");
51 print(a[10]);
53 print("test3 - success");
55 print("test3 - failed");
64 print(a[10]);
67 print("test4 - success");
69 print("test
[all...]
/arkcompiler/ets_runtime/test/moduletest/array/
H A Darray.js24 print(a.length);
28 print(arr1);
33 print(arr2.length);
34 print(a1);
38 print(arr3.length);
39 print(arr3);
43 print(arr4.length);
44 print(arr4);
48 print(arr4.length);
49 print(arr
[all...]
/arkcompiler/ets_frontend/es2panda/test/compiler/js/language/arguments-object/
H A Dtest-key-named-called-func-bound-value.js99 print(obj[2e3]()); // call key 2e3
100 print(obj[2000]()); // call key 2e3
101 print(obj[1000]());
103 print(obj[NaN]());
104 print(obj[0]()); // 0.0 == 0
105 print(obj[Infinity]());
107 print(obj[1e-6]());
108 print(obj[0.000001]());
109 print(obj[0.000002]());
110 print(ob
[all...]
H A Dtest-key-named-bound-value.js37 print(number[2e3]); // call key 2e3
38 print(number[2000]); // call key 2e3
39 print(number[1000]);
41 print(number[NaN]);
42 print(number[0]); // equal to 0.0
43 print(number[Infinity]);
45 print(number[1e-6]);
46 print(number[0.000001]);
47 print(number[0.000002]);
48 print(numbe
[all...]
/arkcompiler/ets_runtime/test/aottest/not_equal/
H A Dnot_equal.js17 print(a != null);
18 print(null != a);
19 print(a != undefined);
20 print(undefined != a);
23 print(b != null);
24 print(null != b);
25 print(b != undefined);
26 print(undefined != b);
29 print(c != null);
30 print(nul
[all...]
/arkcompiler/ets_runtime/test/aottest/regressioncase/
H A Dregressioncase.js22 print("toString");
28 print("error");
34 print(Number.NaN != Number.NaN);
43 print(a.x);
49 print(1 / (-1 % 1));
50 print(1 / (-1 % -1));
51 print(1 / (-3 % 1));
52 print(1 / (-3 % -1));
53 print(1 / (-3 % 3));
54 print(
[all...]
/arkcompiler/ets_frontend/es2panda/test/optimizer/js/branch-elimination/
H A Dtest-branch-elimination.js19 print("good");
21 print("bad")
24 print("good1");
26 print("good2");
29 print("good3");
31 print("good4");
34 print("good5");
36 print("good6");
47 print("bad");
49 print("goo
[all...]
/arkcompiler/ets_runtime/test/moduletest/regress/
H A Dregress.js17 print(JSON.stringify({ x : 1 }, ["x", 1, "x", 1]));
18 print(JSON.stringify({ 1 : 1 }, ["x", 1, "x", 1]));
19 print(JSON.stringify({ 1 : 1 }, ["1", 1, "1", 1]));
20 print(JSON.stringify({ 1 : 1 }, [1, "1", 1, "1"]));
24 print(JSON.stringify(getter_obj, ["x", "y", "x"]));
25 print(1 == fired);
27 print(JSON.stringify({ x : 3, y : 4}, ["y", "x"]));
28 print(JSON.stringify({ x : 3, y : 4, 1 : 2 }, ["y", 1, "x"]));
32 print(JSON.stringify(a, ["__proto__", "x", "__proto__"]));
34 print(JSO
[all...]
/arkcompiler/ets_runtime/test/moduletest/jsonparser/
H A Djsonparser.js24 print(json);
26 print(json2);
28 print(json3);
36 print(res["11111111"]);
37 print(res["22222222"]);
38 print(res["00000000"]);
43 print(o);
47 print(res2);
51 print(res3);
55 print(res
[all...]
/arkcompiler/ets_runtime/test/moduletest/stringfromcharcode/
H A Dstringfromcharcode.js27 print(str1);
28 print(str2);
29 print(str3);
34 print(obj[8]);
35 print(obj.Z);
36 print(obj.q);
40 print(str4.charAt(4));
41 print(str5.charAt(4));
43 print(obj.k);
48 print(str
[all...]
/arkcompiler/ets_runtime/test/moduletest/object/
H A Dobject.js39 print(_handler === handler);
40 print(_target === target);
43 print(_handler === handler);
44 print(_target === target);
177 print(Object.getOwnPropertyNames(obj1));
178 print(Object.getOwnPropertyNames(obj2));
179 print(Object.getOwnPropertyNames(obj3));
180 print(Object.getOwnPropertyNames(obj4));
181 print(Object.getOwnPropertyNames(obj5));
182 print(Objec
[all...]
/arkcompiler/ets_runtime/test/moduletest/arrayfrom/
H A Darrayfrom.js17 print(arr);
19 print(arr);
21 print(arr);
23 print(arr);
26 print(arr)
28 print(arr);
30 print(arr);
32 print(arr.length)
35 print(arr.length)
43 print(ar
[all...]
/arkcompiler/ets_runtime/test/moduletest/callframe/
H A Dcallframe.js83 print(foo0(1,2,3));
84 print(foo1(1,2,3)); // 'this' is undefined in strict mode
85 print(foo2(1,2,3));
86 print(foo3(1,2,3));
87 print(foo4(1,2,3));
88 print(foo5(1,2,3)); // 'this' is undefined in strict mode
89 print(foo6(1,2,3));
90 print(foo7(1,2,3));
91 print(new foo0(1,2,3).a);
92 print(ne
[all...]
/arkcompiler/ets_runtime/test/moduletest/builtins/
H A Dbuiltinsir.js22 print("builtins ir start");
24 print(str1.charCodeAt(1.231));
25 print(str1.charCodeAt(undefined));
26 print(str1.charCodeAt(new Date()));
27 print(str1.charCodeAt(14));
28 print(str1.charCodeAt(3));
29 print(str1.indexOf("wpy"));
30 print(str1.indexOf("py", 0));
31 print(str1.indexOf("py", 5));
32 print(str
[all...]
/arkcompiler/ets_runtime/test/moduletest/typearray/
H A Dtypearray.js33 print(ctor.name + " test success !!!")
35 print(ctor.name + " test fail !!!")
44 print(ctor.name + " test success !!!")
46 print(ctor.name + " test fail !!!")
172 print(a3.length);
180 print(obj1[235]);
186 print("test successful !!!");
193 print("test successful !!!");
200 print(protoOf.apply(protoOf, a7));
203 print(reversedUint
[all...]
/arkcompiler/ets_runtime/test/moduletest/stringsplit/
H A Dstringsplit.js26 print(e);
36 print(res1.length)
37 print(res1.length == res2.length);
38 print(res1[0] == res2[0]);
41 print(res3.length)
42 print(res3.length == res4.length);
43 print(res3[0] == res4[0]);
46 print(res5.length)
47 print(res5.length == res6.length);
48 print(res
[all...]
/arkcompiler/ets_runtime/test/moduletest/regexpflagd/
H A Dregexpflagd.js25 print(regexpNames.hasIndices);
26 print(regexpNames.flags);
27 print(result.indices[0]);
28 print(result.indices[1]);
29 print(result.indices[2]);
30 print(result.indices.groups.first);
31 print(result.indices.groups.last);
32 print(result.groups.first);
33 print(result.groups.last);
36 print(resul
[all...]
/arkcompiler/ets_runtime/test/moduletest/objecthasownproperty/
H A Dobjecthasownproperty.js39 print(obj.hasOwnProperty("大家"));
40 print(obj.hasOwnProperty("wodehaoxiongdi"));
41 print(obj.hasOwnProperty("回家好好slsa"));
42 print(obj.hasOwnProperty("wodehaoxiongdi回家好好slsa"));
43 print(obj.hasOwnProperty("wodehaoxiongdijiarenmeng"));
44 print(obj.hasOwnProperty("wodehaoxiongditianti"));
48 print(arr.hasOwnProperty("0"));
49 print(arr.hasOwnProperty("1"));
50 print(arr.hasOwnProperty("wodehaoxiongdi"));
58 print(arr
[all...]
/arkcompiler/ets_runtime/test/moduletest/regexp/
H A Dregexp.js25 print(JSON.stringify(str.replace(regexp,"b")));
30 print(JSON.stringify(str.replace(regexp,"b")));
35 print(JSON.stringify(str.replace(regexp,"b")));
40 print(JSON.stringify(str.replace(regexp,"b")));
46 print(result);
50 print(result1);
53 print(reg2.test('άέήίΰϊϋόύώ'));
55 print(reg2.test('ΆΈΉΊΪΫΎΏ'));
57 print(reg2.test('αβγδεζηθικλμνξοπρςστυφχψω'));
59 print(reg
422 print(RegExp.prototype.dotAll) global() class
[all...]

Completed in 8 milliseconds

12345678910>>...29