Lines Matching refs:fItemCount

36 	fItemCount(0),
42 _ResizeArray(fItemCount);
50 fItemCount(0),
68 if (_ResizeArray(other.fItemCount)) {
69 fItemCount = other.fItemCount;
70 memcpy(fObjectList, other.fObjectList, fItemCount * sizeof(void*));
84 if (other.fItemCount != fItemCount)
87 if (fItemCount > 0) {
89 fItemCount * sizeof(void*)) == 0;
106 if (index < 0 || index > fItemCount)
111 if (fItemCount + 1 > fPhysicalSize)
112 result = _ResizeArray(fItemCount + 1);
114 ++fItemCount;
115 move_items(fObjectList + index, 1, fItemCount - index - 1);
126 if (fPhysicalSize > fItemCount) {
127 fObjectList[fItemCount] = item;
128 ++fItemCount;
130 if ((result = _ResizeArray(fItemCount + 1))) {
131 fObjectList[fItemCount] = item;
132 ++fItemCount;
142 bool result = (list && index >= 0 && index <= fItemCount);
143 if (result && list->fItemCount > 0) {
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);
152 list->fItemCount * sizeof(void*));
164 if (result && list->fItemCount > 0) {
165 int32 index = fItemCount;
166 int32 count = list->fItemCount;
167 if (fItemCount + count > fPhysicalSize)
168 result = _ResizeArray(fItemCount + count);
171 fItemCount += count;
173 list->fItemCount * sizeof(void*));
196 if (index >= 0 && index < fItemCount) {
198 move_items(fObjectList + index + 1, -1, fItemCount - index - 1);
199 --fItemCount;
200 if (fItemCount <= fResizeThreshold)
201 _ResizeArray(fItemCount);
210 bool result = (index >= 0 && index <= fItemCount);
212 if (index + count > fItemCount)
213 count = fItemCount - index;
216 fItemCount - index - count);
217 fItemCount -= count;
218 if (fItemCount <= fResizeThreshold)
219 _ResizeArray(fItemCount);
232 if (index >= 0 && index < fItemCount) {
243 fItemCount = 0;
255 qsort(fObjectList, fItemCount, sizeof(void*), compareFunc);
264 if (indexA >= 0 && indexA < fItemCount
265 && indexB >= 0 && indexB < fItemCount) {
288 if ((from >= fItemCount) || (to >= fItemCount) || (from < 0) || (to < 0))
312 if (index >= 0 && index < fItemCount)
322 if (fItemCount > 0)
346 if (fItemCount > 0)
347 item = fObjectList[fItemCount - 1];
372 for (int32 i = 0; i < fItemCount; i++) {
383 for (int32 i = 0; i < fItemCount; i++) {
394 return fItemCount;
401 return fItemCount == 0;
419 while ((!terminate) && (index < fItemCount)) {
437 while ((!terminate) && (index < fItemCount)) {