Searched refs:CountItems (Results 1 - 25 of 730) sorted by relevance

1234567891011>>

/haiku/src/servers/app/
H A DRegionPool.cpp34 if (fUsed.CountItems() > 0)
37 int32 count = fAvailable.CountItems();
47 fAvailable.CountItems() - 1);
67 int32 count = fAvailable.CountItems();
H A DDelayedMessage.h129 if (list.CountItems() == 0)
132 status_t error = Attach<int32>(list.CountItems());
134 for (int32 index = 0; index < list.CountItems(); ++index) {
149 if (list.CountItems() == 0)
156 for (int32 index = 0; index < list.CountItems(); ++index) {
166 for (int32 index = 0; index < list.CountItems(); ++index) {
H A DScreenManager.cpp85 for (int32 i = 0; i < fScreenList.CountItems(); i++) {
115 return fScreenList.CountItems();
128 for (int32 i = 0; i < fScreenList.CountItems(); i++) {
166 for (int32 i = 0; i < fScreenList.CountItems(); i++) {
169 for (int32 j = 0; j < list.CountItems(); j++) {
184 for (int32 i = 0; i < fScreenList.CountItems(); i++) {
224 Screen* screen = new(nothrow) Screen(interface, fScreenList.CountItems());
/haiku/src/apps/icon-o-matic/generic/listener/
H A DObservable.cpp29 if (fObservers.CountItems() > 0) {
34 fObservers.CountItems(), typeid(*o).name());
60 return fObservers.CountItems();
78 int32 count = observers.CountItems();
/haiku/src/apps/mediaplayer/support/
H A DNotifier.cpp29 if (fListeners.CountItems() > 0) {
34 fListeners.CountItems(), typeid(*o).name());
60 return fListeners.CountItems();
78 int32 count = observers.CountItems();
/haiku/src/apps/haikudepot/edits_generic/
H A DEditStack.cpp48 return fEdits.CountItems() == 0;
/haiku/src/tests/kits/support/bblockcache/
H A DBlockCacheExerciseTest.cpp113 SaveBlock(usedList.ItemAt(usedList.CountItems() / 2),
115 SaveBlock(nonCacheList.ItemAt(nonCacheList.CountItems() / 2),
125 FreeBlock(usedList.ItemAt(usedList.CountItems() / 2),
127 FreeBlock(nonCacheList.ItemAt(nonCacheList.CountItems() / 2),
136 SaveBlock(usedList.ItemAt(usedList.CountItems() * 2 / 3),
138 SaveBlock(nonCacheList.ItemAt(nonCacheList.CountItems() * 2 / 3),
142 FreeBlock(usedList.ItemAt(usedList.CountItems() / 3),
144 FreeBlock(nonCacheList.ItemAt(nonCacheList.CountItems() / 3),
195 if (freeList.CountItems() > 0) {
226 if (freeList.CountItems() < numBlocksInCach
[all...]
/haiku/src/kits/debugger/util/
H A DRangeList.cpp30 if (CountItems() != 0) {
31 for (; i < CountItems(); i++) {
89 if (index < 0 || index >= CountItems())
99 for (int32 i = 0; i < CountItems(); i++) {
114 return CountItems();
128 for (int32 i = startIndex; i < CountItems();) {
/haiku/src/tests/servers/input/inputdevice/
H A Dmain.cpp21 for (uint32 i=0; i<(unsigned)list.CountItems(); i++) {
73 for (uint32 i=0; i<(unsigned)list.CountItems(); i++) {
78 for (uint32 i=0; i<(unsigned)list.CountItems(); i++) {
83 for (uint32 i=0; i<(unsigned)list.CountItems(); i++) {
88 for (uint32 i=0; i<(unsigned)list.CountItems(); i++) {
93 for (uint32 i=0; i<(unsigned)list.CountItems(); i++) {
/haiku/src/apps/mail/
H A DMailPopUpMenu.cpp92 RemoveItems(0, CountItems(), true);
95 if (fAddRandom && CountItems() > 0) {
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A DKPPPConfigurePacket.h49 int32 CountItems() const function in class:KPPPConfigurePacket
50 { return fItems.CountItems(); }
/haiku/src/apps/cortex/DiagramView/
H A DDiagramItemGroup.cpp74 count = fWires->CountItems();
81 count = fBoxes->CountItems();
88 count = fEndPoints->CountItems();
106 DiagramItemGroup::CountItems(uint32 whichType) const function in class:DiagramItemGroup
108 D_METHOD(("DiagramItemGroup::CountItems()\n"));
113 count += fBoxes->CountItems();
118 count += fWires->CountItems();
123 count += fEndPoints->CountItems();
141 if (fBoxes && (index < CountItems(DiagramItem::M_BOX)))
144 index -= CountItems(DiagramIte
[all...]
/haiku/src/add-ons/translators/gif/
H A DSFHash.h39 unsigned int CountItems();
/haiku/src/kits/debugger/model/
H A DStackTrace.cpp35 return fStackFrames.CountItems();
H A DTypeComponentPath.cpp133 return fComponents.CountItems();
168 if (componentCount < 0 || componentCount > fComponents.CountItems())
169 componentCount = fComponents.CountItems();
188 int32 count = fComponents.CountItems();
204 int32 count = fComponents.CountItems();
236 int32 count = fComponents.CountItems();
237 if (count != other.fComponents.CountItems())
/haiku/src/apps/bootmanager/
H A DBootDrive.cpp30 for (int32 i = 0; i < menus.CountItems(); i++) {
44 for (int32 i = 0; i < menus.CountItems(); i++) {
58 for (int32 i = 0; i < from.CountItems(); i++) {
/haiku/src/apps/icon-o-matic/generic/support/
H A DList.h41 inline int32 CountItems() const function in class:List
42 { return BList::CountItems(); }
70 int32 count = CountItems();
/haiku/src/apps/processcontroller/
H A DPriorityMenu.cpp44 if (priority != fPriority && CountItems() > 0)
45 RemoveItems(0, CountItems(), true);
46 if (CountItems() < 1)
/haiku/src/apps/debugger/user_interface/gui/util/
H A DGuiSettingsUtils.cpp19 for (int32 i = 0; i < view->CountItems(); i++) {
35 for (int32 i = 0; i < view->CountItems(); i++) {
38 view->SetItemWeight(i, weight, i == view->CountItems() - 1);
/haiku/src/preferences/shortcuts/
H A DMetaKeyStateMap.cpp46 int nr = fStateDescs.CountItems();
50 nr = fStateTesters.CountItems();
70 return fStateTesters.CountItems();
/haiku/src/kits/tracker/
H A DPoseList.cpp46 int32 count = CountItems();
65 int32 count = CountItems();
90 int32 count = CountItems();
120 int32 count = CountItems();
153 int32 count = CountItems();
/haiku/src/kits/debugger/value/
H A DValueNodeContainer.cpp43 return fChildren.CountItems();
112 for (int32 i = fListeners.CountItems() - 1; i >= 0; i--)
120 for (int32 i = fListeners.CountItems() - 1; i >= 0; i--)
128 for (int32 i = fListeners.CountItems() - 1; i >= 0; i--)
136 for (int32 i = fListeners.CountItems() - 1; i >= 0; i--)
/haiku/src/apps/mediaplayer/supplier/
H A DMediaFileTrackSupplier.cpp45 for (int32 i = fSubTitleTracks.CountItems() - 1; i >= 0; i--)
94 return fAudioTracks.CountItems();
101 return fVideoTracks.CountItems() + fBitmaps.size();
108 return fSubTitleTracks.CountItems();
151 if (fVideoTracks.CountItems() <= index
152 && index < fVideoTracks.CountItems() + static_cast<int32>(fBitmaps.size())) {
154 fBitmaps[index - fVideoTracks.CountItems()], index, initStatus);
/haiku/src/servers/app/font/
H A DFontFamily.cpp75 for (int32 i = fStyles.CountItems(); i-- > 0;) {
108 int32 count = fStyles.CountItems();
158 return fStyles.CountItems();
165 int32 count = fStyles.CountItems();
250 int32 count = fStyles.CountItems();
268 int32 count = fStyles.CountItems();
286 int32 count = fStyles.CountItems();
/haiku/src/apps/haikudepot/textview/
H A DParagraph.cpp79 if (fTextSpans.CountItems() > 0) {
97 if (fTextSpans.CountItems() > 0) {
116 while (index < fTextSpans.CountItems()) {
124 if (fTextSpans.CountItems() == index)
166 while (index < fTextSpans.CountItems()) {
174 if (index >= fTextSpans.CountItems())
184 while (length > 0 && index < fTextSpans.CountItems()) {
209 if (span.CountChars() > 0 || fTextSpans.CountItems() == 1) {
217 if (index >= 0 && index + 1 < fTextSpans.CountItems()) {
246 for (int32 i = fTextSpans.CountItems()
[all...]

Completed in 215 milliseconds

1234567891011>>