/external/icu/icu4c/source/test/intltest/ |
D | cpdtrtst.cpp | 88 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/ |
D | CountingInputStreamTest.java | 37 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 …]
|
D | CountingOutputStreamTest.java | 33 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/ |
D | Optimizer.java | 386 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/ |
D | ObjectManager.java | 50 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()
|
D | GameObjectManager.java | 64 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()
|
D | BufferLibrary.java | 46 final int count = mGridList.getCount(); in generateHardwareBuffers() 56 final int count = mGridList.getCount(); in releaseHardwareBuffers() 66 final int count = mGridList.getCount(); in invalidateHardwareBuffers()
|
D | SpriteAnimation.java | 46 assert frames.getCount() == frames.getCapacity(); in getFrame() 47 final int frameCount = frames.getCount(); in getFrame() 84 mFrameStartTimes[mFrames.getCount()] = mLength; in addFrame()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAbstractCursor.java | 31 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/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetEntrySetTester.java | 150 assertEquals(3, entry.getCount()); in testEntryViewReflectsRemove() 152 assertEquals(2, entry.getCount()); in testEntryViewReflectsRemove() 154 assertEquals(0, entry.getCount()); in testEntryViewReflectsRemove() 164 assertEquals(3, entry.getCount()); in testEntryReflectsIteratorRemove() 168 assertEquals(2, entry.getCount()); in testEntryReflectsIteratorRemove() 173 assertEquals(0, entry.getCount()); in testEntryReflectsIteratorRemove() 183 assertEquals(3, entry.getCount()); in testEntryReflectsClear() 185 assertEquals(0, entry.getCount()); in testEntryReflectsClear() 195 assertEquals(3, entry.getCount()); in testEntryReflectsEntrySetClear() 197 assertEquals(0, entry.getCount()); in testEntryReflectsEntrySetClear() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
D | Frequency.java | 90 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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AbstractCursorTest.java | 35 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/ |
D | ComputingConcurrentHashMapTest.java | 87 assertEquals(0, computingFunction.getCount()); in testCompute() 91 assertEquals(1, computingFunction.getCount()); in testCompute() 93 assertEquals(1, computingFunction.getCount()); in testCompute() 153 assertEquals(0, computingFunction.getCount()); in testComputeExistingEntry() 160 assertEquals(0, computingFunction.getCount()); in testComputeExistingEntry() 169 assertEquals(0, computingFunction.getCount()); in testComputePartiallyCollectedKey() 183 assertEquals(0, computingFunction.getCount()); in testComputePartiallyCollectedKey() 188 assertEquals(1, computingFunction.getCount()); in testComputePartiallyCollectedKey() 198 assertEquals(0, computingFunction.getCount()); in testComputePartiallyCollectedValue() 212 assertEquals(0, computingFunction.getCount()); in testComputePartiallyCollectedValue() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | Multisets.java | 232 public int getCount() { in getCount() method in Multisets.ImmutableEntry 419 int count = Math.max(entry1.getCount(), multiset2.count(element)); 426 return immutableEntry(element, entry2.getCount()); 483 int count = Math.min(entry1.getCount(), multiset2.count(element)); 560 int count = entry1.getCount() + multiset2.count(element); 567 return immutableEntry(element, entry2.getCount()); 621 int count = entry1.getCount() - multiset2.count(element); 650 if (superCount < entry.getCount()) { 697 } else if (retainCount < entry.getCount()) { 747 if (removeCount >= entry.getCount()) { [all …]
|
D | ImmutableMultiset.java | 203 int count = entry.getCount(); in copyFromEntries() 254 remaining = entry.getCount(); in iterator() 324 Arrays.fill(dst, offset, offset + entry.getCount(), entry.getElement()); in copyIntoArray() 325 offset += entry.getCount(); in copyIntoArray() 391 if (entry.getCount() <= 0) { 395 return count == entry.getCount(); 438 counts[i] = entry.getCount(); 573 addCopies(entry.getElement(), entry.getCount());
|
D | ForwardingSortedMultiset.java | 123 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardFirstEntry() 146 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardLastEntry() 166 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollFirstEntry() 191 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollLastEntry()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ListenableFutureTaskTest.java | 82 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | PeriodBuilderFactoryTest.java | 98 assertEquals("hours", 1.0f, p.getCount(HOUR)); in testBuilderFactoryPeriodConstruction() 99 assertEquals("minutes", 35.501f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction() 104 assertEquals("hours", 1.0f, p.getCount(HOUR)); in testBuilderFactoryPeriodConstruction() 105 assertEquals("minutes", 35f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction() 106 assertEquals("seconds", 30.1f, p.getCount(SECOND)); in testBuilderFactoryPeriodConstruction()
|
D | PeriodTest.java | 30 assertEquals(null, 0f, p.getCount(TimeUnit.YEAR), .1f); in testIsSet() 57 assertEquals(null, 1f, p.getCount(TimeUnit.YEAR), .1f); in testMoreLessThan() 76 assertEquals(null, 3f, p.getCount(TimeUnit.MONTH), .1f); in testAnd() 78 assertEquals(null, 2f, p.getCount(TimeUnit.MONTH), .1f); in testAnd()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | TimeToSampleBox.java | 75 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()
|
D | CompositionTimeToSample.java | 83 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()
|
/external/guava/guava/src/com/google/common/io/ |
D | FileBackedOutputStream.java | 57 int getCount() { in getCount() method in FileBackedOutputStream.MemoryOutput 149 memory.getBuffer(), 0, memory.getCount()); in openInputStream() 208 if (file == null && (memory.getCount() + len > fileThreshold)) { in update() 216 transfer.write(memory.getBuffer(), 0, memory.getCount()); in update()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | MultidimensionalCounter.java | 122 public int getCount() { in getCount() method in MultidimensionalCounter.Iterator 145 public int getCount(int dim) { in getCount() method in MultidimensionalCounter.Iterator 258 public int getCount(int ... c) throws OutOfRangeException { in getCount() method in MultidimensionalCounter 298 sb.append("[").append(getCount(i)).append("]"); in toString()
|
/external/llvm/lib/IR/ |
D | GCOV.cpp | 333 return Blocks.front()->getCount(); in getEntryCount() 339 return Blocks.back()->getCount(); in getExitCount() 608 uint64_t BlockCount = Block->getCount(); in print() 612 LineCount += Block->getCount(); in print() 636 if (Block->getCount()) { in print() 643 } else if (!LineExecs[Function] && Block->getCount()) { in print() 696 if (Block.getNumDstEdges() && Block.getCount()) in printFunctionSummary() 709 if (Block.getCount() == 0) in printBlockInfo() 712 OS << format("%9" PRIu64 ":", Block.getCount()); in printBlockInfo() 724 if (Block.getCount()) in printBranchInfo() [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheExpirationTest.java | 90 removalListener.getCount()); in checkExpiration() 95 removalListener.getCount()); in checkExpiration() 151 assertEquals(11, removalListener.getCount()); in runExpirationTest() 163 removalListener.getCount()); in runExpirationTest() 168 removalListener.getCount()); in runExpirationTest() 409 assertEquals(0, removalListener.getCount()); in runRemovalScheduler() 415 assertEquals(0, removalListener.getCount()); in runRemovalScheduler() 426 assertEquals(10, removalListener.getCount()); // these are the invalidated ones in runRemovalScheduler() 432 assertEquals(10, removalListener.getCount()); in runRemovalScheduler() 440 assertEquals(10, removalListener.getCount()); in runRemovalScheduler()
|