| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_math.cpp | 111 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 …]
|
| D | std_core_Value.cpp | 36 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/libabckit/include/cpp/headers/ |
| D | literal_impl.h | 41 auto val = GetApiConfig()->cIapi_->literalGetU8(GetView()); in GetU8() local 48 auto val = GetApiConfig()->cIapi_->literalGetU16(GetView()); in GetU16() local 55 auto val = GetApiConfig()->cIapi_->literalGetU32(GetView()); in GetU32() local 62 auto val = GetApiConfig()->cIapi_->literalGetU64(GetView()); in GetU64() local 69 auto val = GetApiConfig()->cIapi_->literalGetFloat(GetView()); in GetFloat() local 76 auto val = GetApiConfig()->cIapi_->literalGetDouble(GetView()); in GetDouble() local 83 auto val = GetApiConfig()->cIapi_->literalGetMethodAffiliate(GetView()); in GetMethodAffiliate() local 90 auto val = GetApiConfig()->cIapi_->literalGetString(GetView()); in GetString() local 99 auto val = GetApiConfig()->cIapi_->literalGetMethod(GetView()); in GetMethod() local
|
| D | file_impl.h | 98 inline abckit::Value File::CreateValueU1(bool val) const in CreateValueU1() 105 inline abckit::Value File::CreateValueDouble(double val) const in CreateValueDouble() 112 inline abckit::Literal File::CreateLiteralBool(bool val) const in CreateLiteralBool() 119 inline abckit::Literal File::CreateLiteralDouble(double val) const in CreateLiteralDouble() 126 inline abckit::Literal File::CreateLiteralLiteralArray(const abckit::LiteralArray &val) const in CreateLiteralLiteralArray() 133 inline abckit::Literal File::CreateLiteralString(std::string_view val) const in CreateLiteralString() 142 auto val = GetApiConfig()->cMapi_->createValueString(GetResource(), value.data(), value.size()); in CreateValueString() local 158 inline abckit::Literal File::CreateLiteralU8(uint8_t val) const in CreateLiteralU8() 165 inline abckit::Literal File::CreateLiteralU16(uint16_t val) const in CreateLiteralU16() 172 inline Literal File::CreateLiteralMethodAffiliate(uint16_t val) const in CreateLiteralMethodAffiliate() [all …]
|
| /arkcompiler/runtime_core/static_core/verification/util/tests/ |
| D | lazy_test.cpp | 30 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/libabckit/tests/ut/metadata_core/inspect_api/literals/ |
| D | literals_test.cpp | 42 auto val = g_implI->literalGetBool(res); in TEST_F() local 58 auto val = g_implI->literalGetU8(res); in TEST_F() local 74 auto val = g_implI->literalGetU16(res); in TEST_F() local 90 auto val = g_implI->literalGetMethodAffiliate(res); in TEST_F() local 106 auto val = g_implI->literalGetU32(res); in TEST_F() local 122 auto val = g_implI->literalGetU64(res); in TEST_F() local 138 auto val = g_implI->literalGetFloat(res); in TEST_F() local 154 auto val = g_implI->literalGetDouble(res); in TEST_F() local 175 auto val = g_implI->literalGetLiteralArray(res); in TEST_F() local 191 auto val = g_implI->literalGetString(res); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/bytecode_optimizer/constant_propagation/ |
| D | lattice_element.cpp | 71 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()
|
| D | constant_value.h | 39 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/ |
| D | js_convert.h | 51 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 …]
|
| /arkcompiler/runtime_core/abc2program/ |
| D | abc_field_processor.cpp | 77 uint32_t val = field_data_accessor_->GetValue<uint32_t>().value(); in FillU32MetaData() local 106 std::string_view val {reinterpret_cast<const char *>( in FillStringMetaData() local 134 const uint8_t val = field_data_accessor_->GetValue<uint8_t>().value(); in FillMetaDataValue() local 139 std::optional<double> val = field_data_accessor_->GetValue<double>(); in FillMetaDataValue() local 146 std::optional<bool> val = field_data_accessor_->GetValue<bool>(); in FillMetaDataValue() local
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | mem_common.h | 24 inline uintptr_t ToUintPtr(T *val) in ToUintPtr() 34 inline void *ToVoidPtr(uintptr_t val) in ToVoidPtr()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
| D | mpl_int_val.h | 29 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() 293 IntVal Add(const IntVal &val, PrimType pType) const in Add() 298 IntVal Sub(const IntVal &val, PrimType pType) const in Sub() 303 IntVal Mul(const IntVal &val, PrimType pType) const in Mul() 343 IntVal And(const IntVal &val, PrimType pType) const in And() [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/arrayforeach/ |
| D | arrayforeach.js | 56 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/ |
| D | util.h | 51 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/compiler/codegen/maple/maple_ir/include/ |
| D | mir_builder.h | 135 ConstvalNode *GetConstInt(int val) in GetConstInt() 140 ConstvalNode *GetConstUInt1(bool val) in GetConstUInt1() 145 ConstvalNode *GetConstUInt8(uint8 val) in GetConstUInt8() 150 ConstvalNode *GetConstUInt16(uint16 val) in GetConstUInt16() 155 ConstvalNode *GetConstUInt32(uint32 val) in GetConstUInt32() 160 ConstvalNode *GetConstUInt64(uint64 val) in GetConstUInt64()
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
| D | fmutex.h | 30 #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/ |
| D | fmutex.h | 28 #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 53 #define ATOMIC_STORE(addr, val, mem) (addr)->store(val, std::mem) // NOLINT(cppcoreguideli… argument 57 #define ATOMIC_FETCH_ADD(addr, val, mem) (addr)->fetch_add(val, std::mem) // NOLINT(cppcoreguideli… argument 59 #define ATOMIC_FETCH_SUB(addr, val, mem) (addr)->fetch_sub(val, std::mem) // NOLINT(cppcoreguideli… argument 83 inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, volatile int… in futex()
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | tagged_index.h | 59 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/ets_runtime/ecmascript/ |
| D | js_runtime_options.cpp | 1096 uint16_t val = argUint32 > std::numeric_limits<uint16_t>::max() ? in ParseCommand() local 1106 uint16_t val = argUint32 > std::numeric_limits<uint16_t>::max() ? in ParseCommand() local 1116 uint16_t val = argUint32 > std::numeric_limits<uint16_t>::max() ? in ParseCommand() local 1246 uint16_t val = argUint32 > std::numeric_limits<uint16_t>::max() ? in ParseCommand() local 1450 int64_t val; in ParseIntParam() local
|
| /arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/ |
| D | trace.cpp | 40 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/platforms/windows/libpandabase/ |
| D | trace.cpp | 40 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/ |
| D | bit_memory_region-inl.h | 26 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/libpandafile/ |
| D | bytecode_emitter.cpp | 25 static inline constexpr BitImmSize GetBitLengthUnsigned(uint32_t val) in GetBitLengthUnsigned() 40 static inline constexpr BitImmSize GetBitLengthSigned(int32_t val) in GetBitLengthSigned() 79 auto val = static_cast<uint8_t>(arg); in EmitImpl() local 84 auto val = static_cast<uint8_t>(arg); in EmitImpl() local 89 auto val = static_cast<uint16_t>(arg); in EmitImpl() local 95 auto val = static_cast<uint32_t>(arg); in EmitImpl() local 102 auto val = static_cast<uint64_t>(arg); in EmitImpl() local
|
| /arkcompiler/runtime_core/static_core/libpandafile/ |
| D | bytecode_emitter.cpp | 28 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/runtime/mem/ |
| D | object_helpers.cpp | 103 auto val = objectHeader->GetFieldPrimitive<bool>(offset); in DumpPrimitivesField() local 108 auto val = objectHeader->GetFieldPrimitive<int8_t>(offset); in DumpPrimitivesField() local 113 auto val = objectHeader->GetFieldPrimitive<uint8_t>(offset); in DumpPrimitivesField() local 118 auto val = objectHeader->GetFieldPrimitive<int16_t>(offset); in DumpPrimitivesField() local 123 auto val = objectHeader->GetFieldPrimitive<uint16_t>(offset); in DumpPrimitivesField() local 128 auto val = objectHeader->GetFieldPrimitive<int32_t>(offset); in DumpPrimitivesField() local 133 auto val = objectHeader->GetFieldPrimitive<uint32_t>(offset); in DumpPrimitivesField() local 138 auto val = objectHeader->GetFieldPrimitive<float>(offset); in DumpPrimitivesField() local 143 auto val = objectHeader->GetFieldPrimitive<double>(offset); in DumpPrimitivesField() local 148 auto val = objectHeader->GetFieldPrimitive<int64_t>(offset); in DumpPrimitivesField() local [all …]
|