/external/chromium_org/cc/base/ |
util_unittest.cc | 40 TEST(UtilTest, RoundDown) { 48 EXPECT_EQ(correct, RoundDown(attempt, multiplier)) 60 EXPECT_EQ(correct, RoundDown(attempt, multiplier))
|
util.h | 20 template <typename T> T RoundDown(T n, T mul) {
|
/art/runtime/gc/allocator/ |
dlmalloc.cc | 60 end = reinterpret_cast<void*>(art::RoundDown(reinterpret_cast<uintptr_t>(end), art::kPageSize));
|
/external/chromium_org/cc/resources/ |
picture.cc | 272 RoundDown(static_cast<int>(it->pixel_ref_rect.x()), 274 RoundDown(static_cast<int>(it->pixel_ref_rect.y()), 277 RoundDown(static_cast<int>(std::ceil(it->pixel_ref_rect.right())), 279 RoundDown(static_cast<int>(std::ceil(it->pixel_ref_rect.bottom())), 412 RoundDown(query_rect.x(), cell_size.width()), 413 RoundDown(query_rect.y(), cell_size.height())); 415 RoundDown(query_rect.right() - 1, cell_size.width()), 416 RoundDown(query_rect.bottom() - 1, cell_size.height()));
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_defs.h | 140 T RoundDown(T p, u64 align) {
|
tsan_rtl_report.cc | 408 const u64 epoch0 = RoundDown(epoch, TraceSize()); 410 const u64 ebegin = RoundDown(eend, kTracePartSize);
|
tsan_rtl.cc | 585 p = RoundDown(end, kPageSize);
|
/external/chromium_org/gpu/command_buffer/client/ |
fenced_allocator.cc | 21 unsigned int RoundDown(unsigned int size) { 40 Block block = { FREE, 0, RoundDown(size), kUnusedToken };
|
/external/chromium_org/v8/src/ |
zone.cc | 180 ASSERT(size == RoundDown(size, kAlignment));
|
spaces.h | 893 return RoundDown(size, kCodeAlignment); 895 return RoundDown(size, kPointerSize); [all...] |
utils.h | 162 inline T RoundDown(T x, intptr_t m) { 171 return RoundDown<T>(static_cast<T>(x + m - 1), m); [all...] |
spaces.cc | [all...] |
/external/v8/src/ |
zone.cc | 170 ASSERT(size == RoundDown(size, kAlignment));
|
spaces.h | 781 return RoundDown(size, kCodeAlignment); 783 return RoundDown(size, kPointerSize); [all...] |
utils.h | 116 inline T RoundDown(T x, intptr_t m) { 125 return RoundDown<T>(static_cast<T>(x + m - 1), m);
|
spaces.cc | 791 max_capacity_ = (RoundDown(max_capacity, Page::kPageSize) / Page::kPageSize) [all...] |
/art/runtime/ |
utils.h | 123 static inline T RoundDown(T x, int n) { 130 return RoundDown(x + n - 1, n);
|
disassembler_arm.cc | [all...] |
common_test.h | 233 uintptr_t base = RoundDown(data, kPageSize);
|
elf_file.cc | 592 min_vaddr = RoundDown(min_vaddr, kPageSize);
|
/art/compiler/ |
oat_test.cc | 50 uintptr_t oat_code_aligned = RoundDown(reinterpret_cast<uintptr_t>(oat_code), 2);
|
/external/chromium_org/content/common/gpu/ |
gpu_memory_manager.cc | 44 T RoundDown(T n, T mul) { 212 bytes_allocated_unmanaged_low_ = RoundDown(
|