/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 RoundUpTo, sizeof(GifColorType)); 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 | 215 size = RoundUpTo(size, PageSize); in INTERCEPTOR() 970 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR() 988 __msan_unpoison(res, RoundUpTo(length, GetPageSize())); in INTERCEPTOR()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 126 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDie() 171 RoundUpTo(size, PageSize), in MmapNoReserveOrDie() 185 RoundUpTo(size, PageSize), in MmapFixedOrDie() 256 *buff_size = RoundUpTo(fsize, GetPageSizeCached()); in MapFileToMemory()
|
D | sanitizer_allocator.h | 484 return RoundUpTo(sizeof(RegionInfo) * kNumClassesRounded, in AdditionalSize() 724 size = RoundUpTo(size, GetPageSizeCached()); in MapWithCallback() 1137 return RoundUpTo(GetHeader(p)->size, page_size_); in GetActuallyAllocatedSize() 1268 return RoundUpTo(size, page_size_) + page_size_; in RoundUpMapSize() 1320 size = RoundUpTo(size, alignment); 1330 internal_bzero_aligned16(res, RoundUpTo(size, 16));
|
D | sanitizer_allocator.cc | 168 size = RoundUpTo(size, 8); in Allocate()
|
D | sanitizer_libc.cc | 271 uptr *aligned_beg = (uptr *)RoundUpTo((uptr)beg, sizeof(uptr)); in mem_is_zero()
|
D | sanitizer_posix_libcdep.cc | 266 RoundUpTo(size, PageSize), PROT_READ | PROT_WRITE, in MmapFixedNoReserve()
|
D | sanitizer_linux_libcdep.cc | 183 g_tls_size = RoundUpTo(tls_size, tls_align); in InitTlsSize()
|
D | sanitizer_coverage_libcdep.cc | 354 n = RoundUpTo(n, 16); // The compiler must ensure that counters is 16-aligned. in InitializeCounters() 1013 RoundUpTo(coverage_data.size() * sizeof(coverage_data.data()[0]), 16)); in __sanitizer_reset_coverage()
|
D | sanitizer_malloc_mac.inc | 38 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size);
|
/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_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() 490 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in QuarantineChunk() 757 size = RoundUpTo(size, PageSize); in asan_pvalloc()
|
D | asan_poisoning.h | 55 uptr page_beg = RoundUpTo(shadow_beg, page_size); in FastPoisonShadow()
|
D | asan_thread.cc | 87 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create() 118 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy()
|
D | asan_malloc_linux.cc | 39 uptr size_in_words = RoundUpTo(size_in_bytes, kWordSize) / kWordSize; in AllocateFromLocalPool()
|
D | asan_globals.cc | 64 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones()
|
/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/scudo/ |
D | scudo_allocator.cpp | 331 uptr RoundedSize = RoundUpTo(Size, MinAlignment); in allocate() 357 ChunkBeg = RoundUpTo(ChunkBeg, Alignment); in allocate() 574 Size = RoundUpTo(Size, PageSize); in scudoPvalloc()
|
/external/compiler-rt/lib/interception/ |
D | interception_win.cc | 163 static uptr RoundUpTo(uptr size, uptr boundary) { in RoundUpTo() function 312 void *page = ::VirtualAlloc((void*)RoundUpTo(address, granularity), in AllocateTrampolineRegion()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_interceptors.cc | 148 size = RoundUpTo(size, PageSize); in INTERCEPTOR()
|