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

1 2

  /external/qemu/android/utils/
vector.c 5 _avector_ensure( void** items, size_t itemSize, unsigned* pMaxItems, unsigned newCount )
9 if (newCount > oldMax) {
14 AASSERT_FAIL("trying to reallocate array of 0-size items (count=%d)\n", newCount);
17 if (newCount > bigMax) {
19 itemSize, newCount, bigMax);
22 while (newMax < newCount) {
vector.h 61 #define AVECTOR_ENSURE(obj,name,newCount) \
63 unsigned _newCount = (newCount); \
71 unsigned* pMaxItems, unsigned newCount );
  /external/skia/gpu/include/
GrTArray.h 231 void resize_back(int newCount) {
232 GrAssert(newCount >= 0);
234 if (newCount > fCount) {
235 push_back_n(newCount - fCount);
236 } else if (newCount < fCount) {
237 pop_back_n(fCount - newCount);
283 int newCount = fCount + delta;
286 if (newCount > fAllocCount) {
287 fNewAllocCount = GrMax(newCount + ((newCount + 1) >> 1)
    [all...]
  /libcore/luni/src/main/java/java/lang/
AbstractStringBuilder.java 93 int newCount = ((value.length >> 1) + value.length) + 2;
94 char[] newData = new char[min > newCount ? min : newCount];
101 int newCount = count + 4;
102 if (newCount > value.length) {
103 enlargeBuffer(newCount);
112 int newCount = count + chars.length;
113 if (newCount > value.length) {
114 enlargeBuffer(newCount);
117 count = newCount;
    [all...]
CaseMapper.java 54 int newCount = 0;
68 newCount = i - offset;
69 System.arraycopy(value, offset, newValue, 0, newCount);
72 newValue[newCount++] = newCh;
75 return newValue != null ? new String(0, newCount, newValue) : s;
  /external/guava/src/com/google/common/collect/
ForwardingMultiset.java 73 public boolean setCount(E element, int oldCount, int newCount) {
74 return delegate().setCount(element, oldCount, newCount);
Multisets.java 140 @Override public boolean setCount(E element, int oldCount, int newCount) {
252 public boolean setCount(E element, int oldCount, int newCount) {
253 return setCountImpl(this, element, oldCount, newCount);
456 Multiset<E> self, E element, int oldCount, int newCount) {
458 checkNonnegative(newCount, "newCount");
461 self.setCount(element, newCount);
Multiset.java 158 * @param newCount the desired count of the element in this multiset
161 * {@code oldCount == newCount}.
162 * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is
166 * oldCount} and {@code newCount} are both zero, the implementor may
169 boolean setCount(E element, int oldCount, int newCount);
ConcurrentHashMultiset.java 315 * Sets the number of occurrences of {@code element} to {@code newCount}, but
322 * {@code oldCount == newCount}, the method will return {@code true} if
324 * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is
327 @Override public boolean setCount(E element, int oldCount, int newCount) {
329 checkNonnegative(newCount, "newCount");
330 if (newCount == 0) {
339 return countMap.putIfAbsent(element, newCount) == null;
341 return countMap.replace(element, oldCount, newCount);
AbstractMapBasedMultiset.java 253 long newCount = (long) oldCount + (long) occurrences;
254 checkArgument(newCount <= Integer.MAX_VALUE,
255 "too many occurrences: %s", newCount);
AbstractMultiset.java 152 public boolean setCount(E element, int oldCount, int newCount) {
153 return setCountImpl(this, element, oldCount, newCount);
  /dalvik/vm/jdwp/
ExpandBuf.cpp 86 static void ensureSpace(ExpandBuf* pBuf, int newCount)
90 if (pBuf->curLen + newCount <= pBuf->maxLen)
93 while (pBuf->curLen + newCount > pBuf->maxLen)
  /external/webrtc/src/system_wrappers/source/
trace_impl.h 113 const WebRtc_UWord32 newCount) const;
118 const WebRtc_UWord32 newCount) const;
trace_impl.cc 801 const WebRtc_UWord32 newCount) const
835 sprintf(fileNameWithCounterUTF8+lengthTo_, "_%lu%s", newCount,
843 const WebRtc_UWord32 newCount) const
868 newCount, fileNameUTF8+lengthWithoutFileEnding);
  /frameworks/opt/mailcommon/java/com/android/mailcommon/
MergedAdapter.java 114 int newCount = count + a.getCount();
115 if (position < newCount) {
118 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/animator/
SkAnimateActive.cpp 68 int newCount = animates.count();
70 int total = oldCount + newCount;
74 memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*));
79 newCount);
83 for (index = 0; index < newCount; index++) {
118 // total = oldCount + newCount;
126 int newCount = fAnimators.count();
130 int newTotal = records * newCount;
134 newTotal -= newCount;
139 sizeof(fSaveRestore[0]) * (newCount - oldCount))
    [all...]
  /external/srec/portable/src/
pmemory_ext.c 359 void PortMemGetCount(int *newCount, int *deleteCount)
361 *newCount = portNewCount;
  /external/skia/include/core/
SkTDArray.h 197 unsigned newCount = fCount - 1;
198 fCount = newCount;
199 if (index != newCount) {
200 memcpy(fArray + index, fArray + newCount, sizeof(T));
  /external/webkit/Source/WebCore/rendering/
CounterNode.cpp 184 int newCount = node->computeCountInParent();
185 if (oldCount == newCount)
187 node->m_countInParent = newCount;
  /libcore/luni/src/main/java/java/io/
RandomAccessFile.java 660 int newCount = (int) ((currentPos + count > eof) ? eof - currentPos : count);
661 seek(currentPos + newCount);
662 return newCount;
  /packages/inputmethods/LatinIME/native/src/
unigram_dictionary.h 102 Correction *correction, int *newCount,
  /packages/apps/Email/src/com/android/email/provider/
ContentCache.java 131 int newCount;
136 newCount = refCount - 1;
137 mMap.put(object, newCount);
139 newCount = 0;
142 return newCount;
  /frameworks/compile/libbcc/runtime/BlocksRuntime/
runtime.c 462 int32_t newCount;
464 newCount = latching_decr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK;
465 if (newCount > 0) return;
  /libcore/luni/src/main/java/java/util/
Vector.java 831 int newCount = elementCount - (end - start);
832 Arrays.fill(elementData, newCount, elementCount, null);
833 elementCount = newCount;
    [all...]

Completed in 1062 milliseconds

1 2