/external/llvm/test/CodeGen/ARM/ |
a15-partial-update.ll | 28 %oldcount = phi i32 [0, %entry], [%newcount, %loop] 29 %newcount = add i32 %oldcount, 1 30 %p1 = getelementptr <4 x i8>, <4 x i8> *%in, i32 %newcount 31 %p2 = getelementptr <4 x i8>, <4 x i8> *%out, i32 %newcount 34 %cmp = icmp eq i32 %newcount, %n
|
/external/protobuf/objectivec/ |
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...] |
/libcore/ojluni/src/main/java/java/io/ |
CharArrayWriter.java | 80 int newcount = count + 1; local 81 if (newcount > buf.length) { 82 buf = Arrays.copyOf(buf, Math.max(buf.length << 1, newcount)); 85 count = newcount; 103 int newcount = count + len; local 104 if (newcount > buf.length) { 105 buf = Arrays.copyOf(buf, Math.max(buf.length << 1, newcount)); 108 count = newcount; 120 int newcount = count + len; local 121 if (newcount > buf.length) [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
KeySetHandle.java | 49 protected void setRefCountLPw(int newCount) { 50 mRefCount = newCount;
|
/external/skia/include/private/ |
SkTArray.h | 155 int newCount = fCount - 1; 156 fCount = newCount; 158 if (n != newCount) { 159 this->move(n, newCount); 288 void resize_back(int newCount) { 289 SkASSERT(newCount >= 0); 291 if (newCount > fCount) { 292 this->push_back_n(newCount - fCount); 293 } else if (newCount < fCount) { 294 this->pop_back_n(fCount - newCount); [all...] |
/frameworks/base/libs/hwui/ |
VertexBuffer.h | 131 void updateIndexCount(unsigned int newCount) { 132 mIndexCount = std::min(newCount, mAllocatedIndexCount); 134 void updateVertexCount(unsigned int newCount) { 135 mVertexCount = std::min(newCount, mAllocatedVertexCount);
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
IntDiffer.java | 128 int newCount = aCount-aTop; 129 System.arraycopy(a, aTop, a, 0, newCount); 130 aCount = newCount; 135 int newCount = bCount-bTop; 136 System.arraycopy(b, bTop, b, 0, newCount); 137 bCount = newCount;
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
TreeMultiset.java | 308 public boolean setCount(@Nullable E element, int oldCount, int newCount) { 309 checkNonnegative(newCount, "newCount"); 316 if (newCount > 0) { 317 add(element, newCount); 325 AvlNode<E> newRoot = root.setCount(comparator(), element, oldCount, newCount, result); 717 int newCount, 724 if (expectedCount == 0 && newCount > 0) { 725 return addLeftChild(e, newCount); 730 left = initLeft.setCount(comparator, e, expectedCount, newCount, result) [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
LegacyVoicemailNotificationReceiver.java | 123 Context context, PhoneAccountHandle phoneAccountHandle, int newCount) { 132 if (newCount == -1) { 141 if (newCount != 0 && newCount == preferences.getInt(LEGACY_VOICEMAIL_COUNT, -1)) { 144 preferences.edit().putInt(LEGACY_VOICEMAIL_COUNT, newCount).apply();
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MergedAdapter.java | 113 int newCount = count + a.getCount(); 114 if (position < newCount) { 117 count = newCount;
|
/external/skia/src/gpu/gl/ |
GrGLVertexArray.h | 30 void resize(int newCount) { 31 fAttribArrayStates.resize_back(newCount);
|
/external/guava/guava/src/com/google/common/collect/ |
TreeMultiset.java | 312 public boolean setCount(@Nullable E element, int oldCount, int newCount) { 313 checkNonnegative(newCount, "newCount"); 320 if (newCount > 0) { 321 add(element, newCount); 329 AvlNode<E> newRoot = root.setCount(comparator(), element, oldCount, newCount, result); 721 int newCount, 728 if (expectedCount == 0 && newCount > 0) { 729 return addLeftChild(e, newCount); 734 left = initLeft.setCount(comparator, e, expectedCount, newCount, result) [all...] |
ConcurrentHashMultiset.java | 394 * Sets the number of occurrences of {@code element} to {@code newCount}, but only if 400 * {@code expectedOldCount == newCount}, the method will return {@code true} if 402 * @throws IllegalArgumentException if {@code expectedOldCount} or {@code newCount} is negative 404 @Override public boolean setCount(E element, int expectedOldCount, int newCount) { 407 checkNonnegative(newCount, "newCount"); 413 } else if (newCount == 0) { 417 return countMap.putIfAbsent(element, new AtomicInteger(newCount)) == null; 423 if (newCount == 0) { 428 AtomicInteger newCounter = new AtomicInteger(newCount); [all...] |
/external/javassist/src/main/javassist/bytecode/ |
ByteStream.java | 185 int newCount = count + delta; 186 if (newCount > buf.length) { 188 byte[] newBuf = new byte[newLen > newCount ? newLen : newCount];
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
ByteArrayOutputStream.java | 105 * @param newcount the size of the buffer if one is created 107 private void needNewBuffer(int newcount) { 118 newBufferSize = newcount; 123 newcount - filledBufferSum); 151 int newcount = count + len; local 159 needNewBuffer(newcount); 163 count = newcount;
|
/external/skia/src/ports/ |
SkFontMgr_win_dw.cpp | 76 ULONG newCount = InterlockedDecrement(&fRefCount); 77 if (0 == newCount) { 80 return newCount; 152 ULONG newCount = InterlockedDecrement(&fRefCount); 153 if (0 == newCount) { 156 return newCount; 239 ULONG newCount = InterlockedDecrement(&fRefCount); 240 if (0 == newCount) { 243 return newCount; 608 ULONG newCount = InterlockedDecrement(&fRefCount) [all...] |
/external/deqp/framework/delibs/depool/ |
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-tests/benchmark/com/google/common/collect/ |
ConcurrentHashMultisetBenchmark.java | 382 * Sets the number of occurrences of {@code element} to {@code newCount}, but 389 * {@code oldCount == newCount}, the method will return {@code true} if 391 * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is 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/pdfium/core/fxge/win32/ |
fx_win32_dwrite.cpp | 301 ULONG newCount = InterlockedDecrement((long*)(&refCount_)); 302 if (newCount == 0) { 305 return newCount; 356 ULONG newCount = InterlockedDecrement((long*)(&refCount_)); 357 if (newCount == 0) { 361 return newCount;
|
/frameworks/base/core/java/android/net/metrics/ |
ConnectStats.java | 96 final int newcount = errnos.get(errno, 0) + 1; local 97 errnos.put(errno, newcount);
|
/art/runtime/jdwp/ |
jdwp_expand_buf.cc | 86 static void ensureSpace(ExpandBuf* pBuf, int newCount) { 87 if (pBuf->curLen + newCount <= pBuf->maxLen) { 91 while (pBuf->curLen + newCount > pBuf->maxLen) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
collections.py | 632 newcount = count + other[elem]
633 if newcount > 0:
634 result[elem] = newcount
651 newcount = count - other[elem]
652 if newcount > 0:
653 result[elem] = newcount
671 newcount = other_count if count < other_count else count
672 if newcount > 0:
673 result[elem] = newcount
691 newcount = count if count < other_count else other_count [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
collections.py | 569 newcount = count + other[elem]
570 if newcount > 0:
571 result[elem] = newcount
588 newcount = count - other[elem]
589 if newcount > 0:
590 result[elem] = newcount
608 newcount = other_count if count < other_count else count
609 if newcount > 0:
610 result[elem] = newcount
628 newcount = count if count < other_count else other_count [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
9-1.c | 109 int *child_pid, oldcount, newcount, shm_id, i; local 190 newcount = *shmptr; 192 if (newcount == oldcount) {
|
/external/python/cpython2/Lib/ |
collections.py | 644 newcount = count + other[elem] 645 if newcount > 0: 646 result[elem] = newcount 663 newcount = count - other[elem] 664 if newcount > 0: 665 result[elem] = newcount 683 newcount = other_count if count < other_count else count 684 if newcount > 0: 685 result[elem] = newcount 703 newcount = count if count < other_count else other_coun [all...] |