| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | asan_interface.h | 36 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument 38 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument 41 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument 43 #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/runtime/mem/refstorage/ |
| D | reference.h | 89 static Reference *CreateWithoutType(uintptr_t addr) in CreateWithoutType() 95 static Reference *Create(uintptr_t addr, ObjectType type) in Create() 103 auto addr = ToUintPtr(ref); in GetType() local 109 auto addr = ToUintPtr(ref); in SetType() local 113 static Reference *SetType(uintptr_t addr, ObjectType type) in SetType() 126 auto addr = ToUintPtr(ref); in GetRefWithoutType() local
|
| /arkcompiler/runtime_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() 80 void StoreCurrentRegContextForAddr(const uint8_t *addr) in StoreCurrentRegContextForAddr() 110 const RegContext &RegContextOnTarget(const uint8_t *addr) const in RegContextOnTarget() 144 void SetCheckPoint(const uint8_t *addr) in SetCheckPoint() 149 void SetTypecastPoint(const uint8_t *addr) in SetTypecastPoint() 155 bool IsTypecastPoint(const uint8_t *addr) const in IsTypecastPoint()
|
| /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/runtime/include/ |
| D | object_accessor.h | 123 uintptr_t addr = ToUintPtr(obj) + offset; in GetDynValue() local 133 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Get() local 146 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Set() local 159 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Get() local 168 auto *addr = reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(obj) + offset); in Set() local
|
| /arkcompiler/runtime_core/runtime/mem/gc/ |
| D | bitmap.h | 446 void Set(void *addr) in Set() 456 void Clear(void *addr) in Clear() 475 bool Test(const void *addr) const in Test() 485 bool TestIfAddrValid(const void *addr) const in TestIfAddrValid() 498 bool AtomicTestAndSet(void *addr) in AtomicTestAndSet() 509 bool AtomicTestAndClear(void *addr) in AtomicTestAndClear() 520 bool AtomicTest(const void *addr) in AtomicTest() 586 bool IsAddrInRange(const void *addr) const in IsAddrInRange() 601 size_t AddrToBitOffset(pointer_type addr) const in AddrToBitOffset() 606 size_t EndAddrToBitOffset(pointer_type addr) const in EndAddrToBitOffset() [all …]
|
| /arkcompiler/runtime_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
|
| D | handle_base.h | 83 explicit HandleBase(uintptr_t addr) : address_(addr) {} in HandleBase()
|
| /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/ets_runtime/ecmascript/mem/ |
| D | region-inl.h | 97 inline bool Region::Test(void *addr) const in Test() 118 inline void Region::InsertCrossRegionRSet(uintptr_t addr) in InsertCrossRegionRSet() 124 inline void Region::AtomicInsertCrossRegionRSet(uintptr_t addr) in AtomicInsertCrossRegionRSet() 167 inline void Region::InsertOldToNewRSet(uintptr_t addr) in InsertOldToNewRSet() 173 inline void Region::ClearOldToNewRSet(uintptr_t addr) in ClearOldToNewRSet()
|
| D | barriers.h | 31 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in SetPrimitive() local 50 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in GetValue() local
|
| 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()
|
| /arkcompiler/runtime_core/runtime/tests/ |
| D | crossing_map_test.cpp | 72 void *AddPage(void *addr) in AddPage() 77 void *IncreaseAddr(void *addr, size_t value) in IncreaseAddr() 82 void *DecreaseAddr(void *addr, size_t value) in DecreaseAddr() 87 size_t GetMapNumFromAddr(void *addr) in GetMapNumFromAddr() 169 void *addr = ToVoidPtr(ToUintPtr(obj_addr) + i); in TEST_F() local 177 void *addr = ToVoidPtr(ToUintPtr(obj_addr) + i); in TEST_F() local
|
| D | card_table_test.cpp | 124 uintptr_t addr = GetRandomAddress(); in TEST_F() local 164 uintptr_t addr = GetRandomCardAddress(); in TEST_F() local 193 uintptr_t addr = GetRandomCardAddress(); in TEST_F() local 234 uintptr_t addr = GetRandomAddress(); in TEST_F() local
|
| D | g1gc_fullgc_test.cpp | 296 bool G1GCFullGCTest::IsInYoung(uintptr_t addr) in IsInYoung() 332 … [[maybe_unused]] auto y_space_check = [](uintptr_t addr) -> bool { return IsInYoung(addr); }; in TEST_F() 333 … [[maybe_unused]] auto h_space_check = [](uintptr_t addr) -> bool { return !IsInYoung(addr); }; in TEST_F() 405 … [[maybe_unused]] auto y_space_check = [](uintptr_t addr) -> bool { return IsInYoung(addr); }; in TEST_F() 406 … [[maybe_unused]] auto h_space_check = [](uintptr_t addr) -> bool { return !IsInYoung(addr); }; in TEST_F() 465 … [[maybe_unused]] auto y_space_check = [](uintptr_t addr) -> bool { return IsInYoung(addr); }; in TEST_F() 466 … [[maybe_unused]] auto h_space_check = [](uintptr_t addr) -> bool { return !IsInYoung(addr); }; in TEST_F()
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_profiler_loader.cpp | 31 void *addr = fileMapAddr_.GetOriginAddr(); in Load() local 80 void *addr = fileMapAddr_.GetOriginAddr(); in LoadFull() local
|
| /arkcompiler/runtime_core/libpandabase/ |
| D | macros.h | 227 #define TSAN_ANNOTATE_HAPPENS_BEFORE(addr) \ argument 230 #define TSAN_ANNOTATE_HAPPENS_AFTER(addr) \ argument 245 #define TSAN_ANNOTATE_HAPPENS_BEFORE(addr) argument 246 #define TSAN_ANNOTATE_HAPPENS_AFTER(addr) argument 254 #define TSAN_ANNOTATE_HAPPENS_BEFORE(addr) \ argument 257 #define TSAN_ANNOTATE_HAPPENS_AFTER(addr) \ argument 272 #define TSAN_ANNOTATE_HAPPENS_BEFORE(addr) argument 273 #define TSAN_ANNOTATE_HAPPENS_AFTER(addr) argument
|
| /arkcompiler/runtime_core/runtime/mem/gc/heap-space-misc/ |
| D | crossing_map.h | 240 size_t GetMapNumFromAddr(const void *addr) in GetMapNumFromAddr() 254 size_t GetOffsetFromAddr(const void *addr) in GetOffsetFromAddr() 291 size_t GetStaticArrayNumFromAddr(const void *addr) in GetStaticArrayNumFromAddr()
|
| /arkcompiler/runtime_core/verification/cflow/tests/ |
| D | instructions_map_test.cpp | 41 for (auto addr : Range(10, 113)) { in TEST_F() local
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | global_handle_collection.h | 36 uintptr_t addr = thread_->NewGlobalHandle(value); in NewHandle() local
|
| /arkcompiler/runtime_core/runtime/mem/ |
| D | region_space.h | 450 bool IsAddrInRange(const void *addr) const in IsAddrInRange() 455 Region *GetAllocatedRegion(const void *addr) const in GetAllocatedRegion() 474 size_t RegionIndex(const void *addr) const in RegionIndex() 515 bool IsAddrInPoolRange(const void *addr) const in IsAddrInPoolRange() 521 Region *GetRegion(const void *addr) const in GetRegion() 551 bool IsAddrInExtendPoolRange(const void *addr) const in IsAddrInExtendPoolRange()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | llvm_codegen.h | 115 uint8_t *addr = AllocaInReqSecBuffer(size, false); in AllocaCodeSection() local 126 uint8_t *addr = nullptr; in AllocaDataSection() local 194 uint8_t *addr = nullptr; member
|