Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_math.cpp111 extern "C" double StdMathAcos(double val) in StdMathAcos()
116 extern "C" double StdMathAcosh(double val) in StdMathAcosh()
121 extern "C" double StdMathAsin(double val) in StdMathAsin()
126 extern "C" double StdMathAsinh(double val) in StdMathAsinh()
136 extern "C" double StdMathAtanh(double val) in StdMathAtanh()
141 extern "C" double StdMathAtan(double val) in StdMathAtan()
146 extern "C" double StdMathSinh(double val) in StdMathSinh()
151 extern "C" double StdMathCosh(double val) in StdMathCosh()
156 extern "C" double StdMathFloor(double val) in StdMathFloor()
161 extern "C" double StdMathRound(double val) in StdMathRound()
[all …]
Dstd_core_Value.cpp36 void ValueAPISetFieldObject(EtsObject *obj, EtsLong i, EtsObject *val) in ValueAPISetFieldObject()
49 void SetFieldValue(EtsObject *obj, EtsLong i, T val) in SetFieldValue()
64 void ValueAPISetFieldBoolean(EtsObject *obj, EtsLong i, EtsBoolean val) in ValueAPISetFieldBoolean()
69 void ValueAPISetFieldByte(EtsObject *obj, EtsLong i, EtsByte val) in ValueAPISetFieldByte()
74 void ValueAPISetFieldShort(EtsObject *obj, EtsLong i, EtsShort val) in ValueAPISetFieldShort()
79 void ValueAPISetFieldChar(EtsObject *obj, EtsLong i, EtsChar val) in ValueAPISetFieldChar()
84 void ValueAPISetFieldInt(EtsObject *obj, EtsLong i, EtsInt val) in ValueAPISetFieldInt()
89 void ValueAPISetFieldLong(EtsObject *obj, EtsLong i, EtsLong val) in ValueAPISetFieldLong()
94 void ValueAPISetFieldFloat(EtsObject *obj, EtsLong i, EtsFloat val) in ValueAPISetFieldFloat()
99 void ValueAPISetFieldDouble(EtsObject *obj, EtsLong i, EtsDouble val) in ValueAPISetFieldDouble()
[all …]
/arkcompiler/runtime_core/static_core/verification/util/tests/
Dlazy_test.cpp30 auto calcFunc = [](int acc, int val) { return acc + val; }; in TEST()
38 …auto result2 = FoldLeft(Transform(ConstLazyFetch(testData), [](int val) { return val * 10; }), -49… in TEST()
41 …auto result3 = FoldLeft(Filter(ConstLazyFetch(testData), [](int val) { return val > 0; }), -1, cal… in TEST()
45 …FoldLeft(Enumerate(ConstLazyFetch(testData)), 0, [](int acc, auto val) { return acc + std::get<0>(… in TEST()
52 ForEach(ConstLazyFetch(testData), [&sum](int val) { sum += val; }); in TEST()
56 …for (const auto val : Iterable(Filter(ConstLazyFetch(testData), [](int val) { return val > 0; })))… in TEST() argument
/arkcompiler/runtime_core/bytecode_optimizer/constant_propagation/
Dlattice_element.cpp71 ConstantElement::ConstantElement(bool val) in ConstantElement()
76 ConstantElement::ConstantElement(int32_t val) in ConstantElement()
81 ConstantElement::ConstantElement(int64_t val) in ConstantElement()
86 ConstantElement::ConstantElement(double val) in ConstantElement()
91 ConstantElement::ConstantElement(std::string val) in ConstantElement()
96 ConstantElement::ConstantElement(const ConstantValue &val) in ConstantElement()
Dconstant_value.h39 explicit ConstantValue(bool val) in ConstantValue()
42 explicit ConstantValue(int32_t val) in ConstantValue()
45 explicit ConstantValue(int64_t val) in ConstantValue()
48 explicit ConstantValue(double val) in ConstantValue()
51 explicit ConstantValue(std::string val) in ConstantValue()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Djs_convert.h51 int64_t val; in UnwrapImpl() local
55 int32_t val; in UnwrapImpl() local
59 uint32_t val; in UnwrapImpl() local
82 double val; in UnwrapImpl() local
112 bool val; in JSCONVERT_UNWRAP() local
120 auto *val = reinterpret_cast<EtsBoxPrimitive<EtsBoolean> *>(etsVal); in JSCONVERT_WRAP() local
127 bool val; in JSCONVERT_UNWRAP() local
135 auto *val = reinterpret_cast<EtsBoxPrimitive<EtsByte> *>(etsVal); in JSCONVERT_WRAP() local
142 int32_t val; in JSCONVERT_UNWRAP() local
154 auto *val = reinterpret_cast<EtsBoxPrimitive<EtsChar> *>(etsVal); in JSCONVERT_WRAP() local
[all …]
Dinterop_common.h104 void Escape(napi_value &val) in Escape()
124 inline napi_valuetype GetValueType(napi_env env, napi_value val) in GetValueType()
133 napi_value val; in GetReferenceValue() local
159 inline bool IsNull(napi_env env, napi_value val) in IsNull()
164 inline bool IsUndefined(napi_env env, napi_value val) in IsUndefined()
169 inline bool IsNullOrUndefined(napi_env env, napi_value val) in IsNullOrUndefined()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Ddebug_info.h38 #define HEX(val) std::hex << "0x" << (val) << std::dec argument
104 void AddOpnd(uint64 val) in AddOpnd()
205 void AddSimpLocOpnd(uint64 val) in AddSimpLocOpnd()
244 void AddSimpLocOpnd(uint64 val) in AddSimpLocOpnd()
291 void SetI(int32 val) in SetI()
301 void SetId(uint32 val) in SetId()
311 void SetJ(int64 val) in SetJ()
321 void SetU(uint64 val) in SetU()
331 void SetF(float val) in SetF()
341 void SetD(double val) in SetD()
[all …]
Dmir_builder.h171 ConstvalNode *GetConstInt(int val) in GetConstInt()
176 ConstvalNode *GetConstUInt1(bool val) in GetConstUInt1()
181 ConstvalNode *GetConstUInt8(uint8 val) in GetConstUInt8()
186 ConstvalNode *GetConstUInt16(uint16 val) in GetConstUInt16()
191 ConstvalNode *GetConstUInt32(uint32 val) in GetConstUInt32()
196 ConstvalNode *GetConstUInt64(uint64 val) in GetConstUInt64()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dmpl_int_val.h29 IntVal(uint64 val, uint8 bitWidth, bool isSigned) : value(val), width(bitWidth), sign(isSigned) in IntVal()
35 …IntVal(uint64 val, PrimType type) : IntVal(val, GetPrimTypeActualBitSize(type), IsSignedInteger(ty… in IntVal()
40 IntVal(const IntVal &val) : IntVal(val.value, val.width, val.sign) {} in IntVal()
42 IntVal(const IntVal &val, PrimType type) : IntVal(val.value, type) {} in IntVal()
44 …IntVal(const IntVal &val, uint8 bitWidth, bool isSigned) : IntVal(val.value, bitWidth, isSigned) {} in IntVal()
46 IntVal(const IntVal &val, bool isSigned) : IntVal(val.value, val.width, isSigned) {} in IntVal()
266 IntVal Add(const IntVal &val, PrimType pType) const in Add()
271 IntVal Sub(const IntVal &val, PrimType pType) const in Sub()
276 IntVal Mul(const IntVal &val, PrimType pType) const in Mul()
316 IntVal And(const IntVal &val, PrimType pType) const in And()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dmem_common.h24 inline uintptr_t ToUintPtr(T *val) in ToUintPtr()
34 inline void *ToVoidPtr(uintptr_t val) in ToVoidPtr()
/arkcompiler/ets_runtime/test/moduletest/arrayforeach/
Darrayforeach.js56 function callbackfn1(val, idx, obj) argument
67 function callbackfn2(val, idx, obj) argument
81 function callbackfn3(val, idx, obj) argument
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/
Dutil.h51 inline bool Is8Bits(uint32 val) in Is8Bits()
56 inline bool Is16Bits(uint32 val) in Is16Bits()
61 inline bool Is32Bits(uint64 val) in Is32Bits()
66 inline bool Is64Bits(uint64 val) in Is64Bits()
/arkcompiler/runtime_core/static_core/verification/util/
Dtagged_index.h59 static constexpr void SetTags([[maybe_unused]] Int &val) in SetTags()
101 …ic constexpr void SetTags(const typename T::Type &tag, const typename Tag::Type &...tags, Int &val) in SetTags()
166 void SetInt(Int val) in SetInt()
224 UInt val = value_ & VALUE_MASK; in GetInt() local
303 explicit TaggedIndexSelectorH(typename Tags::Type... tags, Int &val) in TaggedIndexSelectorH()
319 explicit TaggedIndexSelectorH(typename Tags::Type... tags, size_t &val) in TaggedIndexSelectorH()
336 explicit TaggedIndexSelector(typename Tags::Type... tags, Int &val) in TaggedIndexSelector()
/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()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/
Dfmutex.h28 #define ATOMIC_STORE(addr, val, mem) atomic_store_explicit(addr, val, mem) argument
30 #define ATOMIC_FETCH_ADD(addr, val, mem) atomic_fetch_add_explicit(addr, val, mem) argument
31 #define ATOMIC_FETCH_SUB(addr, val, mem) atomic_fetch_sub_explicit(addr, val, mem) argument
52 #define ATOMIC_STORE(addr, val, mem) (addr)->store(val, std::mem) // NOLINT(cppcoreguideli… argument
54 #define ATOMIC_FETCH_ADD(addr, val, mem) (addr)->fetch_add(val, std::mem) // NOLINT(cppcoreguideli… argument
55 #define ATOMIC_FETCH_SUB(addr, val, mem) (addr)->fetch_sub(val, std::mem) // NOLINT(cppcoreguideli… argument
78 inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, volatile int… in futex()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dlcr_circuit_builder.h188 GateRef val = Int64Sub(tagged, Int64(JSTaggedValue::DOUBLE_ENCODE_OFFSET)); in GetDoubleOfTDouble() local
200 GateRef val = SExtInt32ToInt64(x); in Int32ToTaggedInt() local
206 GateRef val = SExtInt32ToInt64(x); in Int32ToTaggedPtr() local
228 GateRef val = CastDoubleToInt64(x); in DoubleToTaggedDoublePtr() local
235 GateRef val = CastDoubleToInt64(x); in DoubleIsImpureNaN() local
241 auto val = ZExtInt1ToInt64(x); in BooleanToTaggedBooleanPtr() local
257 GateRef val = ExtFloat32ToDouble(x); in Float32ToTaggedDoublePtr() local
263 GateRef val = GetDoubleOfTDouble(x); in TaggedDoublePtrToFloat32() local
269 GateRef val = GetInt32OfTInt(x); in TaggedIntPtrToFloat32() local
275 GateRef val = CastDoubleToInt64(x); in DoubleToTaggedDouble() local
[all …]
/arkcompiler/runtime_core/libpandafile/
Dbytecode_emitter.cpp28 static inline constexpr BitImmSize GetBitLengthUnsigned(uint32_t val) in GetBitLengthUnsigned()
43 static inline constexpr BitImmSize GetBitLengthSigned(int32_t val) in GetBitLengthSigned()
82 auto val = static_cast<uint8_t>(arg); in EmitImpl() local
87 auto val = static_cast<uint8_t>(arg); in EmitImpl() local
92 auto val = static_cast<uint16_t>(arg); in EmitImpl() local
98 auto val = static_cast<uint32_t>(arg); in EmitImpl() local
105 auto val = static_cast<uint64_t>(arg); in EmitImpl() local
/arkcompiler/runtime_core/static_core/libpandafile/
Dbytecode_emitter.cpp28 static inline constexpr BitImmSize GetBitLengthUnsigned(uint32_t val) in GetBitLengthUnsigned()
43 static inline constexpr BitImmSize GetBitLengthSigned(int32_t val) in GetBitLengthSigned()
82 auto val = static_cast<uint8_t>(arg); in EmitImpl() local
87 auto val = static_cast<uint8_t>(arg); in EmitImpl() local
92 auto val = static_cast<uint16_t>(arg); in EmitImpl() local
98 auto val = static_cast<uint32_t>(arg); in EmitImpl() local
105 auto val = static_cast<uint64_t>(arg); in EmitImpl() local
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dbit_memory_region-inl.h26 void BitMemoryRegion<Base>::DumpVal(std::ostream &os, size_t val, bool &isZero, int width) const in DumpVal()
47 auto val = Read(i, width); in Dump() local
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dtrace.cpp40 void DoIntTracePoint([[maybe_unused]] const char *str, [[maybe_unused]] int32_t val) in DoIntTracePoint()
45 void DoInt64TracePoint([[maybe_unused]] const char *str, [[maybe_unused]] int64_t val) in DoInt64TracePoint()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
Dtrace.cpp40 void DoIntTracePoint([[maybe_unused]] const char *str, [[maybe_unused]] int32_t val) in DoIntTracePoint()
45 void DoInt64TracePoint([[maybe_unused]] const char *str, [[maybe_unused]] int64_t val) in DoInt64TracePoint()
/arkcompiler/runtime_core/static_core/runtime/mem/
Dobject_helpers.cpp102 auto val = objectHeader->GetFieldPrimitive<bool>(offset); in DumpPrimitivesField() local
107 auto val = objectHeader->GetFieldPrimitive<int8_t>(offset); in DumpPrimitivesField() local
112 auto val = objectHeader->GetFieldPrimitive<uint8_t>(offset); in DumpPrimitivesField() local
117 auto val = objectHeader->GetFieldPrimitive<int16_t>(offset); in DumpPrimitivesField() local
122 auto val = objectHeader->GetFieldPrimitive<uint16_t>(offset); in DumpPrimitivesField() local
127 auto val = objectHeader->GetFieldPrimitive<int32_t>(offset); in DumpPrimitivesField() local
132 auto val = objectHeader->GetFieldPrimitive<uint32_t>(offset); in DumpPrimitivesField() local
137 auto val = objectHeader->GetFieldPrimitive<float>(offset); in DumpPrimitivesField() local
142 auto val = objectHeader->GetFieldPrimitive<double>(offset); in DumpPrimitivesField() local
147 auto val = objectHeader->GetFieldPrimitive<int64_t>(offset); in DumpPrimitivesField() local
[all …]
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/base-ui/menu/
DMainMenuItem.js96 set title(val) { argument
104 set multi(val) { argument
116 set disabled(val) { argument
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/expressions/
Dts-test-as-expression-3.ts17 var val = 1; variable

12345678910>>...14