HomeSort by relevance Sort by last modified time
    Searched refs:kAlignment (Results 1 - 25 of 39) sorted by null

1 2

  /external/chromium_org/media/cdm/ppapi/
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/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),
GrMemoryPool.cpp 20 fMinAllocSize = GrSizeAlignUp(minAllocSize + kPerAllocPad, kAlignment),
21 fPreallocSize = GrSizeAlignUp(preallocSize + kPerAllocPad, kAlignment);
41 size = GrSizeAlignUp(size, kAlignment);
109 GrAssert(!(reinterpret_cast<intptr_t>(block) % kAlignment));
140 GrAssert(!(b % kAlignment));
141 GrAssert(!(totalSize % kAlignment));
142 GrAssert(!(userSize % kAlignment));
143 GrAssert(!(block->fCurrPtr % kAlignment));
  /external/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),
GrMemoryPool.cpp 20 fMinAllocSize = GrSizeAlignUp(minAllocSize + kPerAllocPad, kAlignment),
21 fPreallocSize = GrSizeAlignUp(preallocSize + kPerAllocPad, kAlignment);
41 size = GrSizeAlignUp(size, kAlignment);
109 GrAssert(!(reinterpret_cast<intptr_t>(block) % kAlignment));
140 GrAssert(!(b % kAlignment));
141 GrAssert(!(totalSize % kAlignment));
142 GrAssert(!(userSize % kAlignment));
143 GrAssert(!(block->fCurrPtr % kAlignment));
  /external/chromium_org/v8/src/
zone-inl.h 44 size = RoundUp(size, kAlignment);
48 if (kPointerSize == 4 && kAlignment == 4) {
51 ASSERT(kAlignment >= kPointerSize);
64 ASSERT(IsAddressAligned(result, kAlignment, 0));
zone.cc 121 position_ = RoundUp(start, kAlignment);
180 ASSERT(size == RoundDown(size, kAlignment));
189 static const int kSegmentOverhead = sizeof(Segment) + kAlignment;
213 Address result = RoundUp(segment->start(), kAlignment);
zone.h 93 static const int kAlignment = kPointerSize;
130 // is guaranteed to be aligned as dictated by kAlignment.
  /external/v8/src/
zone-inl.h 45 size = RoundUp(size, kAlignment);
49 if (kPointerSize == 4 && kAlignment == 4) {
52 ASSERT(kAlignment >= kPointerSize);
65 ASSERT(IsAddressAligned(result, kAlignment, 0));
zone.cc 144 position_ = RoundUp(start, kAlignment);
170 ASSERT(size == RoundDown(size, kAlignment));
179 static const int kSegmentOverhead = sizeof(Segment) + kAlignment;
203 Address result = RoundUp(segment->start(), kAlignment);
zone.h 98 static const int kAlignment = kPointerSize;
135 // is guaranteed to be aligned as dictated by kAlignment.
spaces.cc 152 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));
523 MemoryChunk::kAlignment,
540 MemoryChunk::kAlignment,
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/
common.cc 56 int alignment = kAlignment;
112 int alignment = kAlignment;
113 CHECK_CONDITION(kAlignment <= 16);
114 for (size_t size = kAlignment; size <= kMaxSize; size += alignment) {
160 for (int s = next_size; s <= max_size_in_class; s += kAlignment) {
163 next_size = max_size_in_class + kAlignment;
common.h 75 static const size_t kAlignment = 8;
  /art/runtime/gc/accounting/
space_bitmap_test.cc 71 reinterpret_cast<mirror::Object*>(heap_begin + j * SpaceBitmap::kAlignment);
82 reinterpret_cast<mirror::Object*>(heap_begin + i * SpaceBitmap::kAlignment);
85 reinterpret_cast<mirror::Object*>(heap_begin + (i + j) * SpaceBitmap::kAlignment);
space_bitmap-inl.h 60 const size_t bit_index_start = (visit_begin - heap_begin_) / kAlignment;
61 const size_t bit_index_end = (visit_end - heap_begin_ - 1) / kAlignment;
81 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);
94 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);
114 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);
space_bitmap.h 43 static const size_t kAlignment = 8;
52 // heap_begin of heap_capacity bytes, where objects are guaranteed to be kAlignment-aligned.
67 return offset / kAlignment / kBitsPerWord;
71 return static_cast<uintptr_t>(index * kAlignment * kBitsPerWord);
76 return static_cast<uintptr_t>(kWordHighBitMask) >> ((offset_ / kAlignment) % kBitsPerWord);
122 for (; visit_begin < visit_end; visit_begin += kAlignment) {
space_bitmap.cc 57 size_t bitmap_size = OffsetToIndex(RoundUp(heap_capacity, kAlignment * kBitsPerWord)) * kWordSize;
63 // Round up since heap_capacity is not necessarily a multiple of kAlignment * kBitsPerWord.
64 size_t bitmap_size = OffsetToIndex(RoundUp(heap_capacity, kAlignment * kBitsPerWord)) * kWordSize;
77 DCHECK(IsAligned<kBitsPerWord * kAlignment>(new_end));
115 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);
160 *pb++ = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);
260 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * 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);
common.cc 60 int alignment = kAlignment;
116 int alignment = kAlignment;
117 CHECK_CONDITION(kAlignment <= 16);
164 for (int s = next_size; s <= max_size_in_class; s += kAlignment) {
167 next_size = max_size_in_class + kAlignment;
  /art/runtime/gc/
heap_test.cc 60 const size_t heap_capacity = accounting::SpaceBitmap::kAlignment * (sizeof(intptr_t) * 8 + 1);
66 accounting::SpaceBitmap::kAlignment]);
  /art/runtime/gc/space/
