/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...] |
AbstractMultisetSetCountTester.java | 38 * test calls to the unconditional {@code setCount()} method and calls to the 39 * conditional {@code setCount()} method when the expected present count is 49 * assume that using setCount() to increase the count is permitted iff add() 51 * setCount() no-op is permitted if either add() or remove() is permitted, 59 "multiset.count() should return the value passed to setCount()", 72 * Call the {@code setCount()} method under test, and check its return value. 77 * Call the {@code setCount()} method under test, but do not check its return 80 * {@code setCount()} to throw an exception, as checking the return value 82 * "setCount() should return the original count" instead of the message passed 83 * to a later invocation of {@code fail()}, like "setCount should thro [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/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_Radix4_fs_s.S | 61 // Reuse grpSize as setCount 62 #define setCount x7 117 // Note: setCount = subFFTNum/4 (reuse the grpSize reg for setCount) 152 // Decrement setcount 153 SUBS setCount,setCount,#2
|
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_Radix4_fs_unsafe_s.S | 61 @// Reuse grpSize as setCount 62 #define setCount r3 125 @// Note: setCount = subFFTNum/4 (reuse the grpSize reg for setCount) 157 @// Decrement setcount 158 SUBS setCount,setCount,#2
|
armSP_FFT_CToC_FC32_Radix4_unsafe_s.S | 70 #define setCount r14 177 MOV setCount,pointStep,LSR #3 238 @// the end of pSrc. The last iteration is grpCount = 4, setCount = 2. 240 cmpeq setCount, #2 @// Test setCount if grpCount = 4 241 @// These are executed only if both grpCount = 4 and setCount = 2 246 SUBS setCount,setCount,#2
|
armSP_FFT_CToC_SC16_Radix4_fs_unsafe_s.S | 69 @// Reuse grpSize as setCount 70 #define setCount r3 125 @// Note: setCount = subFFTNum/4 (reuse the grpSize reg for setCount) 167 SUBS setCount,setCount,#4 @// decrement the set loop counter 221 SUBS setCount,setCount,#4 @// decrement the set loop counter
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
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/chromium_org/third_party/skia/src/animator/ |
SkDrawEmboss.cpp | 26 fDirection.setCount(3);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CountingAdapter.java | 15 public void setCount(int itemCount) {
|
/external/skia/src/animator/ |
SkDrawEmboss.cpp | 26 fDirection.setCount(3);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
FutureTaskTest.java | 70 assertEquals(0, pf.setCount()); 155 private final AtomicInteger setCount = new AtomicInteger(0); 160 public int setCount() { return setCount.get(); } 200 setCount.incrementAndGet(); 259 assertEquals(0, task.setCount()); 275 assertEquals(0, task.setCount()); 292 assertEquals(1, task.setCount()); 324 assertEquals(0, task.setCount()); 338 assertEquals(0, task.setCount()); [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
AMutableArray.h | 37 - (void)setCount:(NSInteger)cnt; 46 @property (assign, getter=count, setter=setCount:) NSInteger count;
|
/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
|
armSP_FFT_CToC_FC32_Radix4_fs_unsafe_s.S | 61 #define setCount r14 /*@// Reuse grpSize as setCount*/ 95 @// Note: setCount = grpSize/4 (reuse the updated grpSize for setCount) 122 @// Decrement setcount 123 SUBS setCount,setCount,#1
|
armSP_FFT_CToC_FC32_Radix4_unsafe_s.S | 61 #define setCount r8 111 @// Use setCount as dummy. It's set correctly below. 112 smull outPointStep, setCount, grpCount, pointStep 117 MOV setCount,pointStep,LSR #3 128 @// Save setCount on stack to reuse the reg 131 ADD pDst,pDst,diff @// pDst += (grpCount-1)*setCount 132 ADD step,step,diff @// step += (grpCount-1)*setCount 282 SUBS setCount,setCount,#1 @// decrement loop counter
|
/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) {
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
write_batch.cc | 86 void WriteBatchInternal::SetCount(WriteBatch* b, int n) { 99 WriteBatchInternal::SetCount(this, WriteBatchInternal::Count(this) + 1); 106 WriteBatchInternal::SetCount(this, WriteBatchInternal::Count(this) + 1); 142 SetCount(dst, Count(dst) + Count(src));
|