Searched refs:RoundDown (Results 1 - 11 of 11) sorted by relevance
/external/chromium_org/cc/base/ |
H A D | util_unittest.cc | 40 TEST(UtilTest, RoundDown) { 48 EXPECT_EQ(correct, RoundDown(attempt, multiplier)) 60 EXPECT_EQ(correct, RoundDown(attempt, multiplier))
|
H A D | util.h | 20 template <typename T> T RoundDown(T n, T mul) { function in namespace:cc
|
/external/chromium_org/cc/resources/ |
H A D | picture.cc | 305 RoundDown(static_cast<int>(it->pixel_ref_rect.x()), 307 RoundDown(static_cast<int>(it->pixel_ref_rect.y()), 310 RoundDown(static_cast<int>(std::ceil(it->pixel_ref_rect.right())), 312 RoundDown(static_cast<int>(std::ceil(it->pixel_ref_rect.bottom())), 475 RoundDown(query_rect.x(), cell_size.width()), 476 RoundDown(query_rect.y(), cell_size.height())); 478 RoundDown(query_rect.right() - 1, cell_size.width()), 479 RoundDown(query_rect.bottom() - 1, cell_size.height()));
|
/external/chromium_org/v8/src/base/ |
H A D | macros.h | 399 inline T RoundDown(T x, intptr_t m) { function 408 return RoundDown<T>(static_cast<T>(x + m - 1), m);
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_defs.h | 153 T RoundDown(T p, u64 align) { function in namespace:__tsan
|
H A D | tsan_rtl_report.cc | 409 const u64 epoch0 = RoundDown(epoch, TraceSize()); 411 const u64 ebegin = RoundDown(eend, kTracePartSize);
|
H A D | tsan_rtl.cc | 843 p = RoundDown(end, kPageSize);
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | fenced_allocator.cc | 21 unsigned int RoundDown(unsigned int size) { function in namespace:gpu::__anon8390 42 Block block = { FREE, 0, RoundDown(size), kUnusedToken };
|
/external/chromium_org/v8/src/ |
H A D | zone.cc | 204 DCHECK(size == RoundDown(size, kAlignment));
|
/external/chromium_org/v8/src/heap/ |
H A D | spaces.h | 840 return RoundDown(size, kCodeAlignment); 842 return RoundDown(size, kPointerSize); 2629 return RoundDown(size, Map::kSize); 2664 return RoundDown(size, Cell::kSize); 2689 return RoundDown(size, PropertyCell::kSize);
|
H A D | spaces.cc | 893 (RoundDown(max_capacity, Page::kPageSize) / Page::kPageSize) * AreaSize(); 1469 initial_total_capacity_ = RoundDown(initial_capacity, Page::kPageSize); 1471 maximum_total_capacity_ = RoundDown(maximum_capacity, Page::kPageSize);
|
Completed in 254 milliseconds