Lines Matching refs:count2
43 int i, j, count, count2; in testArray() local
188 count = count2 = 0; in testArray()
192 count2 += (str == array1->lastObject()); in testArray()
197 TEST_ASSERT('A', "4d", count2 == numStrCache); in testArray()
202 count = count2 = 0; in testArray()
207 count2 += (str == array2->lastObject()); in testArray()
213 TEST_ASSERT('A', "4h", count2 == numStrCache); in testArray()
216 count = count2 = 0; in testArray()
220 count2 += (sym != str); in testArray()
230 TEST_ASSERT('A', "4m", count2 == numStrCache); in testArray()
270 for (count2 = false, j = 0; (str = array1->getObject(j)); j++) { in testArray()
272 count2 = true; in testArray()
276 count += count2; in testArray()
296 int i, count, count2; in testSet() local
396 count = count2 = 0; in testSet()
399 count2 += set1->member(str); in testSet()
404 TEST_ASSERT('S', "3i", numStrCache == count2); in testSet()
422 i = count = count2 = 0; in testSet()
425 count2 += (cache[i++] == str); in testSet()
430 TEST_ASSERT('S', "3p", numStrCache == count2); in testSet()
452 count = count2 = 0; in testSet()
456 count2 += sym->getRetainCount(); in testSet()
460 TEST_ASSERT('S', "4e", count2 == numStrCache * 2); in testSet()
487 count = count2 = set1->getCount(); in testSet()
490 count2 -= sym->getRetainCount(); in testSet()
494 TEST_ASSERT('S', "5d", !count2); in testSet()
515 int i, numSymbols, count1, count2; in testDictionary() local
577 count1 = count2 = 0; in testDictionary()
597 count1 = count2 = 0; in testDictionary()
622 count1 = count2 = 0; in testDictionary()
625 count2 += (cache[i]->getRetainCount() == 1); in testDictionary()
628 TEST_ASSERT('D', "3c", count2 == numSymbols); in testDictionary()
630 count1 = count2 = 0; in testDictionary()
634 count2 += (symCache[i]->getRetainCount() == 3); in testDictionary()
637 TEST_ASSERT('D', "3e", count2 == numSymbols); in testDictionary()
639 count1 = count2 = 0; in testDictionary()
644 count2 += (symCache[i]->getRetainCount() == 3); in testDictionary()
647 TEST_ASSERT('D', "3g", count2 == numSymbols); in testDictionary()
651 count1 = count2 = 0; in testDictionary()
654 count2 += (cache[i]->getRetainCount() == 1); in testDictionary()
679 count1 = count2 = 0; in testDictionary()
684 count2 += (sym->getRetainCount() == 3); in testDictionary()
688 TEST_ASSERT('D', "4d", numSymbols == count2); in testDictionary()
700 count1 = count2 = 0; in testDictionary()
709 count2 += (sym->getRetainCount() == 2); in testDictionary()
713 TEST_ASSERT('D', "4h", numSymbols == count2); in testDictionary()
715 count1 = count2 = 0; in testDictionary()
721 count2 += (sym->getRetainCount() == 1); in testDictionary()
725 TEST_ASSERT('D', "4j", numSymbols == count2); in testDictionary()
752 int i, numSymbols, count1, count2, count3; in testIterator() local
772 count1 = count2 = 0; in testIterator()
784 count1 = count2 = count3 = 0; in testIterator()
788 count2 += (cache[i] == bigReturn->getObject(0)); in testIterator()
792 TEST_ASSERT('I', "1f", count2 == numSymbols); in testIterator()
805 count1 = count2 = count3 = 0; in testIterator()
842 count1 = count2 = 0; in testIterator()
854 count1 = count2 = count3 = 0; in testIterator()
858 count2 += (cache[i] == bigReturn->getObject(0)); in testIterator()
862 TEST_ASSERT('I', "2f", count2 == numSymbols); in testIterator()
868 count1 = count2 = count3 = 0; in testIterator()
913 count1 = count2 = 0; in testIterator()
925 count1 = count2 = count3 = 0; in testIterator()
929 count2 += (cache[i] == bigReturn->getObject(1)); in testIterator()
933 TEST_ASSERT('I', "3f", count2 == numSymbols); in testIterator()
939 count1 = count2 = count3 = 0; in testIterator()
957 count2 += (!str || cache[i] == str); in testIterator()
960 TEST_ASSERT('I', "3m", count2 == numSymbols); in testIterator()
983 count1 = count2 = count3 = 0; in testIterator()
986 count2 += (1 == symCache[i]->getRetainCount()); in testIterator()
991 TEST_ASSERT('I', "4b", count2 == numSymbols); in testIterator()