Home
last modified time | relevance | path

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

12345678910>>...21

/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/
Dtest-static-index-signature-expected.txt7 val: 2
12 val: -2
17 val: 24
22 val: _9
29 val: 2
34 val: -2
39 val: 24
44 val: _11
51 val: 2
56 val: -2
[all …]
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/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_math.cpp33 extern "C" double StdMathAcos(double val) in StdMathAcos() argument
35 return std::acos(val); in StdMathAcos()
38 extern "C" double StdMathAcosh(double val) in StdMathAcosh() argument
40 return std::acosh(val); in StdMathAcosh()
43 extern "C" double StdMathAsin(double val) in StdMathAsin() argument
45 return std::asin(val); in StdMathAsin()
48 extern "C" double StdMathAsinh(double val) in StdMathAsinh() argument
50 return std::asinh(val); in StdMathAsinh()
58 extern "C" double StdMathAtanh(double val) in StdMathAtanh() argument
60 return std::atanh(val); in StdMathAtanh()
[all …]
Dstd_core_Value.cpp37 EtsVoid *ValueAPISetFieldObject(EtsObject *obj, EtsLong i, EtsObject *val) in ValueAPISetFieldObject() argument
42 VMHandle<EtsObject> valHandle(coroutine, val->GetCoreType()); in ValueAPISetFieldObject()
51 void SetFieldValue(EtsObject *obj, EtsLong i, T val) in SetFieldValue() argument
60 objHandle.GetPtr()->SetFieldObject(fieldObject, EtsBoxPrimitive<T>::Create(coroutine, val)); in SetFieldValue()
63 objHandle.GetPtr()->SetFieldPrimitive<T>(fieldObject, val); in SetFieldValue()
66 EtsVoid *ValueAPISetFieldBoolean(EtsObject *obj, EtsLong i, EtsBoolean val) in ValueAPISetFieldBoolean() argument
68 SetFieldValue(obj, i, val); in ValueAPISetFieldBoolean()
72 EtsVoid *ValueAPISetFieldByte(EtsObject *obj, EtsLong i, EtsByte val) in ValueAPISetFieldByte() argument
74 SetFieldValue(obj, i, val); in ValueAPISetFieldByte()
78 EtsVoid *ValueAPISetFieldShort(EtsObject *obj, EtsLong i, EtsShort val) in ValueAPISetFieldShort() argument
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/sendable_class/
Dsendable-class-field-type-expected.txt29 val: 0
34 val: 0
39 val: 0
44 val: 0
49 val: 0
54 val: 0
61 val: 5
66 val: name
71 val: 2
76 val: 2
[all …]
Dsendable-class-getter-setter-expected.txt48 val: 0
53 val: 0
58 val: 0
63 val: 0
68 val: 0
73 val: 0
80 val: 5
85 val: prop
90 val: 2
95 val: 2
[all …]
/arkcompiler/runtime_core/static_core/verification/util/tests/
Dlazy_test.cpp30 auto calcFunc = [](int acc, int val) { return acc + val; }; in TEST() argument
38 …auto result2 = FoldLeft(Transform(ConstLazyFetch(testData), [](int val) { return val * 10; }), -49… in TEST() argument
41 …auto result3 = FoldLeft(Filter(ConstLazyFetch(testData), [](int val) { return val > 0; }), -1, cal… in TEST() argument
45 …t(Enumerate(ConstLazyFetch(testData)), 0, [](int acc, auto val) { return acc + std::get<0>(val); }… in TEST() argument
52 ForEach(ConstLazyFetch(testData), [&sum](int val) { sum += val; }); in TEST() argument
56 …for (const auto val : Iterable(Filter(ConstLazyFetch(testData), [](int val) { return val > 0; })))… in TEST() local
57 EXPECT_TRUE(val > 0); in TEST()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Djs_convert.h51 int64_t val; in UnwrapImpl() local
52 NAPI_CHECK_FATAL(napi_get_value_int64(env, jsVal, &val)); in UnwrapImpl()
53 etsVal = val; in UnwrapImpl()
55 int32_t val; in UnwrapImpl() local
56 NAPI_CHECK_FATAL(napi_get_value_int32(env, jsVal, &val)); in UnwrapImpl()
57 etsVal = val; in UnwrapImpl()
59 uint32_t val; in UnwrapImpl() local
60 NAPI_CHECK_FATAL(napi_get_value_uint32(env, jsVal, &val)); in UnwrapImpl()
61 etsVal = val; in UnwrapImpl()
82 double val; in UnwrapImpl() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/
Dutil.h51 inline bool Is8Bits(uint32 val) in Is8Bits() argument
53 return val >= 0xFFFFFF80 || val <= 0x7F; in Is8Bits()
56 inline bool Is16Bits(uint32 val) in Is16Bits() argument
58 return val >= 0xFFFF8000 || val <= 0x7FFF; in Is16Bits()
61 inline bool Is32Bits(uint64 val) in Is32Bits() argument
63 return val >= ~uint64(0x7FFFFFFFU) || val <= 0x7FFFFFFFU; in Is32Bits()
66 inline bool Is64Bits(uint64 val) in Is64Bits() argument
68 return val >= ~uint64(0x7FFFFFFFFFFFFFFFU) || val <= 0x7FFFFFFFFFFFFFFFU; in Is64Bits()

12345678910>>...21