Home
last modified time | relevance | path

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

12345678

/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/chromium-trace/trace-viewer/src/base/
Dproperties.js17 function dispatchPropertyChange(target, propertyName, newValue, oldValue, argument
23 e.oldValue = oldValue;
37 var oldValue = obj[propertyName];
39 if (oldValue !== newValue)
41 newValue, oldValue, true, false);
132 var oldValue = this[privateName];
133 if (value !== oldValue) {
136 opt_setHook.call(this, value, oldValue);
137 dispatchPropertyChange(this, name, value, oldValue,
145 var oldValue = this.getAttribute(attributeName);
[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.java102 long oldValue = atomic.get(); in addAndGet() local
103 if (oldValue == 0L) { in addAndGet()
112 long newValue = oldValue + delta; in addAndGet()
113 if (atomic.compareAndSet(oldValue, newValue)) { in addAndGet()
151 long oldValue = atomic.get(); in getAndAdd() local
152 if (oldValue == 0L) { in getAndAdd()
161 long newValue = oldValue + delta; in getAndAdd()
162 if (atomic.compareAndSet(oldValue, newValue)) { in getAndAdd()
163 return oldValue; in getAndAdd()
186 long oldValue = atomic.get(); in put() local
[all …]
/external/chromium_org/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-testlib/src/com/google/common/collect/testing/
DConcurrentMapInterfaceTest.java83 V oldValue = map.putIfAbsent(keyToPut, valueToPut); in testPutIfAbsentNewKey() local
88 assertNull(oldValue); in testPutIfAbsentNewKey()
112 V oldValue = map.get(keyToPut); in testPutIfAbsentExistingKey() local
114 assertEquals(oldValue, map.putIfAbsent(keyToPut, valueToPut)); in testPutIfAbsentExistingKey()
115 assertEquals(oldValue, map.get(keyToPut)); in testPutIfAbsentExistingKey()
117 assertTrue(map.containsValue(oldValue)); in testPutIfAbsentExistingKey()
241 V oldValue = map.get(keyToRemove); in testRemoveKeyValueExisting() local
244 assertTrue(map.remove(keyToRemove, oldValue)); in testRemoveKeyValueExisting()
249 map.remove(keyToRemove, oldValue); in testRemoveKeyValueExisting()
297 V oldValue = map.get(keyToRemove); in testRemoveKeyValueDifferentValue() local
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/
Dcr.js99 function dispatchPropertyChange(target, propertyName, newValue, oldValue) { argument
103 e.oldValue = oldValue;
171 var oldValue = this[privateName];
172 if (value !== oldValue) {
175 opt_setHook.call(this, value, oldValue);
176 dispatchPropertyChange(this, name, value, oldValue);
182 var oldValue = this[name];
183 if (value !== oldValue) {
189 opt_setHook.call(this, value, oldValue);
190 dispatchPropertyChange(this, name, value, oldValue);
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/js/
Dcr.js51 function dispatchPropertyChange(target, propertyName, newValue, oldValue) { argument
55 e.oldValue = oldValue;
136 var oldValue = this[name];
137 if (value !== oldValue) {
140 opt_setHook.call(this, value, oldValue);
141 dispatchPropertyChange(this, name, value, oldValue);
148 var oldValue = this[name];
149 if (value !== oldValue) {
155 opt_setHook.call(this, value, oldValue);
156 dispatchPropertyChange(this, name, value, oldValue);
[all …]
/external/chromium_org/ui/webui/resources/js/
Dcr.js51 function dispatchPropertyChange(target, propertyName, newValue, oldValue) { argument
55 e.oldValue = oldValue;
143 var oldValue = this[name];
144 if (value !== oldValue) {
147 opt_setHook.call(this, value, oldValue);
148 dispatchPropertyChange(this, name, value, oldValue);
155 var oldValue = this[name];
156 if (value !== oldValue) {
162 opt_setHook.call(this, value, oldValue);
163 dispatchPropertyChange(this, name, value, oldValue);
[all …]
/external/chromium_org/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/src/com/google/common/collect/
DConcurrentHashMultiset.java237 int oldValue = existingCounter.get(); in add() local
238 if (oldValue != 0) { in add()
240 int newValue = IntMath.checkedAdd(oldValue, occurrences); in add()
241 if (existingCounter.compareAndSet(oldValue, newValue)) { in add()
243 return oldValue; in add()
247 + " occurrences to a count of " + oldValue); in add()
286 int oldValue = existingCounter.get(); in remove() local
287 if (oldValue != 0) { in remove()
288 int newValue = Math.max(0, oldValue - occurrences); in remove()
289 if (existingCounter.compareAndSet(oldValue, newValue)) { in remove()
[all …]
DAbstractBiMap.java114 V oldValue = delegate.put(key, value); in putInBothMaps() local
115 updateInverseMap(key, containedKey, oldValue, value); in putInBothMaps()
116 return oldValue; in putInBothMaps()
120 K key, boolean containedKey, V oldValue, V newValue) { in updateInverseMap() argument
122 removeFromInverseMap(oldValue); in updateInverseMap()
132 V oldValue = delegate.remove(key); in removeFromBothMaps() local
133 removeFromInverseMap(oldValue); in removeFromBothMaps()
134 return oldValue; in removeFromBothMaps()
137 private void removeFromInverseMap(V oldValue) { in removeFromInverseMap() argument
138 inverse.delegate.remove(oldValue); in removeFromInverseMap()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DMutationRecord.cpp83 RecordWithEmptyNodeLists(PassRefPtrWillBeRawPtr<Node> target, const String& oldValue) in RecordWithEmptyNodeLists() argument
85 , m_oldValue(oldValue) in RecordWithEmptyNodeLists()
99 virtual String oldValue() OVERRIDE { return m_oldValue; } in oldValue() function in blink::__anonee6cb0580111::RecordWithEmptyNodeLists
118 …ecord(PassRefPtrWillBeRawPtr<Node> target, const QualifiedName& name, const AtomicString& oldValue) in AttributesRecord() argument
119 : RecordWithEmptyNodeLists(target, oldValue) in AttributesRecord()
136 CharacterDataRecord(PassRefPtrWillBeRawPtr<Node> target, const String& oldValue) in CharacterDataRecord() argument
137 : RecordWithEmptyNodeLists(target, oldValue) in CharacterDataRecord()
168 virtual String oldValue() OVERRIDE { return String(); } in oldValue() function in blink::__anonee6cb0580111::MutationRecordWithNullOldValue
198 …butes(PassRefPtrWillBeRawPtr<Node> target, const QualifiedName& name, const AtomicString& oldValue) in createAttributes() argument
200 return adoptRefWillBeNoop(new AttributesRecord(target, name, oldValue)); in createAttributes()
[all …]
/external/chromium_org/ui/file_manager/file_manager/audio_player/elements/
Dvolume_controller.js48 modelChanged: function(oldValue, newValue) { argument
49 this.onVolumeChanged((oldValue || {}).volume, (newValue || {}).volume);
83 onVolumeChanged: function(oldValue, newValue) { argument
84 if (oldValue != newValue)
93 rawValueChanged: function(oldValue, newValue) { argument
94 if (oldValue != newValue)
Dtrack_list.js60 onShuffleChanged: function(oldValue, newValue) { argument
69 currentTrackIndexChanged: function(oldValue, newValue) { argument
70 if (oldValue === newValue)
73 if (!isNaN(oldValue) && 0 <= oldValue && oldValue < this.tracks.length)
74 this.tracks[oldValue].active = false;
99 tracksChanged: function(oldValue, newValue) { argument
/external/chromium_org/third_party/WebKit/Source/core/storage/
DStorageEvent.cpp50 …vent::create(const AtomicString& type, const String& key, const String& oldValue, const String& ne… in create() argument
52 return adoptRefWillBeNoop(new StorageEvent(type, key, oldValue, newValue, url, storageArea)); in create()
60 StorageEvent::StorageEvent(const AtomicString& type, const String& key, const String& oldValue, con… in StorageEvent() argument
63 , m_oldValue(oldValue) in StorageEvent()
73 , m_oldValue(initializer.oldValue) in StorageEvent()
80 …type, bool canBubble, bool cancelable, const String& key, const String& oldValue, const String& ne… in initStorageEvent() argument
88 m_oldValue = oldValue; in initStorageEvent()
DStorageEvent.h41 String oldValue; member
51 …vent> create(const AtomicString& type, const String& key, const String& oldValue, const String& ne…
56 const String& oldValue() const { return m_oldValue; } in oldValue() function
61 …type, bool canBubble, bool cancelable, const String& key, const String& oldValue, const String& ne…
72 …StorageEvent(const AtomicString& type, const String& key, const String& oldValue, const String& ne…
/external/chromium_org/extensions/renderer/resources/
Dweb_view.js423 var oldValue = mutation.oldValue;
425 if (oldValue != newValue) {
429 mutation.attributeName, oldValue, newValue);
444 function(name, oldValue, newValue) { argument
472 oldValue = oldValue || '';
475 if (oldValue === newValue) {
489 oldValue = oldValue || '';
492 if (oldValue === newValue) {
504 oldValue = oldValue || '';
509 if (newValue == '' && oldValue != '') {
[all …]
/external/chromium_org/chrome/renderer/resources/extensions/
Dextension_options.js98 function(name, oldValue, newValue) { argument
101 oldValue = oldValue || '';
104 if (oldValue === newValue)
107 if (name == 'extension' && !oldValue && newValue) {
143 function(name, oldValue, newValue) { argument
144 if (name == 'internalinstanceid' && !oldValue && !!newValue) {
305 proto.attributeChangedCallback = function(name, oldValue, newValue) { argument
310 internal.handleBrowserPluginAttributeMutation(name, oldValue, newValue);
334 proto.attributeChangedCallback = function(name, oldValue, newValue) {
338 internal.handleExtensionOptionsAttributeMutation(name, oldValue, newValue);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DAbstractBiMap.java110 V oldValue = delegate.put(key, value); in putInBothMaps() local
111 updateInverseMap(key, containedKey, oldValue, value); in putInBothMaps()
112 return oldValue; in putInBothMaps()
116 K key, boolean containedKey, V oldValue, V newValue) { in updateInverseMap() argument
118 removeFromInverseMap(oldValue); in updateInverseMap()
128 V oldValue = delegate.remove(key); in removeFromBothMaps() local
129 removeFromInverseMap(oldValue); in removeFromBothMaps()
130 return oldValue; in removeFromBothMaps()
133 private void removeFromInverseMap(V oldValue) { in removeFromInverseMap() argument
134 inverse.delegate.remove(oldValue); in removeFromInverseMap()
[all …]
/external/chromium_org/third_party/WebKit/Source/web/
DWebStorageEventDispatcherImpl.cpp44 const WebString& key, const WebString& oldValue, in dispatchLocalStorageEvent() argument
51 key, oldValue, newValue, securityOrigin.get(), pageURL, in dispatchLocalStorageEvent()
56 const WebString& key, const WebString& oldValue, in dispatchSessionStorageEvent() argument
63 key, oldValue, newValue, securityOrigin.get(), pageURL, in dispatchSessionStorageEvent()
/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()
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
DCustomElementCallbackInvocation.cpp73 …ementLifecycleCallbacks>, const AtomicString& name, const AtomicString& oldValue, const AtomicStri…
83 …ycleCallbacks> callbacks, const AtomicString& name, const AtomicString& oldValue, const AtomicStri… in AttributeChangedInvocation() argument
86 , m_oldValue(oldValue) in AttributeChangedInvocation()
130 …ycleCallbacks> callbacks, const AtomicString& name, const AtomicString& oldValue, const AtomicStri… in createAttributeChangedInvocation() argument
132 return adoptPtr(new AttributeChangedInvocation(callbacks, name, oldValue, newValue)); in createAttributeChangedInvocation()

12345678