/external/javassist/src/main/javassist/bytecode/ |
ByteStream.java | 52 int oldCount = count; 53 buf[oldCount] = (byte)b; 54 count = oldCount + 1; 59 int oldCount = count; 60 buf[oldCount] = (byte)(s >>> 8); 61 buf[oldCount + 1] = (byte)s; 62 count = oldCount + 2; 67 int oldCount = count; 68 buf[oldCount] = (byte)(i >>> 24); 69 buf[oldCount + 1] = (byte)(i >>> 16) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 221 int oldCount; 223 oldCount = 0; 226 oldCount = frequency.get(); 227 long newCount = (long) oldCount + (long) occurrences; 233 return oldCount; 247 int oldCount = frequency.get(); 250 if (oldCount > occurrences) { 253 numberRemoved = oldCount; 259 return oldCount; 267 int oldCount; [all...] |
ForwardingMultiset.java | 99 public boolean setCount(E element, int oldCount, int newCount) { 100 return delegate().setCount(element, oldCount, newCount); 225 protected boolean standardSetCount(E element, int oldCount, int newCount) { 226 return Multisets.setCountImpl(this, element, oldCount, newCount);
|
Multiset.java | 164 * current count. If the current count is not {@code oldCount}, no change is 169 * @param oldCount the expected present count of the element in this multiset 173 * {@code oldCount == newCount}. 174 * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is 178 * oldCount} and {@code newCount} are both zero, the implementor may 181 boolean setCount(E element, int oldCount, int newCount);
|
AbstractMultiset.java | 104 public boolean setCount(@Nullable E element, int oldCount, int newCount) { 105 return setCountImpl(this, element, oldCount, newCount);
|
FilteredEntryMultimap.java | 346 int oldCount = 0; 351 oldCount++; 352 if (oldCount <= occurrences) { 357 return oldCount;
|
Multisets.java | 175 @Override public boolean setCount(E element, int oldCount, int newCount) { 876 int oldCount = self.count(element); 878 int delta = count - oldCount; 885 return oldCount; 892 Multiset<E> self, E element, int oldCount, int newCount) { 893 checkNonnegative(oldCount, "oldCount"); 896 if (self.count(element) == oldCount) { [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 218 int oldCount; 220 oldCount = 0; 223 oldCount = frequency.get(); 224 long newCount = (long) oldCount + (long) occurrences; 230 return oldCount; 244 int oldCount = frequency.get(); 247 if (oldCount > occurrences) { 250 numberRemoved = oldCount; 256 return oldCount; 264 int oldCount; [all...] |
/external/skia/src/animator/ |
SkAnimateActive.cpp | 58 int oldCount = fAnimators.count(); 62 int total = oldCount + newCount; 66 memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*)); 67 for (index = oldCount; index < total; index++) 70 memcpy(&fAnimators[oldCount], animates.begin(), sizeof(fAnimators[0]) * 73 initState(apply, oldCount); 78 SkActive::SkState& testState = fState[oldCount + index]; 79 for (int inner = 0; inner < oldCount; inner++) { 98 saveIndex -= oldCount; 105 oldCount-- [all...] |
SkTypedArray.cpp | 105 unsigned oldCount = fCount; 113 memcpy(fArray + oldCount, src, sizeof(int32_t) * count); 115 return fArray + oldCount; 156 int oldCount = fCount; 159 memmove(dst + count, dst, sizeof(int32_t) * (oldCount - index));
|
SkAnimateActive.h | 39 void appendSave(int oldCount);
|
/external/skia/src/core/ |
SkCachedData.cpp | 18 int32_t oldCount = sk_atomic_inc(&gCachedDataCounter); 19 SkDebugf("SkCachedData inc %d\n", oldCount + 1); 23 int32_t oldCount = sk_atomic_dec(&gCachedDataCounter); 24 SkDebugf("SkCachedData dec %d\n", oldCount - 1);
|
SkPictureFlat.h | 417 const int oldCount = this->count(); 419 *added = this->count() > oldCount; 444 SkASSERT(this->count() == oldCount);
|
SkTDynamicHash.h | 250 SkDEBUGCODE(int oldCount = fCount;) 264 SkASSERT(oldCount == fCount);
|
SkTHash.h | 146 SkDEBUGCODE(int oldCount = fCount); 159 SkASSERT(fCount == oldCount);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
Frame.java | 187 int oldCount = oldDims == null ? 0 : oldDims.length; 189 if (oldCount != newCount) { 190 throw new IllegalArgumentException("Cannot resize " + oldCount + "-dimensional "
|
/external/deqp/framework/delibs/depool/ |
dePoolMultiSet.h | 96 int oldCount = TYPENAME##_getKeyCount(set, key); \ 97 return TYPENAME##_setKeyCount(set, key, oldCount + 1); \ 102 int oldCount = TYPENAME##_getKeyCount(set, key); \ 103 DE_ASSERT(oldCount > 0); \ 104 TYPENAME##_setKeyCount(set, key, oldCount - 1); \ 150 int oldCount = countPtr ? *countPtr : 0; \ 152 DE_ASSERT(oldCount > 0 || !countPtr); \ 154 set->numElements += (newCount - oldCount); \
|
/external/deqp/framework/delibs/decpp/ |
deSharedPtr.hpp | 485 deInt32 oldCount, newCount; 490 oldCount = state->strongRefCount; 491 if (oldCount == 0) 493 newCount = oldCount+1; 494 } while (deAtomicCompareExchange32((deUint32 volatile*)&state->strongRefCount, (deUint32)oldCount, (deUint32)newCount) != (deUint32)oldCount);
|
/external/skia/include/core/ |
SkTDArray.h | 165 int oldCount = fCount; 168 src + count <= fArray || fArray + oldCount <= src); 172 memcpy(fArray + oldCount, src, sizeof(T) * count); 175 return fArray + oldCount; 190 size_t oldCount = fCount; 193 memmove(dst + count, dst, sizeof(T) * (oldCount - index));
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
ConcurrentHashMultisetBenchmark.java | 383 * only if the count is currently {@code oldCount}. If {@code element} does 384 * not appear in the multiset exactly {@code oldCount} times, no changes will 389 * {@code oldCount == newCount}, the method will return {@code true} if 391 * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is 394 @Override public boolean setCount(E element, int oldCount, int newCount) { 395 checkNonnegative(oldCount, "oldCount"); 398 if (oldCount == 0) { 402 return countMap.remove(element, oldCount); 405 if (oldCount == 0) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
MultisetRemoveTester.java | 106 int oldCount = getMultiset().count(samples.e0); 108 oldCount, getMultiset().remove(samples.e0, 0));
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingMultisetTest.java | 111 @Override public boolean setCount(T element, int oldCount, int newCount) { 112 return standardSetCount(element, oldCount, newCount); 233 String element, int oldCount, int newCount) {
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
CollationElementIterator.java | 640 Integer oldCount = maxExpansions.get(lastHalf); 641 if (oldCount == null || count > oldCount) {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetRemoveTester.java | 109 int oldCount = getMultiset().count(samples.e0); 111 oldCount, getMultiset().remove(samples.e0, 0));
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
RecyclerViewActivity.java | 201 final int oldCount = getChildCount(); 203 if (oldCount == 0) {
|