Home
last modified time | relevance | path

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

12345678910>>...12

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_math.cpp33 extern "C" double StdMathAcos(double val) in StdMathAcos()
38 extern "C" double StdMathAcosh(double val) in StdMathAcosh()
43 extern "C" double StdMathAsin(double val) in StdMathAsin()
48 extern "C" double StdMathAsinh(double val) in StdMathAsinh()
58 extern "C" double StdMathAtanh(double val) in StdMathAtanh()
63 extern "C" double StdMathAtan(double val) in StdMathAtan()
68 extern "C" double StdMathSinh(double val) in StdMathSinh()
73 extern "C" double StdMathCosh(double val) in StdMathCosh()
78 extern "C" double StdMathFloor(double val) in StdMathFloor()
83 extern "C" double StdMathRound(double val) in StdMathRound()
[all …]
Dstd_core_Value.cpp37 EtsVoid *ValueAPISetFieldObject(EtsObject *obj, EtsLong i, EtsObject *val) in ValueAPISetFieldObject()
51 void SetFieldValue(EtsObject *obj, EtsLong i, T val) in SetFieldValue()
66 EtsVoid *ValueAPISetFieldBoolean(EtsObject *obj, EtsLong i, EtsBoolean val) in ValueAPISetFieldBoolean()
72 EtsVoid *ValueAPISetFieldByte(EtsObject *obj, EtsLong i, EtsByte val) in ValueAPISetFieldByte()
78 EtsVoid *ValueAPISetFieldShort(EtsObject *obj, EtsLong i, EtsShort val) in ValueAPISetFieldShort()
84 EtsVoid *ValueAPISetFieldChar(EtsObject *obj, EtsLong i, EtsChar val) in ValueAPISetFieldChar()
90 EtsVoid *ValueAPISetFieldInt(EtsObject *obj, EtsLong i, EtsInt val) in ValueAPISetFieldInt()
96 EtsVoid *ValueAPISetFieldLong(EtsObject *obj, EtsLong i, EtsLong val) in ValueAPISetFieldLong()
102 EtsVoid *ValueAPISetFieldFloat(EtsObject *obj, EtsLong i, EtsFloat val) in ValueAPISetFieldFloat()
108 EtsVoid *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() local
/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/runtime_core/static_core/runtime/mem/
Dobject_helpers.cpp101 auto val = objectHeader->GetFieldPrimitive<bool>(offset); in DumpObject() local
106 auto val = objectHeader->GetFieldPrimitive<int8_t>(offset); in DumpObject() local
111 auto val = objectHeader->GetFieldPrimitive<uint8_t>(offset); in DumpObject() local
116 auto val = objectHeader->GetFieldPrimitive<int16_t>(offset); in DumpObject() local
121 auto val = objectHeader->GetFieldPrimitive<uint16_t>(offset); in DumpObject() local
126 auto val = objectHeader->GetFieldPrimitive<int32_t>(offset); in DumpObject() local
131 auto val = objectHeader->GetFieldPrimitive<uint32_t>(offset); in DumpObject() local
136 auto val = objectHeader->GetFieldPrimitive<float>(offset); in DumpObject() local
141 auto val = objectHeader->GetFieldPrimitive<double>(offset); in DumpObject() local
146 auto val = objectHeader->GetFieldPrimitive<int64_t>(offset); in DumpObject() 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()
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/ets_runtime/ecmascript/mem/
Dmem_common.h23 inline uintptr_t ToUintPtr(T *val) in ToUintPtr()
33 inline void *ToVoidPtr(uintptr_t val) in ToVoidPtr()
/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/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/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/ets_runtime/ecmascript/compiler/
Dlcr_circuit_builder.h109 GateRef val = Int64Sub(tagged, Int64(JSTaggedValue::DOUBLE_ENCODE_OFFSET)); in GetDoubleOfTDouble() local
208 GateRef val = SExtInt32ToInt64(x); in Int32ToTaggedInt() local
214 GateRef val = SExtInt32ToInt64(x); in Int32ToTaggedPtr() local
236 GateRef val = CastDoubleToInt64(x); in DoubleToTaggedDoublePtr() local
242 auto val = ZExtInt1ToInt64(x); in BooleanToTaggedBooleanPtr() local
258 GateRef val = ExtFloat32ToDouble(x); in Float32ToTaggedDoublePtr() local
264 GateRef val = GetDoubleOfTDouble(x); in TaggedDoublePtrToFloat32() local
270 GateRef val = GetInt32OfTInt(x); in TaggedIntPtrToFloat32() local
276 GateRef val = CastDoubleToInt64(x); in DoubleToTaggedDouble() local
288 GateRef val = CastDoubleToInt64(x); in DoubleToTagged() 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/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/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/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/verification/absint/
Dabs_int_inl.cpp66 void AbsIntInstructionHandler::SetReg(int regIdx, const AbstractTypedValue &val) in SetReg()
96 …id AbsIntInstructionHandler::SetRegAndOthersOfSameOrigin(int regIdx, const AbstractTypedValue &val) in SetRegAndOthersOfSameOrigin()
116 void AbsIntInstructionHandler::SetAcc(const AbstractTypedValue &val) in SetAcc()
126 void AbsIntInstructionHandler::SetAccAndOthersOfSameOrigin(const AbstractTypedValue &val) in SetAccAndOthersOfSameOrigin()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
Dtrace.cpp80 void DoIntTracePoint(const char *str, int32_t val) in DoIntTracePoint()
86 void DoInt64TracePoint(const char *str, int64_t val) in DoInt64TracePoint()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dtrace.cpp80 void DoIntTracePoint(const char *str, int32_t val) in DoIntTracePoint()
86 void DoInt64TracePoint(const char *str, int64_t val) in DoInt64TracePoint()
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/expressions/
Dts-test-as-expression-3.ts17 var val = 1; variable
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dcg_occur.h112 void SetProcessed(bool val) in SetProcessed()
155 void SetReload(bool val) in SetReload()
165 void SetPrevVersionOccur(CgOccur *val) override in SetPrevVersionOccur()
191 void SetReload(bool val) in SetReload()
201 void SetPrevVersionOccur(CgOccur *val) override in SetPrevVersionOccur()
227 void SetLoaded(bool val) in SetLoaded()
237 void SetPrevVersionOccur(CgOccur *val) override in SetPrevVersionOccur()
311 void SetPrevVersionOccur(CgOccur *val) override in SetPrevVersionOccur()
331 void SetAvailability(AvailState val) in SetAvailability()
392 void SetReload(bool val) in SetReload()

12345678910>>...12