Searched defs:kAlignment (Results 1 - 10 of 10) sorted by relevance

/external/gemmlowp/internal/
H A Dallocator.h97 static const std::size_t kAlignment = kDefaultCacheLineSize; member in class:gemmlowp::Allocator
110 storage_ = memalign(kAlignment, storage_size_);
112 if (posix_memalign(&storage_, kAlignment, storage_size_)) {
152 const std::size_t bytes = RoundUp<kAlignment>(n * sizeof(T));
/external/skia/src/gpu/
H A DGrMemoryPool.h86 kAlignment = 8, enumerator in enum:GrMemoryPool::__anon16891
87 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment),
88 kPerAllocPad = GR_CT_ALIGN_UP(sizeof(AllocHeader), kAlignment),
/external/boringssl/src/tool/
H A Dspeed.cc177 static const unsigned kAlignment = 16; local
188 std::unique_ptr<uint8_t[]> in_storage(new uint8_t[chunk_len + kAlignment]);
189 std::unique_ptr<uint8_t[]> out_storage(new uint8_t[chunk_len + overhead_len + kAlignment]);
193 uint8_t *const in = align(in_storage.get(), kAlignment);
195 uint8_t *const out = align(out_storage.get(), kAlignment);
/external/v8/src/
H A Dzone.h72 static const size_t kAlignment = 8; member in class:v8::internal::final
75 static const size_t kAlignment = kPointerSize; member in class:v8::internal::final
113 // is guaranteed to be aligned as dictated by kAlignment.
/external/webrtc/talk/session/media/
H A Dyuvscaler_unittest.cc53 static const int kAlignment = 16; variable
105 new uint8_t[isize + kAlignment + memoffset]());
107 new uint8_t[osize + kAlignment + memoffset]());
109 new uint8_t[osize + kAlignment + memoffset]());
111 uint8_t* ibuf = ALIGNP(ibuffer.get(), kAlignment) + memoffset;
112 uint8_t* obuf = ALIGNP(obuffer.get(), kAlignment) + memoffset;
113 uint8_t* xbuf = ALIGNP(xbuffer.get(), kAlignment) + memoffset;
212 scoped_ptr<uint8_t[]> ibuffer(new uint8_t[I420_SIZE(iw, ih) + kAlignment]);
213 scoped_ptr<uint8_t[]> obuffer(new uint8_t[I420_SIZE(ow, oh) + kAlignment]);
215 uint8_t* ibuf = ALIGNP(ibuffer.get(), kAlignment);
[all...]
H A Dplanarfunctions_unittest.cc64 static const int kAlignment = 16; member in namespace:cricket
165 uint8_t* image_pointer = new uint8_t[y_size + u_size + v_size + kAlignment];
166 y_pointer = ALIGNP(image_pointer, kAlignment);
167 u_pointer = ALIGNP(&image_pointer[y_size], kAlignment);
168 v_pointer = ALIGNP(&image_pointer[y_size + u_size], kAlignment);
207 uint8_t* image_pointer = new uint8_t[2 * height * awidth + kAlignment];
208 yuv_pointer = ALIGNP(image_pointer, kAlignment);
287 ((height + 1) / 2) * ((width + 1) / 2) * 2 + kAlignment];
288 y_pointer = ALIGNP(image_pointer, kAlignment);
326 ((height + 1) / 2) * ((width + 1) / 2) * 2 + kAlignment];
[all...]
/external/webrtc/webrtc/base/
H A Dstream.h478 static const int kAlignment = 16; member in class:rtc::MemoryStream
/external/v8/src/heap/
H A Dspaces.cc135 Address aligned_base = RoundUp(base, MemoryChunk::kAlignment);
210 DCHECK(IsAddressAligned(current.start, MemoryChunk::kAlignment));
232 DCHECK(IsAddressAligned(address, MemoryChunk::kAlignment));
258 size_t aligned_requested = RoundUp(requested_size, MemoryChunk::kAlignment);
264 DCHECK(IsAddressAligned(block->start, MemoryChunk::kAlignment));
588 // +----------------------------+<- base aligned with MemoryChunk::kAlignment
603 // +----------------------------+<- base aligned with MemoryChunk::kAlignment
643 IsAligned(reinterpret_cast<intptr_t>(base), MemoryChunk::kAlignment)); member in class:v8::internal::MemoryChunk
650 MemoryChunk::kAlignment, executable,
671 AllocateAlignedMemory(chunk_size, commit_size, MemoryChunk::kAlignment,
[all...]
H A Dspaces.h384 static const intptr_t kAlignment = member in class:v8::internal::MemoryChunk
387 static const intptr_t kAlignmentMask = kAlignment - 1;
1115 DCHECK(IsAddressAligned(start, MemoryChunk::kAlignment));
1120 DCHECK(IsAddressAligned(start, MemoryChunk::kAlignment));
3182 // Map MemoryChunk::kAlignment-aligned chunks to large pages covering them
/external/webrtc/talk/media/base/
H A Dvideoframe_unittest.h69 static const int kAlignment = 16; member in class:VideoFrameTest
576 rtc::scoped_ptr<uint8_t[]> buf(new uint8_t[buf_size + kAlignment]);
577 uint8_t* y = ALIGNP(buf.get(), kAlignment);
597 rtc::scoped_ptr<uint8_t[]> buf(new uint8_t[buf_size + kAlignment]);
598 uint8_t* yuy2 = ALIGNP(buf.get(), kAlignment);
614 rtc::scoped_ptr<uint8_t[]> buf(new uint8_t[buf_size + kAlignment + 1]);
615 uint8_t* yuy2 = ALIGNP(buf.get(), kAlignment) + 1;
771 rtc::scoped_ptr<uint8_t[]> outbuf(new uint8_t[out_size + kAlignment]);
772 uint8_t* out = ALIGNP(outbuf.get(), kAlignment);
787 rtc::scoped_ptr<uint8_t[]> outbuf(new uint8_t[out_size + kAlignment]);
[all...]

Completed in 824 milliseconds