large_object_space.cc 130 CHECK_EQ(size % kAlignment, 0U);
182 for (uintptr_t pos = reinterpret_cast<uintptr_t>(this);; pos += kAlignment) {
192 CHECK(IsAligned<kAlignment>(header));
195 DCHECK(IsAligned<kAlignment>(allocation_size));
212 DCHECK(IsAligned<kAlignment>(next_header));
216 DCHECK(IsAligned<kAlignment>(next_next_header));
217 DCHECK(IsAligned<kAlignment>(next_next_header->AllocationSize()));
251 size_t allocation_size = RoundUp(num_bytes + sizeof(AllocationHeader), kAlignment);
large_object_space.h 135 static const size_t kAlignment = kPageSize;
  /external/chromium_org/gpu/command_buffer/client/
transfer_buffer_unittest.cc 32 static const unsigned int kAlignment = 4;
48 kAlignment,
93 const unsigned int TransferBufferTest::kAlignment;
230 static const unsigned int kAlignment = 4;
281 kAlignment,
303 const unsigned int TransferBufferExpandContractTest::kAlignment;
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
videoframe_unittest.h 68 static const int kAlignment = 16;
517 talk_base::scoped_array<uint8> buf(new uint8[buf_size + kAlignment]);
518 uint8* y = ALIGNP(buf.get(), kAlignment);
538 talk_base::scoped_array<uint8> buf(new uint8[buf_size + kAlignment]);
539 uint8* yuy2 = ALIGNP(buf.get(), kAlignment);
555 talk_base::scoped_array<uint8> buf(new uint8[buf_size + kAlignment + 1]);
556 uint8* yuy2 = ALIGNP(buf.get(), kAlignment) + 1;
721 talk_base::scoped_array<uint8> outbuf(new uint8[out_size + kAlignment]);
722 uint8 *out = ALIGNP(outbuf.get(), kAlignment);
737 talk_base::scoped_array<uint8> outbuf(new uint8[out_size + kAlignment]);
    [all...]

Completed in 1731 milliseconds

1 2