/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetSetCountUnconditionallyTester.java | 22 * 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) { 41 return getMultiset().setCount(element, count);
|
MultisetSetCountConditionallyTester.java | 29 * 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) { 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(samples.e0, 2, 3)) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractConcurrentHashMultisetTest.java | 54 cms.setCount("a", -1); 59 assertEquals(2, cms.setCount("a", 0)); 61 assertEquals(3, cms.setCount("b", 4)); 63 assertEquals(0, cms.setCount("c", 5)); 73 cms.setCount("a", -1, 1); 77 cms.setCount("a", 1, -1); 82 assertTrue(cms.setCount("c", 0, 0)); 84 assertFalse(cms.setCount("c", 1, 0)); 86 assertFalse(cms.setCount("a", 0, 0)); 88 assertFalse(cms.setCount("a", 1, 0)) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ArrayIterator.h | 71 - (void) setCount:(NSInteger)cnt; 75 @property (assign, getter=count, setter=setCount:) NSInteger count;
|
AMutableArray.h | 37 - (void)setCount:(NSInteger)cnt; 46 @property (assign, getter=count, setter=setCount:) NSInteger count;
|
ANTLRPtrBuffer.h | 48 @property (getter=getCount, setter=setCount:) NSUInteger count; 72 - (void)setCount:(NSUInteger)aCount;
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawEmboss.cpp | 26 fDirection.setCount(3);
|
/external/skia/src/animator/ |
SkDrawEmboss.cpp | 26 fDirection.setCount(3);
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/arm64/ |
armSP_FFT_CToC_FC32_Radix2_fs_s.S | 65 #define setCount x8 94 // Note: setCount = grpSize/2 (reuse the updated grpSize for setCount) 106 SUBS setCount,setCount,#1
|
armSP_FFT_CToC_FC32_Radix2_s.S | 66 #define setCount x13 120 lsr setCount, pointStep, #3 135 SUBS setCount,setCount,#2
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/neon/ |
armSP_FFT_CToC_FC32_Radix2_fs_unsafe_s.S | 64 #define setCount r4 92 @// Note: setCount = grpSize/2 (reuse the updated grpSize for setCount) 104 SUBS setCount,setCount,#1
|
armSP_FFT_CToC_SC16_Radix2_fs_unsafe_s.S | 72 #define setCount r4 104 @// Note: setCount = grpSize/2 (reuse the updated grpSize for setCount) 116 SUBS setCount,setCount,#1 @// decrement the loop counter
|
armSP_FFT_CToC_SC32_Radix2_fs_unsafe_s.S | 72 #define setCount r4 100 @// Note: setCount = grpSize/2 (reuse the updated grpSize for setCount) 112 SUBS setCount,setCount,#1 @// decrement the loop counter
|
armSP_FFT_CToC_FC32_Radix2_unsafe_s.S | 63 #define setCount r8 117 MOV setCount,pointStep,LSR #3 132 SUBS setCount,setCount,#2
|
armSP_FFT_CToC_SC16_Radix2_unsafe_s.S | 71 #define setCount r8 124 MOV setCount,pointStep,LSR #2 136 SUBS setCount,setCount,#4
|
armSP_FFT_CToC_SC32_Radix2_unsafe_s.S | 71 #define setCount r8 124 MOV setCount,pointStep,LSR #3 137 SUBS setCount,setCount,#2
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/armv7/ |
armSP_FFT_CToC_FC32_Radix2_fs_unsafe_s.S | 61 #define setCount r14 88 @// Note: setCount = grpSize/2 (reuse the updated grpSize for setCount) 103 SUBS setCount,setCount,#1 @// decrement the loop counter
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CountingAdapter.java | 15 public void setCount(int itemCount) {
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
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/A/Headers/ |
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/ |
ANTLRPtrBuffer.h | 51 @property (getter=getCount, setter=setCount:) NSInteger count; 73 - (void)setCount:(NSInteger)aCount;
|
/external/guava/guava/src/com/google/common/collect/ |
Multiset.java | 67 * all of these are supported, the {@code setCount} methods as well. 155 int setCount(E element, int count); 159 * {@link #setCount(Object, int)}, provided that the element has the expected 177 boolean setCount(E element, int oldCount, int newCount);
|
ForwardingMultiset.java | 94 public int setCount(E element, int count) { 95 return delegate().setCount(element, count); 99 public boolean setCount(E element, int oldCount, int newCount) { 100 return delegate().setCount(element, oldCount, newCount); 209 * A sensible definition of {@link #setCount(Object, int)} in terms of {@link 212 * wish to override {@link #setCount(Object, int)} to forward to this 222 * A sensible definition of {@link #setCount(Object, int, int)} in terms of 223 * {@link #count(Object)} and {@link #setCount(Object, int)}. If you override 224 * either of these methods, you may wish to override {@link #setCount(Object,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PreferredComponent.java | 106 int setCount = setCountStr != null ? Integer.parseInt(setCountStr) : 0; 110 String[] myPackages = setCount > 0 ? new String[setCount] : null; 111 String[] myClasses = setCount > 0 ? new String[setCount] : null; 112 String[] myComponents = setCount > 0 ? new String[setCount] : null; 136 } else if (setPos >= setCount) { 162 if (setPos != setCount) { 164 mParseError = "Not enough set tags (expected " + setCount [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
BaseAdapterTest.java | 95 baseAdapter.setCount(0); 98 baseAdapter.setCount(1); 105 public void setCount(int count) {
|