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

  /art/runtime/gc/space/
bump_pointer_space.h 160 static constexpr size_t kAlignment = 8;
188 size_t unused_; // Ensures alignment of kAlignment.
191 static_assert(sizeof(BlockHeader) % kAlignment == 0,
192 "continuous block must be kAlignment aligned");
large_object_space.h 162 static constexpr size_t kAlignment = kPageSize;
179 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment;
185 return reinterpret_cast<uintptr_t>(Begin()) + slot * kAlignment;
region_space.h 169 static constexpr size_t kAlignment = kObjectAlignment;
  /external/gemmlowp/internal/
allocator.h 97 static const std::size_t kAlignment = kDefaultCacheLineSize;
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/
GrMemoryPool.h 86 kAlignment = 8,
87 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment),
88 kPerAllocPad = GR_CT_ALIGN_UP(sizeof(AllocHeader), kAlignment),
  /external/webrtc/talk/session/media/
yuvscaler_unittest.cc 53 static const int kAlignment = 16;
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...]
planarfunctions_unittest.cc 64 static const int kAlignment = 16;
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/boringssl/src/tool/
speed.cc 177 static const unsigned kAlignment = 16;
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/
zone.h 74 static const size_t kAlignment = 8;
77 static const size_t kAlignment = kPointerSize;
115 // is guaranteed to be aligned as dictated by kAlignment.
  /external/webrtc/webrtc/base/
stream.h 478 static const int kAlignment = 16;
  /art/runtime/base/
arena_allocator.h 307 bytes = RoundUp(bytes, kAlignment);
369 static constexpr size_t kAlignment = 8;
  /external/webrtc/talk/media/base/
videoframe_unittest.h 69 static const int kAlignment = 16;
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...]
  /external/v8/src/heap/
spaces.cc 140 Address aligned_base = RoundUp(base, MemoryChunk::kAlignment);
214 DCHECK(IsAddressAligned(current.start, MemoryChunk::kAlignment));
237 DCHECK(IsAddressAligned(address, MemoryChunk::kAlignment));
263 size_t aligned_requested = RoundUp(requested_size, MemoryChunk::kAlignment);
269 DCHECK(IsAddressAligned(block->start, MemoryChunk::kAlignment));
632 // +----------------------------+<- base aligned with MemoryChunk::kAlignment
647 // +----------------------------+<- base aligned with MemoryChunk::kAlignment
686 IsAligned(reinterpret_cast<intptr_t>(base), MemoryChunk::kAlignment));
693 MemoryChunk::kAlignment, executable,
714 AllocateAlignedMemory(chunk_size, commit_size, MemoryChunk::kAlignment,
    [all...]
spaces.h 497 static const intptr_t kAlignment =
500 static const intptr_t kAlignmentMask = kAlignment - 1;
    [all...]

Completed in 2485 milliseconds