/external/qemu/android/utils/ |
D | vector.c | 5 _avector_ensure( void** items, size_t itemSize, unsigned* pMaxItems, unsigned newCount ) in _avector_ensure() argument 9 if (newCount > oldMax) { in _avector_ensure() 14 AASSERT_FAIL("trying to reallocate array of 0-size items (count=%d)\n", newCount); in _avector_ensure() 17 if (newCount > bigMax) { in _avector_ensure() 19 itemSize, newCount, bigMax); in _avector_ensure() 22 while (newMax < newCount) { in _avector_ensure()
|
D | vector.h | 61 #define AVECTOR_ENSURE(obj,name,newCount) \ argument 63 unsigned _newCount = (newCount); \ 71 unsigned* pMaxItems, unsigned newCount );
|
/external/skia/include/core/ |
D | SkTArray.h | 216 void resize_back(int newCount) { in resize_back() argument 217 SkASSERT(newCount >= 0); in resize_back() 219 if (newCount > fCount) { in resize_back() 220 push_back_n(newCount - fCount); in resize_back() 221 } else if (newCount < fCount) { in resize_back() 222 pop_back_n(fCount - newCount); in resize_back() 331 int newCount = fCount + delta; in checkRealloc() local 334 if (newCount > fAllocCount) { in checkRealloc() 335 newAllocCount = SkMax32(newCount + ((newCount + 1) >> 1), in checkRealloc() 337 } else if (newCount < fAllocCount / 3) { in checkRealloc()
|
D | SkTDArray.h | 200 unsigned newCount = fCount - 1; in removeShuffle() local 201 fCount = newCount; in removeShuffle() 202 if (index != newCount) { in removeShuffle() 203 memcpy(fArray + index, fArray + newCount, sizeof(T)); in removeShuffle()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeMultiset.java | 231 public boolean setCount(E element, int oldCount, int newCount) { in setCount() argument 234 return mutate(element, new ConditionalSetCountModifier(oldCount, newCount)) in setCount() 454 abstract int newCount(int oldCount); in newCount() method in MultisetModifier 460 int newCount = newCount(oldCount); in modify() local 461 if (oldCount == newCount) { in modify() 463 } else if (newCount == 0) { in modify() 466 return BstModificationResult.rebalancingChange(null, new Node<E>(key, newCount)); in modify() 469 new Node<E>(originalEntry.getKey(), newCount)); in modify() 483 int newCount(int oldCount) { in newCount() method in AddModifier 498 int newCount(int oldCount) { in newCount() method in RemoveModifier [all …]
|
D | AbstractMapBasedMultiset.java | 237 long newCount = (long) oldCount + (long) occurrences; 238 checkArgument(newCount <= Integer.MAX_VALUE, 239 "too many occurrences: %s", newCount);
|
/external/guava/guava/src/com/google/common/collect/ |
D | TreeMultiset.java | 235 public boolean setCount(E element, int oldCount, int newCount) { in setCount() argument 238 return mutate(element, new ConditionalSetCountModifier(oldCount, newCount)) in setCount() 458 abstract int newCount(int oldCount); in newCount() method in MultisetModifier 464 int newCount = newCount(oldCount); in modify() local 465 if (oldCount == newCount) { in modify() 467 } else if (newCount == 0) { in modify() 470 return BstModificationResult.rebalancingChange(null, new Node<E>(key, newCount)); in modify() 473 new Node<E>(originalEntry.getKey(), newCount)); in modify() 487 int newCount(int oldCount) { in newCount() method in AddModifier 502 int newCount(int oldCount) { in newCount() method in RemoveModifier [all …]
|
D | ConcurrentHashMultiset.java | 402 @Override public boolean setCount(E element, int expectedOldCount, int newCount) { in setCount() argument 404 checkNonnegative(newCount, "newCount"); in setCount() 410 } else if (newCount == 0) { in setCount() 414 return countMap.putIfAbsent(element, new AtomicInteger(newCount)) == null; in setCount() 420 if (newCount == 0) { in setCount() 425 AtomicInteger newCounter = new AtomicInteger(newCount); in setCount() 430 if (existingCounter.compareAndSet(oldValue, newCount)) { in setCount() 431 if (newCount == 0) { in setCount()
|
D | ForwardingMultiset.java | 99 public boolean setCount(E element, int oldCount, int newCount) { in setCount() argument 100 return delegate().setCount(element, oldCount, newCount); in setCount() 230 E element, int oldCount, int newCount) { in standardSetCount() argument 231 return Multisets.setCountImpl(this, element, oldCount, newCount); in standardSetCount()
|
D | MapMakerInternalMap.java | 2537 int newCount = this.count + 1; in put() local 2538 if (newCount > this.threshold) { // ensure capacity in put() 2540 newCount = this.count + 1; in put() 2562 newCount = this.count; // count remains unchanged in put() 2564 newCount = this.count + 1; in put() 2566 this.count = newCount; // write-volatile in put() 2590 newCount = this.count + 1; in put() 2592 this.count = newCount; // write-volatile in put() 2621 int newCount = count; in expand() local 2657 newCount--; in expand() [all …]
|
D | AbstractMultiset.java | 104 public boolean setCount(E element, int oldCount, int newCount) { in setCount() argument 105 return setCountImpl(this, element, oldCount, newCount); in setCount()
|
D | AbstractMapBasedMultiset.java | 240 long newCount = (long) oldCount + (long) occurrences; 241 checkArgument(newCount <= Integer.MAX_VALUE, 242 "too many occurrences: %s", newCount);
|
D | Multisets.java | 172 @Override public boolean setCount(E element, int oldCount, int newCount) { in setCount() argument 429 public boolean setCount(E element, int oldCount, int newCount) { in setCount() argument 430 return setCountImpl(this, element, oldCount, newCount); in setCount() 791 Multiset<E> self, E element, int oldCount, int newCount) { 793 checkNonnegative(newCount, "newCount"); 796 self.setCount(element, newCount);
|
D | Multiset.java | 177 boolean setCount(E element, int oldCount, int newCount); in setCount() argument
|
D | Constraints.java | 363 @Override public boolean setCount(E element, int oldCount, int newCount) { in setCount() argument 365 return delegate.setCount(element, oldCount, newCount); in setCount()
|
/external/javassist/src/main/javassist/bytecode/ |
D | ByteStream.java | 185 int newCount = count + delta; in enlarge() local 186 if (newCount > buf.length) { in enlarge() 188 byte[] newBuf = new byte[newLen > newCount ? newLen : newCount]; in enlarge()
|
/external/skia/src/animator/ |
D | SkAnimateActive.cpp | 60 int newCount = animates.count(); in append() local 62 int total = oldCount + newCount; in append() 66 memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*)); in append() 71 newCount); in append() 75 for (index = 0; index < newCount; index++) { in append() 118 int newCount = fAnimators.count(); in appendSave() local 122 int newTotal = records * newCount; in appendSave() 126 newTotal -= newCount; in appendSave() 131 sizeof(fSaveRestore[0]) * (newCount - oldCount)); in appendSave() 135 sizeof(fSaveRestore[0]) * (newCount - oldCount)); in appendSave()
|
/external/webrtc/src/system_wrappers/source/ |
D | trace_impl.h | 103 const WebRtc_UWord32 newCount) const; 108 const WebRtc_UWord32 newCount) const;
|
D | trace_impl.cc | 668 const WebRtc_UWord32 newCount) const in UpdateFileName() 703 static_cast<long unsigned int> (newCount), in UpdateFileName() 711 const WebRtc_UWord32 newCount) const in CreateFileName() 736 static_cast<long unsigned int> (newCount), in CreateFileName()
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 2255 int newCount = this.count - 1; in lockedGetOrLoad() local 2285 this.count = newCount; // write-volatile in lockedGetOrLoad() 2857 int newCount = this.count + 1; in put() local 2858 if (newCount > this.threshold) { // ensure capacity in put() 2860 newCount = this.count + 1; in put() 2882 newCount = this.count; // count remains unchanged in put() 2885 newCount = this.count + 1; in put() 2887 this.count = newCount; // write-volatile in put() 2912 newCount = this.count + 1; in put() 2913 this.count = newCount; // write-volatile in put() [all …]
|
/external/webkit/Source/WebCore/rendering/ |
D | CounterNode.cpp | 184 int newCount = node->computeCountInParent(); in recount() local 185 if (oldCount == newCount) in recount() 187 node->m_countInParent = newCount; in recount()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingMultisetTest.java | 111 @Override public boolean setCount(T element, int oldCount, int newCount) { in setCount() argument 112 return standardSetCount(element, oldCount, newCount); in setCount() 233 String element, int oldCount, int newCount) { in suite()
|
/external/srec/portable/src/ |
D | pmemory_ext.c | 359 void PortMemGetCount(int *newCount, int *deleteCount) in PortMemGetCount() argument 361 *newCount = portNewCount; in PortMemGetCount()
|
/external/webkit/Source/WebKit/win/ |
D | WebHistory.cpp | 507 int newCount = CFArrayGetCount(entries); in orderedItemsLastVisitedOnDay() local 510 *count = newCount; in orderedItemsLastVisitedOnDay() 514 if (*count < newCount) { in orderedItemsLastVisitedOnDay() 515 *count = newCount; in orderedItemsLastVisitedOnDay() 519 *count = newCount; in orderedItemsLastVisitedOnDay() 520 for (int i = 0; i < newCount; i++) { in orderedItemsLastVisitedOnDay()
|
/external/compiler-rt/BlocksRuntime/ |
D | runtime.c | 461 int32_t newCount; in _Block_release() local 463 newCount = latching_decr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK; in _Block_release() 464 if (newCount > 0) return; in _Block_release()
|