Home
last modified time | relevance | path

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

123

/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/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/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/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()
Dpool_map.h46 …explicit constexpr AllocatorInfo(AllocatorType type, const void *addr) : type_(type), header_addr_… in AllocatorInfo()
155 static size_t AddrToMapNum(const void *addr) in AddrToMapNum()
Dalloc_tracker.cpp57 for (uintptr_t addr : st) { in CalcHash() local
79 void DetailAllocTracker::TrackAlloc(void *addr, size_t size, SpaceType space) in TrackAlloc()
101 void DetailAllocTracker::TrackFree(void *addr) in TrackFree()
Dmmap_mem_pool-inl.h438 …le<Pool, AllocatorInfo, SpaceType> MmapMemPool::FindAddrInNonObjectPoolsMap(const void *addr) const in FindAddrInNonObjectPoolsMap()
454 inline AllocatorInfo MmapMemPool::GetAllocatorInfoForAddrImpl(const void *addr) const in GetAllocatorInfoForAddrImpl()
466 inline SpaceType MmapMemPool::GetSpaceTypeForAddrImpl(const void *addr) const in GetSpaceTypeForAddrImpl()
478 inline void *MmapMemPool::GetStartAddrPoolForAddrImpl(const void *addr) const in GetStartAddrPoolForAddrImpl()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Dstub_file_info.h49 void SetAsmStubAddr(void *addr) in SetAsmStubAddr()
54 void SetAsmStubAddr(uintptr_t addr) in SetAsmStubAddr()
Dmodule_section_des.h38 void UpdateRODataInfo(uint64_t &addr, uint32_t &size, ElfSecName sec) const in UpdateRODataInfo()
50 uint64_t addr = base::MAX_UINT64_VALUE; in GetMergedRODataAddrAndSize() local
127 void SetSecAddrAndSize(ElfSecName idx, uint64_t addr, uint32_t size) in SetSecAddrAndSize()
/arkcompiler/ets_runtime/ecmascript/mem/
Dregion-inl.h97 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()
Dbarriers.h31 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in SetPrimitive() local
52 auto *addr = reinterpret_cast<T *>(ToUintPtr(obj) + offset); in GetValue() local
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()
/arkcompiler/runtime_core/libpandabase/
Dmacros.h235 #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
/arkcompiler/ets_runtime/ecmascript/
Dglobal_handle_collection.h36 uintptr_t addr = thread_->NewGlobalHandle(value); in NewHandle() local
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_decoder.cpp34 void *addr = fileMapAddr_.GetOriginAddr(); in Load() local
89 void *addr = fileMapAddr_.GetOriginAddr(); in LoadFull() local
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_profiler.cpp27 std::pair<bool, uint32_t> EntryIdMap::FindId(Address addr) in FindId()
37 bool EntryIdMap::InsertId(Address addr, uint32_t id) in InsertId()
48 bool EntryIdMap::EraseId(Address addr) in EraseId()
78 auto addr = node->GetAddress(); in RemoveDeadEntryId() local
/arkcompiler/toolchain/inspector/
Dlibrary_loader.cpp51 void* addr = reinterpret_cast<void*>(GetProcAddress(module, symbol.data())); in ResolveSymbol() local
/arkcompiler/ets_runtime/ecmascript/platform/windows/
Dos.cpp49 long PtracePeektext([[maybe_unused]] int pid, [[maybe_unused]] uintptr_t addr) in PtracePeektext()
Dfile.cpp111 void *addr = MapViewOfFile(extra, accessor, offset >> 32, offset & 0xffffffff, size); in FileMap() local
120 int FileUnMap(MemMap addr) in FileUnMap()
/arkcompiler/runtime_core/libpandabase/tests/
Dmmap_fixed_test.cpp26 void DeathWrite64(uintptr_t addr) in DeathWrite64()
/arkcompiler/ets_runtime/ecmascript/platform/unix/linux/
Dos.cpp55 long PtracePeektext(int pid, uintptr_t addr) in PtracePeektext()
/arkcompiler/ets_runtime/ecmascript/platform/unix/mac/
Dos.cpp55 long PtracePeektext([[maybe_unused]] int pid, [[maybe_unused]] uintptr_t addr) in PtracePeektext()
/arkcompiler/ets_runtime/ecmascript/platform/unix/
Dfile.cpp92 void *addr = mmap(nullptr, size, prot, MAP_PRIVATE, fd, offset); in FileMap() local
97 int FileUnMap(MemMap addr) in FileUnMap()

123