Home
last modified time | relevance | path

Searched refs:getCount (Results 1 – 25 of 260) sorted by relevance

1234567891011

/external/icu/icu4c/source/test/intltest/
Dcpdtrtst.cpp88 if(copycpd->getCount() != cpdtrans2->getCount() || copycpd->getID() != cpdtrans2->getID()) { in TestConstruction()
145 copyct1->getCount() != ct1->getCount() || copyct2->getCount() != ct2->getCount() || in TestCloneEqual()
147 copyct2->getCount() == ct1->getCount() || copyct1->getCount() == ct2->getCount() ){ in TestCloneEqual()
153 equalct1.getCount() != ct1->getCount() || equalct2.getCount() != ct2->getCount() || in TestCloneEqual()
155 equalct1.getCount() != copyct1->getCount() || equalct2.getCount() != copyct2->getCount() || in TestCloneEqual()
156 equalct2.getCount() == ct1->getCount() || equalct1.getCount() == ct2->getCount() ) { in TestCloneEqual()
166 … if(clonect1a->getID() != ct1->getID() || clonect1a->getCount() != ct1->getCount() || in TestCloneEqual()
167 … clonect1a->getID() != clonect1b->getID() || clonect1a->getCount() != clonect1b->getCount() || in TestCloneEqual()
168 … clonect1a->getID() != equalct1.getID() || clonect1a->getCount() != equalct1.getCount() || in TestCloneEqual()
169 … clonect1a->getID() != copyct1->getID() || clonect1a->getCount() != copyct1->getCount() || in TestCloneEqual()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dcpdtrtst.cpp88 if(copycpd->getCount() != cpdtrans2->getCount() || copycpd->getID() != cpdtrans2->getID()) { in TestConstruction()
145 copyct1->getCount() != ct1->getCount() || copyct2->getCount() != ct2->getCount() || in TestCloneEqual()
147 copyct2->getCount() == ct1->getCount() || copyct1->getCount() == ct2->getCount() ){ in TestCloneEqual()
153 equalct1.getCount() != ct1->getCount() || equalct2.getCount() != ct2->getCount() || in TestCloneEqual()
155 equalct1.getCount() != copyct1->getCount() || equalct2.getCount() != copyct2->getCount() || in TestCloneEqual()
156 equalct2.getCount() == ct1->getCount() || equalct1.getCount() == ct2->getCount() ) { in TestCloneEqual()
166 … if(clonect1a->getID() != ct1->getID() || clonect1a->getCount() != ct1->getCount() || in TestCloneEqual()
167 … clonect1a->getID() != clonect1b->getID() || clonect1a->getCount() != clonect1b->getCount() || in TestCloneEqual()
168 … clonect1a->getID() != equalct1.getID() || clonect1a->getCount() != equalct1.getCount() || in TestCloneEqual()
169 … clonect1a->getID() != copyct1->getID() || clonect1a->getCount() != copyct1->getCount() || in TestCloneEqual()
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DCountingInputStreamTest.java37 assertEquals(0, counter.getCount()); in testReadSingleByte()
39 assertEquals(1, counter.getCount()); in testReadSingleByte()
44 assertEquals(10, counter.getCount()); in testReadArray()
49 assertEquals(3, counter.getCount()); in testReadArrayRange()
54 assertEquals(10, counter.getCount()); in testSkip()
59 assertEquals(20, counter.getCount()); in testSkipEOF()
61 assertEquals(20, counter.getCount()); in testSkipEOF()
65 assertEquals(20, counter.getCount()); in testSkipEOF()
70 assertEquals(20, counter.getCount()); in testReadArrayEOF()
72 assertEquals(20, counter.getCount()); in testReadArrayEOF()
[all …]
DCountingOutputStreamTest.java33 assertEquals(written, counter.getCount()); in testCount()
38 assertEquals(written, counter.getCount()); in testCount()
44 assertEquals(written, counter.getCount()); in testCount()
49 assertEquals(written, counter.getCount()); in testCount()
54 assertEquals(written, counter.getCount()); in testCount()
63 assertEquals(written, counter.getCount()); in testCount()
/external/proguard/src/proguard/optimize/
DOptimizer.java489 methodRemovalParameterCounter.getCount() > 0) in execute()
497 if (initializerFixCounter1.getCount() > 0) in execute()
580 if (classMergingVerticalCounter .getCount() > 0 || in execute()
581 classMergingHorizontalCounter.getCount() > 0) in execute()
612 if (initializerFixCounter2.getCount() > 0) in execute()
686 if ((methodInliningUniqueCounter .getCount() > 0 || in execute()
687 methodInliningShortCounter .getCount() > 0 || in execute()
688 methodInliningTailrecursionCounter.getCount() > 0) && in execute()
698 if (methodRemovalParameterCounter .getCount() > 0 || in execute()
699 classMergingVerticalCounter .getCount() > 0 || in execute()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DObjectManager.java50 final int count = mObjects.getCount(); in reset()
58 final int additionCount = mPendingAdditions.getCount(); in commitUpdates()
68 final int removalCount = mPendingRemovals.getCount(); in commitUpdates()
83 final int count = mObjects.getCount(); in update()
97 public final int getCount() { in getCount() method in ObjectManager
98 return mObjects.getCount(); in getCount()
103 return mObjects.getCount() + mPendingAdditions.getCount() - mPendingRemovals.getCount(); in getConcreteCount()
119 final int count = mObjects.getCount(); in removeAll()
135 final int count = mObjects.getCount(); in findByClass()
DGameObjectManager.java64 final int objectsToKillCount = mMarkedForDeathObjects.getCount(); in commitUpdates()
83 final int count = objects.getCount(); in update()
110 final int inactiveCount = mInactiveObjects.getCount(); in update()
160 final int count = objects.getCount(); in destroyAll()
166 final int inactiveObjectCount = mInactiveObjects.getCount(); in destroyAll()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAbstractCursor.java31 public int getCount() { in getCount() method in ShadowAbstractCursor
38 return realAbstractCursor.getCount() > 0; in moveToFirst()
43 if( realAbstractCursor.getCount() == 0 ) { in moveToLast()
46 setPosition( realAbstractCursor.getCount() - 1 ); in moveToLast()
58 if (pos >= realAbstractCursor.getCount()) { in moveToPosition()
82 if (currentRowNumber + 1 >= realAbstractCursor.getCount()) { in moveToNext()
83 currentRowNumber = realAbstractCursor.getCount(); in moveToNext()
92 if (currentRowNumber < 0 || realAbstractCursor.getCount() == 0) { in moveToPrevious()
140 return currentRowNumber == realAbstractCursor.getCount() - 1; in isLast()
150 return currentRowNumber >= realAbstractCursor.getCount(); in isAfterLast()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DAbstractCursorTest.java35 assertThat(cursor.getCount(), equalTo(1)); in testMoveToFirst()
41 assertThat(cursor.getCount(), equalTo(0)); in testMoveToFirstEmptyList()
50 assertThat(cursor.getCount(), equalTo(2)); in testMoveToLast()
56 assertThat(cursor.getCount(), equalTo(0)); in testMoveToLastEmptyList()
65 assertThat(cursor.getCount(), equalTo(2)); in testGetPosition()
74 assertThat(cursor.getCount(), equalTo(1)); in testGetPositionSingleEntry()
81 assertThat(cursor.getCount(), equalTo(0)); in testGetPositionEmptyList()
91 assertThat(cursor.getCount(), equalTo(2)); in testMoveToNext()
102 assertThat(cursor.getCount(), equalTo(2)); in testAttemptToMovePastEnd()
116 assertThat(cursor.getCount(), equalTo(1)); in testAttemptToMovePastSingleEntry()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DComputingConcurrentHashMapTest.java91 assertEquals(0, computingFunction.getCount()); in testCompute()
95 assertEquals(1, computingFunction.getCount()); in testCompute()
97 assertEquals(1, computingFunction.getCount()); in testCompute()
157 assertEquals(0, computingFunction.getCount()); in testComputeExistingEntry()
164 assertEquals(0, computingFunction.getCount()); in testComputeExistingEntry()
173 assertEquals(0, computingFunction.getCount()); in testComputePartiallyCollectedKey()
187 assertEquals(0, computingFunction.getCount()); in testComputePartiallyCollectedKey()
192 assertEquals(1, computingFunction.getCount()); in testComputePartiallyCollectedKey()
202 assertEquals(0, computingFunction.getCount()); in testComputePartiallyCollectedValue()
216 assertEquals(0, computingFunction.getCount()); in testComputePartiallyCollectedValue()
[all …]
DAbstractMultisetTest.java58 size += entry.getCount(); in assertSize()
463 assertEquals(1, entry.getCount()); in testEntrySet()
465 assertEquals(2, entry.getCount()); in testEntrySet()
467 assertEquals(1, entry.getCount()); in testEntrySet()
469 assertEquals(3, entry.getCount()); in testEntrySet()
588 assertEquals(8, entry.getCount()); in testEntryAfterRemove()
590 assertEquals(7, entry.getCount()); in testEntryAfterRemove()
592 assertEquals(3, entry.getCount()); in testEntryAfterRemove()
594 assertEquals(0, entry.getCount()); in testEntryAfterRemove()
596 assertEquals(5, entry.getCount()); in testEntryAfterRemove()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DListenableFutureTaskTest.java82 assertEquals(1, listenerLatch.getCount()); in testListenerDoesNotRunUntilTaskCompletes()
91 assertEquals(1, listenerLatch.getCount()); in testListenerDoesNotRunUntilTaskCompletes()
128 assertEquals(1, runLatch.getCount()); in testListenerCalledOnCancelFromNotRunning()
136 assertEquals(1, runLatch.getCount()); in testListenerCalledOnCancelFromNotRunning()
147 assertEquals(1, taskLatch.getCount()); in testListenerCalledOnCancelFromRunning()
153 assertEquals(1, taskLatch.getCount()); in testListenerCalledOnCancelFromRunning()
/external/skia/tests/
DRTreeTest.cpp111 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount()); in rtree_test_main()
115 REPORTER_ASSERT(reporter, 0 == rtree->getCount()); in rtree_test_main()
122 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount()); in rtree_test_main()
126 REPORTER_ASSERT(reporter, 0 == rtree->getCount()); in rtree_test_main()
133 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount()); in rtree_test_main()
137 REPORTER_ASSERT(reporter, 0 == rtree->getCount()); in rtree_test_main()
DBBoxHierarchyTest.cpp121 REPORTER_ASSERT(reporter, NUM_RECTS == tree->getCount()); in tree_test_main()
126 REPORTER_ASSERT(reporter, 0 == tree->getCount()); in tree_test_main()
135 REPORTER_ASSERT(reporter, NUM_RECTS == tree->getCount()); in tree_test_main()
140 REPORTER_ASSERT(reporter, 0 == tree->getCount()); in tree_test_main()
149 REPORTER_ASSERT(reporter, NUM_RECTS == tree->getCount()); in tree_test_main()
154 REPORTER_ASSERT(reporter, 0 == tree->getCount()); in tree_test_main()
DSListTest.cpp26 if (0 != list.getCount()) { in verifyEmptyList()
27 ERRORF(reporter, "%s - List count is not zero, %d instead", stage, list.getCount()); in verifyEmptyList()
42 if (list.getCount() != count) { in verifyList()
43 … ERRORF(reporter, "%s - List was too short, %d instead of %d", stage, list.getCount(), count); in verifyList()
/external/chromium_org/third_party/skia/tests/
DRTreeTest.cpp115 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount()); in rtree_test_main()
119 REPORTER_ASSERT(reporter, 0 == rtree->getCount()); in rtree_test_main()
126 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount()); in rtree_test_main()
130 REPORTER_ASSERT(reporter, 0 == rtree->getCount()); in rtree_test_main()
137 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount()); in rtree_test_main()
141 REPORTER_ASSERT(reporter, 0 == rtree->getCount()); in rtree_test_main()
DBBoxHierarchyTest.cpp121 REPORTER_ASSERT(reporter, NUM_RECTS == tree->getCount()); in tree_test_main()
126 REPORTER_ASSERT(reporter, 0 == tree->getCount()); in tree_test_main()
135 REPORTER_ASSERT(reporter, NUM_RECTS == tree->getCount()); in tree_test_main()
140 REPORTER_ASSERT(reporter, 0 == tree->getCount()); in tree_test_main()
149 REPORTER_ASSERT(reporter, NUM_RECTS == tree->getCount()); in tree_test_main()
154 REPORTER_ASSERT(reporter, 0 == tree->getCount()); in tree_test_main()
/external/guava/guava/src/com/google/common/collect/
DMultisets.java311 public int getCount() { in getCount() method in Multisets.ImmutableEntry
520 int count = Math.min(entry1.getCount(), multiset2.count(element)); in intersection()
550 if (superCount < entry.getCount()) {
597 } else if (retainCount < entry.getCount()) {
647 if (removeCount >= entry.getCount()) {
670 return this.getCount() == that.getCount()
682 return ((e == null) ? 0 : e.hashCode()) ^ getCount();
694 int n = getCount();
719 if (multiset.count(entry.getElement()) != entry.getCount()) {
739 self.add(entry.getElement(), entry.getCount());
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DCompositionTimeToSample.java83 IsoTypeWriter.writeUInt32(byteBuffer, entry.getCount()); in getContent()
99 public int getCount() { in getCount() method in CompositionTimeToSample.Entry
133 numOfSamples += entry.getCount(); in blowupCompositionTimes()
142 for (int i = 0; i < entry.getCount(); i++) { in blowupCompositionTimes()
DTimeToSampleBox.java75 IsoTypeWriter.writeUInt32(byteBuffer, entry.getCount()); in getContent()
101 public long getCount() { in getCount() method in TimeToSampleBox.Entry
134 numOfSamples += entry.getCount(); in blowupTimeToSamples()
143 for (int i = 0; i < entry.getCount(); i++) { in blowupTimeToSamples()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
DTabModelOrderController.java56 assert (currentModel.getCount() == 0); in determineInsertionIndex()
79 return mTabModelSelector.getModel(newTab.isIncognito()).getCount(); in determineInsertionIndex()
95 int count = currentModel.getCount(); in getIndexOfLastTabOpenedBy()
110 int count = currentModel.getCount(); in forgetAllOpeners()
/external/chromium_org/third_party/skia/src/core/
DSkTObjectPool.h70 int available() const { return fAvailable.getCount(); } in available()
75 int blocks() const { return fBlocks.getCount(); } in blocks()
80 int allocated() const { return fBlocks.getCount() * numItemsPerBlock; } in allocated()
/external/skia/src/core/
DSkTObjectPool.h70 int available() const { return fAvailable.getCount(); } in available()
75 int blocks() const { return fBlocks.getCount(); } in blocks()
80 int allocated() const { return fBlocks.getCount() * numItemsPerBlock; } in allocated()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
DProviderSearchesUriTest.java60 assertEquals(1, cursor.getCount()); in testAddSearchTerm()
88 assertEquals(0, cursor.getCount()); in testUpdateSearchTerm()
93 assertEquals(1, cursor.getCount()); in testUpdateSearchTerm()
121 assertEquals(0, cursor.getCount()); in testDeleteSearchTerm()
126 assertEquals(1, cursor.getCount()); in testDeleteSearchTerm()
137 assertEquals(0, cursor.getCount()); in testDeleteSearchTerm()
193 assertEquals(0, cursor.getCount()); in testSearchesTable()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/
DAppMenuTest.java92 assertEquals(getCount() - 1, getCurrentFocusedRow()); in testKeyboardMenuBoundaries()
96 assertEquals(getCount() - 1, getCurrentFocusedRow()); in testKeyboardMenuBoundaries()
127 assertEquals(getCount() - 1, getCurrentFocusedRow()); in testKeyboardEnterAfterMovePastBottomItem()
207 final int end = towardsTop ? 0 : getCount() - 1; in moveToBoundary()
256 private int getCount() { in getCount() method in AppMenuTest
259 return popup.getListView().getCount(); in getCount()

1234567891011