Lines Matching refs:count
25 move_items(void** items, int32 offset, int32 count)
27 if (count > 0 && offset != 0)
28 memmove(items + offset, items, count * sizeof(void*));
32 BList::BList(int32 count)
37 fBlockSize(count),
144 int32 count = list->fItemCount;
145 if (fItemCount + count > fPhysicalSize)
146 result = _ResizeArray(fItemCount + count);
149 fItemCount += count;
150 move_items(fObjectList + index, count, fItemCount - index - count);
166 int32 count = list->fItemCount;
167 if (fItemCount + count > fPhysicalSize)
168 result = _ResizeArray(fItemCount + count);
171 fItemCount += count;
208 BList::RemoveItems(int32 index, int32 count)
212 if (index + count > fItemCount)
213 count = fItemCount - index;
214 if (count > 0) {
215 move_items(fObjectList + index + count, -count,
216 fItemCount - index - count);
217 fItemCount -= count;
473 //! Resizes fObjectList to be large enough to contain count items.
475 BList::_ResizeArray(int32 count)
480 // until we can hold at least count items
482 int32 targetSize = count;