Searched refs:setCount (Results 1 - 25 of 153) sorted by relevance

1234567

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DMultisetSetCountUnconditionallyTester.java22 * A generic JUnit test which tests unconditional {@code setCount()} operations
32 assertEquals("multiset.setCount() should return the old count",
33 getMultiset().count(element), setCount(element, count));
37 setCount(element, count);
40 private int setCount(E element, int count) { method in class:MultisetSetCountUnconditionallyTester
41 return getMultiset().setCount(element, count);
H A DMultisetSetCountConditionallyTester.java29 * A generic JUnit test which tests conditional {@code setCount()} operations on
40 "setCount() with the correct expected present count should return true",
41 setCount(element, count));
45 setCount(element, count);
48 private boolean setCount(E element, int count) { method in class:MultisetSetCountConditionallyTester
49 return getMultiset().setCount(element, getMultiset().count(element), count);
54 getMultiset().setCount(samples.e3, -1, 1);
55 fail("calling setCount() with a negative oldCount should throw "
80 assertFalse("setCount() with a too-large oldCount should return false",
81 getMultiset().setCount(sample
[all...]
/external/testng/src/test/java/test/retryAnalyzer/
H A DMyRetry.java9 setCount(3);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DArrayIterator.h71 - (void) setCount:(NSInteger)cnt;
75 @property (assign, getter=count, setter=setCount:) NSInteger count;
H A DAMutableArray.h37 - (void)setCount:(NSInteger)cnt;
46 @property (assign, getter=count, setter=setCount:) NSInteger count;
H A DANTLRPtrBuffer.h48 @property (getter=getCount, setter=setCount:) NSUInteger count;
72 - (void)setCount:(NSUInteger)aCount;
/external/testng/src/main/java/org/testng/util/
H A DRetryAnalyzerCount.java22 protected void setCount(int count) { method in class:RetryAnalyzerCount
/external/clang/lib/CodeGen/
H A DCodeGenPGO.cpp238 uint64_t setCount(uint64_t Count) { function in struct:__anon1628::ComputeRegionCounts
252 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
264 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
271 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
278 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
308 uint64_t BlockCount = setCount(PGO.getRegionCount(S));
336 uint64_t BodyCount = setCount(PGO.getRegionCount(S));
347 setCount(ParentCount + BackedgeCount + BC.ContinueCount);
350 setCount(BC.BreakCount + CondCount - BodyCount);
360 uint64_t BodyCount = setCount(LoopCoun
[all...]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DCountingAdapter.java15 public void setCount(int itemCount) { method in class:CountingAdapter
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRPtrBuffer.h51 @property (getter=getCount, setter=setCount:) NSInteger count;
73 - (void)setCount:(NSInteger)aCount;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRPtrBuffer.h51 @property (getter=getCount, setter=setCount:) NSInteger count;
73 - (void)setCount:(NSInteger)aCount;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRPtrBuffer.h51 @property (getter=getCount, setter=setCount:) NSInteger count;
73 - (void)setCount:(NSInteger)aCount;
/external/guava/guava/src/com/google/common/collect/
H A DMultiset.java67 * all of these are supported, the {@code setCount} methods as well.
159 int setCount(E element, int count); method in interface:Multiset
163 * {@link #setCount(Object, int)}, provided that the element has the expected
181 boolean setCount(E element, int oldCount, int newCount); method in interface:Multiset
H A DForwardingMultiset.java94 public int setCount(E element, int count) { method in class:ForwardingMultiset
95 return delegate().setCount(element, count);
99 public boolean setCount(E element, int oldCount, int newCount) { method in class:ForwardingMultiset
100 return delegate().setCount(element, oldCount, newCount);
205 * A sensible definition of {@link #setCount(Object, int)} in terms of {@link
208 * wish to override {@link #setCount(Object, int)} to forward to this
218 * A sensible definition of {@link #setCount(Object, int, int)} in terms of
219 * {@link #count(Object)} and {@link #setCount(Object, int)}. If you override
220 * either of these methods, you may wish to override {@link #setCount(Object,
H A DAbstractMultiset.java99 public int setCount(@Nullable E element, int count) { method in class:AbstractMultiset
104 public boolean setCount(@Nullable E element, int oldCount, int newCount) { method in class:AbstractMultiset
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowCountingAdapter.java16 public void setCount(int itemCount) { method in class:ShadowCountingAdapter
/external/skia/src/core/
H A DSkPictureFlat.cpp44 void SkTypefacePlayback::setCount(int count) { function in class:SkTypefacePlayback
/external/skqp/src/core/
H A DSkPictureFlat.cpp44 void SkTypefacePlayback::setCount(int count) { function in class:SkTypefacePlayback
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingMultisetTest.java111 @Override public boolean setCount(T element, int oldCount, int newCount) { method in class:ForwardingMultisetTest.StandardImplForwardingMultiset
115 @Override public int setCount(T element, int count) { method in class:ForwardingMultisetTest.StandardImplForwardingMultiset
232 @Override public boolean setCount(
236 @Override public int setCount(String element, int count) {
379 forward().setCount("asdf", 233);
380 assertEquals("[setCount(Object,int)]", getCalls());
384 forward().setCount("asdf", 4552, 1233);
385 assertEquals("[setCount(Object,int,int)]", getCalls());
H A DConcurrentHashMultisetBasherTest.java130 int oldValue = multiset.setCount(key, newValue);
137 if (multiset.setCount(key, oldValue, newValue)) {
/external/skia/tests/
H A DFloatingPointTextureTest.cpp38 controlPixelData.setCount(arraySize);
39 readBuffer.setCount(arraySize);
/external/skqp/tests/
H A DFloatingPointTextureTest.cpp38 controlPixelData.setCount(arraySize);
39 readBuffer.setCount(arraySize);
/external/skia/gm/
H A Dtexteffects.cpp46 intersections->setCount(count);
90 intersections->setCount(count);
110 widths.setCount(widthCount);
113 pos.setCount(widthCount);
229 intercepts.setCount(interceptCount);
259 widths.setCount(widthCount);
262 pos.setCount(widthCount);
/external/skqp/gm/
H A Dtexteffects.cpp46 intersections->setCount(count);
90 intersections->setCount(count);
110 widths.setCount(widthCount);
113 pos.setCount(widthCount);
229 intercepts.setCount(interceptCount);
259 widths.setCount(widthCount);
262 pos.setCount(widthCount);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
H A DCroppedTrack.java72 e.setCount(e.getCount() + 1);
95 e.setCount(e.getCount() + 1);

Completed in 706 milliseconds

1234567