Home
last modified time | relevance | path

Searched refs:kMinSegmentSizePower (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/zone/
Daccounting-allocator.cc41 (size_t(1) << kMinSegmentSizePower); in ConfigureSegmentPool()
62 if (total_size + (size_t(1) << (power + kMinSegmentSizePower)) <= in ConfigureSegmentPool()
131 size_t power = kMinSegmentSizePower; in GetSegmentFromPool()
134 DCHECK_GE(power, kMinSegmentSizePower + 0); in GetSegmentFromPool()
135 power -= kMinSegmentSizePower; in GetSegmentFromPool()
164 if (size < (1 << kMinSegmentSizePower)) return false; in AddSegmentToPool()
170 DCHECK_GE(power, kMinSegmentSizePower + 0); in AddSegmentToPool()
171 power -= kMinSegmentSizePower; in AddSegmentToPool()
192 for (size_t power = 0; power <= kMaxSegmentSizePower - kMinSegmentSizePower; in ClearPool()
Daccounting-allocator.h55 static const size_t kMinSegmentSizePower = 13; variable
58 STATIC_ASSERT(kMinSegmentSizePower <= kMaxSegmentSizePower);
61 1 + kMaxSegmentSizePower - kMinSegmentSizePower;