Searched refs:ClassIndex (Results 1 – 5 of 5) sorted by relevance
101 if (ClassIndex(0) < 0) { in Init()103 "Invalid class index for size 0", ClassIndex(0)); in Init()105 if (ClassIndex(kMaxSize) >= sizeof(class_array_)) { in Init()107 "Invalid class index for kMaxSize", ClassIndex(kMaxSize)); in Init()161 class_array_[ClassIndex(s)] = c; in Init()
172 static inline int ClassIndex(int s) { in ClassIndex() function198 return class_array_[ClassIndex(size)]; in SizeClass()
105 if (ClassIndex(0) < 0) { in Init()107 "Invalid class index for size 0", ClassIndex(0)); in Init()109 if (ClassIndex(kMaxSize) >= sizeof(class_array_)) { in Init()111 "Invalid class index for kMaxSize", ClassIndex(kMaxSize)); in Init()165 class_array_[ClassIndex(s)] = c; in Init()
189 static inline int ClassIndex(int s) { in ClassIndex() function215 return class_array_[ClassIndex(size)]; in SizeClass()
564 static inline int ClassIndex(size_t s) { in ClassIndex() function689 return class_array[ClassIndex(size)]; in SizeClass()722 if (ClassIndex(0) < 0) { in InitSizeClasses()723 MESSAGE("Invalid class index %d for size 0\n", ClassIndex(0)); in InitSizeClasses()726 if (static_cast<size_t>(ClassIndex(kMaxSize)) >= sizeof(class_array)) { in InitSizeClasses()727 MESSAGE("Invalid class index %d for kMaxSize\n", ClassIndex(kMaxSize)); in InitSizeClasses()788 class_array[ClassIndex(s)] = c; in InitSizeClasses()