Home
last modified time | relevance | path

Searched refs:oldValue (Results 1 – 25 of 152) sorted by relevance

1234567

/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
DAbstractInterceptFieldCallback.java23 public int writeInt(Object obj, String name, int oldValue, int newValue) { return newValue; } in writeInt() argument
24 … public char writeChar(Object obj, String name, char oldValue, char newValue) { return newValue; } in writeChar() argument
25 … public byte writeByte(Object obj, String name, byte oldValue, byte newValue) { return newValue; } in writeByte() argument
26 …public boolean writeBoolean(Object obj, String name, boolean oldValue, boolean newValue) { return … in writeBoolean() argument
27 …public short writeShort(Object obj, String name, short oldValue, short newValue) { return newValue… in writeShort() argument
28 …public float writeFloat(Object obj, String name, float oldValue, float newValue) { return newValue… in writeFloat() argument
29 …public double writeDouble(Object obj, String name, double oldValue, double newValue) { return newV… in writeDouble() argument
30 … public long writeLong(Object obj, String name, long oldValue, long newValue) { return newValue; } in writeLong() argument
31 …public Object writeObject(Object obj, String name, Object oldValue, Object newValue) { return newV… in writeObject() argument
33 public int readInt(Object obj, String name, int oldValue) { return oldValue; } in readInt() argument
[all …]
DInterceptFieldCallback.java23 int writeInt(Object obj, String name, int oldValue, int newValue); in writeInt() argument
24 char writeChar(Object obj, String name, char oldValue, char newValue); in writeChar() argument
25 byte writeByte(Object obj, String name, byte oldValue, byte newValue); in writeByte() argument
26 boolean writeBoolean(Object obj, String name, boolean oldValue, boolean newValue); in writeBoolean() argument
27 short writeShort(Object obj, String name, short oldValue, short newValue); in writeShort() argument
28 float writeFloat(Object obj, String name, float oldValue, float newValue); in writeFloat() argument
29 double writeDouble(Object obj, String name, double oldValue, double newValue); in writeDouble() argument
30 long writeLong(Object obj, String name, long oldValue, long newValue); in writeLong() argument
31 Object writeObject(Object obj, String name, Object oldValue, Object newValue); in writeObject() argument
33 int readInt(Object obj, String name, int oldValue); in readInt() argument
[all …]
/external/jetty/src/java/org/eclipse/jetty/util/
DAtomics.java32 long oldValue = currentMin.get(); in updateMin() local
33 while (newValue < oldValue) in updateMin()
35 if (currentMin.compareAndSet(oldValue, newValue)) in updateMin()
37 oldValue = currentMin.get(); in updateMin()
43 long oldValue = currentMax.get(); in updateMax() local
44 while (newValue > oldValue) in updateMax()
46 if (currentMax.compareAndSet(oldValue, newValue)) in updateMax()
48 oldValue = currentMax.get(); in updateMax()
54 int oldValue = currentMin.get(); in updateMin() local
55 while (newValue < oldValue) in updateMin()
[all …]
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeSupportTest.java333 Object oldValue = new Object(); in testRemovePropertyChangeListener_PropertyChangeListener_String_AllRegistered() local
336 "myProp", oldValue, newValue); in testRemovePropertyChangeListener_PropertyChangeListener_String_AllRegistered()
343 sup.firePropertyChange("myProp", oldValue, newValue); in testRemovePropertyChangeListener_PropertyChangeListener_String_AllRegistered()
606 Object oldValue = new Object(); in testFirePropertyChange_Object_Normal() local
609 "myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal()
611 "myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal()
615 "myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal()
620 sup.firePropertyChange("myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal()
635 Object oldValue = newValue; in testFirePropertyChange_Object_EqualValues() local
638 "myProp", oldValue, newValue); in testFirePropertyChange_Object_EqualValues()
[all …]
DPropertyChangeEventTest.java37 Object oldValue = new Object(); in testConstructor_Normal() local
41 oldValue, newValue); in testConstructor_Normal()
44 assertSame(oldValue, event.getOldValue()); in testConstructor_Normal()
69 Object oldValue = new Object(); in testConstructor_NullProperty() local
72 oldValue, newValue); in testConstructor_NullProperty()
75 assertSame(oldValue, event.getOldValue()); in testConstructor_NullProperty()
97 Object oldValue = new Object(); in testSetPropagationId_Normal() local
101 oldValue, newValue); in testSetPropagationId_Normal()
109 assertSame(oldValue, event.getOldValue()); in testSetPropagationId_Normal()
119 Object oldValue = new Object(); in testSetPropagationId_Null() local
[all …]
/external/v8/test/mjsunit/es7/
Dobject-observe.js305 { object: obj, type: 'update', name: '', oldValue: '' }, property
306 { object: obj, type: 'delete', name: '', oldValue: ' ' }, property
599 { object: thingy, type: 'update', name: 'a', oldValue: 2 }, property
600 { object: thingy, type: 'update', name: 'b', oldValue: 4 }, property
601 { object: thingy, type: 'update', name: 'b', oldValue: 7 }, property
602 { object: thingy, type: 'update', name: 'a', oldValue: 5 }, property
603 { object: thingy, type: 'update', name: 'b', oldValue: 8 }, property
604 { object: thingy, type: 'update', name: 'a', oldValue: 10 }, property
605 { object: thingy, type: 'update', name: 'a', oldValue: 11 }, property
606 { object: thingy, type: 'update', name: 'b', oldValue: 16 }, property
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DAtomicLongMap.java116 long oldValue = atomic.get(); in addAndGet() local
117 if (oldValue == 0L) { in addAndGet()
126 long newValue = oldValue + delta; in addAndGet()
127 if (atomic.compareAndSet(oldValue, newValue)) { in addAndGet()
165 long oldValue = atomic.get(); in getAndAdd() local
166 if (oldValue == 0L) { in getAndAdd()
175 long newValue = oldValue + delta; in getAndAdd()
176 if (atomic.compareAndSet(oldValue, newValue)) { in getAndAdd()
177 return oldValue; in getAndAdd()
200 long oldValue = atomic.get(); in put() local
[all …]
/external/guava/guava/src/com/google/common/collect/
DConcurrentHashMultiset.java229 int oldValue = existingCounter.get(); in add() local
230 if (oldValue != 0) { in add()
232 int newValue = IntMath.checkedAdd(oldValue, occurrences); in add()
233 if (existingCounter.compareAndSet(oldValue, newValue)) { in add()
235 return oldValue; in add()
239 + " occurrences to a count of " + oldValue); in add()
287 int oldValue = existingCounter.get(); in remove() local
288 if (oldValue != 0) { in remove()
289 int newValue = Math.max(0, oldValue - occurrences); in remove()
290 if (existingCounter.compareAndSet(oldValue, newValue)) { in remove()
[all …]
DAbstractBiMap.java131 V oldValue = delegate.put(key, value); in putInBothMaps() local
132 updateInverseMap(key, containedKey, oldValue, value); in putInBothMaps()
133 return oldValue; in putInBothMaps()
137 K key, boolean containedKey, V oldValue, V newValue) { in updateInverseMap() argument
139 removeFromInverseMap(oldValue); in updateInverseMap()
149 V oldValue = delegate.remove(key); in removeFromBothMaps() local
150 removeFromInverseMap(oldValue); in removeFromBothMaps()
151 return oldValue; in removeFromBothMaps()
154 private void removeFromInverseMap(V oldValue) { in removeFromInverseMap() argument
155 inverse.delegate.remove(oldValue); in removeFromInverseMap()
[all …]
DForwardingConcurrentMap.java57 public boolean replace(K key, V oldValue, V newValue) { in replace() argument
58 return delegate().replace(key, oldValue, newValue); in replace()
/external/v8/test/webkit/fast/js/
Ddate-preserve-milliseconds.js31 var oldValue = d.getMilliseconds(); variable
34 shouldBe("d.getMilliseconds()", oldValue.toString());
36 shouldBe("d.getMilliseconds()", oldValue.toString());
38 shouldBe("d.getMilliseconds()", oldValue.toString());
40 shouldBe("d.getMilliseconds()", oldValue.toString());
42 shouldBe("d.getMilliseconds()", oldValue.toString());
44 shouldBe("d.getMilliseconds()", oldValue.toString());
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DAbstractBiMap.java127 V oldValue = delegate.put(key, value); in putInBothMaps() local
128 updateInverseMap(key, containedKey, oldValue, value); in putInBothMaps()
129 return oldValue; in putInBothMaps()
133 K key, boolean containedKey, V oldValue, V newValue) { in updateInverseMap() argument
135 removeFromInverseMap(oldValue); in updateInverseMap()
145 V oldValue = delegate.remove(key); in removeFromBothMaps() local
146 removeFromInverseMap(oldValue); in removeFromBothMaps()
147 return oldValue; in removeFromBothMaps()
150 private void removeFromInverseMap(V oldValue) { in removeFromInverseMap() argument
151 inverse.delegate.remove(oldValue); in removeFromInverseMap()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetBasherTest.java125 int oldValue = multiset.setCount(key, newValue); in call() local
126 deltas[keyIndex] += (newValue - oldValue); in call()
131 int oldValue = multiset.count(key); in call() local
132 if (multiset.setCount(key, oldValue, newValue)) { in call()
133 deltas[keyIndex] += (newValue - oldValue); in call()
139 int oldValue = multiset.remove(key, delta); in call() local
140 deltas[keyIndex] -= Math.min(delta, oldValue); in call()
DMapMakerInternalMapTest.java573 Object oldValue = new Object(); in testSegmentReplaceValue() local
579 DummyValueReference<Object, Object> oldValueRef = DummyValueReference.create(oldValue, entry); in testSegmentReplaceValue()
583 assertFalse(segment.replace(key, hash, oldValue, newValue)); in testSegmentReplaceValue()
590 assertSame(oldValue, segment.get(key, hash)); in testSegmentReplaceValue()
591 assertTrue(segment.replace(key, hash, oldValue, newValue)); in testSegmentReplaceValue()
596 assertFalse(segment.replace(key, hash, oldValue, newValue)); in testSegmentReplaceValue()
602 assertSame(oldValue, segment.get(key, hash)); in testSegmentReplaceValue()
604 assertFalse(segment.replace(key, hash, oldValue, newValue)); in testSegmentReplaceValue()
617 Object oldValue = new Object(); in testSegmentReplace() local
623 DummyValueReference<Object, Object> oldValueRef = DummyValueReference.create(oldValue, entry); in testSegmentReplace()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.runtime_3.6.0.v20100505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.pde.core_3.6.1.v20100902_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSoftCache.java93 V oldValue = ref.get(); in setIfAbsent() local
94 if(oldValue == null) { in setIfAbsent()
98 return oldValue; in setIfAbsent()
/external/guava/guava/src/com/google/common/cache/
DCacheLoader.java94 public ListenableFuture<V> reload(K key, V oldValue) throws Exception { in reload() argument
96 checkNotNull(oldValue); in reload()
193 public ListenableFuture<V> reload(final K key, final V oldValue) throws Exception { in asyncReloading() argument
197 return loader.reload(key, oldValue).get(); in asyncReloading()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTextView.java76 CharSequence oldValue = this.text; in setText() local
79 sendOnTextChanged(oldValue); in setText()
87 CharSequence oldValue = this.text; in append() local
101 sendOnTextChanged(oldValue); in append()
109 CharSequence oldValue = this.text; in setText() local
112 sendOnTextChanged(oldValue); in setText()
122 private void sendOnTextChanged(CharSequence oldValue) { in sendOnTextChanged() argument
124 watcher.onTextChanged(text, 0, oldValue.length(), text.length()); in sendOnTextChanged()
/external/clang/test/CodeGenObjCXX/
Drefence-assign-write-barrier.mm14 NSArray* oldValue = target;
18 [oldValue release];
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
DConcurrentHashMap.java73 public boolean replace(K key, V oldValue, V newValue) { in replace() argument
74 if (oldValue == null || newValue == null) { in replace()
76 } else if (containsKey(key) && get(key).equals(oldValue)) { in replace()
/external/webrtc/src/system_wrappers/source/
Datomic32_win.cc60 const LONG oldValue = InterlockedCompareExchange( in CompareExchange() local
65 return (oldValue == compareValue); in CompareExchange()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DSparseArrayTest.java68 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithDefaultCapacity() local
70 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
134 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithSpecifiedCapacity() local
136 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java832 final V oldValue = entry.getValue(); in testEntrySetSetValue() local
834 assertEquals(oldValue, returnedValue); in testEntrySetSetValue()
857 final V oldValue = entry.getValue(); in testEntrySetSetValueSameValue() local
858 final V returnedValue = entry.setValue(oldValue); in testEntrySetSetValueSameValue()
859 assertEquals(oldValue, returnedValue); in testEntrySetSetValueSameValue()
861 mapEntry(entry.getKey(), oldValue))); in testEntrySetSetValueSameValue() local
862 assertEquals(oldValue, map.get(entry.getKey())); in testEntrySetSetValueSameValue()
1015 V oldValue = map.put(keyToPut, valueToPut); in testPutNewKey() local
1020 assertNull(oldValue); in testPutNewKey()
1073 final V oldValue = map.get(null); in testPutNullKey() local
[all …]
/external/icu/icu4c/source/test/cintltst/
Dchashtst.c341 int32_t oldValue = in _put() local
345 key, u_errorName(status), oldValue); in _put()
346 } else if (oldValue != expectedOldValue) { in _put()
348 key, oldValue, expectedOldValue); in _put()
351 key, value, oldValue); in _put()

1234567