Searched refs:RoundDown (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/cc/base/
H A Dutil_unittest.cc40 TEST(UtilTest, RoundDown) {
48 EXPECT_EQ(correct, RoundDown(attempt, multiplier))
60 EXPECT_EQ(correct, RoundDown(attempt, multiplier))
H A Dutil.h20 template <typename T> T RoundDown(T n, T mul) { function in namespace:cc
/external/chromium_org/cc/resources/
H A Dpicture.cc305 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 Dmacros.h399 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 Dtsan_defs.h153 T RoundDown(T p, u64 align) { function in namespace:__tsan
H A Dtsan_rtl_report.cc409 const u64 epoch0 = RoundDown(epoch, TraceSize());
411 const u64 ebegin = RoundDown(eend, kTracePartSize);
H A Dtsan_rtl.cc843 p = RoundDown(end, kPageSize);
/external/chromium_org/gpu/command_buffer/client/
H A Dfenced_allocator.cc21 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 Dzone.cc204 DCHECK(size == RoundDown(size, kAlignment));
/external/chromium_org/v8/src/heap/
H A Dspaces.h840 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 Dspaces.cc893 (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