| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | asan_interface.h | 37 #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/ |
| D | asan_interface.h | 40 #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
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | asan_interface.h | 41 #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/ |
| D | reference.h | 92 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/platforms/unix/libpandabase/futex/ |
| D | fmutex.h | 28 #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/platforms/unix/libpandabase/futex/ |
| D | fmutex.h | 30 #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/verification/absint/ |
| D | exec_context.h | 34 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/runtime/include/ |
| D | object_accessor.h | 123 uintptr_t addr = ToUintPtr(obj) + offset; in GetDynValue() local 135 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Get() local 148 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Set() local 161 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Get() local 170 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Set() local
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | handle_scope.cpp | 24 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/ |
| D | cflow_info.h | 59 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/static_core/runtime/mem/gc/ |
| D | bitmap.h | 464 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/ets_runtime/ecmascript/mem/ |
| D | region-inl.h | 98 inline bool Region::Test(void *addr) const in Test() 106 inline bool Region::TestOldToNew(uintptr_t addr) in TestOldToNew() 131 inline void Region::InsertCrossRegionRSet(uintptr_t addr) in InsertCrossRegionRSet() 137 inline void Region::AtomicInsertCrossRegionRSet(uintptr_t addr) in AtomicInsertCrossRegionRSet() 180 inline void Region::InsertOldToNewRSet(uintptr_t addr) in InsertOldToNewRSet() 186 inline void Region::ClearOldToNewRSet(uintptr_t addr) in ClearOldToNewRSet()
|
| D | remembered_set.h | 45 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()
|
| D | barriers.h | 33 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in SetPrimitive() local 57 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in GetValue() local
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | mem_pool.h | 132 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()
|
| D | malloc_mem_pool-inl.h | 94 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()
|
| D | mem_range.h | 33 bool IsAddressInRange(uintptr_t addr) const in IsAddressInRange() 60 bool Contains(uintptr_t addr) const in Contains()
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | malloc_mem_pool-inl.h | 103 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()
|
| D | mem_range.h | 31 bool IsAddressInRange(uintptr_t addr) const in IsAddressInRange() 58 bool Contains(uintptr_t addr) const in Contains()
|
| D | mem_pool.h | 160 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/compiler/aot_file/ |
| D | stub_file_info.h | 49 void SetAsmStubAddr(void *addr) in SetAsmStubAddr() 54 void SetAsmStubAddr(uintptr_t addr) in SetAsmStubAddr()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | crossing_map_test.cpp | 76 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
|
| D | card_table_test.cpp | 134 uintptr_t addr = GetRandomAddress(); in TEST_F() local 174 uintptr_t addr = GetRandomCardAddress(); in TEST_F() local 203 uintptr_t addr = GetRandomCardAddress(); in TEST_F() local 244 uintptr_t addr = GetRandomAddress(); in TEST_F() local
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_profiler_decoder.cpp | 35 void *addr = fileMapAddr_.GetOriginAddr(); in Load() local 92 void *addr = fileMapAddr_.GetOriginAddr(); in LoadFull() local 112 PGOContext &context, void *addr) in LoadAbcIdPool()
|
| /arkcompiler/runtime_core/libpandabase/ |
| D | macros.h | 235 #define TSAN_ANNOTATE_HAPPENS_BEFORE(addr) \ argument 238 #define TSAN_ANNOTATE_HAPPENS_AFTER(addr) \ argument 253 #define TSAN_ANNOTATE_HAPPENS_BEFORE(addr) argument 254 #define TSAN_ANNOTATE_HAPPENS_AFTER(addr) argument 262 #define TSAN_ANNOTATE_HAPPENS_BEFORE(addr) \ argument 265 #define TSAN_ANNOTATE_HAPPENS_AFTER(addr) \ argument 280 #define TSAN_ANNOTATE_HAPPENS_BEFORE(addr) argument 281 #define TSAN_ANNOTATE_HAPPENS_AFTER(addr) argument
|