Searched defs:newCount (Results 1 - 15 of 15) sorted by relevance

/external/guava/src/com/google/common/collect/
H A DForwardingMultiset.java73 public boolean setCount(E element, int oldCount, int newCount) { argument
74 return delegate().setCount(element, oldCount, newCount);
H A DConcurrentHashMultiset.java315 * Sets the number of occurrences of {@code element} to {@code newCount}, but
322 * {@code oldCount == newCount}, the method will return {@code true} if
324 * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is
327 @Override public boolean setCount(E element, int oldCount, int newCount) { argument
329 checkNonnegative(newCount, "newCount");
330 if (newCount == 0) {
339 return countMap.putIfAbsent(element, newCount) == null;
341 return countMap.replace(element, oldCount, newCount);
H A DMultiset.java158 * @param newCount the desired count of the element in this multiset
161 * {@code oldCount == newCount}.
162 * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is
166 * oldCount} and {@code newCount} are both zero, the implementor may
169 boolean setCount(E element, int oldCount, int newCount); argument
H A DAbstractMultiset.java152 public boolean setCount(E element, int oldCount, int newCount) { argument
153 return setCountImpl(this, element, oldCount, newCount);
H A DImmutableMultiset.java236 public boolean setCount(E element, int oldCount, int newCount) { argument
H A DMultisets.java140 @Override public boolean setCount(E element, int oldCount, int newCount) { argument
252 public boolean setCount(E element, int oldCount, int newCount) { argument
253 return setCountImpl(this, element, oldCount, newCount);
456 Multiset<E> self, E element, int oldCount, int newCount) {
458 checkNonnegative(newCount, "newCount");
461 self.setCount(element, newCount);
455 setCountImpl( Multiset<E> self, E element, int oldCount, int newCount) argument
H A DLinkedListMultimap.java654 public boolean setCount(K element, int oldCount, int newCount) { argument
655 return setCountImpl(this, element, oldCount, newCount);
H A DSynchronized.java542 public boolean setCount(E element, int oldCount, int newCount) { argument
544 return delegate().setCount(element, oldCount, newCount);
/external/skia/gpu/include/
H A DGrTArray.h231 void resize_back(int newCount) { argument
232 GrAssert(newCount >= 0);
234 if (newCount > fCount) {
235 push_back_n(newCount - fCount);
236 } else if (newCount < fCount) {
237 pop_back_n(fCount - newCount);
283 int newCount = fCount + delta; local
286 if (newCount > fAllocCount) {
287 fNewAllocCount = GrMax(newCount + ((newCount
[all...]
/external/webkit/Source/WebCore/rendering/
H A DCounterNode.cpp184 int newCount = node->computeCountInParent(); local
185 if (oldCount == newCount)
187 node->m_countInParent = newCount;
/external/srec/portable/src/
H A Dpmemory_ext.c359 void PortMemGetCount(int *newCount, int *deleteCount) argument
361 *newCount = portNewCount;
/external/skia/src/animator/
H A DSkAnimateActive.cpp68 int newCount = animates.count(); local
70 int total = oldCount + newCount;
74 memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*));
79 newCount);
83 for (index = 0; index < newCount; index++) {
118 // total = oldCount + newCount;
126 int newCount = fAnimators.count(); local
130 int newTotal = records * newCount;
134 newTotal -= newCount;
139 sizeof(fSaveRestore[0]) * (newCount
[all...]
H A DSkDisplayApply.cpp109 int newCount = fActive->fAnimators.count(); local
110 for (int index = oldCount; index < newCount; index++)
/external/webkit/Source/WebKit/win/
H A DWebHistory.cpp507 int newCount = CFArrayGetCount(entries); local
510 *count = newCount;
514 if (*count < newCount) {
515 *count = newCount;
519 *count = newCount;
520 for (int i = 0; i < newCount; i++) {
/external/webkit/Source/JavaScriptCore/parser/
H A DJSParser.cpp1977 int newCount = 0; local
1980 newCount++;
2015 if (newCount) {
2016 newCount--;
2048 while (newCount--)

Completed in 387 milliseconds