Home
last modified time | relevance | path

Searched refs:RoundDown (Results 1 – 25 of 36) sorted by relevance

12

/external/gemmlowp/test/
Dtest_math_helpers.cc36 Check(x >= RoundDown<Modulus>(x)); in test_round_up_down()
37 Check(x < RoundDown<Modulus>(x) + Modulus); in test_round_up_down()
38 Check(RoundDown<Modulus>(x) % Modulus == 0); in test_round_up_down()
/external/gemmlowp/internal/
Dcommon.h137 Integer RoundDown(Integer i) { in RoundDown() function
145 return RoundDown<Modulus>(i + Modulus - 1); in RoundUp()
Dpack.h372 const int register_aligned_depth = RoundDown<kRegisterSize>(depth); in PackRun()
/external/v8/src/base/
Dmacros.h339 inline T RoundDown(T x, intptr_t m) { in RoundDown() function
346 constexpr inline T RoundDown(T x) { in RoundDown() function
357 return RoundDown<T>(static_cast<T>(x + m - 1), m); in RoundUp()
362 return RoundDown<m, T>(static_cast<T>(x + (m - 1))); in RoundUp()
/external/v8/src/init/
Disolate-allocator.cc67 Address hint = RoundDown(reinterpret_cast<Address>( in InitReservation()
174 RoundDown(isolate_address, commit_page_size); in CommitPagesForIsolate()
/external/v8/src/execution/arm64/
Dframe-constants-arm64.cc27 return RoundDown(register_count, 2) + 1; in RegisterStackSlotCount()
/external/v8/src/heap/cppgc/
Dcaged-heap-local-data.cc28 const uintptr_t end = RoundDown(reinterpret_cast<uintptr_t>(table_.end()), in Reset()
Dobject-allocator.cc35 ? RoundDown(offset_begin, kEntrySize) in MarkRangeAsYoung()
39 : RoundDown(offset_end, kEntrySize); in MarkRangeAsYoung()
Dcaged-heap.cc33 void* hint = reinterpret_cast<void*>(RoundDown( in ReserveCagedHeap()
/external/v8/src/common/
Dptr-compr-inl.h37 return RoundDown<kPtrComprIsolateRootAlignment>(on_heap_addr); in GetIsolateRootAddress()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_defs.h134 T RoundDown(T p, u64 align) { in RoundDown() function
Dtsan_rtl_report.cc383 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0); in RestoreStack()
384 const u64 epoch0 = RoundDown(epoch, TraceSize()); in RestoreStack()
386 const u64 ebegin = RoundDown(eend, kTracePartSize); in RestoreStack()
Dtsan_mman.cc54 diff = p + size - RoundDown(p + size, kPageSize); in OnUnmap()
Dtsan_sync.cc143 diff = p + sz - RoundDown(p + sz, kPageSize); in ResetRange()
/external/v8/src/base/platform/
Dplatform-starboard.cc171 inline T RoundDown(T x, intptr_t m) { in RoundDown() function
179 return RoundDown<T>(static_cast<T>(x + m - 1), m); in RoundUpOld()
Dplatform-posix.cc282 raw_addr = RoundDown(raw_addr, AllocatePageSize()); in GetRandomMmapAddr()
/external/v8/src/zone/
Daccounting-allocator.cc32 void* hint = reinterpret_cast<void*>(RoundDown( in ReserveAddressSpace()
Dzone.cc113 DCHECK_EQ(size, RoundDown(size, kAlignmentInBytes)); in NewExpand()
/external/v8/src/heap/
Dspaces.h151 return RoundDown(size, kCodeAlignment); in RoundSizeDownToObjectAlignment()
153 return RoundDown(size, kTaggedSize); in RoundSizeDownToObjectAlignment()
Dmemory-allocator.cc88 RoundDown(code_range_address_hint.Pointer()->GetAddressHint(requested), in InitializeCodePageAllocator()
118 RoundDown(reservation.size() - (aligned_base - base) - reserved_area, in InitializeCodePageAllocator()
732 Address discardable_end = RoundDown(addr + size, page_size); in ComputeDiscardMemoryArea()
Dnew-spaces.cc93 minimum_capacity_ = RoundDown(initial_capacity, Page::kPageSize); in SetUp()
95 maximum_capacity_ = RoundDown(maximum_capacity, Page::kPageSize); in SetUp()
Dspaces.cc164 size_t unused = RoundDown(static_cast<size_t>(area_end() - filler.address()), in ShrinkToHighWaterMark()
Dpaged-spaces.h523 return RoundDown(size, Map::kSize); in RoundSizeDownToObjectAlignment()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dcommon.h686 Integer RoundDown(Integer i) { in RoundDown() function
697 return RoundDown<Modulus>(i + Modulus - 1); in RoundUp()
/external/gemmlowp/standalone/
Dneon-gemm-kernel-benchmark.cc5020 Integer RoundDown(Integer i) { in RoundDown() function
5067 return RoundDown<kCacheLineSize>(clamped_unrounded_depth); in BenchmarkDepthToFitInCache()

12