Home
last modified time | relevance | path

Searched refs:RoundUp (Results 1 – 25 of 39) 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.cc56 const size_t msize = RoundUp(requested, getpagesize()); in Allocate()
90 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
101 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
111 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-freebsd.cc60 const size_t msize = RoundUp(requested, getpagesize()); in Allocate()
137 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
148 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
158 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-macos.cc57 const size_t msize = RoundUp(requested, getpagesize()); in Allocate()
130 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
141 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
151 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-aix.cc66 const size_t msize = RoundUp(requested, getpagesize()); in Allocate()
140 RoundUp(size + alignment, static_cast<intptr_t>(OS::AllocateAlignment())); in VirtualMemory()
147 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
157 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-openbsd.cc58 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
168 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
179 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
189 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-qnx.cc109 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
194 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
205 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
215 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-linux.cc135 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate()
252 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
263 uint8_t* aligned_base = RoundUp(base, alignment); in VirtualMemory()
273 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); in VirtualMemory()
Dplatform-cygwin.cc53 const size_t msize = RoundUp(requested, sysconf(_SC_PAGESIZE)); in Allocate()
161 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
165 uint8_t* base = RoundUp(static_cast<uint8_t*>(address), alignment); in VirtualMemory()
Dplatform-win32.cc784 size_t msize = RoundUp(requested, static_cast<int>(GetPageSize())); in Allocate()
1210 size_t request_size = RoundUp(size + alignment, in VirtualMemory()
1214 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/
Dzone.cc93 size = RoundUp(size, kAlignment); in New()
162 position_ = RoundUp(start, kAlignment); in DeleteAll()
267 Address result = RoundUp(segment->start(), kAlignment); in NewExpand()
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.cc84 offset_to_procedure_ = -(RoundUp(code_size, 8) + eh_frame_size); // B -> F in EhFrameHdr()
Dsafepoint-table.cc149 RoundUp(bits_per_entry, kBitsPerByte) >> kBitsPerByteLog2; in Emit()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_sync.cc131 uptr diff = RoundUp(p, kPageSize) - p; in ResetRange()
144 CHECK_EQ(p, RoundUp(p, kPageSize)); in ResetRange()
145 CHECK_EQ(sz, RoundUp(sz, kPageSize)); in ResetRange()
Dtsan_defs.h124 T RoundUp(T p, u64 align) { in RoundUp() function
Dtsan_mman.cc49 uptr diff = RoundUp(p, kPageSize) - p; in OnUnmap()
/external/v8/src/heap/
Dstore-buffer.cc32 start_ = reinterpret_cast<Address*>(RoundUp(start_as_int, kStoreBufferSize)); in SetUp()
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()
451 RoundUp(static_cast<Address>(reservation.address()), alignment); in ReserveAlignedMemory()
550 RoundUp(header_size + requested, base::OS::CommitPageSize()); in CommitArea()
551 size_t committed_size = RoundUp(header_size + (area_end() - area_start()), in CommitArea()
659 chunk_size = RoundUp(CodePageAreaStartOffset() + reserve_area_size, in AllocateChunk()
672 size_t commit_size = RoundUp(CodePageGuardStartOffset() + commit_area_size, in AllocateChunk()
708 chunk_size = RoundUp(MemoryChunk::kObjectStartOffset + reserve_area_size, in AllocateChunk()
[all …]
/external/v8/test/cctest/
Dtest-code-layout.cc82 Code::kHeaderSize + RoundUp(buffer_size, kInt64Size) + kInt64Size + in TEST()
/external/v8/test/cctest/heap/
Dtest-spaces.cc75 Address page_start = RoundUp(start, Page::kPageSize);
173 ? RoundUp(header_size + guard_size + reserve_area_size + guard_size, in VerifyMemoryChunk()
175 : RoundUp(header_size + reserve_area_size, in VerifyMemoryChunk()
/external/v8/src/base/
Dmacros.h327 inline T RoundUp(T x, intptr_t m) { in RoundUp() function

12