HomeSort by relevance Sort by last modified time
    Searched refs:RoundDown (Results 1 - 22 of 22) sorted by null

  /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/accounting/
space_bitmap_test.cc 127 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment);
141 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment);
143 size_t end = offset + RoundDown(r.next() % (remain + 1), kAlignment);
card_table_test.cc 62 size_t offset = RoundDown(addr - heap_begin_, kCardSize);
  /external/chromium_org/cc/resources/
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/
macros.h 399 inline T RoundDown(T x, intptr_t m) {
408 return RoundDown<T>(static_cast<T>(x + m - 1), m);
  /art/runtime/gc/allocator/
dlmalloc.cc 60 end = reinterpret_cast<void*>(art::RoundDown(reinterpret_cast<uintptr_t>(end), art::kPageSize));
  /external/compiler-rt/lib/tsan/rtl/
tsan_defs.h 153 T RoundDown(T p, u64 align) {
tsan_rtl_report.cc 409 const u64 epoch0 = RoundDown(epoch, TraceSize());
411 const u64 ebegin = RoundDown(eend, kTracePartSize);
tsan_rtl.cc 843 p = RoundDown(end, kPageSize);
  /external/chromium_org/gpu/command_buffer/client/
fenced_allocator.cc 21 unsigned int RoundDown(unsigned int size) {
42 Block block = { FREE, 0, RoundDown(size), kUnusedToken };
  /art/runtime/
utils.h 184 static constexpr T RoundDown(T x, typename TypeIdentity<T>::type n) WARN_UNUSED;
187 static constexpr T RoundDown(T x, typename TypeIdentity<T>::type n) {
198 return RoundDown(x + n - 1, n);
207 return reinterpret_cast<T*>(RoundDown(reinterpret_cast<uintptr_t>(x), n));
elf_file.cc     [all...]
  /art/compiler/
oat_test.cc 60 uintptr_t oat_code_aligned = RoundDown(reinterpret_cast<uintptr_t>(quick_oat_code), 2);
74 uintptr_t oat_code_aligned = RoundDown(reinterpret_cast<uintptr_t>(portable_oat_code), 2);
common_compiler_test.cc 249 uintptr_t base = RoundDown(data, kPageSize);
  /external/chromium_org/v8/src/
zone.cc 204 DCHECK(size == RoundDown(size, kAlignment));
  /external/chromium_org/v8/src/heap/
spaces.h 840 return RoundDown(size, kCodeAlignment);
842 return RoundDown(size, kPointerSize);
    [all...]
spaces.cc 893 (RoundDown(max_capacity, Page::kPageSize) / Page::kPageSize) * AreaSize();
    [all...]
  /art/disassembler/
disassembler_arm.cc 796 lit_adr = RoundDown(lit_adr, 4) + 4 + (imm8 << 2);
    [all...]
  /art/runtime/entrypoints/quick/
quick_trampoline_entrypoints.cc     [all...]
  /art/runtime/gc/space/
image_space.cc 64 r = RoundDown(r, kPageSize);
    [all...]
  /art/compiler/dex/quick/arm64/
int_arm64.cc     [all...]

Completed in 1210 milliseconds