Home
last modified time | relevance | path

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

12345678

/arkcompiler/ets_runtime/ecmascript/base/
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/runtime_core/static_core/libpandabase/utils/
Dasan_interface.h42 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument
44 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument
52 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
54 #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()
30 ALWAYS_INLINE inline T AtomicLoad(T *addr, std::memory_order order) in AtomicLoad()
37 ALWAYS_INLINE inline T AtomicCmpxchgStrong(T *addr, T expected, T newValue, std::memory_order order) in AtomicCmpxchgStrong()
/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/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/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/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/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 …]
Dcrossing_map_test.cpp76 void *AddPage(void *addr) in AddPage()
81 void *IncreaseAddr(void *addr, size_t value) in IncreaseAddr()
86 void *DecreaseAddr(void *addr, size_t value) in DecreaseAddr()
91 size_t GetMapNumFromAddr(void *addr) in GetMapNumFromAddr()
173 void *addr = ToVoidPtr(ToUintPtr(objAddr) + i); in TEST_F() local
181 void *addr = ToVoidPtr(ToUintPtr(objAddr) + i); in TEST_F() local
/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/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/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.h34 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in SetPrimitive() local
72 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in GetValue() 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/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()
Dmem_range.h33 bool IsAddressInRange(uintptr_t addr) const in IsAddressInRange()
60 bool Contains(uintptr_t addr) const in Contains()
Dmalloc_mem_pool-inl.h94 inline AllocatorInfo MallocMemPool::GetAllocatorInfoForAddrImpl([[maybe_unused]] const void *addr) in GetAllocatorInfoForAddrImpl()
102 inline SpaceType MallocMemPool::GetSpaceTypeForAddrImpl([[maybe_unused]] const void *addr) in GetSpaceTypeForAddrImpl()
110 inline void *MallocMemPool::GetStartAddrPoolForAddrImpl([[maybe_unused]] const void *addr) in GetStartAddrPoolForAddrImpl()
/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.h125 uintptr_t addr = ToUintPtr(obj) + offset; in GetDynValue() local
181 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Get() local
194 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Set() local
207 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Get() local
216 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Set() local
/arkcompiler/ets_frontend/arkguard/test/grammar/keepPaths/fileNameObfs/
Dexport_file.ts24 addr: string; property
31 addr: string; property in PersonTest1
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dmem_range.h31 bool IsAddressInRange(uintptr_t addr) const in IsAddressInRange()
58 bool Contains(uintptr_t addr) const in Contains()
Dmalloc_mem_pool-inl.h104 inline AllocatorInfo MallocMemPool::GetAllocatorInfoForAddrImpl([[maybe_unused]] const void *addr) in GetAllocatorInfoForAddrImpl()
111 inline SpaceType MallocMemPool::GetSpaceTypeForAddrImpl([[maybe_unused]] const void *addr) in GetSpaceTypeForAddrImpl()
118 inline void *MallocMemPool::GetStartAddrPoolForAddrImpl([[maybe_unused]] const void *addr) in GetStartAddrPoolForAddrImpl()

12345678