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

/external/chromium_org/third_party/skia/src/gpu/
H A DGrMemoryPool.h67 kAlignment = 8, enumerator in enum:GrMemoryPool::__anon14505
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::__anon26395
68 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment),
69 kPerAllocPad = GR_CT_ALIGN_UP(sizeof(BlockHeader*), kAlignment),
/external/chromium_org/media/cdm/ppapi/
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/bindings/lib/
H A Dbindings_serialization.cc13 const size_t kAlignment = 8; local
14 return size + (kAlignment - (size % kAlignment)) % kAlignment;
/external/chromium_org/gpu/command_buffer/client/
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
230 static const unsigned int kAlignment = 4; member in class:gpu::TransferBufferExpandContractTest
281 kAlignment,
303 const unsigned int TransferBufferExpandContractTest::kAlignment; member in class:gpu::TransferBufferExpandContractTest
H A Dgles2_implementation.h174 static const unsigned int kAlignment = 4; member in class:gpu::gles2::GLES2Implementation
/external/chromium_org/v8/src/
H A Dzone.h93 static const int kAlignment = kPointerSize; member in class:v8::internal::Zone
130 // is guaranteed to be aligned as dictated by kAlignment.
H A Dspaces.cc153 MemoryChunk::kAlignment);
222 size_t aligned_requested = RoundUp(requested_size, MemoryChunk::kAlignment);
231 ASSERT(IsAddressAligned(current.start, MemoryChunk::kAlignment));
259 ASSERT(IsAddressAligned(address, MemoryChunk::kAlignment));
610 // +----------------------------+<- base aligned with MemoryChunk::kAlignment
625 // +----------------------------+<- base aligned with MemoryChunk::kAlignment
658 MemoryChunk::kAlignment)); member in class:v8::internal::MemoryChunk
666 MemoryChunk::kAlignment,
688 MemoryChunk::kAlignment,
2947 // Register all MemoryChunk::kAlignment
[all...]
H A Dspaces.h534 static const intptr_t kAlignment = member in class:v8::internal::MemoryChunk
537 static const intptr_t kAlignmentMask = kAlignment - 1;
962 ASSERT(IsAddressAligned(start, MemoryChunk::kAlignment));
967 ASSERT(IsAddressAligned(start, MemoryChunk::kAlignment));
2833 // Map MemoryChunk::kAlignment-aligned chunks to large pages covering them
/external/v8/src/
H A Dzone.h98 static const int kAlignment = kPointerSize; member in class:v8::internal::Zone
135 // is guaranteed to be aligned as dictated by kAlignment.
H A Dspaces.cc152 MemoryChunk::kAlignment);
220 size_t aligned_requested = RoundUp(requested, MemoryChunk::kAlignment);
229 ASSERT(IsAddressAligned(current.start, MemoryChunk::kAlignment));
246 ASSERT(IsAddressAligned(address, MemoryChunk::kAlignment));
516 MemoryChunk::kAlignment)); member in class:v8::internal::MemoryChunk
523 MemoryChunk::kAlignment,
540 MemoryChunk::kAlignment,
2603 // Register all MemoryChunk::kAlignment-aligned chunks covered by
2605 uintptr_t base = reinterpret_cast<uintptr_t>(page) / MemoryChunk::kAlignment;
2606 uintptr_t limit = base + (page->size() - 1) / MemoryChunk::kAlignment;
[all...]
H A Dspaces.h477 static const intptr_t kAlignment = member in class:v8::internal::MemoryChunk
480 static const intptr_t kAlignmentMask = kAlignment - 1;
851 ASSERT(IsAddressAligned(start, MemoryChunk::kAlignment));
856 ASSERT(IsAddressAligned(start, MemoryChunk::kAlignment));
2542 // Map MemoryChunk::kAlignment-aligned chunks to large pages covering them
/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/third_party/libjingle/source/talk/base/
H A Dstream.h534 static const int kAlignment = 16; member in class:talk_base::MemoryStream
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dstream.h623 static const int kAlignment = 16; member in class:talk_base::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
517 talk_base::scoped_ptr<uint8[]> buf(new uint8[buf_size + kAlignment]);
518 uint8* y = ALIGNP(buf.get(), kAlignment);
538 talk_base::scoped_ptr<uint8[]> buf(new uint8[buf_size + kAlignment]);
539 uint8* yuy2 = ALIGNP(buf.get(), kAlignment);
555 talk_base::scoped_ptr<uint8[]> buf(new uint8[buf_size + kAlignment + 1]);
556 uint8* yuy2 = ALIGNP(buf.get(), kAlignment) + 1;
721 talk_base::scoped_ptr<uint8[]> outbuf(new uint8[out_size + kAlignment]);
722 uint8 *out = ALIGNP(outbuf.get(), kAlignment);
737 talk_base::scoped_ptr<uint8[]> outbuf(new uint8[out_size + kAlignment]);
[all...]

Completed in 1746 milliseconds