Home
last modified time | relevance | path

Searched full:b (Results 1 – 25 of 4709) sorted by relevance

12345678910>>...189

/arkcompiler/runtime_core/bytecode_optimizer/tests/js/
DconstantProgagation.js32 let b = 1;
34 print(a > b);
36 print(a > b);
39 b = false;
40 print(a > b);
43 b = 2.2;
44 print(a > b);
50 let b = 1.1;
52 print(a > b);
53 b = false;
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-binary-expression.js17 a | b
18 a ^ b
19 a & b
20 a == b
21 a != b
22 a === b
23 a !== b
24 a < b
25 a <= b
26 a > b
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-binary-expression.js17 a | b
18 a ^ b
19 a & b
20 a == b
21 a != b
22 a === b
23 a !== b
24 a < b
25 a <= b
26 a > b
[all …]
/arkcompiler/ets_runtime/test/aottest/privateproperty/
Dprivateproperty.ts45 class B {} class
46 B.prototype.foo = function () {
81 #b;
83 this.#b = Uint8Array;
84 this.#b = Uint8Array;
85 this.#b = Uint8Array;
86 this.#b = Uint8Array;
87 this.#b = Uint8Array;
88 this.#b = Uint8Array;
89 this.#b = Uint8Array;
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dinstruction_combine_test.cpp360 CircuitBuilder b(&circuit); in HWTEST_F_L0() local
361 Environment env(0, &b); in HWTEST_F_L0()
362 b.SetEnvironment(&env); in HWTEST_F_L0()
368 auto x = b.Arguments(1); in HWTEST_F_L0()
369 auto const_0 = b.Int64(0); in HWTEST_F_L0()
370 auto result = b.Int64Mul(x, const_0); in HWTEST_F_L0()
375 auto x = b.Arguments(1); in HWTEST_F_L0()
376 auto const_1 = b.Int64(1); in HWTEST_F_L0()
377 auto result = b.Int64Mul(x, const_1); in HWTEST_F_L0()
383 auto const_1 = b.Int64(1); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/call_cons/
Dcall-cons-n2.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
25 function foo(p: B): B {
26 return b
28 type: '(p: A) => B'
32 class B extends A {}
33 class C extends B {}
35 let b: B = new B()
38 function foo(p: B): B {
[all …]
Dcall-cons.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
31 - type: '(p: B) => C'
32 call: '(new B()) === c'
36 - type: '(p: A) => B'
38 - type: '(p: B) => B'
39 call: '(new B()) === c'
40 - type: '(p: C) => B'
45 - type: '(p: B) => A'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/comp_obj/
Dcomp-clss-n2.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
25 function foo(p: B): B {
26 return b
28 type: '(p: A) => B'
32 class B extends A {}
33 class C extends B {}
35 let b: B = new B()
38 function foo(p: B): B {
[all …]
Dcomp-clss.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
31 - type: '(p: B) => C'
32 call: '(new B()) === c'
36 - type: '(p: A) => B'
38 - type: '(p: B) => B'
39 call: '(new B()) === c'
40 - type: '(p: C) => B'
45 - type: '(p: B) => A'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/call_lmbd/
Dcall-lmbd-n2.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
25 function foo(p: B): B {
26 return b
28 type: '(p: A) => B'
32 class B extends A {}
33 class C extends B {}
35 let b: B = new B()
38 function foo(p: B): B {
[all …]
Dcall-lmbd.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
31 - type: '(p: B) => C'
32 call: '(new B()) === c'
36 - type: '(p: A) => B'
38 - type: '(p: B) => B'
39 call: '(new B()) === c'
40 - type: '(p: C) => B'
45 - type: '(p: B) => A'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/call_func/
Dcall-func-n2.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
25 function foo(p: B): B {
26 return b
28 type: '(p: A) => B'
32 class B extends A {}
33 class C extends B {}
35 let b: B = new B()
38 function foo(p: B): B {
[all …]
Dcall-func.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
31 - type: '(p: B) => C'
32 call: '(new B()) === c'
36 - type: '(p: A) => B'
38 - type: '(p: B) => B'
39 call: '(new B()) === c'
40 - type: '(p: C) => B'
45 - type: '(p: B) => A'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/call_meth/
Dcall-meth-n2.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
25 function foo(p: B): B {
26 return b
28 type: '(p: A) => B'
32 class B extends A {}
33 class C extends B {}
35 let b: B = new B()
38 function foo(p: B): B {
[all …]
Dcall-meth.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
31 - type: '(p: B) => C'
32 call: '(new B()) === c'
36 - type: '(p: A) => B'
38 - type: '(p: B) => B'
39 call: '(new B()) === c'
40 - type: '(p: C) => B'
45 - type: '(p: B) => A'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/comp_arr/
Dcomp-arr-n2.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
25 function foo(p: B): B {
26 return b
28 type: '(p: A) => B'
32 class B extends A {}
33 class C extends B {}
35 let b: B = new B()
38 function foo(p: B): B {
[all …]
Dcomp-arr.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
31 - type: '(p: B) => C'
32 call: '(new B()) === c'
36 - type: '(p: A) => B'
38 - type: '(p: B) => B'
39 call: '(new B()) === c'
40 - type: '(p: C) => B'
45 - type: '(p: B) => A'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/decl_field/
Ddecl-field-n2.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
25 function foo(p: B): B {
26 return b
28 type: '(p: A) => B'
32 class B extends A {}
33 class C extends B {}
35 let b: B = new B()
38 function foo(p: B): B {
[all …]
Ddecl-field.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
31 - type: '(p: B) => C'
32 call: '(new B()) === c'
36 - type: '(p: A) => B'
38 - type: '(p: B) => B'
39 call: '(new B()) === c'
40 - type: '(p: C) => B'
45 - type: '(p: B) => A'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/decl_var/
Ddecl-var-n2.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
25 function foo(p: B): B {
26 return b
28 type: '(p: A) => B'
32 class B extends A {}
33 class C extends B {}
35 let b: B = new B()
38 function foo(p: B): B {
[all …]
Ddecl-var.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
31 - type: '(p: B) => C'
32 call: '(new B()) === c'
36 - type: '(p: A) => B'
38 - type: '(p: B) => B'
39 call: '(new B()) === c'
40 - type: '(p: C) => B'
45 - type: '(p: B) => A'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/assn_var/
Dassn-var-n2.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
25 function foo(p: B): B {
26 return b
28 type: '(p: A) => B'
32 class B extends A {}
33 class C extends B {}
35 let b: B = new B()
38 function foo(p: B): B {
[all …]
Dassn-var.params.yaml19 class B extends A {}
20 class C extends B {}
22 let b: B = new B()
31 - type: '(p: B) => C'
32 call: '(new B()) === c'
36 - type: '(p: A) => B'
38 - type: '(p: B) => B'
39 call: '(new B()) === c'
40 - type: '(p: C) => B'
45 - type: '(p: B) => A'
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dobject_literals.sts18 b: string;
23 b: string;
35 let a1 = { a: 1, b: 'a' }; // NOT OK
36 let a2: any = { a: 2, b: 'b' }; // OK - ASSIGNMENT TO ANY
37 let a3: { a: number; b: string } = { a: 30, b: 'c' }; // NOT OK
38 let a4: I = { a: 4, b: 'd' }; // OK
39 let a5: C = { a: 5, b: 'e' }; // OK
43 w: { a: 7, b: 'g' }, // OK - ASSIGNMENT TO ANY
44 e: { a: 8, b: 'h' }, // OK
45 r: { a: 9, b: 'i' }, // OK
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/25.equality_expressions/
Deq.params.yaml15 - { a: 'null', b: 'null' }
16 - { a: '[null, null]', b: '[null, null]' }
18 - { a: 'undefined', b: 'undefined' }
19 - { a: '[undefined]', b: '[undefined]' }
21 - { a: '3.14', b: '3.14' }
22 - { a: '[3.14]', b: '[3.14]' }
24 - { a: 'true', b: 'false' }
25 - { a: '[true]', b: '[false]' }
27 - { a: "c'A'", b: "c'B'" }
28 - { a: "[c'A']", b: "[c'B']" }
[all …]

12345678910>>...189