Home
last modified time | relevance | path

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

12345678910>>...232

/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/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/02.explicit_generic_instantiations/
Dclass.params.yaml20 b: U
21 constructor(a: T, b: U) {
23 this.b = b
29 assertEQ(typeof cls.b, 'string')
34 constructor(a: T, b: U) {
35 this.a = [a, b]
52 class B<T, U> extends A<T>{
53 b: U
54 constructor(a: T, b: U) {
56 this.b = b
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/19.union_types/02.access_to_common_union_members/
Dcm_fld1.params.yaml22 class B {
25 let u1: A|B = new A
26 let u2: A|B = new B
36 class B {
39 let u1: A|B = new A
40 let u2: A|B = new B
50 class B {
53 let u1: A|B = new A
54 let u2: A|B = new B
64 class B {
[all …]
Dcm_meth1.params.yaml27 class B {
35 let u1: A|B = new A
36 let u2: A|B = new B
48 class B {
53 let u1: A|B = new A
54 let u2: A|B = new B
66 class B {
71 let u1: A|B = new A
72 let u2: A|B = new B
84 class 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/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.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 …]
/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/ets_frontend/ets2panda/linter/test/main/
Dobject_literals.ets18 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 …]
Dobject_literals.ets.migrate.ets18 b: string;
23 b: string;
39 b: string;
43 b: string;
47 let a1: GeneratedObjectLiteralInterface_1 = { a: 1, b: 'a' }; // NOT OK
48 let a2: any = { a: 2, b: 'b' }; // OK - ASSIGNMENT TO ANY
49 let a3: GeneratedTypeLiteralInterface_2 = { a: 30, b: 'c' }; // NOT OK
50 let a4: I = { a: 4, b: 'd' }; // OK
51 let a5: C = { a: 5, b: 'e' }; // OK
55 w: { a: 7, b: 'g' }, // OK - ASSIGNMENT TO ANY
[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 …]
/arkcompiler/ets_runtime/test/moduletest/enum_cache_sendable/
Dexpect_output.txt16 b
18 a,b,c
21 "b": 2,
25 b
27 a,b,c
30 "b": 2,
34 b
36 a,b,c
39 "b": 2,
45 b
[all …]
/arkcompiler/ets_runtime/test/aottest/enum_cache_sendable/
Dpgo_expect_output.txt16 b
18 a,b,c
21 "b": 2,
25 b
27 a,b,c
30 "b": 2,
34 b
36 a,b,c
39 "b": 2,
45 b
[all …]
Dexpect_output.txt16 b
18 a,b,c
21 "b": 2,
25 b
27 a,b,c
30 "b": 2,
34 b
36 a,b,c
39 "b": 2,
45 b
[all …]
/arkcompiler/ets_frontend/ets2panda/test/compiler/ts/
DvarRedeclaration.ts20 var b: number; variable
21 var b: number; variable
26 var d: { a: number, b: string }; variable
27 var d: { b: string, a: number };
29 var e: (a: number, b: (string | number)[]) => void;
30 var e: (a: number, b: (string | number)[]) => void;
32 var f: { a: number, b: string } | { a: number[], b?: string }; variable
33 var f: { a: number, b: string } | { a: number[], b?: string }; variable
37 b: string, property
42 b: string, property
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DvarRedeclaration.ts20 var b: number; variable
21 var b: number; variable
26 var d: { a: number, b: string }; variable
27 var d: { b: string, a: number };
29 var e: (a: number, b: (string | number)[]) => void;
30 var e: (a: number, b: (string | number)[]) => void;
32 var f: { a: number, b: string } | { a: number[], b?: string }; variable
33 var f: { a: number, b: string } | { a: number[], b?: string }; variable
37 b: string, property
42 b: string, property
[all …]

12345678910>>...232