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 …]
42 size_t RosAlloc::bracketSizes[kNumOfSizeBrackets];43 size_t RosAlloc::numOfPages[kNumOfSizeBrackets];44 size_t RosAlloc::numOfSlots[kNumOfSizeBrackets];45 size_t RosAlloc::headerSizes[kNumOfSizeBrackets];79 for (size_t i = 0; i < kNumOfSizeBrackets; i++) { in RosAlloc()115 for (size_t i = 0; i < kNumOfSizeBrackets; i++) { in ~RosAlloc()1633 static_assert(kNumRegularSizeBrackets == kNumOfSizeBrackets - 2, in Initialize()1635 for (size_t i = 0; i < kNumOfSizeBrackets; i++) { in Initialize()1641 } else if (i == kNumOfSizeBrackets - 2) { in Initialize()1644 DCHECK_EQ(i, kNumOfSizeBrackets - 1); in Initialize()[all …]