Lines Matching refs:kNumClasses

112   static const uptr kNumClasses =  variable
114 COMPILER_CHECK(kNumClasses >= 32 && kNumClasses <= 256);
116 kNumClasses == 32 ? 32 :
117 kNumClasses <= 64 ? 64 :
118 kNumClasses <= 128 ? 128 : 256;
148 for (uptr i = 0; i < kNumClasses; i++) { in Print()
171 for (uptr c = 1; c < kNumClasses; c++) { in Validate()
176 if (c != kNumClasses - 1) in Validate()
187 CHECK_LT(c, kNumClasses); in Validate()
355 CHECK_LT(class_id, kNumClasses); in AllocateBatch()
393 if (class_id >= kNumClasses) return nullptr; in GetBlockBegin()
418 for (uptr i = 0; i < kNumClasses; i++) in TotalMemoryUsed()
432 for (uptr class_id = 1; class_id < kNumClasses; class_id++) { in PrintStats()
441 for (uptr class_id = 1; class_id < kNumClasses; class_id++) { in PrintStats()
456 for (uptr i = 0; i < kNumClasses; i++) { in ForceLock()
462 for (int i = (int)kNumClasses - 1; i >= 0; i--) { in ForceUnlock()
470 for (uptr class_id = 1; class_id < kNumClasses; class_id++) { in ForEachChunk()
489 static const uptr kNumClasses = SizeClassMap::kNumClasses; variable
523 CHECK_LT(class_id, kNumClasses); in GetRegionInfo()
753 CHECK_LT(class_id, kNumClasses); in AllocateBatch()
765 CHECK_LT(class_id, kNumClasses); in DeallocateBatch()
819 for (uptr i = 0; i < kNumClasses; i++) { in ForceLock()
825 for (int i = kNumClasses - 1; i >= 0; i--) { in ForceUnlock()
855 static const uptr kNumClasses = SizeClassMap::kNumClasses; variable
879 CHECK_LT(class_id, kNumClasses); in AllocateRegion()
890 CHECK_LT(class_id, kNumClasses); in GetSizeClassInfo()
923 SizeClassInfo size_class_info_array[kNumClasses];
932 static const uptr kNumClasses = SizeClassAllocator::kNumClasses; member
948 CHECK_LT(class_id, kNumClasses); in Allocate()
960 CHECK_LT(class_id, kNumClasses); in Deallocate()
973 for (uptr class_id = 0; class_id < kNumClasses; class_id++) { in Drain()
988 PerClass per_class_[kNumClasses];
994 for (uptr i = 0; i < kNumClasses; i++) { in InitCache()