Lines Matching refs:Count

86         for (int i = 0; i < bparr.Count(); i++)  in dumpBigPtrArray()
96 bparr.Insert(new BigPtrEntryMock(i), bparr.Count()); in fillBigPtrArray()
108 for (int i = 0; i < bparr.Count(); i++) in checkElementPositions()
118 for (int i = 0; i < bparr.Count(); i++) in releaseBigPtrArrayContent()
147 bparr.Count() == 0 in test_ctor()
161 sal_uLong oldCount = bparr.Count(); in test_insert_entries_at_front()
166 (bparr.Count() == oldCount + 1) in test_insert_entries_at_front()
202 sal_uLong oldCount = bparr.Count(); in test_insert_entries_in_the_middle()
204 bparr.Insert(new BigPtrEntryMock(NUM_ENTRIES), bparr.Count() / 2); in test_insert_entries_in_the_middle()
211 …(oldCount + 1 == bparr.Count() && static_cast<BigPtrEntryMock*>(bparr[bparr.Count() / 2])->getCoun… in test_insert_entries_in_the_middle()
235 int oldCount = bparr.Count(); in test_insert_at_already_used_index()
245 (oldCount + 5 == bparr.Count()) in test_insert_at_already_used_index()
248 for (int i = 0, j = -5; i < bparr.Count(); i++, j++) in test_insert_at_already_used_index()
276 sal_uLong oldCount = bparr.Count(); in test_insert_at_end()
277 bparr.Insert(new BigPtrEntryMock(NUM_ENTRIES), bparr.Count()); in test_insert_at_end()
282 …(oldCount + 1 == bparr.Count() && static_cast<BigPtrEntryMock*>(bparr[bparr.Count()-1])->getCount(… in test_insert_at_end()
308 sal_uLong oldCount = bparr.Count(); in test_remove_at_front()
316 (oldCount - 1 == bparr.Count()) in test_remove_at_front()
319 for (int j = 0, k = i + 1; j < bparr.Count(); j++, k++) in test_remove_at_front()
351 sal_uLong oldCount = bparr.Count(); in test_remove_at_back()
358 (oldCount - 1 == bparr.Count()) in test_remove_at_back()
361 for (int j = 0; j < bparr.Count(); j++) in test_remove_at_back()
391 while (bparr.Count()) in test_remove_in_the_middle()
393 sal_uLong oldCount = bparr.Count(); in test_remove_in_the_middle()
394 int oldElement = static_cast<BigPtrEntryMock*>(bparr[bparr.Count() / 2])->getCount(); in test_remove_in_the_middle()
396 delete bparr[bparr.Count() / 2]; in test_remove_in_the_middle()
397 bparr.Remove(bparr.Count() / 2); in test_remove_in_the_middle()
402 (oldCount - 1 == bparr.Count()) in test_remove_in_the_middle()
405 for (int i = 0; i < bparr.Count(); i++) in test_remove_in_the_middle()
434 while(bparr.Count()) in test_remove_multiple_elements_at_once()
436 sal_uLong nRemove = (bparr.Count() > 3) ? 3 : bparr.Count(); in test_remove_multiple_elements_at_once()
437 sal_uLong oldCount = bparr.Count(); in test_remove_multiple_elements_at_once()
447 (oldCount - nRemove == bparr.Count()) in test_remove_multiple_elements_at_once()
470 bparr.Remove(0, bparr.Count()); in test_remove_all_elements_at_once()
475 bparr.Count() == 0 in test_remove_all_elements_at_once()
846 bparr.Insert(new BigPtrEntryMock(i), bparr.Count()); in test_insert_at_end()