/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 );
|
reflist.c | 71 int newcount = l->size + count; local 72 if (newcount > l->max) { 84 while (newmax < 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...] |
/external/e2fsprogs/lib/ext2fs/ |
ext_attr.c | 104 __u32 *newcount) 127 if (newcount) 128 *newcount = header->h_refcount;
|
/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);
|
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);
|
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);
|
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);
|
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);
|
/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/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/Email/emailcommon/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/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);
|
/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));
|
/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
MergedAdapter.java | 114 int newCount = count + a.getCount(); 115 if (position < newCount) { 118 count = 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/webkit/Source/WebCore/rendering/ |
CounterNode.cpp | 184 int newCount = node->computeCountInParent(); 185 if (oldCount == newCount) 187 node->m_countInParent = newCount;
|
/external/webkit/Source/WebKit/win/ |
WebHistory.cpp | 507 int newCount = CFArrayGetCount(entries); 510 *count = newCount; 514 if (*count < newCount) { 515 *count = newCount; 519 *count = newCount; 520 for (int i = 0; i < newCount; i++) { [all...] |
/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;
|
/external/srec/portable/src/ |
pmemory_ext.c | 359 void PortMemGetCount(int *newCount, int *deleteCount) 361 *newCount = portNewCount;
|