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

/external/chromium_org/third_party/skia/src/gpu/
H A DGrMemoryPool.h67 kAlignment = 8, enumerator in enum:GrMemoryPool::__anon15260
68 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment),
69 kPerAllocPad = GR_CT_ALIGN_UP(sizeof(BlockHeader*), kAlignment),
/external/skia/src/gpu/
H A DGrMemoryPool.h67 kAlignment = 8, enumerator in enum:GrMemoryPool::__anon30672
68 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment),
69 kPerAllocPad = GR_CT_ALIGN_UP(sizeof(BlockHeader*), kAlignment),
/external/chromium_org/media/cdm/ppapi/external_clear_key/
H A Dfake_cdm_video_decoder.cc50 const int kAlignment = 8; local
59 int y_stride = (width + kAlignment - 1) / kAlignment * kAlignment + kPadding;
61 (width / 2 + kAlignment - 1) / kAlignment * kAlignment + kPadding;
/external/chromium_org/mojo/public/cpp/bindings/lib/
H A Dbindings_serialization.cc17 const size_t kAlignment = 8; member in namespace:mojo::internal::__anon8769
21 return t + (kAlignment - (t % kAlignment)) % kAlignment;
35 return !(reinterpret_cast<uintptr_t>(ptr) % kAlignment);
/external/chromium_org/gpu/command_buffer/client/
H A Dring_buffer_test.cc38 static const unsigned int kAlignment = 4; member in class:gpu::BaseRingBufferTest
131 allocator_.reset(new RingBuffer(kAlignment, kBaseOffset, kBufferSize,
202 const unsigned int kAlloc1 = 3*kAlignment;
H A Dtransfer_buffer_unittest.cc32 static const unsigned int kAlignment = 4; member in class:gpu::TransferBufferTest
48 kAlignment,
93 const unsigned int TransferBufferTest::kAlignment; member in class:gpu::TransferBufferTest
187 EXPECT_EQ((reinterpret_cast<uintptr_t>(ptr) & (kAlignment - 1)), 0u);
191 EXPECT_EQ((reinterpret_cast<uintptr_t>(ptr) & (kAlignment - 1)), 0u);
242 static const unsigned int kAlignment = 4; member in class:gpu::TransferBufferExpandContractTest
293 kAlignment,
315 const unsigned int TransferBufferExpandContractTest::kAlignment; member in class:gpu::TransferBufferExpandContractTest
H A Dgles2_implementation.h179 static const unsigned int kAlignment = 4; member in class:gpu::gles2::GLES2Implementation
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dyuvscaler_unittest.cc53 static const int kAlignment = 16; variable
104 scoped_ptr<uint8[]> ibuffer(new uint8[isize + kAlignment + memoffset]());
105 scoped_ptr<uint8[]> obuffer(new uint8[osize + kAlignment + memoffset]());
106 scoped_ptr<uint8[]> xbuffer(new uint8[osize + kAlignment + memoffset]());
108 uint8 *ibuf = ALIGNP(ibuffer.get(), kAlignment) + memoffset;
109 uint8 *obuf = ALIGNP(obuffer.get(), kAlignment) + memoffset;
110 uint8 *xbuf = ALIGNP(xbuffer.get(), kAlignment) + memoffset;
209 scoped_ptr<uint8[]> ibuffer(new uint8[I420_SIZE(iw, ih) + kAlignment]);
210 scoped_ptr<uint8[]> obuffer(new uint8[I420_SIZE(ow, oh) + kAlignment]);
212 uint8 *ibuf = ALIGNP(ibuffer.get(), kAlignment);
[all...]
H A Dplanarfunctions_unittest.cc63 static const int kAlignment = 16; member in namespace:cricket
158 uint8* image_pointer = new uint8[y_size + u_size + v_size + kAlignment];
159 y_pointer = ALIGNP(image_pointer, kAlignment);
160 u_pointer = ALIGNP(&image_pointer[y_size], kAlignment);
161 v_pointer = ALIGNP(&image_pointer[y_size + u_size], kAlignment);
198 uint8* image_pointer = new uint8[2 * height * awidth + kAlignment];
199 yuv_pointer = ALIGNP(image_pointer, kAlignment);
270 ((height + 1) / 2) * width + kAlignment];
271 y_pointer = ALIGNP(image_pointer, kAlignment);
321 ((height + 1) / 2) * ((width + 1) / 2) * 2 + kAlignment];
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dcommon.h65 static const size_t kAlignment = 8; variable
75 (kLinkSize > kAlignment ? kLinkSize : kAlignment);
76 static const size_t kSkippedClasses = (kAlignment < kMinClassSize ? 1 : 0);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dcommon.h75 static const size_t kAlignment = 8; variable
/external/chromium_org/v8/src/
H A Dzone.h77 static const int kAlignment = 8; member in class:v8::internal::Zone
80 static const int kAlignment = kPointerSize; member in class:v8::internal::Zone
118 // is guaranteed to be aligned as dictated by kAlignment.
/external/chromium_org/third_party/webrtc/base/
H A Dstream.h607 static const int kAlignment = 16; member in class:rtc::MemoryStream
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dtcmalloc_unittest.cc954 // kAlignment + kTooBig does not overflow.
955 const int kAlignment = 1 << 5; local
959 ret = Memalign(kAlignment, kTooBig);
966 PosixMemalign(&ret, kAlignment, kTooBig));
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dtcmalloc_unittest.cc954 // kAlignment + kTooBig does not overflow.
955 const int kAlignment = 1 << 5; local
959 ret = Memalign(kAlignment, kTooBig);
966 PosixMemalign(&ret, kAlignment, kTooBig));
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideoframe_unittest.h68 static const int kAlignment = 16; member in class:VideoFrameTest
526 rtc::scoped_ptr<uint8[]> buf(new uint8[buf_size + kAlignment]);
527 uint8* y = ALIGNP(buf.get(), kAlignment);
547 rtc::scoped_ptr<uint8[]> buf(new uint8[buf_size + kAlignment]);
548 uint8* yuy2 = ALIGNP(buf.get(), kAlignment);
564 rtc::scoped_ptr<uint8[]> buf(new uint8[buf_size + kAlignment + 1]);
565 uint8* yuy2 = ALIGNP(buf.get(), kAlignment) + 1;
730 rtc::scoped_ptr<uint8[]> outbuf(new uint8[out_size + kAlignment]);
731 uint8* out = ALIGNP(outbuf.get(), kAlignment);
746 rtc::scoped_ptr<uint8[]> outbuf(new uint8[out_size + kAlignment]);
[all...]
/external/chromium_org/v8/src/heap/
H A Dspaces.cc128 MemoryChunk::kAlignment);
198 size_t aligned_requested = RoundUp(requested_size, MemoryChunk::kAlignment);
207 DCHECK(IsAddressAligned(current.start, MemoryChunk::kAlignment));
234 DCHECK(IsAddressAligned(address, MemoryChunk::kAlignment));
565 // +----------------------------+<- base aligned with MemoryChunk::kAlignment
580 // +----------------------------+<- base aligned with MemoryChunk::kAlignment
612 IsAligned(reinterpret_cast<intptr_t>(base), MemoryChunk::kAlignment)); member in class:v8::internal::MemoryChunk
619 MemoryChunk::kAlignment, executable,
640 AllocateAlignedMemory(chunk_size, commit_size, MemoryChunk::kAlignment,
2862 // Register all MemoryChunk::kAlignment
[all...]
H A Dspaces.h523 static const intptr_t kAlignment = member in class:v8::internal::MemoryChunk
526 static const intptr_t kAlignmentMask = kAlignment - 1;
909 DCHECK(IsAddressAligned(start, MemoryChunk::kAlignment));
914 DCHECK(IsAddressAligned(start, MemoryChunk::kAlignment));
2787 // Map MemoryChunk::kAlignment-aligned chunks to large pages covering them

Completed in 2421 milliseconds