Home
last modified time | relevance | path

Searched refs:kAlignment (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/
Dzone.cc140 position_ = RoundUp(start, kAlignment); in DeleteAll()
158 ASSERT(size == RoundDown(size, kAlignment)); in NewExpand()
167 static const int kSegmentOverhead = sizeof(Segment) + kAlignment; in NewExpand()
185 Address result = RoundUp(segment->start(), kAlignment); in NewExpand()
Dzone-inl.h42 size = RoundUp(size, kAlignment); in New()
49 ASSERT(IsAddressAligned(result, kAlignment, 0)); in New()
Dzone.h77 static const int kAlignment = kPointerSize;
/external/webkit/JavaScriptCore/wtf/
DFastMalloc.cpp570 static const size_t kAlignment = 1 << kAlignShift; variable
827 for (size_t size = kAlignment; size <= kMaxSize; size += (1 << alignshift)) { in InitSizeClasses()
879 for (size_t s = next_size; s <= max_size_in_class; s += kAlignment) { in InitSizeClasses()
882 next_size = static_cast<int>(max_size_in_class + kAlignment); in InitSizeClasses()
960 = (((sizeof(T) + kAlignment - 1) / kAlignment) * kAlignment);