/external/guava/guava-tests/test/com/google/common/collect/ |
D | AbstractConcurrentHashMultisetTest.java | 54 cms.setCount("a", -1); in testSetCount() 59 assertEquals(2, cms.setCount("a", 0)); in testSetCount() 61 assertEquals(3, cms.setCount("b", 4)); in testSetCount() 63 assertEquals(0, cms.setCount("c", 5)); in testSetCount() 73 cms.setCount("a", -1, 1); in testSetCountConditional() 77 cms.setCount("a", 1, -1); in testSetCountConditional() 82 assertTrue(cms.setCount("c", 0, 0)); in testSetCountConditional() 84 assertFalse(cms.setCount("c", 1, 0)); in testSetCountConditional() 86 assertFalse(cms.setCount("a", 0, 0)); in testSetCountConditional() 88 assertFalse(cms.setCount("a", 1, 0)); in testSetCountConditional() [all …]
|
D | ForwardingMultisetTest.java | 111 @Override public boolean setCount(T element, int oldCount, int newCount) { in setCount() method in ForwardingMultisetTest.StandardImplForwardingMultiset 115 @Override public int setCount(T element, int count) { in setCount() method in ForwardingMultisetTest.StandardImplForwardingMultiset 232 @Override public boolean setCount( in suite() 236 @Override public int setCount(String element, int count) { in suite() 379 forward().setCount("asdf", 233); in testSetCount_Object_int() 384 forward().setCount("asdf", 4552, 1233); in testSetCount_Object_oldCount_newCount()
|
D | ConcurrentHashMultisetBasherTest.java | 130 int oldValue = multiset.setCount(key, newValue); in call() 137 if (multiset.setCount(key, oldValue, newValue)) { in call()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetSetCountConditionallyTester.java | 41 setCount(element, count)); in setCountCheckReturnValue() 45 setCount(element, count); in setCountNoCheckReturnValue() 48 private boolean setCount(E element, int count) { in setCount() method in MultisetSetCountConditionallyTester 49 return getMultiset().setCount(element, getMultiset().count(element), count); in setCount() 54 getMultiset().setCount(samples.e3, -1, 1); in assertSetCountNegativeOldCount() 81 getMultiset().setCount(samples.e0, 2, 3)); in testSetCountConditional_oldCountTooLarge() 89 getMultiset().setCount(samples.e0, 0, 2)); in testSetCountConditional_oldCountTooSmallZero() 98 getMultiset().setCount(samples.e0, 1, 5)); in testSetCountConditional_oldCountTooSmallNonzero()
|
D | MultisetSetCountUnconditionallyTester.java | 33 getMultiset().count(element), setCount(element, count)); in setCountCheckReturnValue() 37 setCount(element, count); in setCountNoCheckReturnValue() 40 private int setCount(E element, int count) { in setCount() method in MultisetSetCountUnconditionallyTester 41 return getMultiset().setCount(element, count); in setCount()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ForwardingMultiset.java | 94 public int setCount(E element, int count) { in setCount() method in ForwardingMultiset 95 return delegate().setCount(element, count); in setCount() 99 public boolean setCount(E element, int oldCount, int newCount) { in setCount() method in ForwardingMultiset 100 return delegate().setCount(element, oldCount, newCount); in setCount()
|
D | TreeMultiset.java | 235 public boolean setCount(E element, int oldCount, int newCount) { in setCount() method in TreeMultiset 243 public int setCount(E element, int count) { in setCount() method in TreeMultiset 301 setCount(toRemove, 0); in iteratorInDirection() 523 private final int setCount; field in ConditionalSetCountModifier 525 private ConditionalSetCountModifier(int expectedCount, int setCount) { in ConditionalSetCountModifier() argument 526 checkArgument(setCount >= 0 & expectedCount >= 0); in ConditionalSetCountModifier() 528 this.setCount = setCount; in ConditionalSetCountModifier() 533 return (oldCount == expectedCount) ? setCount : oldCount; in newCount()
|
D | Multiset.java | 155 int setCount(E element, int count); in setCount() method 177 boolean setCount(E element, int oldCount, int newCount); in setCount() method
|
D | Constraints.java | 359 @Override public int setCount(E element, int count) { in setCount() method in Constraints.ConstrainedMultiset 361 return delegate.setCount(element, count); in setCount() 363 @Override public boolean setCount(E element, int oldCount, int newCount) { in setCount() method in Constraints.ConstrainedMultiset 365 return delegate.setCount(element, oldCount, newCount); in setCount()
|
D | ConcurrentHashMultiset.java | 348 @Override public int setCount(E element, int count) { in setCount() method in ConcurrentHashMultiset 402 @Override public boolean setCount(E element, int expectedOldCount, int newCount) { in setCount() method in ConcurrentHashMultiset 516 ConcurrentHashMultiset.this.setCount(last.getElement(), 0); 560 return multiset.setCount(element, entryCount, 0);
|
D | AbstractMultiset.java | 99 public int setCount(E element, int count) { in setCount() method in AbstractMultiset 104 public boolean setCount(E element, int oldCount, int newCount) { in setCount() method in AbstractMultiset
|
D | ImmutableMultiset.java | 307 public final int setCount(E element, int count) { in setCount() method 317 public final boolean setCount(E element, int oldCount, int newCount) { in setCount() method 572 public Builder<E> setCount(E element, int count) { in setCount() method in Builder 573 contents.setCount(checkNotNull(element), count); in setCount()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeMultiset.java | 231 public boolean setCount(E element, int oldCount, int newCount) { in setCount() method in TreeMultiset 239 public int setCount(E element, int count) { in setCount() method in TreeMultiset 297 setCount(toRemove, 0); in iteratorInDirection() 519 private final int setCount; field in ConditionalSetCountModifier 521 private ConditionalSetCountModifier(int expectedCount, int setCount) { in ConditionalSetCountModifier() argument 522 checkArgument(setCount >= 0 & expectedCount >= 0); in ConditionalSetCountModifier() 524 this.setCount = setCount; in ConditionalSetCountModifier() 529 return (oldCount == expectedCount) ? setCount : oldCount; in newCount()
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | table_row_nsimage_cache.mm | 17 [icon_images_ setCount:count]; 24 [icon_images_ setCount:0]; 25 [icon_images_ setCount:count]; 43 [icon_images_ setCount:start + length];
|
/external/skia/src/animator/ |
D | SkAnimateActive.cpp | 29 fInterpolators.setCount(animators); in init() 31 fState.setCount(animators); in init() 65 fInterpolators.setCount(total); in append() 69 fAnimators.setCount(total); in append() 72 fState.setCount(total); in append() 123 fSaveRestore.setCount(newTotal); in appendSave() 176 values.setCount(count); in create() 214 values.setCount(count); in immediate() 258 fSaveRestore.setCount(activeTotal); in initializeSave() 261 fSaveInterpolators.setCount(activeTotal); in initializeSave() [all …]
|
/external/skia/legacy/src/animator/ |
D | SkAnimateActive.cpp | 29 fInterpolators.setCount(animators); in init() 31 fState.setCount(animators); in init() 65 fInterpolators.setCount(total); in append() 69 fAnimators.setCount(total); in append() 72 fState.setCount(total); in append() 123 fSaveRestore.setCount(newTotal); in appendSave() 176 values.setCount(count); in create() 214 values.setCount(count); in immediate() 258 fSaveRestore.setCount(activeTotal); in initializeSave() 261 fSaveInterpolators.setCount(activeTotal); in initializeSave() [all …]
|
D | SkDrawEmboss.cpp | 26 direction.setCount(3); in SkDrawEmboss()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ArrayIterator.h | 71 - (void) setCount:(NSInteger)cnt; 75 @property (assign, getter=count, setter=setCount:) NSInteger count;
|
D | AMutableArray.h | 37 - (void)setCount:(NSInteger)cnt; 46 @property (assign, getter=count, setter=setCount:) NSInteger count;
|
D | ANTLRPtrBuffer.h | 48 @property (getter=getCount, setter=setCount:) NSUInteger count; 72 - (void)setCount:(NSUInteger)aCount;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRPtrBuffer.h | 51 @property (getter=getCount, setter=setCount:) NSInteger count; 73 - (void)setCount:(NSInteger)aCount;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRPtrBuffer.h | 51 @property (getter=getCount, setter=setCount:) NSInteger count; 73 - (void)setCount:(NSInteger)aCount;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRPtrBuffer.h | 51 @property (getter=getCount, setter=setCount:) NSInteger count; 73 - (void)setCount:(NSInteger)aCount;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AdapterViewBehavior.java | 110 adapter.setCount(0); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero() 155 adapter.setCount(1); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem() 173 adapter.setCount(0); in testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
D | CroppedTrack.java | 72 e.setCount(e.getCount() + 1); in getDecodingTimeEntries() 95 e.setCount(e.getCount() + 1); in getCompositionTimeEntries()
|