/external/giflib/ |
D | gifalloc.c | 118 int i, j, CrntSlot, RoundUpTo, NewGifBitSize; in GifUnionColorMap() local 176 RoundUpTo = (1 << NewGifBitSize); in GifUnionColorMap() 178 if (RoundUpTo != ColorUnion->ColorCount) { in GifUnionColorMap() 186 for (j = CrntSlot; j < RoundUpTo; j++) in GifUnionColorMap() 190 if (RoundUpTo < ColorUnion->ColorCount) { in GifUnionColorMap() 192 sizeof(GifColorType) * RoundUpTo); in GifUnionColorMap() 201 ColorUnion->ColorCount = RoundUpTo; in GifUnionColorMap()
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_interceptors.cc | 23 dfsan_set_label(0, res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR() 31 dfsan_set_label(0, res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR()
|
/external/compiler-rt/lib/msan/ |
D | msan_thread.cc | 13 uptr size = RoundUpTo(sizeof(MsanThread), PageSize); in Create() 62 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached()); in Destroy()
|
D | msan_poisoning.cc | 130 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in SetShadow()
|
D | msan_interceptors.cc | 212 size = RoundUpTo(size, PageSize); in INTERCEPTOR() 1042 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR() 1060 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 116 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDie() 141 RoundUpTo(size, PageSize), in MmapNoReserveOrDie() 155 RoundUpTo(size, PageSize), in MmapFixedOrDie() 222 *buff_size = RoundUpTo(fsize, GetPageSizeCached()); in MapFileToMemory()
|
D | sanitizer_allocator.cc | 116 size = RoundUpTo(size, 8); in Allocate()
|
D | sanitizer_allocator.h | 469 return RoundUpTo(sizeof(RegionInfo) * kNumClassesRounded, in AdditionalSize() 703 size = RoundUpTo(size, GetPageSizeCached()); in MapWithCallback() 1113 return RoundUpTo(GetHeader(p)->size, page_size_); in GetActuallyAllocatedSize() 1244 return RoundUpTo(size, page_size_) + page_size_; in RoundUpMapSize() 1296 size = RoundUpTo(size, alignment); 1306 internal_bzero_aligned16(res, RoundUpTo(size, 16));
|
D | sanitizer_posix_libcdep.cc | 261 RoundUpTo(size, PageSize), PROT_READ | PROT_WRITE, in MmapFixedNoReserve()
|
D | sanitizer_libc.cc | 271 uptr *aligned_beg = (uptr *)RoundUpTo((uptr)beg, sizeof(uptr)); in mem_is_zero()
|
D | sanitizer_coverage_libcdep.cc | 338 n = RoundUpTo(n, 16); // The compiler must ensure that counters is 16-aligned. in InitializeCounters() 938 RoundUpTo(coverage_data.size() * sizeof(coverage_data.data()[0]), 16)); in __sanitizer_reset_coverage()
|
D | sanitizer_linux_libcdep.cc | 203 g_tls_size = RoundUpTo(tls_size, tls_align); in InitTlsSize()
|
D | sanitizer_malloc_mac.inc | 38 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size);
|
D | sanitizer_common.h | 431 INLINE uptr RoundUpTo(uptr size, uptr boundary) { in RoundUpTo() function
|
D | sanitizer_linux.cc | 801 seg_end = RoundUpTo(seg_end, GetPageSizeCached()); in ForEachMappedRegion()
|
/external/compiler-rt/lib/asan/ |
D | asan_poisoning.cc | 70 uptr shadow_beg = RoundUpTo(MemToShadow(p), page_size); in FlushUnneededASanShadowMemory() 191 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY); in __asan_region_is_poisoned() 349 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container() 367 uptr b2 = RoundUpTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
|
D | asan_poisoning.h | 55 uptr page_beg = RoundUpTo(shadow_beg, page_size); in FastPoisonShadow()
|
D | asan_allocator.cc | 142 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in Recycle() 344 uptr rounded_size = RoundUpTo(Max(size, kChunkHeader2Size), alignment); in Allocate() 393 user_beg = RoundUpTo(user_beg, alignment); in Allocate() 491 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in QuarantineChunk() 741 size = RoundUpTo(size, PageSize); in asan_pvalloc()
|
D | asan_thread.cc | 87 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create() 118 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy()
|
D | asan_globals.cc | 64 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones()
|
D | asan_interceptors.cc | 315 ssize = RoundUpTo(ssize, PageSize); in ClearShadowMemoryForContextStack()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_clock.cc | 302 if (RoundUpTo(nclk, ClockBlock::kClockCount) <= in Resize() 303 RoundUpTo(size_, ClockBlock::kClockCount)) { in Resize() 336 for (uptr i = RoundUpTo(size_, ClockBlock::kClockCount); in Resize()
|
D | tsan_sync.cc | 78 uptr sz = RoundUpTo(b->siz, kMetaShadowCell); in FreeBlock()
|
D | tsan_rtl.cc | 253 meta_end = RoundUpTo(meta_end, 64 << 10); in MapShadow() 262 meta_end = RoundUpTo(meta_end, 64 << 10); in MapShadow()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_interceptors.cc | 138 size = RoundUpTo(size, PageSize); in INTERCEPTOR()
|