/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/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 …]
|
/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()
|
/external/skia/include/core/ |
D | SkTArray.h | 246 void resize_back(int newCount) { in resize_back() argument 247 SkASSERT(newCount >= 0); in resize_back() 249 if (newCount > fCount) { in resize_back() 250 this->push_back_n(newCount - fCount); in resize_back() 251 } else if (newCount < fCount) { in resize_back() 252 this->pop_back_n(fCount - newCount); in resize_back() 400 int newCount = fCount + delta; in checkRealloc() local 403 if (newCount > fAllocCount || newCount < (fAllocCount / 3)) { in checkRealloc() 406 newAllocCount = SkMax32(newCount + ((newCount + 1) >> 1), fReserveCount); in checkRealloc()
|
D | SkTDArray.h | 217 int newCount = fCount - 1; in removeShuffle() local 218 fCount = newCount; in removeShuffle() 219 if (index != newCount) { in removeShuffle() 220 memcpy(fArray + index, fArray + newCount, sizeof(T)); in removeShuffle()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkTArray.h | 246 void resize_back(int newCount) { in resize_back() argument 247 SkASSERT(newCount >= 0); in resize_back() 249 if (newCount > fCount) { in resize_back() 250 this->push_back_n(newCount - fCount); in resize_back() 251 } else if (newCount < fCount) { in resize_back() 252 this->pop_back_n(fCount - newCount); in resize_back() 400 int newCount = fCount + delta; in checkRealloc() local 403 if (newCount > fAllocCount || newCount < (fAllocCount / 3)) { in checkRealloc() 406 newAllocCount = SkMax32(newCount + ((newCount + 1) >> 1), fReserveCount); in checkRealloc()
|
D | SkTDArray.h | 217 int newCount = fCount - 1; in removeShuffle() local 218 fCount = newCount; in removeShuffle() 219 if (index != newCount) { in removeShuffle() 220 memcpy(fArray + index, fArray + newCount, sizeof(T)); in removeShuffle()
|
/external/skia/tests/ |
D | TDStackNesterTest.cpp | 39 const int newCount = nester->count(); in test_pop() local 40 REPORTER_ASSERT(reporter, newCount == count - 1); in test_pop() 43 REPORTER_ASSERT(reporter, newCount == value); in test_pop()
|
/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/chromium_org/third_party/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/skia/src/gpu/gl/ |
D | GrGLVertexArray.h | 59 void resize(int newCount) { in resize() argument 60 fAttribArrayStates.resize_back(newCount); in resize() 61 for (int i = 0; i < newCount; ++i) { in resize()
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
D | GrGLVertexArray.h | 59 void resize(int newCount) { in resize() argument 60 fAttribArrayStates.resize_back(newCount); in resize() 61 for (int i = 0; i < newCount; ++i) { in resize()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSImageGeneratorValue.h | 42 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) 44 , count(newCount) in size()
|
/external/chromium_org/third_party/skia/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 164 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 165 if (0 == newCount) { in Release() 168 return newCount; in Release()
|
/external/skia/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 164 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 165 if (0 == newCount) { in Release() 168 return newCount; in Release()
|
/external/webrtc/src/system_wrappers/source/ |
D | trace_impl.h | 104 const WebRtc_UWord32 newCount) const; 109 const WebRtc_UWord32 newCount) const;
|
/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/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/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | CounterNode.cpp | 229 int newCount = node->computeCountInParent(); in recount() local 230 if (oldCount == newCount) in recount() 232 node->m_countInParent = newCount; in recount()
|