Searched defs:oldCount (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/skia/src/animator/
H A DSkTypedArray.cpp105 unsigned oldCount = fCount; local
113 memcpy(fArray + oldCount, src, sizeof(int32_t) * count);
115 return fArray + oldCount;
156 int oldCount = fCount; local
159 memmove(dst + count, dst, sizeof(int32_t) * (oldCount - index));
H A DSkAnimateActive.cpp58 int oldCount = fAnimators.count(); local
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
116 appendSave(int oldCount) argument
256 int oldCount = fSaveRestore.count(); local
[all...]
H A DSkDisplayApply.cpp97 int oldCount = fActive->fAnimators.count(); local
100 fActive->appendSave(oldCount);
102 for (int index = oldCount; index < newCount; index++)
/external/skia/src/animator/
H A DSkTypedArray.cpp105 unsigned oldCount = fCount; local
113 memcpy(fArray + oldCount, src, sizeof(int32_t) * count);
115 return fArray + oldCount;
156 int oldCount = fCount; local
159 memmove(dst + count, dst, sizeof(int32_t) * (oldCount - index));
H A DSkAnimateActive.cpp58 int oldCount = fAnimators.count(); local
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
116 appendSave(int oldCount) argument
256 int oldCount = fSaveRestore.count(); local
[all...]
H A DSkDisplayApply.cpp97 int oldCount = fActive->fAnimators.count(); local
100 fActive->appendSave(oldCount);
102 for (int index = oldCount; index < newCount; index++)
/external/guava/guava/src/com/google/common/collect/
H A DAbstractMultiset.java104 public boolean setCount(E element, int oldCount, int newCount) { argument
105 return setCountImpl(this, element, oldCount, newCount);
H A DForwardingMultiset.java99 public boolean setCount(E element, int oldCount, int newCount) { argument
100 return delegate().setCount(element, oldCount, newCount);
230 E element, int oldCount, int newCount) {
231 return Multisets.setCountImpl(this, element, oldCount, newCount);
229 standardSetCount( E element, int oldCount, int newCount) argument
H A DMultiset.java160 * current count. If the current count is not {@code oldCount}, no change is
165 * @param oldCount the expected present count of the element in this multiset
169 * {@code oldCount == newCount}.
170 * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is
174 * oldCount} and {@code newCount} are both zero, the implementor may
177 boolean setCount(E element, int oldCount, int newCount); argument
H A DConstraints.java363 @Override public boolean setCount(E element, int oldCount, int newCount) { argument
365 return delegate.setCount(element, oldCount, newCount);
H A DImmutableMultiset.java317 public final boolean setCount(E element, int oldCount, int newCount) { argument
H A DLinkedListMultimap.java748 int oldCount = count(key);
754 return oldCount;
763 public boolean setCount(K element, int oldCount, int newCount) { argument
764 return setCountImpl(this, element, oldCount, newCount);
H A DTreeMultiset.java235 public boolean setCount(E element, int oldCount, int newCount) { argument
238 return mutate(element, new ConditionalSetCountModifier(oldCount, newCount))
239 == oldCount;
458 abstract int newCount(int oldCount); argument
463 int oldCount = countOrZero(originalEntry);
464 int newCount = newCount(oldCount);
465 if (oldCount == newCount) {
469 } else if (oldCount == 0) {
487 int newCount(int oldCount) { argument
488 checkArgument(countToAdd <= Integer.MAX_VALUE - oldCount, "Canno
502 newCount(int oldCount) argument
516 newCount(int oldCount) argument
532 newCount(int oldCount) argument
[all...]
H A DMultisets.java172 @Override public boolean setCount(E element, int oldCount, int newCount) { argument
429 public boolean setCount(E element, int oldCount, int newCount) { argument
430 return setCountImpl(this, element, oldCount, newCount);
775 int oldCount = self.count(element);
777 int delta = count - oldCount;
784 return oldCount;
791 Multiset<E> self, E element, int oldCount, int newCount) {
792 checkNonnegative(oldCount, "oldCount");
795 if (self.count(element) == oldCount) {
790 setCountImpl( Multiset<E> self, E element, int oldCount, int newCount) argument
[all...]
H A DSynchronized.java456 public boolean setCount(E element, int oldCount, int newCount) { argument
458 return delegate().setCount(element, oldCount, newCount);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DCounterNode.cpp228 int oldCount = node->m_countInParent; local
230 if (oldCount == newCount)
/external/chromium_org/third_party/skia/include/core/
H A DSkTDArray.h184 int oldCount = fCount; local
187 src + count <= fArray || fArray + oldCount <= src);
191 memcpy(fArray + oldCount, src, sizeof(T) * count);
194 return fArray + oldCount;
209 size_t oldCount = fCount; local
212 memmove(dst + count, dst, sizeof(T) * (oldCount - index));
/external/deqp/framework/delibs/decpp/
H A DdeSharedPtr.hpp438 int oldCount, newCount; local
443 oldCount = state->strongRefCount;
444 if (oldCount == 0)
446 newCount = oldCount+1;
447 } while (deAtomicCompareExchange32((deUint32 volatile*)&state->strongRefCount, (deUint32)oldCount, (deUint32)newCount) != (deUint32)oldCount);
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingMultisetTest.java111 @Override public boolean setCount(T element, int oldCount, int newCount) { argument
112 return standardSetCount(element, oldCount, newCount);
233 String element, int oldCount, int newCount) {
/external/skia/include/core/
H A DSkTDArray.h184 int oldCount = fCount; local
187 src + count <= fArray || fArray + oldCount <= src);
191 memcpy(fArray + oldCount, src, sizeof(T) * count);
194 return fArray + oldCount;
209 size_t oldCount = fCount; local
212 memmove(dst + count, dst, sizeof(T) * (oldCount - index));
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DLinkedListMultimap.java744 int oldCount = count(key);
750 return oldCount;
759 public boolean setCount(K element, int oldCount, int newCount) { argument
760 return setCountImpl(this, element, oldCount, newCount);
H A DTreeMultiset.java231 public boolean setCount(E element, int oldCount, int newCount) { argument
234 return mutate(element, new ConditionalSetCountModifier(oldCount, newCount))
235 == oldCount;
454 abstract int newCount(int oldCount); argument
459 int oldCount = countOrZero(originalEntry);
460 int newCount = newCount(oldCount);
461 if (oldCount == newCount) {
465 } else if (oldCount == 0) {
483 int newCount(int oldCount) { argument
484 checkArgument(countToAdd <= Integer.MAX_VALUE - oldCount, "Canno
498 newCount(int oldCount) argument
512 newCount(int oldCount) argument
528 newCount(int oldCount) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/heap/
H A DThreadState.cpp447 int oldCount = -1; local
450 while (currentCount != oldCount) {
452 oldCount = currentCount;
/external/chromium_org/third_party/codesighs/
H A Dmsdump2symdb.c505 unsigned oldCount = inContainer->mReadState.mCurrentObject->mSectionCount; local
509 memset(&inContainer->mReadState.mCurrentObject->mSections[oldCount], 0, sizeof(MSDump_Section) * (sectionIndex1 - oldCount));
/external/chromium_org/third_party/skia/src/core/
H A DSkPictureFlat.h418 const int oldCount = this->count(); local
420 *added = this->count() > oldCount;
445 SkASSERT(this->count() == oldCount);

Completed in 2312 milliseconds

12