Home
last modified time | relevance | path

Searched refs:RoundUp (Results 1 – 25 of 38) sorted by relevance

12

/external/gemmlowp/internal/
Dblock_params.h65 l2_depth = RoundUp<kRegisterSize>(depth); in FindL2BlockSizes()
76 RoundUp<KernelFormat::kCols>(CeilQuotient(cols, min_l2_cols_blocks)); in FindL2BlockSizes()
83 l2_rows = RoundUp<KernelFormat::kRows>(rows); in FindL2BlockSizes()
91 RoundUp<KernelFormat::kRows>(CeilQuotient(rows, min_l2_rows_blocks)); in FindL2BlockSizes()
124 RoundUp<kRegisterSize>(CeilQuotient(depth, min_l1_depth_blocks)); in FindL1BlockSizes()
133 RoundUp<KernelFormat::kRows>(CeilQuotient(rows, min_l1_rows_blocks)); in FindL1BlockSizes()
Dcommon.h206 Integer RoundUp(Integer i) { in RoundUp() function
Dallocator.h152 const std::size_t bytes = RoundUp<kAlignment>(n * sizeof(T));
/external/v8/src/base/platform/
Dplatform-solaris.cc57 const size_t msize = RoundUp(requested, getpagesize()); in Allocate()
91 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
102 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
112 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-macos.cc57 const size_t msize = RoundUp(requested, getpagesize()); in Allocate()
132 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
143 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
153 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-aix.cc68 const size_t msize = RoundUp(requested, getpagesize()); in Allocate()
142 RoundUp(size + alignment, static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
149 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
159 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-freebsd.cc62 const size_t msize = RoundUp(requested, getpagesize()); in Allocate()
139 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
150 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
160 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-qnx.cc111 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
196 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
207 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
217 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-openbsd.cc60 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
170 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
181 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
191 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-linux.cc119 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
230 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
241 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
251 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-cygwin.cc55 const size_t msize = RoundUp(requested, sysconf(_SC_PAGESIZE)); in Allocate()
163 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
167 uint8_t* base = RoundUp(static_cast<uint8_t*>(address), alignment); in VirtualMemory()
Dplatform-win32.cc783 size_t msize = RoundUp(requested, static_cast<int>(GetPageSize())); in Allocate()
1209 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
1213 uint8_t* base = RoundUp(static_cast<uint8_t*>(address), alignment); in VirtualMemory()
/external/gemmlowp/test/
Dtest_math_helpers.cc40 Check(x <= RoundUp<Modulus>(x)); in test_round_up_down()
41 Check(x > RoundUp<Modulus>(x) - Modulus); in test_round_up_down()
42 Check(RoundUp<Modulus>(x) % Modulus == 0); in test_round_up_down()
/external/v8/src/zone/
Dzone.cc65 size = RoundUp(size, kAlignment); in New()
175 Address result = RoundUp(segment->start(), kAlignment); in NewExpand()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_sync.cc137 uptr diff = RoundUp(p, kPageSize) - p; in ResetRange()
150 CHECK_EQ(p, RoundUp(p, kPageSize)); in ResetRange()
151 CHECK_EQ(sz, RoundUp(sz, kPageSize)); in ResetRange()
Dtsan_defs.h128 T RoundUp(T p, u64 align) { in RoundUp() function
Dtsan_mman.cc49 uptr diff = RoundUp(p, kPageSize) - p; in OnUnmap()
Dtsan_rtl_thread.cc93 epoch0 = RoundUp(epoch1 + 1, kTracePartSize); in OnStarted()
/external/v8/src/
Dfixed-dtoa.cc172 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) { in RoundUp() function
245 RoundUp(buffer, length, decimal_point); in FillFractionals()
264 RoundUp(buffer, length, decimal_point); in FillFractionals()
Deh-frame.cc228 WriteInt32(-(RoundUp(code_size, 8) + eh_frame_size)); in WriteEhFrameHdr()
242 int padding_size = RoundUp(unpadded_size, kPointerSize) - unpadded_size; in WritePaddingToAlignedSize()
350 -(RoundUp(code_size, 8) + GetProcedureAddressOffset())); in Finish()
Dsafepoint-table.cc149 RoundUp(bits_per_entry, kBitsPerByte) >> kBitsPerByteLog2; in Emit()
Dperf-jit.cc344 int padding_size = RoundUp(content_size, 8) - content_size; in LogWriteUnwindingInfo()
/external/v8/src/heap/
Dspaces.cc140 Address aligned_base = RoundUp(base, MemoryChunk::kAlignment); in SetUp()
263 size_t aligned_requested = RoundUp(requested_size, MemoryChunk::kAlignment); in ReserveBlock()
299 capacity_ = RoundUp(capacity, Page::kPageSize); in SetUp()
300 capacity_executable_ = RoundUp(capacity_executable, Page::kPageSize); in SetUp()
453 RoundUp(static_cast<Address>(reservation.address()), alignment); in ReserveAlignedMemory()
551 RoundUp(header_size + requested, MemoryAllocator::GetCommitPageSize()); in CommitArea()
552 size_t committed_size = RoundUp(header_size + (area_end() - area_start()), in CommitArea()
680 chunk_size = RoundUp(CodePageAreaStartOffset() + reserve_area_size, in AllocateChunk()
692 size_t commit_size = RoundUp(CodePageGuardStartOffset() + commit_area_size, in AllocateChunk()
728 chunk_size = RoundUp(MemoryChunk::kObjectStartOffset + reserve_area_size, in AllocateChunk()
[all …]
Dstore-buffer.cc36 reinterpret_cast<Address*>(RoundUp(start_as_int, kStoreBufferSize)); in SetUp()
/external/v8/src/base/
Dmacros.h281 inline T RoundUp(T x, intptr_t m) { in RoundUp() function

12