Lines Matching defs:CountItems

209 	int32 count = CountItems();
317 err = reply.AddInt32("result", CountItems());
328 index = CountItems() - index;
329 if (index < 0 || index >= CountItems())
346 beg = CountItems() - beg;
348 if (!(beg >= 0 && beg <= end && end < CountItems()))
368 for (int32 i = 0; i < CountItems(); i++) {
382 for (int32 i = 0; err >= B_OK && i < CountItems(); i++) {
399 index = CountItems() - index;
400 if (index < 0 || index >= CountItems())
420 beg = CountItems() - beg;
423 && end < CountItems()))
449 Select(0, CountItems() - 1, true);
477 Select(0, CountItems() - 1, false);
495 int32 lastItem = CountItems() - 1;
532 int32 lastItem = CountItems() - 1;
561 int32 lastItem = CountItems() - 1;
575 Select(fAnchorIndex, CountItems() - 1, true);
576 fAnchorIndex = CountItems() - 1;
579 for (int32 i = CountItems() - 1; i >= 0; i--) {
746 index = CountItems() - 1;
803 int32 count = CountItems();
922 int32 index = CountItems() - 1;
928 InvalidateItem(CountItems() - 1);
941 int32 count = list->CountItems();
971 return AddList(list, CountItems());
1016 if (index >= fList.CountItems())
1026 if (index < fList.CountItems())
1126 int32 high = fList.CountItems() - 1;
1170 BListView::CountItems() const
1172 return fList.CountItems();
1232 if (index > CountItems() - 1)
1233 index = CountItems() - 1;
1449 if (index < 0 || index >= CountItems()) {
1629 int32 count = CountItems();
1633 if (CountItems() > 0)
1634 itemHeight = ItemAt(CountItems() - 1)->Bottom();
1676 int32 count = CountItems();
1696 for (int32 i = 0; i < CountItems(); i++) {
1710 if (index < 0 || index >= CountItems())
1798 if (index < 0 || index >= CountItems())
1874 if (after >= CountItems())
1877 int32 count = CountItems();
1893 before = std::min(CountItems() - 1, before);
2072 to = std::min(to, CountItems() - 1);
2102 int32 count = CountItems();