HomeSort by relevance Sort by last modified time
    Searched refs:newCount (Results 1 - 25 of 328) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/services/core/java/com/android/server/pm/
KeySetHandle.java 49 protected void setRefCountLPw(int newCount) {
50 mRefCount = newCount;
  /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/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...]
SkTDArray.h 220 int newCount = fCount - 1;
221 fCount = newCount;
222 if (index != newCount) {
223 memcpy(fArray + index, fArray + newCount, sizeof(T));
  /external/skqp/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...]
SkTDArray.h 220 int newCount = fCount - 1;
221 fCount = newCount;
222 if (index != newCount) {
223 memcpy(fArray + index, fArray + newCount, sizeof(T));
  /external/skia/src/gpu/gl/
GrGLVertexArray.h 30 void resize(int newCount) {
31 fAttribArrayStates.resize_back(newCount);
  /external/skqp/src/gpu/gl/
GrGLVertexArray.h 30 void resize(int newCount) {
31 fAttribArrayStates.resize_back(newCount);
  /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); \
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
Frame.java 188 int newCount = newDims == null ? 0 : newDims.length;
189 if (oldCount != newCount) {
191 + "Frame to " + newCount + "-dimensional Frame!");
  /external/guava/guava/src/com/google/common/collect/
ForwardingMultiset.java 99 public boolean setCount(E element, int oldCount, int newCount) {
100 return delegate().setCount(element, oldCount, newCount);
225 protected boolean standardSetCount(E element, int oldCount, int newCount) {
226 return Multisets.setCountImpl(this, element, oldCount, newCount);
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...]
Multiset.java 170 * @param newCount the desired count of the element in this multiset
173 * {@code oldCount == newCount}.
174 * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is
178 * oldCount} and {@code newCount} are both zero, the implementor may
181 boolean setCount(E element, int oldCount, int newCount);
AbstractMultiset.java 104 public boolean setCount(@Nullable E element, int oldCount, int newCount) {
105 return setCountImpl(this, element, oldCount, newCount);
AbstractMapBasedMultiset.java 227 long newCount = (long) oldCount + (long) occurrences;
228 checkArgument(newCount <= Integer.MAX_VALUE,
229 "too many occurrences: %s", newCount);
  /frameworks/base/libs/hwui/
VertexBuffer.h 130 void updateIndexCount(unsigned int newCount) {
131 mIndexCount = std::min(newCount, mAllocatedIndexCount);
133 void updateVertexCount(unsigned int newCount) {
134 mVertexCount = std::min(newCount, mAllocatedVertexCount);
  /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...]
  /art/runtime/jdwp/
jdwp_expand_buf.cc 87 static void ensureSpace(ExpandBuf* pBuf, int newCount) {
88 if (pBuf->curLen + newCount <= pBuf->maxLen) {
92 while (pBuf->curLen + newCount > pBuf->maxLen) {
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
MergedAdapter.java 113 int newCount = count + a.getCount();
114 if (position < newCount) {
117 count = newCount;
  /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];
  /external/skia/src/ports/
SkFontMgr_win_dw.cpp 80 ULONG newCount = InterlockedDecrement(&fRefCount);
81 if (0 == newCount) {
84 return newCount;
156 ULONG newCount = InterlockedDecrement(&fRefCount);
157 if (0 == newCount) {
160 return newCount;
243 ULONG newCount = InterlockedDecrement(&fRefCount);
244 if (0 == newCount) {
247 return newCount;
612 ULONG newCount = InterlockedDecrement(&fRefCount)
    [all...]
  /external/skqp/src/ports/
SkFontMgr_win_dw.cpp 80 ULONG newCount = InterlockedDecrement(&fRefCount);
81 if (0 == newCount) {
84 return newCount;
156 ULONG newCount = InterlockedDecrement(&fRefCount);
157 if (0 == newCount) {
160 return newCount;
243 ULONG newCount = InterlockedDecrement(&fRefCount);
244 if (0 == newCount) {
247 return newCount;
612 ULONG newCount = InterlockedDecrement(&fRefCount)
    [all...]
  /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/support/car/src/main/java/androidx/car/moderator/
ContentRateLimiter.java 278 private void setLastCalculatedPermitCount(double newCount, long nextMs) {
279 mLastCalculatedPermitCount = Math.min(mMaxStoredPermits, newCount);

Completed in 771 milliseconds

1 2 3 4 5 6 7 8 91011>>