Home
last modified time | relevance | path

Searched refs:RoundUpTo (Results 1 – 21 of 21) 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/dfsan/
Ddfsan_interceptors.cc23 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/
Dsanitizer_posix.cc103 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()
Dsanitizer_allocator.cc116 size = RoundUpTo(size, 8); in Allocate()
Dsanitizer_allocator.h494 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));
Dsanitizer_libc.cc238 uptr *aligned_beg = (uptr *)RoundUpTo((uptr)beg, sizeof(uptr)); in mem_is_zero()
Dsanitizer_common.h306 INLINE uptr RoundUpTo(uptr size, uptr boundary) { in RoundUpTo() function
Dsanitizer_linux.cc767 seg_end = RoundUpTo(seg_end, GetPageSizeCached()); in ForEachMappedRegion()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc13 uptr size = RoundUpTo(sizeof(MsanThread), PageSize); in Create()
61 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached()); in Destroy()
Dmsan_interceptors.cc190 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/
Dasan_poisoning.cc59 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()
Dasan_allocator2.cc185 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()
Dasan_poisoning.h51 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in FastPoisonShadow()
Dasan_thread.cc81 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create()
109 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy()
Dasan_globals.cc62 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones()
Dasan_malloc_mac.cc47 uptr allocated_size = RoundUpTo(sizeof(asan_zone), page_size); in INTERCEPTOR()
Dasan_interceptors.cc241 ssize = RoundUpTo(ssize, PageSize); in DEFINE_REAL()
/external/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp36 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/
Dtsan_sync.cc73 uptr sz = RoundUpTo(b->siz, kMetaShadowCell); in FreeBlock()
Dtsan_rtl.cc248 meta_end = RoundUpTo(meta_end, 64 << 10); in MapShadow()
257 meta_end = RoundUpTo(meta_end, 64 << 10); in MapShadow()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc153 size = RoundUpTo(size, PageSize); in INTERCEPTOR()