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

  /libcore/luni/src/main/java/java/lang/
AbstractStringBuilder.java 94 int newCount = ((value.length >> 1) + value.length) + 2;
95 char[] newData = new char[min > newCount ? min : newCount];
102 int newCount = count + 4;
103 if (newCount > value.length) {
104 enlargeBuffer(newCount);
113 int newCount = count + chars.length;
114 if (newCount > value.length) {
115 enlargeBuffer(newCount);
118 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);
ImmutableMultiset.java 236 public boolean setCount(E element, int oldCount, int newCount) {
LinkedListMultimap.java 654 public boolean setCount(K element, int oldCount, int newCount) {
655 return setCountImpl(this, element, oldCount, newCount);
Synchronized.java 542 public boolean setCount(E element, int oldCount, int newCount) {
544 return delegate().setCount(element, oldCount, newCount);
    [all...]
  /dalvik/vm/jdwp/
ExpandBuf.c 86 static void ensureSpace(ExpandBuf* pBuf, int newCount)
90 if (pBuf->curLen + newCount <= pBuf->maxLen)
93 while (pBuf->curLen + newCount > pBuf->maxLen)
  /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...]
SkDisplayApply.cpp 109 int newCount = fActive->fAnimators.count();
110 for (int index = oldCount; index < newCount; index++)
  /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/WebCore/rendering/
CounterNode.cpp 121 int newCount = node->computeCountInParent();
122 if (oldCount == newCount)
124 node->m_countInParent = newCount;
  /libcore/luni/src/main/java/java/io/
RandomAccessFile.java 750 int newCount = (int) ((currentPos + count > eof) ? eof - currentPos
752 seek(currentPos + newCount);
753 return newCount;
    [all...]
  /libcore/luni/src/main/java/java/util/
Vector.java 832 int newCount = elementCount - (end - start);
833 Arrays.fill(elementData, newCount, elementCount, null);
834 elementCount = newCount;
    [all...]
  /external/webkit/WebKit/win/
WebHistory.cpp 509 int newCount = CFArrayGetCount(entries);
512 *count = newCount;
516 if (*count < newCount) {
517 *count = newCount;
521 *count = newCount;
522 for (int i = 0; i < newCount; i++) {
    [all...]
  /packages/apps/Email/src/com/android/email/service/
MailService.java 144 * @param newCount the number of new messages
523 * @param newCount the number of new messages, or -1 if not being reported (don't update)
526 /* package */ AccountSyncReport updateAccountReport(long accountId, int newCount) {
542 if (newCount != -1) {
543 report.numNewMessages = newCount;
  /frameworks/base/core/jni/
android_server_BluetoothEventLoop.cpp 532 int newCount = --nat->pollMemberCount;
534 nat->pollData[y].fd = nat->pollData[newCount].fd;
535 nat->pollData[y].events = nat->pollData[newCount].events;
536 nat->pollData[y].revents = nat->pollData[newCount].revents;
537 nat->watchData[y] = nat->watchData[newCount];
    [all...]
android_util_Process.cpp 612 jsize newCount = (curCount == 0) ? 10 : (curCount*2);
613 jintArray newArray = env->NewIntArray(newCount);
625 curCount = newCount;
  /external/chromium/net/third_party/nss/ssl/
ssl3con.c     [all...]
  /prebuilt/common/eclipse/
org.eclipse.jface_3.4.2.M20090107-0800.jar 

Completed in 977 milliseconds