HomeSort by relevance Sort by last modified time
    Searched defs:kAlignment (Results 1 - 19 of 19) sorted by null

  /external/chromium_org/mojo/public/cpp/bindings/lib/
bindings_serialization.cc 17 const size_t kAlignment = 8;
21 return t + (kAlignment - (t % kAlignment)) % kAlignment;
35 return !(reinterpret_cast<uintptr_t>(ptr) % kAlignment);
  /external/chromium_org/third_party/skia/src/gpu/
GrMemoryPool.h 67 kAlignment = 8,
68 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment),
69 kPerAllocPad = GR_CT_ALIGN_UP(sizeof(BlockHeader*), kAlignment),
  /art/runtime/gc/space/
bump_pointer_space.h 158 static constexpr size_t kAlignment = 8;
186 size_t unused_; // Ensures alignment of kAlignment.
189 COMPILE_ASSERT(sizeof(BlockHeader) % kAlignment == 0,
large_object_space.h 143 static constexpr size_t kAlignment = kPageSize;
159 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment;
165 return reinterpret_cast<uintptr_t>(Begin()) + slot * kAlignment;
  /external/chromium_org/media/cdm/ppapi/external_clear_key/
fake_cdm_video_decoder.cc 50 const int kAlignment = 8;
59 int y_stride = (width + kAlignment - 1) / kAlignment * kAlignment + kPadding;
61 (width / 2 + kAlignment - 1) / kAlignment * kAlignment + kPadding;
  /external/chromium_org/gpu/command_buffer/client/
ring_buffer_test.cc 38 static const unsigned int kAlignment = 4;
131 allocator_.reset(new RingBuffer(kAlignment, kBaseOffset, kBufferSize,
202 const unsigned int kAlloc1 = 3*kAlignment;
transfer_buffer_unittest.cc 32 static const unsigned int kAlignment = 4;
48 kAlignment,
93 const unsigned int TransferBufferTest::kAlignment;
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;
293 kAlignment,
315 const unsigned int TransferBufferExpandContractTest::kAlignment;
gles2_implementation.h 179 static const unsigned int kAlignment = 4;
  /external/chromium_org/third_party/libjingle/source/talk/session/media/
yuvscaler_unittest.cc 53 static const int kAlignment = 16;
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...]
planarfunctions_unittest.cc 63 static const int kAlignment = 16;
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/v8/src/
zone.h 77 static const int kAlignment = 8;
80 static const int kAlignment = kPointerSize;
118 // is guaranteed to be aligned as dictated by kAlignment.
  /external/chromium_org/third_party/tcmalloc/chromium/src/
common.h 65 static const size_t kAlignment = 8;
75 (kLinkSize > kAlignment ? kLinkSize : kAlignment);
76 static const size_t kSkippedClasses = (kAlignment < kMinClassSize ? 1 : 0);
  /external/chromium_org/third_party/tcmalloc/vendor/src/
common.h 75 static const size_t kAlignment = 8;
  /external/chromium_org/third_party/webrtc/base/
stream.h 607 static const int kAlignment = 16;
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
tcmalloc_unittest.cc 954 // kAlignment + kTooBig does not overflow.
955 const int kAlignment = 1 << 5;
959 ret = Memalign(kAlignment, kTooBig);
966 PosixMemalign(&ret, kAlignment, kTooBig));
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
tcmalloc_unittest.cc 954 // kAlignment + kTooBig does not overflow.
955 const int kAlignment = 1 << 5;
959 ret = Memalign(kAlignment, kTooBig);
966 PosixMemalign(&ret, kAlignment, kTooBig));
    [all...]
  /external/chromium_org/v8/src/heap/
spaces.cc 128 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));
619 MemoryChunk::kAlignment, executable,
640 AllocateAlignedMemory(chunk_size, commit_size, MemoryChunk::kAlignment,
    [all...]
spaces.h 523 static const intptr_t kAlignment =
526 static const intptr_t kAlignmentMask = kAlignment - 1;
909 DCHECK(IsAddressAligned(start, MemoryChunk::kAlignment));
914 DCHECK(IsAddressAligned(start, MemoryChunk::kAlignment));
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
videoframe_unittest.h 68 static const int kAlignment = 16;
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...]

Completed in 681 milliseconds