Home
last modified time | relevance | path

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

12

/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_poisoning.cpp30 uptr page_end = RoundDownTo(shadow_start + shadow_size, page_size); in TagMemoryAligned()
47 uptr start = RoundDownTo(p, kShadowAlignment); in TagMemory()
Dhwasan_allocator.cpp156 uptr full_granule_size = RoundDownTo(tag_size, kShadowAlignment); in HwasanAllocate()
192 RoundDownTo(reinterpret_cast<uptr>(untagged_ptr), kShadowAlignment)); in HwasanDeallocate()
281 if (beg != reinterpret_cast<void *>(RoundDownTo( in AllocationSize()
Dhwasan_thread_list.h134 return (Thread *)(RoundDownTo(p, ring_buffer_size_ * 2) + in GetThreadByBufferAddress()
/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()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_thread.cpp321 uptr tls_begin_aligned = RoundDownTo(tls_begin_, SHADOW_GRANULARITY); in ClearShadowForThreadStackAndTLS()
345 uptr aligned_addr = RoundDownTo(addr, SANITIZER_WORDSIZE / 8); // align addr. in GetStackFrameAccessByAddr()
346 uptr mem_ptr = RoundDownTo(aligned_addr, SHADOW_GRANULARITY); in GetStackFrameAccessByAddr()
387 uptr aligned_addr = RoundDownTo(addr, SANITIZER_WORDSIZE / 8); // align addr. in GetStackVariableShadowStart()
Dasan_poisoning.cpp189 uptr aligned_e = RoundDownTo(end, SHADOW_GRANULARITY); in __asan_region_is_poisoned()
369 uptr a = RoundDownTo(Min(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
371 uptr d1 = RoundDownTo(old_mid, granularity); in __sanitizer_annotate_contiguous_container()
387 uptr b1 = RoundDownTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
Dasan_shadow_setup.cpp29 uptr GapShadowBeg = RoundDownTo(MEM_TO_SHADOW(addr), GetPageSizeCached()); in ProtectGap()
Dasan_poisoning.h62 uptr page_end = RoundDownTo(shadow_end, page_size); in FastPoisonShadow()
Dasan_win.cpp299 uptr page = RoundDownTo(addr, page_size); in ShadowExceptionHandler()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_shadow_setup.cpp25 uptr GapShadowBeg = RoundDownTo(MEM_TO_SHADOW(addr), GetPageSizeCached()); in ProtectGap()
/external/icing/icing/util/
Dmath-util.h38 static IntType RoundDownTo(IntType input_value, IntType rounding_value) { in RoundDownTo() function
/external/webrtc/api/units/
Dfrequency_unittest.cc130 EXPECT_EQ(freq_high.RoundDownTo(Frequency::Hertz(1)), Frequency::Hertz(23)); in TEST()
136 EXPECT_EQ(freq_low.RoundDownTo(Frequency::Hertz(1)), Frequency::Hertz(23)); in TEST()
/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/webrtc/modules/congestion_controller/rtp/
Dtransport_feedback_adapter.cc200 .RoundDownTo(TimeDelta::Millis(1)); in ProcessTransportFeedbackInner()
248 current_offset_ + packet_offset.RoundDownTo(TimeDelta::Millis(1)); in ProcessTransportFeedbackInner()
Dtransport_feedback_adapter_unittest.cc300 .RoundDownTo(TimeDelta::Millis(1)); in TEST_F()
304 .RoundDownTo(TimeDelta::Millis(1)); in TEST_F()
308 .RoundDownTo(TimeDelta::Millis(1)); in TEST_F()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cpp61 uptr end_aligned = RoundDownTo(end, page_size); in ReleaseMemoryPagesToOS()
306 fixed_addr = RoundDownTo(fixed_addr, GetPageSizeCached()); in MmapFixed()
/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/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cpp56 fake_stack[RoundDownTo(fake_stack_size - 1, 2)] = (uhwptr)&fake_stack[0]; in SetUp()
/external/icing/icing/file/
Dmemory-mapped-file.cc82 math_util::RoundDownTo(file_offset, system_page_size()); in Remap()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator_secondary.h107 CommittedBeg = RoundDownTo(UserBeg - HeadersSize, PageSize); in Allocate()
/external/compiler-rt/lib/msan/
Dmsan_poisoning.cc131 uptr page_end = RoundDownTo(shadow_end, PageSize); in SetShadow()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_poisoning.cpp130 uptr page_end = RoundDownTo(shadow_end, PageSize); in SetShadow()

12