/external/giflib/ |
D | gifalloc.c | 117 int i, j, CrntSlot, RoundUpTo, NewGifBitSize; in GifUnionColorMap() local 175 RoundUpTo = (1 << NewGifBitSize); in GifUnionColorMap() 177 if (RoundUpTo != ColorUnion->ColorCount) { in GifUnionColorMap() 185 for (j = CrntSlot; j < RoundUpTo; j++) in GifUnionColorMap() 189 if (RoundUpTo < ColorUnion->ColorCount) in GifUnionColorMap() 191 sizeof(GifColorType) * RoundUpTo); in GifUnionColorMap() 194 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/sanitizer_common/ |
D | sanitizer_posix.cc | 103 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDie() 141 RoundUpTo(size, PageSize), in MmapNoReserveOrDie() 159 RoundUpTo(size, PageSize), in MmapFixedNoReserve() 175 RoundUpTo(size, PageSize), in MmapFixedOrDie() 204 *buff_size = RoundUpTo(fsize, GetPageSizeCached()); in MapFileToMemory()
|
D | sanitizer_allocator.cc | 116 size = RoundUpTo(size, 8); in Allocate()
|
D | sanitizer_allocator.h | 494 return RoundUpTo(sizeof(RegionInfo) * kNumClassesRounded, in AdditionalSize() 698 size = RoundUpTo(size, GetPageSizeCached()); in MapWithCallback() 1084 return RoundUpTo(GetHeader(p)->size, page_size_); in GetActuallyAllocatedSize() 1215 return RoundUpTo(size, page_size_) + page_size_; in RoundUpMapSize() 1253 size = RoundUpTo(size, alignment); 1263 internal_bzero_aligned16(res, RoundUpTo(size, 16));
|
D | sanitizer_libc.cc | 238 uptr *aligned_beg = (uptr *)RoundUpTo((uptr)beg, sizeof(uptr)); in mem_is_zero()
|
D | sanitizer_common.h | 306 INLINE uptr RoundUpTo(uptr size, uptr boundary) { in RoundUpTo() function
|
D | sanitizer_linux.cc | 767 seg_end = RoundUpTo(seg_end, GetPageSizeCached()); in ForEachMappedRegion()
|
/external/compiler-rt/lib/msan/ |
D | msan_thread.cc | 13 uptr size = RoundUpTo(sizeof(MsanThread), PageSize); in Create() 61 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached()); in Destroy()
|
D | msan_interceptors.cc | 190 size = RoundUpTo(size, PageSize); in INTERCEPTOR() 866 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR() 883 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR() 1304 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in PoisonShadow()
|
/external/compiler-rt/lib/asan/ |
D | asan_poisoning.cc | 59 uptr shadow_beg = RoundUpTo(MemToShadow(p), page_size); in FlushUnneededASanShadowMemory() 159 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY); in __asan_region_is_poisoned() 287 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container() 305 uptr b2 = RoundUpTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
|
D | asan_allocator2.cc | 185 uptr available = RoundUpTo(user_requested_size, SHADOW_GRANULARITY); in FreeStackSize() 243 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in Recycle() 303 uptr rounded_size = RoundUpTo(Max(size, kChunkHeader2Size), alignment); in Allocate() 346 user_beg = RoundUpTo(user_beg, alignment); in Allocate() 446 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in QuarantineChunk() 632 size = RoundUpTo(size, PageSize); in asan_pvalloc()
|
D | asan_poisoning.h | 51 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in FastPoisonShadow()
|
D | asan_thread.cc | 81 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create() 109 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy()
|
D | asan_globals.cc | 62 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones()
|
D | asan_malloc_mac.cc | 47 uptr allocated_size = RoundUpTo(sizeof(asan_zone), page_size); in INTERCEPTOR()
|
D | asan_interceptors.cc | 241 ssize = RoundUpTo(ssize, PageSize); in DEFINE_REAL()
|
/external/llvm/lib/Transforms/Utils/ |
D | ASanStackFrameLayout.cpp | 36 static size_t RoundUpTo(size_t X, size_t RoundTo) { in RoundUpTo() function 51 return RoundUpTo(Res, Alignment); in VarAndRedzoneSize()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_sync.cc | 73 uptr sz = RoundUpTo(b->siz, kMetaShadowCell); in FreeBlock()
|
D | tsan_rtl.cc | 248 meta_end = RoundUpTo(meta_end, 64 << 10); in MapShadow() 257 meta_end = RoundUpTo(meta_end, 64 << 10); in MapShadow()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_interceptors.cc | 153 size = RoundUpTo(size, PageSize); in INTERCEPTOR()
|