Searched refs:RoundUpTo (Results 1 – 16 of 16) sorted by relevance
/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/sanitizer_common/ |
D | sanitizer_posix.cc | 51 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDie() 86 RoundUpTo(size, PageSize), in MmapFixedNoReserve() 101 RoundUpTo(size, PageSize), in MmapFixedOrDie() 129 *buff_size = RoundUpTo(fsize, GetPageSizeCached()); in MapFileToMemory()
|
D | sanitizer_allocator.cc | 115 size = RoundUpTo(size, 8); in Allocate()
|
D | sanitizer_allocator.h | 485 return RoundUpTo(sizeof(RegionInfo) * kNumClassesRounded, in AdditionalSize() 627 size = RoundUpTo(size, GetPageSizeCached()); in MapWithCallback() 1013 return RoundUpTo(GetHeader(p)->size, page_size_); in GetActuallyAllocatedSize() 1140 return RoundUpTo(size, page_size_) + page_size_; in RoundUpMapSize() 1178 size = RoundUpTo(size, alignment);
|
D | sanitizer_libc.cc | 212 uptr *aligned_beg = (uptr *)RoundUpTo((uptr)beg, sizeof(uptr)); in mem_is_zero()
|
D | sanitizer_common.h | 218 INLINE uptr RoundUpTo(uptr size, uptr boundary) { in RoundUpTo() function
|
D | sanitizer_linux.cc | 673 seg_end = RoundUpTo(seg_end, GetPageSizeCached()); in ForEachMappedRegion()
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator2.cc | 48 uptr shadow_beg = RoundUpTo(MemToShadow(p), page_size); in OnUnmap() 213 uptr available = RoundUpTo(user_requested_size, SHADOW_GRANULARITY); in FreeStackSize() 277 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in Recycle() 333 uptr rounded_size = RoundUpTo(Max(size, kChunkHeader2Size), alignment); in Allocate() 366 user_beg = RoundUpTo(user_beg, alignment); in Allocate() 476 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in QuarantineChunk() 664 size = RoundUpTo(size, PageSize); in asan_pvalloc()
|
D | asan_thread.cc | 77 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create() 106 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy()
|
D | asan_globals.cc | 53 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones()
|
D | asan_fake_stack.cc | 97 return RoundUpTo(Min(ClassSize(size_class) * kMaxRecursionDepth, stack_size_), in ClassMmapSize()
|
D | asan_poisoning.cc | 150 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY); in __asan_region_is_poisoned()
|
D | asan_malloc_mac.cc | 47 uptr allocated_size = RoundUpTo(sizeof(asan_zone), page_size); in INTERCEPTOR()
|
D | asan_interceptors.cc | 195 ssize = RoundUpTo(ssize, PageSize); in DEFINE_REAL()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_interceptors.cc | 130 size = RoundUpTo(size, PageSize); in INTERCEPTOR()
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 809 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR() 818 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR()
|