HomeSort by relevance Sort by last modified time
    Searched full:oldcount (Results 1 - 25 of 30) sorted by null

1 2

  /external/guava/src/com/google/common/collect/
AbstractMapBasedMultiset.java 247 int oldCount;
249 oldCount = 0;
252 oldCount = frequency.get();
253 long newCount = (long) oldCount + (long) occurrences;
259 return oldCount;
273 int oldCount = frequency.get();
276 if (oldCount > occurrences) {
279 numberRemoved = oldCount;
285 return oldCount;
293 int oldCount;
    [all...]
ForwardingMultiset.java 73 public boolean setCount(E element, int oldCount, int newCount) {
74 return delegate().setCount(element, oldCount, newCount);
ConcurrentHashMultiset.java 316 * only if the count is currently {@code oldCount}. If {@code element} does
317 * not appear in the multiset exactly {@code oldCount} times, no changes will
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) {
328 checkNonnegative(oldCount, "oldCount");
331 if (oldCount == 0) {
335 return countMap.remove(element, oldCount);
338 if (oldCount == 0)
    [all...]
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);
443 int oldCount = self.count(element);
445 int delta = count - oldCount;
452 return oldCount;
456 Multiset<E> self, E element, int oldCount, int newCount) {
457 checkNonnegative(oldCount, "oldCount");
460 if (self.count(element) == oldCount) {
    [all...]
AbstractMultiset.java 152 public boolean setCount(E element, int oldCount, int newCount) {
153 return setCountImpl(this, element, oldCount, newCount);
Multiset.java 152 * current count. If the current count is not {@code oldCount}, no change is
157 * @param oldCount the expected present 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);
LinkedListMultimap.java 641 int oldCount = count(key);
647 return oldCount;
654 public boolean setCount(K element, int oldCount, int newCount) {
655 return setCountImpl(this, element, oldCount, newCount);
ImmutableMultiset.java 236 public boolean setCount(E element, int oldCount, int newCount) {
Synchronized.java 542 public boolean setCount(E element, int oldCount, int newCount) {
544 return delegate().setCount(element, oldCount, newCount);
    [all...]
  /external/skia/src/animator/
SkTypedArray.cpp 113 unsigned oldCount = fCount;
121 memcpy(fArray + oldCount, src, sizeof(int32_t) * count);
123 return fArray + oldCount;
164 int oldCount = fCount;
167 memmove(dst + count, dst, sizeof(int32_t) * (oldCount - index));
SkAnimateActive.cpp 66 int oldCount = fAnimators.count();
70 int total = oldCount + newCount;
74 memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*));
75 for (index = oldCount; index < total; index++)
78 memcpy(&fAnimators[oldCount], animates.begin(), sizeof(fAnimators[0]) *
81 initState(apply, oldCount);
86 SkActive::SkState& testState = fState[oldCount + index];
87 for (int inner = 0; inner < oldCount; inner++) {
106 saveIndex -= oldCount;
113 oldCount--
    [all...]
SkAnimateActive.h 47 void appendSave(int oldCount);
SkDisplayApply.cpp 105 int oldCount = fActive->fAnimators.count();
108 fActive->appendSave(oldCount);
110 for (int index = oldCount; index < newCount; index++)
  /external/skia/include/core/
SkTDArray.h 154 unsigned oldCount = fCount;
157 src + count <= fArray || fArray + oldCount <= src);
161 memcpy(fArray + oldCount, src, sizeof(T) * count);
164 return fArray + oldCount;
179 int oldCount = fCount;
182 memmove(dst + count, dst, sizeof(T) * (oldCount - index));
  /development/simulator/wrapsim/
DevFb.c 84 int oldcount; local
86 oldcount = wsAtomicAdd(&fbState->refCount, -1);
88 if (oldcount == 0) {
  /external/webkit/WebCore/rendering/
CounterNode.cpp 120 int oldCount = node->m_countInParent;
122 if (oldCount == newCount)
  /frameworks/base/core/java/android/database/
BulkCursorToCursorAdaptor.java 153 int oldCount = mCount;
  /external/webkit/WebCore/platform/
ScrollView.cpp 586 int oldCount = m_scrollbarsAvoidingResizer;
594 if ((oldCount > 0 && m_scrollbarsAvoidingResizer == 0) ||
595 (oldCount == 0 && m_scrollbarsAvoidingResizer > 0))
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AllApps3D.java     [all...]
  /external/guava/javadoc/com/google/common/collect/
ConcurrentHashMultiset.html 350 int&nbsp;oldCount,
355 only if the count is currently <code>oldCount</code>.</TD>
    [all...]
ForwardingMultiset.html 252 int&nbsp;oldCount,
    [all...]
Multiset.html 313 int&nbsp;oldCount,
462 int&nbsp;oldCount,
467 current count. If the current count is not <code>oldCount</code>, no change is
475 only if explicitly allowed by the implementation<DD><CODE>oldCount</CODE> - the expected present count of the element in this multiset<DD><CODE>newCount</CODE> - the desired count of the element in this multiset
478 <code>oldCount == newCount</code>.
480 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>oldCount</code> or <code>newCount</code> is
483 implementation does not permit null elements. Note that if <code>oldCount</code> and <code>newCount</code> are both zero, the implementor may
    [all...]
EnumMultiset.html 340 int&nbsp;oldCount,
    [all...]
HashMultiset.html 353 int&nbsp;oldCount,
    [all...]
LinkedHashMultiset.html 358 int&nbsp;oldCount,
    [all...]

Completed in 4801 milliseconds

1 2