Searched refs:kNumOfSizeBrackets (Results 1 – 2 of 2) sorted by relevance
496 static constexpr size_t kNumOfSizeBrackets = 42; variable498 static size_t bracketSizes[kNumOfSizeBrackets];500 static size_t numOfPages[kNumOfSizeBrackets];502 static size_t numOfSlots[kNumOfSizeBrackets];504 static size_t headerSizes[kNumOfSizeBrackets];512 DCHECK_LT(idx, kNumOfSizeBrackets); in IndexToBracketSize()523 idx = kNumOfSizeBrackets - 2; in BracketSizeToIndex()525 idx = kNumOfSizeBrackets - 1; in BracketSizeToIndex()568 return kNumOfSizeBrackets - 2; in SizeToIndex()571 return kNumOfSizeBrackets - 1; in SizeToIndex()[all …]
47 size_t RosAlloc::bracketSizes[kNumOfSizeBrackets];48 size_t RosAlloc::numOfPages[kNumOfSizeBrackets];49 size_t RosAlloc::numOfSlots[kNumOfSizeBrackets];50 size_t RosAlloc::headerSizes[kNumOfSizeBrackets];84 for (size_t i = 0; i < kNumOfSizeBrackets; i++) { in RosAlloc()122 for (size_t i = 0; i < kNumOfSizeBrackets; i++) { in ~RosAlloc()1628 static_assert(kNumRegularSizeBrackets == kNumOfSizeBrackets - 2, in Initialize()1630 for (size_t i = 0; i < kNumOfSizeBrackets; i++) { in Initialize()1636 } else if (i == kNumOfSizeBrackets - 2) { in Initialize()1639 DCHECK_EQ(i, kNumOfSizeBrackets - 1); in Initialize()[all …]