Home
last modified time | relevance | path

Searched refs:RoundUpTo (Results 1 – 16 of 16) sorted by relevance

/external/giflib/
Dgifalloc.c117 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/
Dsanitizer_posix.cc51 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()
Dsanitizer_allocator.cc115 size = RoundUpTo(size, 8); in Allocate()
Dsanitizer_allocator.h485 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);
Dsanitizer_libc.cc212 uptr *aligned_beg = (uptr *)RoundUpTo((uptr)beg, sizeof(uptr)); in mem_is_zero()
Dsanitizer_common.h218 INLINE uptr RoundUpTo(uptr size, uptr boundary) { in RoundUpTo() function
Dsanitizer_linux.cc673 seg_end = RoundUpTo(seg_end, GetPageSizeCached()); in ForEachMappedRegion()
/external/compiler-rt/lib/asan/
Dasan_allocator2.cc48 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()
Dasan_thread.cc77 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create()
106 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy()
Dasan_globals.cc53 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones()
Dasan_fake_stack.cc97 return RoundUpTo(Min(ClassSize(size_class) * kMaxRecursionDepth, stack_size_), in ClassMmapSize()
Dasan_poisoning.cc150 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY); in __asan_region_is_poisoned()
Dasan_malloc_mac.cc47 uptr allocated_size = RoundUpTo(sizeof(asan_zone), page_size); in INTERCEPTOR()
Dasan_interceptors.cc195 ssize = RoundUpTo(ssize, PageSize); in DEFINE_REAL()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc130 size = RoundUpTo(size, PageSize); in INTERCEPTOR()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc809 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR()
818 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR()