/external/guava/guava/src/com/google/common/collect/ |
H A D | AbstractMultiset.java | 104 public boolean setCount(E element, int oldCount, int newCount) { argument 105 return setCountImpl(this, element, oldCount, newCount);
|
H A D | ConcurrentHashMultiset.java | 392 * Sets the number of occurrences of {@code element} to {@code newCount}, but only if 398 * {@code expectedOldCount == newCount}, the method will return {@code true} if 400 * @throws IllegalArgumentException if {@code expectedOldCount} or {@code newCount} is negative 402 @Override public boolean setCount(E element, int expectedOldCount, int newCount) { argument 404 checkNonnegative(newCount, "newCount"); 410 } else if (newCount == 0) { 414 return countMap.putIfAbsent(element, new AtomicInteger(newCount)) == null; 420 if (newCount == 0) { 425 AtomicInteger newCounter = new AtomicInteger(newCount); [all...] |
H A D | ForwardingMultiset.java | 99 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 D | Multiset.java | 166 * @param newCount the desired 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 D | Constraints.java | 363 @Override public boolean setCount(E element, int oldCount, int newCount) { argument 365 return delegate.setCount(element, oldCount, newCount);
|
H A D | ImmutableMultiset.java | 317 public final boolean setCount(E element, int oldCount, int newCount) { argument
|
H A D | LinkedListMultimap.java | 763 public boolean setCount(K element, int oldCount, int newCount) { argument 764 return setCountImpl(this, element, oldCount, newCount);
|
H A D | TreeMultiset.java | 235 public boolean setCount(E element, int oldCount, int newCount) { argument 238 return mutate(element, new ConditionalSetCountModifier(oldCount, newCount)) 458 abstract int newCount(int oldCount); method in class:TreeMultiset.MultisetModifier 464 int newCount = newCount(oldCount); 465 if (oldCount == newCount) { 467 } else if (newCount == 0) { 470 return BstModificationResult.rebalancingChange(null, new Node<E>(key, newCount)); 473 new Node<E>(originalEntry.getKey(), newCount)); 487 int newCount(in method in class:TreeMultiset.AddModifier 502 int newCount(int oldCount) { method in class:TreeMultiset.RemoveModifier 516 int newCount(int oldCount) { method in class:TreeMultiset.SetCountModifier 532 int newCount(int oldCount) { method in class:TreeMultiset.ConditionalSetCountModifier [all...] |
H A D | Multisets.java | 172 @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); 791 Multiset<E> self, E element, int oldCount, int newCount) { 793 checkNonnegative(newCount, "newCount"); 796 self.setCount(element, newCount); 790 setCountImpl( Multiset<E> self, E element, int oldCount, int newCount) argument
|
H A D | Synchronized.java | 456 public boolean setCount(E element, int oldCount, int newCount) { argument 458 return delegate().setCount(element, oldCount, newCount);
|
/external/webkit/Source/WebCore/rendering/ |
H A D | CounterNode.cpp | 184 int newCount = node->computeCountInParent(); local 185 if (oldCount == newCount) 187 node->m_countInParent = newCount;
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ForwardingMultisetTest.java | 111 @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 D | SkTArray.h | 216 void resize_back(int newCount) { argument 217 SkASSERT(newCount >= 0); 219 if (newCount > fCount) { 220 push_back_n(newCount - fCount); 221 } else if (newCount < fCount) { 222 pop_back_n(fCount - newCount); 331 int newCount = fCount + delta; local 334 if (newCount > fAllocCount) { 335 newAllocCount = SkMax32(newCount + ((newCount [all...] |
/external/srec/portable/src/ |
H A D | pmemory_ext.c | 359 void PortMemGetCount(int *newCount, int *deleteCount) argument 361 *newCount = portNewCount;
|
/external/compiler-rt/BlocksRuntime/ |
H A D | runtime.c | 461 int32_t newCount; local 463 newCount = latching_decr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK; 464 if (newCount > 0) return;
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | LinkedListMultimap.java | 759 public boolean setCount(K element, int oldCount, int newCount) { argument 760 return setCountImpl(this, element, oldCount, newCount);
|
H A D | TreeMultiset.java | 231 public boolean setCount(E element, int oldCount, int newCount) { argument 234 return mutate(element, new ConditionalSetCountModifier(oldCount, newCount)) 454 abstract int newCount(int oldCount); method in class:TreeMultiset.MultisetModifier 460 int newCount = newCount(oldCount); 461 if (oldCount == newCount) { 463 } else if (newCount == 0) { 466 return BstModificationResult.rebalancingChange(null, new Node<E>(key, newCount)); 469 new Node<E>(originalEntry.getKey(), newCount)); 483 int newCount(in method in class:TreeMultiset.AddModifier 498 int newCount(int oldCount) { method in class:TreeMultiset.RemoveModifier 512 int newCount(int oldCount) { method in class:TreeMultiset.SetCountModifier 528 int newCount(int oldCount) { method in class:TreeMultiset.ConditionalSetCountModifier [all...] |
H A D | Synchronized.java | 443 public boolean setCount(E element, int oldCount, int newCount) { argument 445 return delegate().setCount(element, oldCount, newCount);
|
/external/skia/src/animator/ |
H A D | SkAnimateActive.cpp | 60 int newCount = animates.count(); local 62 int total = oldCount + newCount; 66 memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*)); 71 newCount); 75 for (index = 0; index < newCount; index++) { 110 // total = oldCount + newCount; 118 int newCount = fAnimators.count(); local 122 int newTotal = records * newCount; 126 newTotal -= newCount; 131 sizeof(fSaveRestore[0]) * (newCount [all...] |
H A D | SkDisplayApply.cpp | 101 int newCount = fActive->fAnimators.count(); local 102 for (int index = oldCount; index < newCount; index++)
|
/external/skia/src/gpu/ |
H A D | GrTesselatedPathRenderer.cpp | 529 int newCount = computeEdgesAndIntersect(matrix, inverse, &btess.contourPoints()[i], count, &edges, 1.0f); local 531 for (int j = 0; j < newCount; j++) {
|
/external/webkit/Source/WebKit/win/ |
H A D | WebHistory.cpp | 507 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 D | JSParser.cpp | 1977 int newCount = 0; local 1980 newCount++; 2015 if (newCount) { 2016 newCount--; 2048 while (newCount--)
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.team.core_3.5.100.R36x_v20100825-0800.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |