/external/llvm-project/compiler-rt/lib/xray/tests/unit/ |
D | allocator_test.cpp | 47 Allocator<sizeof(OddSizedData)> A(GetPageSizeCached()); in TEST() 52 GetPageSizeCached() / RoundUpTo(sizeof(OddSizedData), kCacheLineSize); in TEST() 61 BufferQueue BQ(GetPageSizeCached(), 10, Success); in TEST() 71 GetPageSizeCached() / RoundUpTo(sizeof(OddSizedData), kCacheLineSize); in TEST()
|
/external/llvm-project/compiler-rt/lib/dfsan/ |
D | dfsan_interceptors.cpp | 41 dfsan_set_label(0, res, RoundUpTo(length, GetPageSizeCached())); in INTERCEPTOR() 49 dfsan_set_label(0, res, RoundUpTo(length, GetPageSizeCached())); in INTERCEPTOR() 56 dfsan_set_label(0, addr, RoundUpTo(length, GetPageSizeCached())); in INTERCEPTOR()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace_libcdep.cpp | 26 InternalScopedString frame_desc(GetPageSizeCached() * 2); in Print() 27 InternalScopedString dedup_token(GetPageSizeCached()); in Print() 128 InternalScopedString frame_desc(GetPageSizeCached()); in __sanitizer_symbolize_pc() 159 InternalScopedString data_desc(GetPageSizeCached()); in __sanitizer_symbolize_global()
|
D | sanitizer_posix.cpp | 45 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDie() 67 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDieOnFatalError() 104 size = RoundUpTo(size, GetPageSizeCached()); in MmapNoReserveOrDie() 116 size = RoundUpTo(size, GetPageSizeCached()); in MmapFixedImpl() 117 fixed_addr = RoundDownTo(fixed_addr, GetPageSizeCached()); in MmapFixedImpl() 198 *buff_size = RoundUpTo(fsize, GetPageSizeCached()); in MapFileToMemory()
|
D | sanitizer_posix_libcdep.cpp | 59 uptr page_size = GetPageSizeCached(); in ReleaseMemoryPagesToOS() 235 bool IsStackAccess = addr + GetPageSizeCached() > sp && addr < sp + 0xFFFF; in IsStackOverflow() 274 uptr page_size = GetPageSizeCached(); in IsAccessibleMemoryRange() 305 size = RoundUpTo(size, GetPageSizeCached()); in MmapFixed() 306 fixed_addr = RoundDownTo(fixed_addr, GetPageSizeCached()); in MmapFixed()
|
D | sanitizer_symbolizer_report.cpp | 151 if (!common_flags()->dump_instruction_bytes || (pc < GetPageSizeCached())) in MaybeDumpInstructionBytes() 204 if (sig.pc < GetPageSizeCached()) in ReportDeadlySignalImpl() 216 else if (sig.addr < GetPageSizeCached()) in ReportDeadlySignalImpl()
|
D | sanitizer_file.cpp | 111 uptr PageSize = GetPageSizeCached(); in ReadFileToBuffer() 154 uptr PageSize = GetPageSizeCached(); in ReadFileToVector()
|
D | sanitizer_stacktrace_sparc.cpp | 32 const uptr kPageSize = GetPageSizeCached(); in UnwindFast()
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_shadow_setup.cpp | 25 uptr GapShadowBeg = RoundDownTo(MEM_TO_SHADOW(addr), GetPageSizeCached()); in ProtectGap() 27 RoundUpTo(MEM_TO_SHADOW(addr + size), GetPageSizeCached()) - 1; in ProtectGap()
|
D | memprof_thread.cpp | 77 uptr PageSize = GetPageSizeCached(); in Create() 103 uptr size = RoundUpTo(sizeof(MemprofThread), GetPageSizeCached()); in Destroy()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_interceptors.cc | 121 size = GetPageSizeCached(); in INTERCEPTOR() 122 return Allocate(stack, size, GetPageSizeCached(), kAlwaysClearMemory); in INTERCEPTOR() 147 uptr PageSize = GetPageSizeCached(); in INTERCEPTOR() 153 return Allocate(stack, size, GetPageSizeCached(), kAlwaysClearMemory); in INTERCEPTOR()
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_allocator.h | 40 uptr RoundedSize = RoundUpTo(sizeof(T), GetPageSizeCached()); in allocate() 80 uptr RoundedSize = RoundUpTo(sizeof(T), GetPageSizeCached()); in deallocate() 91 uptr RoundedSize = RoundUpTo(S * sizeof(T), GetPageSizeCached()); in allocateBuffer() 129 uptr RoundedSize = RoundUpTo(S * sizeof(T), GetPageSizeCached()); in deallocateBuffer()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_malloc_mac.cc | 44 return InternalAlloc(size, nullptr, GetPageSizeCached()); \ 46 void *p = user_alloc(thr, pc, size, GetPageSizeCached())
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace_libcdep.cc | 27 InternalScopedString frame_desc(GetPageSizeCached() * 2); in Print() 28 InternalScopedString dedup_token(GetPageSizeCached()); in Print()
|
D | sanitizer_posix.cc | 126 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDie() 169 uptr PageSize = GetPageSizeCached(); in MmapNoReserveOrDie() 183 uptr PageSize = GetPageSizeCached(); in MmapFixedOrDie() 256 *buff_size = RoundUpTo(fsize, GetPageSizeCached()); in MapFileToMemory()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_shadow_setup.cpp | 29 uptr GapShadowBeg = RoundDownTo(MEM_TO_SHADOW(addr), GetPageSizeCached()); in ProtectGap() 31 RoundUpTo(MEM_TO_SHADOW(addr + size), GetPageSizeCached()) - 1; in ProtectGap()
|
/external/compiler-rt/lib/msan/ |
D | msan_thread.cc | 12 uptr PageSize = GetPageSizeCached(); in Create() 62 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached()); in Destroy()
|
/external/llvm-project/compiler-rt/lib/msan/ |
D | msan_thread.cpp | 12 uptr PageSize = GetPageSizeCached(); in Create() 63 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached()); in Destroy()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_testlib.cc | 133 size = GetPageSizeCached(); in valloc() 134 void *p = allocator.Allocate(&cache, size, GetPageSizeCached()); in valloc()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_testlib.cpp | 161 size = GetPageSizeCached(); in valloc() 162 void *p = allocator.Allocate(&cache, size, GetPageSizeCached()); in valloc()
|
/external/llvm-project/compiler-rt/lib/scudo/ |
D | scudo_errors.cpp | 27 GetPageSizeCached()); in reportPvallocOverflow()
|
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan_poisoning.cpp | 28 uptr page_size = GetPageSizeCached(); in TagMemoryAligned()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_mman.cpp | 47 const uptr kPageSize = GetPageSizeCached() * kMetaRatio; in OnUnmap() 298 return SetErrnoOnNull(user_alloc_internal(thr, pc, sz, GetPageSizeCached())); in user_valloc() 302 uptr PageSize = GetPageSizeCached(); in user_pvalloc()
|
D | tsan_platform_mac.cpp | 138 *res = resident_pages * GetPageSizeCached(); in RegionMemUsage() 139 *dirty = dirty_pages * GetPageSizeCached(); in RegionMemUsage()
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_mac.cc | 43 void *p = asan_memalign(GetPageSizeCached(), size, &stack, FROM_MALLOC);
|