Home
last modified time | relevance | path

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

123456

/arkcompiler/runtime_core/verification/util/tests/
Dlazy_test.cpp30 auto calc_func = [](int acc, int val) { return acc + val; }; in TEST()
37 …auto result2 = FoldLeft(Transform(ConstLazyFetch(test_data), [](int val) { return val * 10; }), -4… in TEST()
40 …auto result3 = FoldLeft(Filter(ConstLazyFetch(test_data), [](int val) { return val > 0; }), -1, ca… in TEST()
44 …FoldLeft(Enumerate(ConstLazyFetch(test_data)), 0, [](int acc, auto val) { return acc + std::get<0>… in TEST()
51 ForEach(ConstLazyFetch(test_data), [&sum](int val) { sum += val; }); in TEST()
55 …for (const auto val : Iterable(Filter(ConstLazyFetch(test_data), [](int val) { return val > 0; }))… in TEST() local
Denvironment.h33 auto val = (*this)[name]; variable
/arkcompiler/runtime_core/runtime/mem/
Dobject_helpers.cpp102 auto val = object_header->GetFieldPrimitive<bool>(offset); in DumpObject() local
107 auto val = object_header->GetFieldPrimitive<int8_t>(offset); in DumpObject() local
112 auto val = object_header->GetFieldPrimitive<uint8_t>(offset); in DumpObject() local
117 auto val = object_header->GetFieldPrimitive<int16_t>(offset); in DumpObject() local
122 auto val = object_header->GetFieldPrimitive<uint16_t>(offset); in DumpObject() local
127 auto val = object_header->GetFieldPrimitive<int32_t>(offset); in DumpObject() local
132 auto val = object_header->GetFieldPrimitive<uint32_t>(offset); in DumpObject() local
137 auto val = object_header->GetFieldPrimitive<float>(offset); in DumpObject() local
142 auto val = object_header->GetFieldPrimitive<double>(offset); in DumpObject() local
147 auto val = object_header->GetFieldPrimitive<int64_t>(offset); in DumpObject() local
[all …]
/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/libark_defect_scan_aux/tests/
Dtest_helper.h42 inline static void ExpectTrue(bool val) in ExpectTrue()
50 inline static void ExpectFalse(bool val) in ExpectFalse()
/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/verification/util/
Dtagged_index.h59 static constexpr void SetTags([[maybe_unused]] Int &val) in SetTags()
101 …c 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
299 …TaggedIndexSelectorH(typename Tags::type... tags, Int &val) : Base {std::forward<typename Tags::ty… in TaggedIndexSelectorH()
313 TaggedIndexSelectorH(typename Tags::type... tags, size_t &val) in TaggedIndexSelectorH()
329 …TaggedIndexSelector(typename Tags::type... tags, Int &val) : Base {std::forward<typename Tags::typ… in TaggedIndexSelector()
Dlazy.h167 while (auto val = fetcher()) { in ForEachCond() local
177 while (auto val = fetcher()) { in ForEach() local
185 while (auto val = fetcher()) { in FoldLeft() local
270 while (auto val = stream()) { variable
286 while (auto val = stream()) { variable
/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/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/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/libpandabase/trace/
Dtrace.h56 static inline void IntTracePoint(const char *str, int32_t val) in IntTracePoint()
63 static inline void Int64TracePoint(const char *str, int64_t val) in Int64TracePoint()
/arkcompiler/runtime_core/verification/cflow/tests/
Djumps_map_test.cpp45 uintptr_t val = reinterpret_cast<uintptr_t>(tgt) - reinterpret_cast<uintptr_t>(code); in TEST_F() local
55 uintptr_t val = reinterpret_cast<uintptr_t>(tgt) - reinterpret_cast<uintptr_t>(code); in TEST_F() local
/arkcompiler/ets_runtime/test/moduletest/hugearray/
Dhugearray.js27 arr.push({val : i}); property
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dbalance_expressions.h97 T GetBitCeil(T val) in GetBitCeil()
124 T GetBitFloor(T val) in GetBitFloor()
/arkcompiler/runtime_core/libpandabase/mem/ringbuf/
Dlock_free_ring_buffer.h46 bool TryPush(const T val) in TryPush()
64 void Push(const T val) in Push()
/arkcompiler/ets_frontend/ts2panda/tests/types/class/
Dclass_methods.ts18 val: number = 3; property in A
Dclass_static_methods.ts18 val: number = 3; property in A
/arkcompiler/runtime_core/compiler/optimizer/ir/
Danalysis.cpp62 Inst *val = nullptr; in InstStoredValue() local
97 Inst *val = InstStoredValue(inst, &second_value); in InstStoredValue() local
/arkcompiler/runtime_core/runtime/
Dcframe.cpp81 uint64_t val = GetValueFromSlot(vreg.GetValue()); in GetVRegValueSlot() local
107 uint64_t val = GetValueFromSlot(reg_num); in GetVRegValueRegister() local
123 uint64_t val = ReadCalleeSavedRegister(vreg.GetValue(), is_fp, callee_stack); in GetVRegValueRegister() local
149 auto val = code_info.GetConstant(vreg); in GetVRegValueConstant() local
/arkcompiler/ets_runtime/test/moduletest/weaktransitions/
Dweaktransitions.js26 let val = {value: index.toString() + "value"}; variable
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.h166 auto val = taggedPool->Get(index); in GetMethodFromCache() local
207 auto val = constpool->Get(index); in GetClassMethodFromCache() local
249 auto val = constpool->Get(literal); in GetClassLiteralFromCache() local
287 auto val = taggedPool->Get(index); in GetLiteralFromCache() local
363 auto val = taggedPool->Get(index); in GetStringFromCache() local
/arkcompiler/runtime_core/verification/absint/
Dabs_int_inl.cpp122 void AbsIntInstructionHandler::SetReg(int reg_idx, const AbstractTypedValue &val) in SetReg()
141 …d AbsIntInstructionHandler::SetRegAndOthersOfSameOrigin(int reg_idx, const AbstractTypedValue &val) in SetRegAndOthersOfSameOrigin()
161 void AbsIntInstructionHandler::SetAcc(const AbstractTypedValue &val) in SetAcc()
171 void AbsIntInstructionHandler::SetAccAndOthersOfSameOrigin(const AbstractTypedValue &val) in SetAccAndOthersOfSameOrigin()
/arkcompiler/runtime_core/libpandabase/mem/
Dmem.h110 inline uintptr_t ToUintPtr(T *val) in ToUintPtr()
121 inline T *ToNativePtr(uintptr_t val) in ToNativePtr()
126 inline void *ToVoidPtr(uintptr_t val) in ToVoidPtr()
227 inline object_pointer_type ToObjPtrType(T *val) in ToObjPtrType()
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_memory_region-inl.h35 auto val = Read(i, width); in Dump() local

123456