Home
last modified time | relevance | path

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

12345678910>>...20

/external/icu/icu4c/source/test/intltest/
Dcpdtrtst.cpp90 if(copycpd->getCount() != cpdtrans2->getCount() || copycpd->getID() != cpdtrans2->getID()) { in TestConstruction()
147 copyct1->getCount() != ct1->getCount() || copyct2->getCount() != ct2->getCount() || in TestCloneEqual()
149 copyct2->getCount() == ct1->getCount() || copyct1->getCount() == ct2->getCount() ){ in TestCloneEqual()
155 equalct1.getCount() != ct1->getCount() || equalct2.getCount() != ct2->getCount() || in TestCloneEqual()
157 equalct1.getCount() != copyct1->getCount() || equalct2.getCount() != copyct2->getCount() || in TestCloneEqual()
158 equalct2.getCount() == ct1->getCount() || equalct1.getCount() == ct2->getCount() ) { in TestCloneEqual()
168 … if(clonect1a->getID() != ct1->getID() || clonect1a->getCount() != ct1->getCount() || in TestCloneEqual()
169 … clonect1a->getID() != clonect1b->getID() || clonect1a->getCount() != clonect1b->getCount() || in TestCloneEqual()
170 … clonect1a->getID() != equalct1.getID() || clonect1a->getCount() != equalct1.getCount() || in TestCloneEqual()
171 … clonect1a->getID() != copyct1->getID() || clonect1a->getCount() != copyct1->getCount() || in TestCloneEqual()
[all …]
/external/guava/android/guava-tests/test/com/google/common/io/
DCountingInputStreamTest.java40 assertEquals(0, counter.getCount()); in testReadSingleByte()
42 assertEquals(1, counter.getCount()); in testReadSingleByte()
47 assertEquals(10, counter.getCount()); in testReadArray()
52 assertEquals(3, counter.getCount()); in testReadArrayRange()
57 assertEquals(10, counter.getCount()); in testSkip()
62 assertEquals(20, counter.getCount()); in testSkipEOF()
64 assertEquals(20, counter.getCount()); in testSkipEOF()
68 assertEquals(20, counter.getCount()); in testSkipEOF()
73 assertEquals(20, counter.getCount()); in testReadArrayEOF()
75 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/guava/guava-tests/test/com/google/common/io/
DCountingInputStreamTest.java40 assertEquals(0, counter.getCount()); in testReadSingleByte()
42 assertEquals(1, counter.getCount()); in testReadSingleByte()
47 assertEquals(10, counter.getCount()); in testReadArray()
52 assertEquals(3, counter.getCount()); in testReadArrayRange()
57 assertEquals(10, counter.getCount()); in testSkip()
62 assertEquals(20, counter.getCount()); in testSkipEOF()
64 assertEquals(20, counter.getCount()); in testSkipEOF()
68 assertEquals(20, counter.getCount()); in testSkipEOF()
73 assertEquals(20, counter.getCount()); in testReadArrayEOF()
75 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.java386 if (counter.getCount() > 0) in execute()
397 if (classUnboxingEnumCounter.getCount() > 0) in execute()
492 if (classUnboxingEnumCounter.getCount() > 0) in execute()
610 methodRemovalParameterCounter.getCount() > 0) in execute()
618 if (initializerFixCounter1.getCount() > 0) in execute()
703 if (classMergingVerticalCounter .getCount() > 0 || in execute()
704 classMergingHorizontalCounter.getCount() > 0) in execute()
734 if (initializerFixCounter2.getCount() > 0) in execute()
808 if ((methodInliningUniqueCounter .getCount() > 0 || in execute()
809 methodInliningShortCounter .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()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadCursor.java27 int getCount(); in getCount() method
70 return moveToPosition(getCount() - 1); in moveToLast()
99 return getPosition() == 0 && getCount() != 0; in isFirst()
104 int count = getCount(); in isLast()
110 if (getCount() == 0) { in isBeforeFirst()
118 if (getCount() == 0) { in isAfterLast()
121 return getPosition() == getCount(); in isAfterLast()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetEntrySetTester.java148 assertEquals(3, entry.getCount()); in testEntryViewReflectsRemove()
150 assertEquals(2, entry.getCount()); in testEntryViewReflectsRemove()
152 assertEquals(0, entry.getCount()); in testEntryViewReflectsRemove()
162 assertEquals(3, entry.getCount()); in testEntryReflectsIteratorRemove()
166 assertEquals(2, entry.getCount()); in testEntryReflectsIteratorRemove()
171 assertEquals(0, entry.getCount()); in testEntryReflectsIteratorRemove()
181 assertEquals(3, entry.getCount()); in testEntryReflectsClear()
183 assertEquals(0, entry.getCount()); in testEntryReflectsClear()
193 assertEquals(3, entry.getCount()); in testEntryReflectsEntrySetClear()
195 assertEquals(0, entry.getCount()); in testEntryReflectsEntrySetClear()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetEntrySetTester.java148 assertEquals(3, entry.getCount()); in testEntryViewReflectsRemove()
150 assertEquals(2, entry.getCount()); in testEntryViewReflectsRemove()
152 assertEquals(0, entry.getCount()); in testEntryViewReflectsRemove()
162 assertEquals(3, entry.getCount()); in testEntryReflectsIteratorRemove()
166 assertEquals(2, entry.getCount()); in testEntryReflectsIteratorRemove()
171 assertEquals(0, entry.getCount()); in testEntryReflectsIteratorRemove()
181 assertEquals(3, entry.getCount()); in testEntryReflectsClear()
183 assertEquals(0, entry.getCount()); in testEntryReflectsClear()
193 assertEquals(3, entry.getCount()); in testEntryReflectsEntrySetClear()
195 assertEquals(0, entry.getCount()); in testEntryReflectsEntrySetClear()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
DFrequency.java90 outBuffer.append(getCount(value)); in toString()
234 public long getCount(Object v) { in getCount() method in Frequency
235 return getCount((Comparable<?>) v); in getCount()
245 public long getCount(Comparable<?> v) { in getCount() method in Frequency
247 return getCount(((Integer) v).longValue()); in getCount()
267 public long getCount(int v) { in getCount() method in Frequency
268 return getCount(Long.valueOf(v)); in getCount()
277 public long getCount(long v) { in getCount() method in Frequency
278 return getCount(Long.valueOf(v)); in getCount()
287 public long getCount(char v) { in getCount() method in Frequency
[all …]
/external/llvm-project/clang/test/Analysis/
Dosobjectcstylecastchecker_test.cpp5 unsigned getCount();
12 unsigned getCount();
17 return a->getCount(); in warn_on_explicit_downcast()
28 return a->getCount(); in no_warn_on_dynamic_cast()
37 return b->getCount(); in no_warn_on_other_type_cast()
Dosobject-retain-release.cpp14 unsigned int getCount();
332 return casted->getCount(); in check_attribute_propagation()
340 return casted->getCount(); in check_attribute_indirect_propagation()
372 …return arr->getCount(); // expected-note{{Object leaked: object allocated and stored into 'arr' is… in check_leak_explicit_new()
378 …return arr->getCount(); // expected-note{{Object leaked: object allocated and stored into 'arr' is… in check_leak_factory()
443 … out = leaked->getCount(); // expected-warning{{Potential leak of an object stored into 'leaked'}} in check_leak_good_error_message()
450 return generateArray()->getCount(); // expected-warning{{Potential leak of an object}} in check_leak_msg_temporary()
511 return arr->getCount(); in check_dynamic_cast_no_null_on_orig()
543 arr->getCount(); // expected-warning{{Reference-counted object is used after it is released}} in use_after_release()
551 arr->getCount(); in potential_leak()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAbstractCursorTest.java30 assertThat(cursor.getCount()).isEqualTo(1); in testMoveToFirst()
36 assertThat(cursor.getCount()).isEqualTo(0); in testMoveToFirstEmptyList()
45 assertThat(cursor.getCount()).isEqualTo(2); in testMoveToLast()
51 assertThat(cursor.getCount()).isEqualTo(0); in testMoveToLastEmptyList()
60 assertThat(cursor.getCount()).isEqualTo(2); in testGetPosition()
69 assertThat(cursor.getCount()).isEqualTo(1); in testGetPositionSingleEntry()
76 assertThat(cursor.getCount()).isEqualTo(0); in testGetPositionEmptyList()
86 assertThat(cursor.getCount()).isEqualTo(2); in testMoveToNext()
97 assertThat(cursor.getCount()).isEqualTo(2); in testAttemptToMovePastEnd()
111 assertThat(cursor.getCount()).isEqualTo(1); in testAttemptToMovePastSingleEntry()
[all …]
/external/guice/extensions/service/test/com/google/inject/service/
DSingleServiceIntegrationTest.java26 assertEquals(1, startLatch.getCount()); in testAsyncServiceLifecycle()
27 assertEquals(1, stopLatch.getCount()); in testAsyncServiceLifecycle()
34 assertEquals(0, startLatch.getCount()); in testAsyncServiceLifecycle()
35 assertEquals(1, stopLatch.getCount()); in testAsyncServiceLifecycle()
54 assertEquals(0, startLatch.getCount()); in testAsyncServiceLifecycle()
55 assertEquals(0, stopLatch.getCount()); in testAsyncServiceLifecycle()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DListenableFutureTaskTest.java86 assertEquals(1, listenerLatch.getCount()); in testListenerDoesNotRunUntilTaskCompletes()
95 assertEquals(1, listenerLatch.getCount()); in testListenerDoesNotRunUntilTaskCompletes()
132 assertEquals(1, runLatch.getCount()); in testListenerCalledOnCancelFromNotRunning()
140 assertEquals(1, runLatch.getCount()); in testListenerCalledOnCancelFromNotRunning()
151 assertEquals(1, taskLatch.getCount()); in testListenerCalledOnCancelFromRunning()
157 assertEquals(1, taskLatch.getCount()); in testListenerCalledOnCancelFromRunning()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DListenableFutureTaskTest.java86 assertEquals(1, listenerLatch.getCount()); in testListenerDoesNotRunUntilTaskCompletes()
95 assertEquals(1, listenerLatch.getCount()); in testListenerDoesNotRunUntilTaskCompletes()
132 assertEquals(1, runLatch.getCount()); in testListenerCalledOnCancelFromNotRunning()
140 assertEquals(1, runLatch.getCount()); in testListenerCalledOnCancelFromNotRunning()
151 assertEquals(1, taskLatch.getCount()); in testListenerCalledOnCancelFromRunning()
157 assertEquals(1, taskLatch.getCount()); in testListenerCalledOnCancelFromRunning()
/external/guava/android/guava/src/com/google/common/collect/
DMultisets.java232 public final int getCount() { in getCount() method in Multisets.ImmutableEntry
417 int count = Math.max(entry1.getCount(), multiset2.count(element));
424 return immutableEntry(element, entry2.getCount());
478 int count = Math.min(entry1.getCount(), multiset2.count(element));
550 int count = entry1.getCount() + multiset2.count(element);
557 return immutableEntry(element, entry2.getCount());
607 if (entry1.getCount() > multiset2.count(element)) {
625 int count = entry1.getCount() - multiset2.count(element);
654 if (superCount < entry.getCount()) {
697 } else if (retainCount < entry.getCount()) {
[all …]
/external/guava/guava/src/com/google/common/collect/
DMultisets.java263 public final int getCount() { in getCount() method in ImmutableEntry
448 int count = Math.max(entry1.getCount(), multiset2.count(element));
455 return immutableEntry(element, entry2.getCount());
509 int count = Math.min(entry1.getCount(), multiset2.count(element));
581 int count = entry1.getCount() + multiset2.count(element);
588 return immutableEntry(element, entry2.getCount());
638 if (entry1.getCount() > multiset2.count(element)) {
656 int count = entry1.getCount() - multiset2.count(element);
685 if (superCount < entry.getCount()) {
728 } else if (retainCount < entry.getCount()) {
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DItemGroup.java120 final int count = child.getCount(); in addChild()
137 final int childCount = child.getCount(); in removeChild()
154 final int numRemoved = getCount(); in clear()
165 public int getCount() { in getCount() method in ItemGroup
209 childPos = getCount(); in getChildPosition()
282 if (item.getCount() > 0) { in updateDataIfNeeded()
285 count += item.getCount(); in updateDataIfNeeded()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheEvictionTest.java104 assertEquals(MAX_SIZE, removalListener.getCount()); in testEviction_maxSize()
125 assertEquals(MAX_SIZE, removalListener.getCount()); in testEviction_maxWeight()
159 assertThat(removalListener.getCount()).isEqualTo(1); in testEviction_maxWeight_zero()
167 assertThat(removalListener.getCount()).isEqualTo(1); in testEviction_maxWeight_zero()
174 assertThat(removalListener.getCount()).isEqualTo(1); in testEviction_maxWeight_zero()
181 assertThat(removalListener.getCount()).isEqualTo(2); in testEviction_maxWeight_zero()
208 assertThat(removalListener.getCount()).isEqualTo(0); in testEviction_maxWeight_entryTooBig()
215 assertThat(removalListener.getCount()).isEqualTo(1); in testEviction_maxWeight_entryTooBig()
222 assertThat(removalListener.getCount()).isEqualTo(2); in testEviction_maxWeight_entryTooBig()
229 assertThat(removalListener.getCount()).isEqualTo(2); in testEviction_maxWeight_entryTooBig()
[all …]
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheEvictionTest.java104 assertEquals(MAX_SIZE, removalListener.getCount()); in testEviction_maxSize()
125 assertEquals(MAX_SIZE, removalListener.getCount()); in testEviction_maxWeight()
159 assertThat(removalListener.getCount()).isEqualTo(1); in testEviction_maxWeight_zero()
167 assertThat(removalListener.getCount()).isEqualTo(1); in testEviction_maxWeight_zero()
174 assertThat(removalListener.getCount()).isEqualTo(1); in testEviction_maxWeight_zero()
181 assertThat(removalListener.getCount()).isEqualTo(2); in testEviction_maxWeight_zero()
208 assertThat(removalListener.getCount()).isEqualTo(0); in testEviction_maxWeight_entryTooBig()
215 assertThat(removalListener.getCount()).isEqualTo(1); in testEviction_maxWeight_entryTooBig()
222 assertThat(removalListener.getCount()).isEqualTo(2); in testEviction_maxWeight_entryTooBig()
229 assertThat(removalListener.getCount()).isEqualTo(2); in testEviction_maxWeight_entryTooBig()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DPeriodBuilderFactoryTest.java101 assertEquals("hours", 1.0f, p.getCount(HOUR)); in testBuilderFactoryPeriodConstruction()
102 assertEquals("minutes", 35.501f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction()
107 assertEquals("hours", 1.0f, p.getCount(HOUR)); in testBuilderFactoryPeriodConstruction()
108 assertEquals("minutes", 35f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction()
109 assertEquals("seconds", 30.1f, p.getCount(SECOND)); in testBuilderFactoryPeriodConstruction()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DPeriodBuilderFactoryTest.java104 assertEquals("hours", 1.0f, p.getCount(HOUR)); in testBuilderFactoryPeriodConstruction()
105 assertEquals("minutes", 35.501f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction()
110 assertEquals("hours", 1.0f, p.getCount(HOUR)); in testBuilderFactoryPeriodConstruction()
111 assertEquals("minutes", 35f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction()
112 assertEquals("seconds", 30.1f, p.getCount(SECOND)); in testBuilderFactoryPeriodConstruction()
/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()

12345678910>>...20