/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 | 64 #define AVECTOR_ENSURE(obj,name,newCount) \ argument 66 unsigned _newCount = (newCount); \ 74 unsigned* pMaxItems, unsigned newCount );
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkTArray.h | 156 int newCount = fCount - 1; in removeShuffle() local 157 fCount = newCount; in removeShuffle() 159 if (n != newCount) { in removeShuffle() 160 SkTArrayExt::copy(this, n, newCount); in removeShuffle() 161 fItemArray[newCount].~T(); in removeShuffle() 263 void resize_back(int newCount) { in resize_back() argument 264 SkASSERT(newCount >= 0); in resize_back() 266 if (newCount > fCount) { in resize_back() 267 this->push_back_n(newCount - fCount); in resize_back() 268 } else if (newCount < fCount) { in resize_back() [all …]
|
/external/skia/include/core/ |
D | SkTArray.h | 156 int newCount = fCount - 1; in removeShuffle() local 157 fCount = newCount; in removeShuffle() 159 if (n != newCount) { in removeShuffle() 160 SkTArrayExt::copy(this, n, newCount); in removeShuffle() 161 fItemArray[newCount].~T(); in removeShuffle() 263 void resize_back(int newCount) { in resize_back() argument 264 SkASSERT(newCount >= 0); in resize_back() 266 if (newCount > fCount) { in resize_back() 267 this->push_back_n(newCount - fCount); in resize_back() 268 } else if (newCount < fCount) { in resize_back() [all …]
|
/external/deqp/framework/delibs/depool/ |
D | dePoolMultiSet.h | 74 deBool TYPENAME##_setKeyCount (TYPENAME* set, KEYTYPE key, int newCount); \ 147 deBool TYPENAME##_setKeyCount (TYPENAME* set, KEYTYPE key, int newCount) \ 153 DE_ASSERT(newCount >= 0); \ 154 set->numElements += (newCount - oldCount); \ 156 if (newCount == 0 && countPtr) \ 158 else if (newCount > 0 && countPtr) \ 159 *countPtr = newCount; \ 160 else if (newCount > 0) \ 161 return TYPENAME##Hash_insert(set->hash, key, 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 …]
|
/external/skia/tests/ |
D | TDStackNesterTest.cpp | 38 const int newCount = nester->count(); in test_pop() local 39 REPORTER_ASSERT(reporter, newCount == count - 1); in test_pop() 42 REPORTER_ASSERT(reporter, newCount == value); in test_pop()
|
/external/chromium_org/third_party/skia/tests/ |
D | TDStackNesterTest.cpp | 38 const int newCount = nester->count(); in test_pop() local 39 REPORTER_ASSERT(reporter, newCount == count - 1); in test_pop() 42 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/gpu/gl/ |
D | GrGLVertexArray.h | 56 void resize(int newCount) { in resize() argument 57 fAttribArrayStates.resize_back(newCount); in resize() 58 for (int i = 0; i < newCount; ++i) { in resize()
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
D | GrGLVertexArray.h | 56 void resize(int newCount) { in resize() argument 57 fAttribArrayStates.resize_back(newCount); in resize() 58 for (int i = 0; i < newCount; ++i) { in resize()
|
/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/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/WebKit/Source/core/css/ |
D | CSSImageGeneratorValue.h | 41 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) 43 , count(newCount) in size()
|
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_dwrite.cpp | 302 ULONG newCount = InterlockedDecrement((long*)(&refCount_)); in Release() local 303 if (newCount == 0) { in Release() 306 return newCount; in Release() 361 ULONG newCount = InterlockedDecrement((long*)(&refCount_)); in Release() local 362 if (newCount == 0) { in Release() 366 return newCount; in Release()
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontMgr_win_dw.cpp | 70 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 71 if (0 == newCount) { in Release() 74 return newCount; in Release() 146 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 147 if (0 == newCount) { in Release() 150 return newCount; in Release() 233 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 234 if (0 == newCount) { in Release() 237 return newCount; in Release()
|
/external/skia/src/ports/ |
D | SkFontMgr_win_dw.cpp | 70 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 71 if (0 == newCount) { in Release() 74 return newCount; in Release() 146 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 147 if (0 == newCount) { in Release() 150 return newCount; in Release() 233 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 234 if (0 == newCount) { in Release() 237 return newCount; in Release()
|
/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 …]
|