Searched refs:kNumOfSizeBrackets (Results 1 – 2 of 2) sorted by relevance
497 static constexpr size_t kNumOfSizeBrackets = 42; variable499 static size_t bracketSizes[kNumOfSizeBrackets];501 static size_t numOfPages[kNumOfSizeBrackets];503 static size_t numOfSlots[kNumOfSizeBrackets];505 static size_t headerSizes[kNumOfSizeBrackets];513 DCHECK_LT(idx, kNumOfSizeBrackets); in IndexToBracketSize()524 idx = kNumOfSizeBrackets - 2; in BracketSizeToIndex()526 idx = kNumOfSizeBrackets - 1; in BracketSizeToIndex()569 return kNumOfSizeBrackets - 2; in SizeToIndex()572 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 …]