Home
last modified time | relevance | path

Searched refs:RoundDownTo (Results 1 – 13 of 13) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_poisoning.cc71 uptr shadow_end = RoundDownTo(MemToShadow(p + size), page_size); in FlushUnneededASanShadowMemory()
192 uptr aligned_e = RoundDownTo(end, SHADOW_GRANULARITY); in __asan_region_is_poisoned()
348 uptr a = RoundDownTo(Min(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
350 uptr d1 = RoundDownTo(old_mid, granularity); in __sanitizer_annotate_contiguous_container()
366 uptr b1 = RoundDownTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
Dasan_poisoning.h56 uptr page_end = RoundDownTo(shadow_end, page_size); in FastPoisonShadow()
Dasan_win.cc242 uptr page = RoundDownTo(addr, page_size); in ShadowExceptionHandler()
Dasan_globals.cc69 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY), in PoisonRedZones()
Dasan_allocator.cc425 RoundDownTo(size, SHADOW_GRANULARITY); in Allocate()
/external/compiler-rt/lib/esan/
Dworking_set_posix.cpp92 int Res = internal_mprotect((void *)RoundDownTo(Addr, PageSize), in handleMemoryFault()
Dworking_set.cpp130 ShadowStart = RoundDownTo(ShadowStart, sizeof(u32)); in countAndClearShadowValues()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cc60 fake_stack[RoundDownTo(fake_stack_size - 1, 2)] = (uhwptr)&fake_stack[0]; in SetUp()
/external/compiler-rt/lib/msan/
Dmsan_poisoning.cc131 uptr page_end = RoundDownTo(shadow_end, PageSize); in SetShadow()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_libc.cc272 uptr *aligned_end = (uptr *)RoundDownTo((uptr)end, sizeof(uptr)); in mem_is_zero()
Dsanitizer_common.h459 INLINE uptr RoundDownTo(uptr x, uptr boundary) { in RoundDownTo() function
Dsanitizer_linux.cc899 seg_start = RoundDownTo(seg_start, GetPageSizeCached()); in ForEachMappedRegion()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc252 meta_begin = RoundDownTo(meta_begin, 64 << 10); in MapShadow()
261 meta_begin = RoundDownTo(meta_begin, 64 << 10); in MapShadow()