Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 235) sorted by relevance

12345678910

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dunsafe_memory.cpp41 static T UnsafeMemoryRead(void *addr) in UnsafeMemoryRead()
50 static void UnsafeMemoryWrite(void *addr, T val) in UnsafeMemoryWrite()
57 extern "C" EtsByte UnsafeMemoryReadBoolean(void *addr) in UnsafeMemoryReadBoolean()
62 extern "C" EtsByte UnsafeMemoryReadInt8(void *addr) in UnsafeMemoryReadInt8()
67 extern "C" EtsShort UnsafeMemoryReadInt16(void *addr) in UnsafeMemoryReadInt16()
72 extern "C" EtsInt UnsafeMemoryReadInt32(void *addr) in UnsafeMemoryReadInt32()
77 extern "C" EtsLong UnsafeMemoryReadInt64(void *addr) in UnsafeMemoryReadInt64()
82 extern "C" EtsFloat UnsafeMemoryReadFloat32(void *addr) in UnsafeMemoryReadFloat32()
87 extern "C" EtsDouble UnsafeMemoryReadFloat64(void *addr) in UnsafeMemoryReadFloat64()
92 extern "C" EtsDouble UnsafeMemoryReadNumber(void *addr) in UnsafeMemoryReadNumber()
[all …]
/arkcompiler/ets_runtime/common_components/base/
Dark_sanitizer.h37 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument
41 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument
53 #define ASAN_POISON_MEMORY_REGION(addr, size) \ argument
60 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) \ argument
71 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
76 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
Dasan_interface.h37 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument
41 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument
48 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
53 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_marker.cpp19 bool HeapMarker::Mark(JSTaggedType addr) in Mark()
44 bool HeapMarker::CMCMark(JSTaggedType addr) in CMCMark()
65 bool HeapMarker::IsMarked(JSTaggedType addr) in IsMarked()
79 bool HeapMarker::IsCMCMarked(JSTaggedType addr) in IsCMCMarked()
109 … JSTaggedType addr = reinterpret_cast<JSTaggedType>(region) + (index << TAGGED_TYPE_SIZE_LOG); in IterateMarked() local
121 … JSTaggedType addr = reinterpret_cast<JSTaggedType>(region) + (index << TAGGED_TYPE_SIZE_LOG); in IterateCMCMarked() local
Drawheap_dump.cpp57 JSTaggedType addr = bfsQueue_.front(); in ProcessMarkObjectsFromRoot() local
73 for (auto addr : markedObjects_) { in IterateMarkedObjects() local
78 void ObjectMarker::MarkObject(JSTaggedType addr) in MarkObject()
157 NodeId RawHeapDump::GenerateNodeId(JSTaggedType addr) in GenerateNodeId()
325 marker.IterateMarkedObjects([this](JSTaggedType addr) { in DumpRootTable()
356 marker.IterateMarkedObjects([this, &memOffset](JSTaggedType addr) { in DumpObjectTable()
372 marker.IterateMarkedObjects([this, &memSize](JSTaggedType addr) { in DumpObjectMemory()
393 marker.IterateMarkedObjects([&strCnt, this](JSTaggedType addr) { in UpdateStringTable()
442 marker.IterateMarkedObjects([this](JSTaggedType addr) { in DumpRootTable()
473 marker.IterateMarkedObjects([this, &memOffset](JSTaggedType addr) { in DumpObjectTable()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dasan_interface.h41 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument
43 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument
51 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
53 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dasan_interface.h44 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument
46 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument
54 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
56 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
Datomic.h23 ALWAYS_INLINE inline void AtomicStore(T *addr, T val, std::memory_order order) in AtomicStore()
31 ALWAYS_INLINE inline T AtomicLoad(const T *addr, std::memory_order order) in AtomicLoad()
39 ALWAYS_INLINE inline T AtomicCmpxchgStrong(T *addr, T expected, T newValue, std::memory_order order) in AtomicCmpxchgStrong()
48 ALWAYS_INLINE inline bool AtomicCmpxchgWeak(T *addr, T &expected, T newValue, std::memory_order ord… in AtomicCmpxchgWeak()
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
Dreference.h92 static Reference *CreateWithoutType(uintptr_t addr) in CreateWithoutType()
98 static Reference *Create(uintptr_t addr, ObjectType type) in Create()
106 auto addr = ToUintPtr(ref); in GetType() local
112 auto addr = ToUintPtr(ref); in SetType() local
116 static Reference *SetType(uintptr_t addr, ObjectType type) in SetType()
129 auto addr = ToUintPtr(ref); in GetRefWithoutType() local
/arkcompiler/runtime_core/static_core/verification/absint/
Dexec_context.h34 bool HasContext(const uint8_t *addr) const in HasContext()
39 bool IsCheckPoint(const uint8_t *addr) const in IsCheckPoint()
44 void AddEntryPoint(const uint8_t *addr, EntryPointType type) in AddEntryPoint()
50 void StoreCurrentRegContextForAddr(const uint8_t *addr, Reporter reporter) in StoreCurrentRegContextForAddr()
60 void StoreCurrentRegContextForAddrIfHasContext(const uint8_t *addr, Reporter reporter) in StoreCurrentRegContextForAddrIfHasContext()
79 void StoreCurrentRegContextForAddr(const uint8_t *addr) in StoreCurrentRegContextForAddr()
121 const RegContext &RegContextOnTarget(const uint8_t *addr) const in RegContextOnTarget()
155 void SetCheckPoint(const uint8_t *addr) in SetCheckPoint()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/
Dfmutex.h28 #define ATOMIC_STORE(addr, val, mem) atomic_store_explicit(addr, val, mem) argument
29 #define ATOMIC_LOAD(addr, mem) atomic_load_explicit(addr, 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
32 #define ATOMIC_CAS_WEAK(addr, old_val, new_val, mem1, mem2) \ argument
53 #define ATOMIC_STORE(addr, val, mem) (addr)->store(val, std::mem) // NOLINT(cppcoreguideli… argument
55 #define ATOMIC_LOAD(addr, mem) (addr)->load(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
62 #define ATOMIC_CAS_WEAK(addr, old_val, new_val, mem1, mem2) \ argument
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
Dfmutex.h30 #define ATOMIC_STORE(addr, val, mem) atomic_store_explicit(addr, val, mem) argument
31 #define ATOMIC_LOAD(addr, mem) atomic_load_explicit(addr, 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
34 #define ATOMIC_CAS_WEAK(addr, old_val, new_val, mem1, mem2) \ argument
53 #define ATOMIC_STORE(addr, val, mem) (addr)->store(val, std::mem) // NOLINT(cppcoreguideli… argument
54 #define ATOMIC_LOAD(addr, mem) (addr)->load(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
58 #define ATOMIC_CAS_WEAK(addr, old_val, new_val, mem1, mem2) \ argument
/arkcompiler/runtime_core/static_core/runtime/tests/
Dcard_table_test.cpp126 uintptr_t addr = GetRandomCardAddress(); in GetRandomCardAddressSet() local
137 for (auto addr : addrSet) { in SetMaxHotValue() local
150 for (auto addr : addrSet) { in SetHotFlag() local
173 uintptr_t addr = GetRandomAddress(); in TEST_F() local
213 uintptr_t addr = GetRandomCardAddress(); in TEST_F() local
242 uintptr_t addr = GetRandomCardAddress(); in TEST_F() local
286 uintptr_t addr = GetRandomAddress(); in TEST_F() local
315 for (auto addr : addrSet) { in TEST_F() local
321 for (auto addr : addrSet) { in TEST_F() local
337 for (auto addr : addrSet) { in TEST_F() local
[all …]
/arkcompiler/ets_runtime/common_components/heap/allocator/tests/
Dregion_space_test.cpp91 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
103 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
115 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
127 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
139 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
150 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
161 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
172 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
183 uintptr_t addr = theAllocator.AllocPinnedRegion(); in HWTEST_F_L0() local
195 uintptr_t addr = theAllocator.AllocPinnedRegion(); in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/platform/common/
Ddfx_crash_obj.cpp19 uintptr_t SetCrashObject([[maybe_unused]] DFXObjectType type, [[maybe_unused]] uintptr_t addr) in SetCrashObject()
24 uintptr_t ResetCrashObject([[maybe_unused]] uintptr_t addr) in ResetCrashObject()
/arkcompiler/runtime_core/static_core/runtime/
Dhandle_scope.cpp24 uintptr_t addr = thread_->GetHandleStorage<coretypes::TaggedType>()->NewHandle(value); in NewHandle() local
33 uintptr_t addr = thread_->GetHandleStorage<ObjectHeader *>()->NewHandle(value); in NewHandle() local
/arkcompiler/ets_runtime/ecmascript/platform/unix/ohos/
Ddfx_crash_obj.cpp25 uintptr_t SetCrashObject(DFXObjectType type, uintptr_t addr) in SetCrashObject()
30 uintptr_t ResetCrashObject(uintptr_t addr) in ResetCrashObject()
/arkcompiler/ets_runtime/ecmascript/mem/
Dremembered_set.h45 bool Insert(uintptr_t begin, uintptr_t addr) in Insert()
50 bool InsertRange(uintptr_t begin, uintptr_t addr, uint32_t mask) in InsertRange()
55 bool AtomicInsert(uintptr_t begin, uintptr_t addr) in AtomicInsert()
60 void ClearBit(uintptr_t begin, uintptr_t addr) in ClearBit()
77 bool TestBit(uintptr_t begin, uintptr_t addr) const in TestBit()
Dregion-inl.h163 inline bool Region::Test(void *addr) const in Test()
176 inline bool Region::TestOldToNew(uintptr_t addr) in TestOldToNew()
188 inline bool Region::TestLocalToShare(uintptr_t addr) in TestLocalToShare()
212 inline void Region::InsertCrossRegionRSet(uintptr_t addr) in InsertCrossRegionRSet()
218 inline void Region::AtomicInsertCrossRegionRSet(uintptr_t addr) in AtomicInsertCrossRegionRSet()
239 inline void Region::InsertLocalToShareRSet(uintptr_t addr) in InsertLocalToShareRSet()
246 Region::Updater<kind> Region::GetBatchRSetUpdater(uintptr_t addr) in GetBatchRSetUpdater()
251 inline void Region::AtomicInsertLocalToShareRSet(uintptr_t addr) in AtomicInsertLocalToShareRSet()
339 inline void Region::InsertOldToNewRSet(uintptr_t addr) in InsertOldToNewRSet()
345 inline void Region::ClearOldToNewRSet(uintptr_t addr) in ClearOldToNewRSet()
Dbarriers.h36 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in SetPrimitive() local
47 auto *addr = reinterpret_cast<JSTaggedType *>(ToUintPtr(obj) + offset); in SetPrimitive() local
87 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in GetPrimitive() local
/arkcompiler/runtime_core/static_core/verification/cflow/
Dcflow_info.h59 bool IsAddrValid(uint8_t const *addr) const in IsAddrValid()
64 bool IsFlagSet(uint8_t const *addr, Flag flag) const in IsFlagSet()
71 void SetFlag(uint8_t const *addr, Flag flag) in SetFlag()
78 void ClearFlag(uint8_t const *addr, Flag flag) in ClearFlag()
/arkcompiler/ets_runtime/common_components/mutator/tests/
Dsatb_buffer_test.cpp65 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
80 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
95 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
110 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
122 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
147 uintptr_t* addr = const_cast<uintptr_t*>(bits + wordIndex); in ClearMarkBit() local
163 uintptr_t addr = theAllocator.AllocOldRegion(); in HWTEST_F_L0() local
/arkcompiler/runtime_core/libpandabase/mem/
Dmem_pool.h132 AllocatorInfo GetAllocatorInfoForAddr(const void *addr) const in GetAllocatorInfoForAddr()
142 SpaceType GetSpaceTypeForAddr(const void *addr) const in GetSpaceTypeForAddr()
152 void *GetStartAddrPoolForAddr(const void *addr) const in GetStartAddrPoolForAddr()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dbitmap.h473 void Set(void *addr) in Set()
483 void Clear(void *addr) in Clear()
500 bool Test(const void *addr) const in Test()
510 bool TestIfAddrValid(const void *addr) const in TestIfAddrValid()
523 bool AtomicTestAndSet(void *addr) in AtomicTestAndSet()
534 bool AtomicTestAndClear(void *addr) in AtomicTestAndClear()
545 bool AtomicTest(const void *addr) in AtomicTest()
628 bool IsAddrInRange(const void *addr) const in IsAddrInRange()
641 size_t AddrToBitOffset(PointerType addr) const in AddrToBitOffset()
646 size_t EndAddrToBitOffset(PointerType addr) const in EndAddrToBitOffset()
[all …]
/arkcompiler/runtime_core/static_core/runtime/include/
Dobject_accessor.h132 uintptr_t addr = ToUintPtr(obj) + offset; in GetDynValue() local
191 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Get() local
214 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Set() local
227 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Get() local
236 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Set() local

12345678910