Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 189) sorted by relevance

12345678

/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/
Dtest-class-with-overload-method-expected.txt7 val: 2
12 val: -2
17 val: 24
22 val: _7
29 val: 2
34 val: -1
39 val: 24
44 val: _5
49 val: 2
54 val: -2
[all …]
Dtest-index-signature-expected.txt7 val: 2
12 val: -2
17 val: 24
22 val: _8
29 val: 2
34 val: -2
39 val: 24
44 val: _9
51 val: 2
56 val: 0
[all …]
Dtest-function-with-this-expected.txt7 val: 2
12 val: -1
17 val: 24
22 val: _6
29 val: 2
34 val: -2
39 val: 24
44 val: _4
51 val: 2
56 val: -2
[all …]
Dtest-class-with-abstract-method-expected.txt7 val: 2
12 val: 2
17 val: 24
22 val: _1
29 val: 2
34 val: -1
39 val: 24
44 val: _5
51 val: 2
56 val: -1
[all …]
Dtest-class-generic-type-expected.txt7 val: 2
12 val: -1
17 val: 24
22 val: _2
27 val: 2
32 val: -2
37 val: 24
42 val: _4
49 val: 2
54 val: -1
[all …]
Dtest-class-1-expected.txt7 val: 2
12 val: -2
17 val: 24
22 val: _3
29 val: 2
34 val: -1
39 val: 24
44 val: _2
49 val: 2
54 val: -2
[all …]
Dtest-builtin-generic-class-type-expected.txt7 val: 2
12 val: 1
17 val: 25
22 val: 40
27 val: 2
32 val: 3
37 val: 24
42 val: _1
47 val: 2
52 val: 4
[all …]
Dtest-interface-expected.txt7 val: 2
12 val: 3
17 val: 24
22 val: _3
27 val: 2
32 val: 6
37 val: 24
42 val: _2
49 val: 2
54 val: 3
[all …]
Dtest-class-with-static-field-expected.txt7 val: 2
12 val: -2
17 val: 24
22 val: _2
29 val: 2
34 val: 3
39 val: 24
44 val: _1
51 val: 2
56 val: 2
[all …]
Dtest-class-expected.txt7 val: 2
12 val: -2
17 val: 24
22 val: _2
29 val: 2
34 val: 3
39 val: 24
44 val: _1
49 val: 2
54 val: 6
[all …]
Dtest-namespace-enum-transformed-function-expected.txt7 val: 2
12 val: -1
17 val: 25
22 val: 255
29 val: 2
34 val: -1
39 val: 25
44 val: 255
51 val: 2
56 val: -1
[all …]
Dtest-type-alias-for-loop-3-expected.txt7 val: 2
12 val: 0
17 val: 24
22 val: _1
29 val: 2
34 val: 2
39 val: 24
44 val: _1
49 val: 24
54 val: _2
[all …]
Dtest-type-alias-for-loop-2-expected.txt7 val: 2
12 val: 0
17 val: 24
22 val: _1
29 val: 2
34 val: 2
39 val: 24
44 val: _1
49 val: 24
54 val: _2
[all …]
Dtest-type-alias-for-loop-1-expected.txt7 val: 2
12 val: 0
17 val: 24
22 val: _2
29 val: 2
34 val: 2
39 val: 24
44 val: _1
49 val: 24
54 val: _2
[all …]
Dtest-export-star-expected.txt7 val: 2
12 val: 0
17 val: 2
22 val: 1
27 val: 5
32 val: ./test2
39 val: 2
44 val: ./test1
49 val: ./test2
54 val: 0
[all …]
/arkcompiler/ets_frontend/es2panda/test/type_extractor/dts-testcases/
Dtest-type-summary-order-1-expected.txt7 val: 2
12 val: 83
17 val: 24
22 val: _1
27 val: 24
32 val: _2
37 val: 24
42 val: _3
47 val: 24
52 val: _4
[all …]
Dtest-interface-type-test-1-expected.txt7 val: 2
12 val: 83
17 val: 24
22 val: _1
27 val: 24
32 val: _2
37 val: 24
42 val: _3
47 val: 24
52 val: _4
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DprivacyTypeParametersOfClassDeclFile.ts28 myMethod(val: T): T {
29 AssertType(val, "T");
30 return val;
35 myMethod(val: T): T {
36 AssertType(val, "T");
37 return val;
42 myMethod(val: T): T {
43 AssertType(val, "T");
44 return val;
49 myMethod(val: T): T {
[all …]
DdiscriminantElementAccessCheck.ts37 function IfWithString(val: U) {
38 if (val['kind'] === 'B') {
39 AssertType(val['kind'] === 'B', "boolean");
40 AssertType(val['kind'], "union");
41 AssertType(val, "U");
45 AssertType(val.b, "string");
46 return val.b;
49 AssertType(val.a, "number");
50 return val.a;
54 function SwitchWithString(val: U) {
[all …]
DprivacyTypeParametersOfClass.ts29 myMethod(val: T): T { // Error
30 AssertType(val, "T");
31 return val;
36 myMethod(val: T): T { // No Error
37 AssertType(val, "T");
38 return val;
43 myMethod(val: T): T { // No Error
44 AssertType(val, "T");
45 return val;
50 myMethod(val: T): T { // No Error
[all …]
DtypeofObjectInference.ts21 let val = 1
22 AssertType(val, "number");
25 function decorateA<O extends any>(fn: (first: {value: typeof val}) => O) {
26 AssertType((): O => fn({value: val}), "() => O");
27 AssertType(fn({value: val}), "O");
29 AssertType({value: val}, "{ value: number; }");
31 AssertType(val, "number");
32 return (): O => fn({value: val})
42 function decorateB<O extends any>(fn: (first: typeof val) => O) {
43 AssertType((): O => fn(val), "() => O");
[all …]
DcontrolFlowDestructuringLoop.ts23 interface NumVal { val: number; }
24 interface StrVal { val: string; } property
28 AssertType(typeof x.val === 'number', "boolean");
29 AssertType(typeof x.val, "union");
30 AssertType(x.val, "union");
32 return typeof x.val === 'number';
45 const { val } = thing; constant
46 AssertType(val, "number");
49 val.toFixed(2);
50 AssertType(val.toFixed(2), "string");
[all …]
D2dArrays.ts33 AssertType(this.ships.every(function (val) { return val.isSunk; }), "boolean");
37 AssertType(function (val) { return val.isSunk; }, "(Ship) => boolean");
38 AssertType(val, "Ship");
39 AssertType(val.isSunk, "boolean");
40 return this.ships.every(function (val) { return val.isSunk; });
DinOperatorWithFunction.ts21 let fn = function (val: boolean) {
23 return val;
25 AssertType(function (val: boolean) { return val; }, "(boolean) => boolean");
27 AssertType(val, "boolean");
29 AssertType(val, "boolean");
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
Dfmutex.h30 #define ATOMIC_STORE(addr, val, mem) atomic_store_explicit(addr, val, mem) argument
32 #define ATOMIC_FETCH_ADD(addr, val, mem) atomic_fetch_add_explicit(addr, val, mem) argument
33 #define ATOMIC_FETCH_SUB(addr, val, mem) atomic_fetch_sub_explicit(addr, val, mem) argument
53 #define ATOMIC_STORE(addr, val, mem) (addr)->store(val, std::mem) // NOLINT(cppcoreguideli… argument
55 #define ATOMIC_FETCH_ADD(addr, val, mem) (addr)->fetch_add(val, std::mem) // NOLINT(cppcoreguideli… argument
56 #define ATOMIC_FETCH_SUB(addr, val, mem) (addr)->fetch_sub(val, std::mem) // NOLINT(cppcoreguideli… argument
77 inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, volatile int… in futex() argument
80 return syscall(SYS_futex, uaddr, op, val, timeout, uaddr2, val3); in futex()

12345678