Home
last modified time | relevance | path

Searched full:x (Results 1 – 25 of 3332) sorted by relevance

12345678910>>...134

/arkcompiler/ets_runtime/test/jittest/bytecode_to_cir_with_insufficient_profile_010/
Dbytecode_to_cir_with_insufficient_profile_010.ts22 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
23 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
24 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
25 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule71.ets21 let x = 0
24 x = (++x, x++)
58 x++, x--
61 x++, x--, ++x, --x, x
64 if (x++, x === 1) {
66 x++, x--, ++x, --x, x
70 x++ + x--, ++x, --x;
73 ++x, x-- + x++, --x
76 ++x, --x, x-- + x++;
79 x === x, --x, x === x, x++, x === x
[all …]
Drule71.ets.migrate.ets21 let x = 0
24 x = (++x, x++)
58 x++;
59 x--;
62 x++;
63 x--;
64 ++x;
65 --x;
66 x;
69 if (x++, x === 1) {
[all …]
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_2/
Dlazy_deopt_2.js27 // Change the property 'x' at the second level of the prototype chain,
29 obj.__proto__.__proto__.x = 2;
33 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
34 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
35 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
36 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
39 // Modify the value of property 'x' on a specific level in the prototype chain of the object.
47 // Test function that calls ChangePrototypeValue and prints the value of obj.x.
51 print("Test2 obj.x :", obj.x);
59 // Set the initial value of property x through A.prototype.
[all …]
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_6/
Dlazy_deopt_6.js31 // Update the 'x' property at the second level of the prototype chain,
33 obj.__proto__.__proto__.x = 2;
39 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
40 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
41 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
42 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
56 // Output the current value of the property 'x'.
57 print("Test obj.x :", obj.x);
65 // Set the initial value of 'x' on A's prototype.
66 A.prototype.x = 1; method in A
[all …]
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_4/
Dlazy_deopt_4.js29 // Update the 'x' property at the second level of the prototype chain,
31 obj.__proto__.__proto__.x = 2;
35 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
36 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
37 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
38 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
59 // Output the current value of the property 'x'.
60 print("Test obj.x :", obj.x);
68 // Set the initial value of 'x' on A's prototype.
69 A.prototype.x = 1; method in A
[all …]
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_3/
Dlazy_deopt_3.js25 // Modify the value of property 'x' on a specific level in the prototype chain of the object.
29 // Change the property 'x' at the second level of the prototype chain,
31 obj.__proto__.__proto__.x = 2;
37 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
38 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
39 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
40 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
44 // Test function that calls ChangePrototypeValue and prints the value of obj.x.
48 print("Test2 obj.x :", obj.x);
56 // Set the initial value of property x through A.prototype.
[all …]
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_5/
Dlazy_deopt_5.js31 // Update the 'x' property at the second level of the prototype chain,
33 obj.__proto__.__proto__.x = 2;
46 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
47 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
48 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
49 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
56 // Output the current value of the property 'x'.
57 print("Test obj.x :", obj.x);
65 // Set the initial value of 'x' on A's prototype.
66 A.prototype.x = 1; method in A
[all …]
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_17/
Dlazy_deopt_17.js32 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
33 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
34 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
35 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
39 A.prototype.__proto__.x = 1;
44 // Change the property 'x' at the the prototype chain,
46 A.prototype.x = 2; method in A
54 print(a2.x);
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_18/
Dlazy_deopt_18.js34 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
35 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
36 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
37 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
40 // Modify the value of property 'x' on a specific level in the prototype chain of the object.
48 // Test function that calls ChangePrototypeValue and prints the value of obj.x.
52 print("Test2 obj.x :", obj.x);
60 // Set the initial value of property x through A.prototype.
61 A.prototype.x = 1; method in A
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_7/
Dlazy_deopt_7.js35 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
36 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
37 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
38 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
42 obj.x;
50 // Set the initial value of property x through A.prototype.
51 A.prototype.x = 1; method in A
/arkcompiler/ets_runtime/ecmascript/compiler/
Dlcr_circuit_builder.h25 GateRef CircuitBuilder::Int8Equal(GateRef x, GateRef y) in Int8Equal() argument
27 return Equal(x, y); in Int8Equal()
30 GateRef CircuitBuilder::Int32NotEqual(GateRef x, GateRef y) in Int32NotEqual() argument
32 return NotEqual(x, y); in Int32NotEqual()
35 GateRef CircuitBuilder::Int64NotEqual(GateRef x, GateRef y) in Int64NotEqual() argument
37 return NotEqual(x, y); in Int64NotEqual()
40 GateRef CircuitBuilder::Int64Equal(GateRef x, GateRef y) in Int64Equal() argument
42 return Equal(x, y); in Int64Equal()
45 GateRef CircuitBuilder::Int32Equal(GateRef x, GateRef y) in Int32Equal() argument
47 return Equal(x, y); in Int32Equal()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DUnionAsAndInstanceof.ets38 function foo(x: Object | null | undefined) { return x as Object }
43 assert_ccexc(() => { let f = ((x: Object | null | undefined) => x as Object); f(null); });
44 assert_ccexc(() => { let f = ((x: Object | null | undefined) => x as Object); f(undefined); });
45 assert_ccexc(() => { let f = ((x: Object | null) => x as Object); f(null); });
46 assert_ccexc(() => { let f = ((x: Object | undefined) => x as Object); f(undefined); });
48 …assert_ccexc(() => { let f = ((x: Object | null | undefined) => x as Object | undefined); f(null);…
49 …assert_ccexc(() => { let f = ((x: Object | null | undefined) => x as Object | null); f(undefined);…
50 assert_ccexc(() => { let f = ((x: Object | null) => x as Object | undefined); f(null); });
51 assert_ccexc(() => { let f = ((x: Object | undefined) => x as Object | null); f(undefined); });
53 assert_ccexc(() => { let f = ((x: A | null | undefined) => x as A); f(null); });
[all …]
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_14/
Dlazy_deopt_14.js30 // Change the property 'x' at the second level of the prototype chain,
40 Object.defineProperty(obj.__proto__.__proto__, 'x', {
60 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
61 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
62 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
63 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
67 // Test function that calls ChangePrototypeValue and prints the value of obj.x.
71 obj.x = 1;
72 print("Test2 obj.x :", obj.x);
80 // Set the initial value of property x through A.prototype.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/01.type_arguments/type_arguments_of_parameterized_declarations/
Dclass_args.params.yaml18 let v: A<X> = new A<X>(new X())
21 let v: A<X> = new A<X>(new X())
22 bound: ' extends X'
25 let v: A<X|null> = new A<X|null>(null)
28 let v: A<A<X>> = new A<A<X>>(new A<X>(new X()))
31 let v: A<A<X>> = new A<A<X>>(new A<X>(new X()))
36 let v: A<I> = new A<I>(new X())
39 let v: A<A<I>> = new A<A<I>>(new A<I>(new X()))
47 let v: A<X[]> = new A<X[]>(new X[0])
50 let v: A<X[]> = new A<X[]>(new X[0])
[all …]
Dinterface_args.params.yaml18 let v: J<X> = new A<X>(new X())
21 let v: J<X> = new A<X>(new X())
22 bound: ' extends X'
25 let v: J<X> = new A<X>(new X())
26 bound: ' extends X|null'
29 let v: J<X|null> = new A<X|null>(new X())
30 bound: ' extends X|null'
33 let v: J<X|null> = new A<X|null>(null)
34 bound: ' extends X|null'
37 let v: J<X|null> = new A<X|null>(null)
[all …]
Dconstr_args1.params.yaml18 let v: A<X> = new A<X> (new X())
21 let v: A<X|null> = new A<X|null> (new X())
24 let v: A<X|null> = new A<X|null> (null)
27 let v: A<X> = new A<X> (new X())
28 bound: ' extends X'
31 let v: A<X|null> = new A<X|null> (new X())
32 bound: ' extends X|null'
35 let v: A<X|null> = new A<X|null> (null)
40 let v: A<I> = new A<I> (new X())
49 let v: A<I> = new A<I> (new X())
[all …]
Dclass_variance_neg2.params.yaml17 let a: A<in X> = new A<X>(new X())
18 let z: X = a.methOut()
21 let a: A<in X> = new A<X>(new X())
22 let z: X = a.methInOut(new X())
25 let a: A<in X> = new A<X>(new Y())
29 let a: A<out X> = new A<X>(new X())
30 a.methIn(new X())
33 let a: A<out X> = new A<X>(new X())
34 let z: X = a.methInOut(new X())
37 let a: A<out> = new A<Object|null>(new X())
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DIntlNumberFormatReadOptionsTest.ets24 let x: Intl.NumberFormatOptions = {};
25 assertEQ(x.compactDisplay, undefined);
26 assertEQ(x.currency, undefined);
27 assertEQ(x.currencyDisplay, undefined);
28 assertEQ(x.currencySign, undefined);
29 assertEQ(x.localeMatcher, undefined);
30 assertEQ(x.maximumFractionDigits, undefined);
31 assertEQ(x.maximumSignificantDigits, undefined);
32 assertEQ(x.minimumFractionDigits, undefined);
33 assertEQ(x.minimumIntegerDigits, undefined);
[all …]
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_9/
Dlazy_deopt_9.js32 // Modify the 'x' property at the second level of the prototype chain,
34 obj.__proto__.__proto__.x = 2;
60 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
61 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
62 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
63 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
66 // Function Test calls Test2 to trigger deoptimization and then prints the value of 'x'.
71 print("Test obj.x:", obj.x);
80 A.prototype.x = 1; method in A
86 // First test: do not modify the prototype, so property 'x' remains unchanged.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/mangling/
Dmangle_signature_test.ets24 foo(x: boolean) {}
25 foo(x: char) {}
26 foo(x: byte) {}
27 foo(x: short) {}
28 foo(x: int) {}
29 foo(x: long) {}
30 foo(x: float) {}
31 foo(x: double) {}
32 foo(x: double, y: A, z: B): E { return E.R }
37 $_set(index: number, x: boolean) {}
[all …]
/arkcompiler/ets_runtime/test/jittest/lazy_deopt_8/
Dlazy_deopt_8.js32 // Modify the 'x' property at the second level of the prototype chain,
34 obj.__proto__.__proto__.x = 2;
61 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
62 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
63 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
64 test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x; test.x;
67 // Function Test calls Test2 to trigger deoptimization and then prints the value of 'x'.
73 print("Test obj.x:", obj.x);
82 A.prototype.x = 1; method in A
88 // First test: do not modify the prototype, so property 'x' remains unchanged.
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/Array/FindFindIndex/
DbuiltinArrayFindFindIndex.ts17 var x = [1,2.5,NaN,undefined,null,false,true,"ark"]
19 var inlineFind = x.find(x=>{
20 return x === "ark"
23 var inlineNotFind = x.find(x=>{
24 return x === "a_rk"
27 var inlineFindIndex = x.findIndex(x=>{
28 return x === "ark"
31 var inlineNotFindIndex = x.findIndex(x=>{
32 return x === "a_rk"
41 var inlineFindNumber = x.find(x=>{
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_es_checked/
Dint8array_lambas.yaml23 (x): boolean => true
25 (x): boolean => false
27 (x: number): boolean => isNaN(x)
29 (x: number): boolean => x > 0
31 (x: number): boolean => x < 0
33 (x: number): boolean => x == 1
35 (x: number): boolean => x % 2 == 0
37 (x: number): boolean => Math.abs(x) == 1
39 (x: number, i: number): boolean => (x + i) > 0
41 (x: number, i: number, s: Int8Array): boolean => (x + i) > 0
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_object/
Ddynamic_call.ets20 let x = RegularFunc() as Int;
22 assertTrue(x == callee() as Int)
23 return x
32 public x: Int;
34 let x = new DynamicField();
35 x.foo();
36 let callee = x.foo;
37 assertTrue(x.foo() == callee() as Int)
38 // return x.foo()
39 this.x = x.foo();
[all …]

12345678910>>...134