/external/protobuf/objectivec/ |
D | GPBArray.m | 220 //% NSUInteger newCount = initialCount + count; 221 //%MAYBE_GROW_TO_SET_COUNT(newCount) 231 //% NSUInteger newCount = initialCount + 1; 232 //%MAYBE_GROW_TO_SET_COUNT(newCount) 268 //% NSUInteger newCount = _count - 1; 269 //% if (index != newCount) { 270 //% memmove(&_values[index], &_values[index + 1], (newCount - index) * sizeof(TYPE)); 272 //%SET_COUNT_AND_MAYBE_SHRINK(newCount) 449 NSUInteger newCount = initialCount + count; 450 if (newCount > _capacity) { [all …]
|
/external/skia/include/private/ |
D | SkTArray.h | 156 int newCount = fCount - 1; in removeShuffle() local 157 fCount = newCount; in removeShuffle() 159 if (n != newCount) { in removeShuffle() 160 this->move(n, newCount); in removeShuffle() 289 void resize_back(int newCount) { in resize_back() argument 290 SkASSERT(newCount >= 0); in resize_back() 292 if (newCount > fCount) { in resize_back() 293 this->push_back_n(newCount - fCount); in resize_back() 294 } else if (newCount < fCount) { in resize_back() 295 this->pop_back_n(fCount - newCount); in resize_back() [all …]
|
/external/skqp/include/private/ |
D | SkTArray.h | 156 int newCount = fCount - 1; in removeShuffle() local 157 fCount = newCount; in removeShuffle() 159 if (n != newCount) { in removeShuffle() 160 this->move(n, newCount); in removeShuffle() 289 void resize_back(int newCount) { in resize_back() argument 290 SkASSERT(newCount >= 0); in resize_back() 292 if (newCount > fCount) { in resize_back() 293 this->push_back_n(newCount - fCount); in resize_back() 294 } else if (newCount < fCount) { in resize_back() 295 this->pop_back_n(fCount - newCount); in resize_back() [all …]
|
D | SkTDArray.h | 208 int newCount = fCount - 1; in removeShuffle() local 209 fCount = newCount; in removeShuffle() 210 if (index != newCount) { in removeShuffle() 211 memcpy(fArray + index, fArray + newCount, sizeof(T)); in removeShuffle()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
D | IntDiffer.java | 128 int newCount = aCount-aTop; in flush() local 129 System.arraycopy(a, aTop, a, 0, newCount); in flush() 130 aCount = newCount; in flush() 135 int newCount = bCount-bTop; in flush() local 136 System.arraycopy(b, bTop, b, 0, newCount); in flush() 137 bCount = newCount; in flush()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeMultiset.java | 308 public boolean setCount(@Nullable E element, int oldCount, int newCount) { in setCount() argument 309 checkNonnegative(newCount, "newCount"); in setCount() 316 if (newCount > 0) { in setCount() 317 add(element, newCount); in setCount() 325 AvlNode<E> newRoot = root.setCount(comparator(), element, oldCount, newCount, result); in setCount() 717 int newCount, 724 if (expectedCount == 0 && newCount > 0) { 725 return addLeftChild(e, newCount); 730 left = initLeft.setCount(comparator, e, expectedCount, newCount, result); 733 if (newCount == 0 && result[0] != 0) { [all …]
|
D | AbstractMapBasedMultiset.java | 224 long newCount = (long) oldCount + (long) occurrences; 225 checkArgument(newCount <= Integer.MAX_VALUE, 226 "too many occurrences: %s", newCount);
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Differ.java | 146 int newCount = aCount - aTop; in flush() local 147 System.arraycopy(a, aTop, a, 0, newCount); in flush() 148 aCount = newCount; in flush() 154 int newCount = bCount - bTop; in flush() local 155 System.arraycopy(b, bTop, b, 0, newCount); in flush() 156 bCount = newCount; in flush()
|
/external/deqp/framework/delibs/depool/ |
D | dePoolMultiSet.h | 74 deBool TYPENAME##_setKeyCount (DE_PTR_TYPE(TYPENAME) set, KEYTYPE key, int newCount); \ 147 deBool TYPENAME##_setKeyCount (DE_PTR_TYPE(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/src/com/google/common/collect/ |
D | TreeMultiset.java | 312 public boolean setCount(@Nullable E element, int oldCount, int newCount) { in setCount() argument 313 checkNonnegative(newCount, "newCount"); in setCount() 320 if (newCount > 0) { in setCount() 321 add(element, newCount); in setCount() 329 AvlNode<E> newRoot = root.setCount(comparator(), element, oldCount, newCount, result); in setCount() 721 int newCount, 728 if (expectedCount == 0 && newCount > 0) { 729 return addLeftChild(e, newCount); 734 left = initLeft.setCount(comparator, e, expectedCount, newCount, result); 737 if (newCount == 0 && result[0] != 0) { [all …]
|
D | ConcurrentHashMultiset.java | 404 @Override public boolean setCount(E element, int expectedOldCount, int newCount) { in setCount() argument 407 checkNonnegative(newCount, "newCount"); in setCount() 413 } else if (newCount == 0) { in setCount() 417 return countMap.putIfAbsent(element, new AtomicInteger(newCount)) == null; in setCount() 423 if (newCount == 0) { in setCount() 428 AtomicInteger newCounter = new AtomicInteger(newCount); in setCount() 433 if (existingCounter.compareAndSet(oldValue, newCount)) { in setCount() 434 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() 225 protected boolean standardSetCount(E element, int oldCount, int newCount) { in standardSetCount() argument 226 return Multisets.setCountImpl(this, element, oldCount, newCount); in standardSetCount()
|
D | MapMakerInternalMap.java | 2502 int newCount = this.count + 1; in put() local 2503 if (newCount > this.threshold) { // ensure capacity in put() 2505 newCount = this.count + 1; in put() 2527 newCount = this.count; // count remains unchanged in put() 2529 newCount = this.count + 1; in put() 2531 this.count = newCount; // write-volatile in put() 2555 newCount = this.count + 1; in put() 2557 this.count = newCount; // write-volatile in put() 2586 int newCount = count; in expand() local 2627 newCount--; in expand() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CLDRCompare.java | 78 int newCount = 0; in main() local 91 ++newCount; in main() 109 … printLine(subDir, file, sameCount, newCount, deletedCount, diffValueCount, diffBothCount, in main() 115 …private static void printLine(String subDir, String file, Object sameCount, Object newCount, Objec… in printLine() argument 117 …System.out.println(subDir + "\t" + file + "\t" + sameCount + "\t" + newCount + "\t" + deletedCount… in printLine()
|
/external/skqp/src/ports/ |
D | SkFontMgr_win_dw.cpp | 83 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 84 if (0 == newCount) { in Release() 87 return newCount; in Release() 159 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 160 if (0 == newCount) { in Release() 163 return newCount; in Release() 246 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 247 if (0 == newCount) { in Release() 250 return newCount; in Release() 616 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local [all …]
|
/external/skia/src/ports/ |
D | SkFontMgr_win_dw.cpp | 83 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 84 if (0 == newCount) { in Release() 87 return newCount; in Release() 159 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 160 if (0 == newCount) { in Release() 163 return newCount; in Release() 246 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 247 if (0 == newCount) { in Release() 250 return newCount; in Release() 616 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local [all …]
|
/external/guice/core/src/com/google/inject/internal/ |
D | InternalContext.java | 78 int newCount = --enterCount; in close() local 79 if (newCount < 0) { in close() 82 if (newCount == 0) { in close()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestReferenceStringSearch.java | 106 int newCount = checkNew("lazy", bigText, newPos, newTimer, icuTimer); in checkAgainstStringSearch() local 110 int diff = findDifference(icuPos, newPos, oldCount, newCount); in checkAgainstStringSearch() 522 int newCount) { in findDifference() argument 523 int count = Math.min(oldCount, newCount); in findDifference() 529 if (oldCount != newCount) { in findDifference()
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_dwrite.cpp | 301 ULONG newCount = InterlockedDecrement((long*)(&refCount_)); in Release() local 302 if (newCount == 0) { in Release() 305 return newCount; in Release() 356 ULONG newCount = InterlockedDecrement((long*)(&refCount_)); in Release() local 357 if (newCount == 0) { in Release() 361 return newCount; in Release()
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 2224 int newCount = this.count - 1; in lockedGetOrLoad() local 2254 this.count = newCount; // write-volatile in lockedGetOrLoad() 2830 int newCount = this.count + 1; in put() local 2831 if (newCount > this.threshold) { // ensure capacity in put() 2833 newCount = this.count + 1; in put() 2855 newCount = this.count; // count remains unchanged in put() 2858 newCount = this.count + 1; in put() 2860 this.count = newCount; // write-volatile in put() 2885 newCount = this.count + 1; in put() 2886 this.count = newCount; // write-volatile in put() [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | ConcurrentHashMultisetBenchmark.java | 394 @Override public boolean setCount(E element, int oldCount, int newCount) { 396 checkNonnegative(newCount, "newCount"); 397 if (newCount == 0) { 406 return countMap.putIfAbsent(element, newCount) == null; 408 return countMap.replace(element, oldCount, newCount);
|
/external/skia/src/gpu/gl/ |
D | GrGLVertexArray.h | 30 void resize(int newCount) { in resize() argument 31 fAttribArrayStates.resize_back(newCount); in resize()
|
/external/skqp/src/gpu/gl/ |
D | GrGLVertexArray.h | 30 void resize(int newCount) { in resize() argument 31 fAttribArrayStates.resize_back(newCount); in resize()
|
/external/skqp/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 168 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 169 if (0 == newCount) { in Release() 172 return newCount; in Release()
|
/external/skia/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 168 ULONG newCount = InterlockedDecrement(&fRefCount); in Release() local 169 if (0 == newCount) { in Release() 172 return newCount; in Release()
|