Home
last modified time | relevance | path

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

123456789

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DSetValues002Test.java35 Value oldValue = new Value(StackTrace002Debuggee.BOOLEAN_PARAM_VALUE); in testSetValues001_Boolean() local
38 suspensionMethodInfo.addVariable("param", oldValue, newValue); in testSetValues001_Boolean()
40 methodInfo.addVariable("param", oldValue, newValue); in testSetValues001_Boolean()
52 Value oldValue = new Value(StackTrace002Debuggee.BYTE_PARAM_VALUE); in testSetValues002_Byte() local
55 suspensionMethodInfo.addVariable("param", oldValue, newValue); in testSetValues002_Byte()
57 methodInfo.addVariable("param", oldValue, newValue); in testSetValues002_Byte()
69 Value oldValue = new Value(StackTrace002Debuggee.CHAR_PARAM_VALUE); in testSetValues003_Char() local
72 suspensionMethodInfo.addVariable("param", oldValue, newValue); in testSetValues003_Char()
74 methodInfo.addVariable("param", oldValue, newValue); in testSetValues003_Char()
86 Value oldValue = new Value(StackTrace002Debuggee.SHORT_PARAM_VALUE); in testSetValues004_Short() local
[all …]
DGetValues002Test.java35 Value oldValue = new Value(StackTrace002Debuggee.BOOLEAN_PARAM_VALUE); in testGetValues001_Boolean() local
37 suspensionMethodInfo.addVariable("param", oldValue); in testGetValues001_Boolean()
39 methodInfo.addVariable("param", oldValue); in testGetValues001_Boolean()
83 Value oldValue = new Value(StackTrace002Debuggee.SHORT_PARAM_VALUE); in testGetValues004_Short() local
85 suspensionMethodInfo.addVariable("param", oldValue); in testGetValues004_Short()
87 methodInfo.addVariable("param", oldValue); in testGetValues004_Short()
99 Value oldValue = new Value(StackTrace002Debuggee.INT_PARAM_VALUE); in testGetValues005_Int() local
101 suspensionMethodInfo.addVariable("param", oldValue); in testGetValues005_Int()
103 methodInfo.addVariable("param", oldValue); in testGetValues005_Int()
115 Value oldValue = new Value(StackTrace002Debuggee.INT_PARAM_VALUE); in testGetValues005_Int2() local
[all …]
/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/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/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/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 …]
/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/tpm2/
DNV_SetBits.c28 UINT64 oldValue; in TPM2_NV_SetBits() local
49 oldValue = 0; in TPM2_NV_SetBits()
52 NvGetIntIndexData(in->nvIndex, &nvIndex, &oldValue); in TPM2_NV_SetBits()
55 newValue = oldValue | in->bits; in TPM2_NV_SetBits()
60 && newValue != oldValue) in TPM2_NV_SetBits()
/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.java130 int oldValue = multiset.setCount(key, newValue); in call() local
131 deltas[keyIndex] += (newValue - oldValue); in call()
136 int oldValue = multiset.count(key); in call() local
137 if (multiset.setCount(key, oldValue, newValue)) { in call()
138 deltas[keyIndex] += (newValue - oldValue); in call()
144 int oldValue = multiset.remove(key, delta); in call() local
145 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/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DConfigLoader.java68 final String oldValue = (String) entry.getValue(); in substSystemProperties() local
70 final Matcher m = SUBST_PATTERN.matcher(oldValue); in substSystemProperties()
73 newValue.append(oldValue.substring(pos, m.start())); in substSystemProperties()
78 newValue.append(oldValue.substring(pos)); in substSystemProperties()
/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 ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.core.runtime_3.11.0.v20150405-1723.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCacheValue.java137 V oldValue = ref.get(); in resetIfCleared() local
138 if (oldValue == null) { in resetIfCleared()
144 return oldValue; in resetIfCleared()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCacheValue.java139 V oldValue = ref.get(); in resetIfCleared() local
140 if (oldValue == null) { in resetIfCleared()
146 return oldValue; in resetIfCleared()
/external/robolectric/v1/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/v8/src/js/
Dharmony-atomics.js42 function AtomicsCompareExchangeJS(sta, index, oldValue, newValue) { argument
48 oldValue = TO_NUMBER(oldValue);
50 return %_AtomicsCompareExchange(sta, index, oldValue, newValue);
/external/clang/test/CodeGenObjCXX/
Drefence-assign-write-barrier.mm14 NSArray* oldValue = target;
18 [oldValue release];

123456789