Lines Matching refs:i

86         for (int i = 0; i < bparr.Count(); i++)  in dumpBigPtrArray()  local
87 …printf("bparr[%i,%i]: %i\n", i, static_cast<BigPtrEntryMock*>(bparr[i])->Position(), static_cast<B… in dumpBigPtrArray()
95 for (int i = 0; i < numEntries; i++) in fillBigPtrArray() local
96 bparr.Insert(new BigPtrEntryMock(i), bparr.Count()); in fillBigPtrArray()
108 for (int i = 0; i < bparr.Count(); i++) in checkElementPositions() local
110 if (static_cast<BigPtrEntryMock*>(bparr[i])->Position() != i) in checkElementPositions()
118 for (int i = 0; i < bparr.Count(); i++) in releaseBigPtrArrayContent() local
119 delete bparr[i]; in releaseBigPtrArrayContent()
159 for (int i = 0; i < NUM_ENTRIES; i++) in test_insert_entries_at_front() local
162 bparr.Insert(new BigPtrEntryMock(i), 0); in test_insert_entries_at_front()
172 for (int i = 0, j = NUM_ENTRIES - 1; i < NUM_ENTRIES; i++, j--) in test_insert_entries_at_front() local
177 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == j in test_insert_entries_at_front()
237 for (int i = 0, j = -5; i < 5; i++, j++) in test_insert_at_already_used_index() local
238 bparr.Insert(new BigPtrEntryMock(j), i); 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() local
253 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == j in test_insert_at_already_used_index()
306 for (int i = 0; i < NUM_ENTRIES; i++) in test_remove_at_front() local
319 for (int j = 0, k = i + 1; j < bparr.Count(); j++, k++) in test_remove_at_front()
349 for (int i = NUM_ENTRIES - 1; i >= 0; i--) in test_remove_at_back() local
352 delete bparr[i]; in test_remove_at_back()
353 bparr.Remove(i); in test_remove_at_back()
405 for (int i = 0; i < bparr.Count(); i++) in test_remove_in_the_middle() local
410 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() != oldElement in test_remove_in_the_middle()
439 for (int i = 0; i < nRemove; i++) in test_remove_multiple_elements_at_once() local
440 delete bparr[i]; in test_remove_multiple_elements_at_once()
490 for (int i = 0; i < NUM_ENTRIES - 1; i++) in test_move_elements_from_lower_to_higher_pos() local
492 bparr.Move(i, i + 2); in test_move_elements_from_lower_to_higher_pos()
496 for (int i = 0; i < (NUM_ENTRIES - 1); i++) in test_move_elements_from_lower_to_higher_pos() local
501 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i + 1) in test_move_elements_from_lower_to_higher_pos()
529 for (int i = NUM_ENTRIES - 1; i >= 1; i--) in test_move_elements_from_higher_to_lower_pos() local
531 bparr.Move(i, i - 1); in test_move_elements_from_higher_to_lower_pos()
541 for (int i = 1; i < NUM_ENTRIES; i++) in test_move_elements_from_higher_to_lower_pos() local
546 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i - 1) in test_move_elements_from_higher_to_lower_pos()
568 for (int i = 0; i < NUM_ENTRIES; i++) in test_move_to_same_position() local
570 bparr.Move(i, i); in test_move_to_same_position()
575 for (int i = 0; i < NUM_ENTRIES; i++) in test_move_to_same_position() local
580 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == i in test_move_to_same_position()
603 for (int i = 0, j = NUM_ENTRIES - 1; i < NUM_ENTRIES; i++, j--) in test_replace_elements() local
605 delete bparr[i]; in test_replace_elements()
606 bparr.Replace(i, new BigPtrEntryMock(j)); in test_replace_elements()
610 for (int i = 0; i < NUM_ENTRIES; i++) in test_replace_elements() local
615 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (NUM_ENTRIES - i - 1) in test_replace_elements()
640 for (int i = 0; i < NUM_ENTRIES; i++) in test_for_each() local
645 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i+1) in test_for_each()
665 int i = 0; in test_for_some1() local
666 for (/* */; i < NUM_ENTRIES / 2; i++) in test_for_some1()
671 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i+1) in test_for_some1()
675 for (/* */; i < NUM_ENTRIES; i++) in test_for_some1()
680 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i) in test_for_some1()
700 int i = 0; in test_for_some2() local
701 for (/* */; i < NUM_ENTRIES / 2; i++) in test_for_some2()
706 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i) in test_for_some2()
710 for (/* */; i < NUM_ENTRIES; i++) in test_for_some2()
715 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i+1) in test_for_some2()
735 for (int i = 0; i < NUM_ENTRIES; i++) in test_for_some3() local
740 static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == i in test_for_some3()
845 for (int i = 0; i < n; i++) in test_insert_at_end() local
846 bparr.Insert(new BigPtrEntryMock(i), bparr.Count()); in test_insert_at_end()
859 for (int i = 0; i < n; i++) in test_insert_at_front() local
860 bparr.Insert(new BigPtrEntryMock(i), 0); in test_insert_at_front()