Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 181) 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.h40 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument
42 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument
50 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
52 #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/ets_runtime/ecmascript/mem/
Dregion-inl.h158 inline bool Region::Test(void *addr) const in Test()
171 inline bool Region::TestNewToEden(uintptr_t addr) in TestNewToEden()
183 inline bool Region::TestOldToNew(uintptr_t addr) in TestOldToNew()
195 inline bool Region::TestLocalToShare(uintptr_t addr) in TestLocalToShare()
219 inline void Region::InsertCrossRegionRSet(uintptr_t addr) in InsertCrossRegionRSet()
225 inline void Region::AtomicInsertCrossRegionRSet(uintptr_t addr) in AtomicInsertCrossRegionRSet()
243 inline void Region::InsertLocalToShareRSet(uintptr_t addr) in InsertLocalToShareRSet()
249 inline void Region::AtomicInsertLocalToShareRSet(uintptr_t addr) in AtomicInsertLocalToShareRSet()
337 inline void Region::InsertNewToEdenRSet(uintptr_t addr) in InsertNewToEdenRSet()
343 inline void Region::AtomicInsertNewToEdenRSet(uintptr_t addr) in AtomicInsertNewToEdenRSet()
[all …]
Dremembered_set.h45 bool Insert(uintptr_t begin, uintptr_t addr) in Insert()
50 bool AtomicInsert(uintptr_t begin, uintptr_t addr) in AtomicInsert()
55 void ClearBit(uintptr_t begin, uintptr_t addr) in ClearBit()
72 bool TestBit(uintptr_t begin, uintptr_t addr) const in TestBit()
Dbarriers.h34 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in SetPrimitive() local
58 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in GetValue() 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
52 #define ATOMIC_STORE(addr, val, mem) (addr)->store(val, std::mem) // NOLINT(cppcoreguideli… argument
53 #define ATOMIC_LOAD(addr, mem) (addr)->load(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
57 #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/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.h464 void Set(void *addr) in Set()
474 void Clear(void *addr) in Clear()
491 bool Test(const void *addr) const in Test()
501 bool TestIfAddrValid(const void *addr) const in TestIfAddrValid()
514 bool AtomicTestAndSet(void *addr) in AtomicTestAndSet()
525 bool AtomicTestAndClear(void *addr) in AtomicTestAndClear()
536 bool AtomicTest(const void *addr) in AtomicTest()
619 bool IsAddrInRange(const void *addr) const in IsAddrInRange()
632 size_t AddrToBitOffset(PointerType addr) const in AddrToBitOffset()
637 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.h103 inline AllocatorInfo MallocMemPool::GetAllocatorInfoForAddrImpl([[maybe_unused]] const void *addr) in GetAllocatorInfoForAddrImpl()
110 inline SpaceType MallocMemPool::GetSpaceTypeForAddrImpl([[maybe_unused]] const void *addr) in GetSpaceTypeForAddrImpl()
117 inline void *MallocMemPool::GetStartAddrPoolForAddrImpl([[maybe_unused]] const void *addr) in GetStartAddrPoolForAddrImpl()
Dmem_pool.h160 AllocatorInfo GetAllocatorInfoForAddr(const void *addr) const in GetAllocatorInfoForAddr()
170 SpaceType GetSpaceTypeForAddr(const void *addr) const in GetSpaceTypeForAddr()
180 void *GetStartAddrPoolForAddr(const void *addr) const in GetStartAddrPoolForAddr()
/arkcompiler/ets_runtime/ecmascript/platform/windows/
Dos.cpp51 long PtracePeektext([[maybe_unused]] int pid, [[maybe_unused]] uintptr_t addr) in PtracePeektext()
61 void *PageMapExecFortSpace(void *addr, [[maybe_unused]] size_t size, [[maybe_unused]] int prot) in PageMapExecFortSpace()

12345678