Lines Matching defs:count
236 BPartitioningInfo::_InsertSpaces(int32 index, int32 count)
238 if (index <= 0 || index > fCount || count <= 0)
243 if (fCount + count <= fCapacity) {
244 memmove(fSpaces + index + count, fSpaces + index,
246 fCount += count;
251 int32 capacity = (fCount + count) * 2;
261 memcpy(spaces + index + count, fSpaces + index,
267 fCount += count;
275 BPartitioningInfo::_RemoveSpaces(int32 index, int32 count)
277 if (index < 0 || count <= 0 || index + count > fCount)
280 if (count < fCount) {
281 int32 endIndex = index + count;
286 fCount -= count;