/external/chromium-trace/trace-viewer/src/base/ |
D | properties.js | 17 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/ |
D | PropertyChangeSupportTest.java | 332 Object oldValue = new Object(); in testRemovePropertyChangeListener_PropertyChangeListener_String_AllRegistered() local 335 "myProp", oldValue, newValue); in testRemovePropertyChangeListener_PropertyChangeListener_String_AllRegistered() 342 sup.firePropertyChange("myProp", oldValue, newValue); in testRemovePropertyChangeListener_PropertyChangeListener_String_AllRegistered() 605 Object oldValue = new Object(); in testFirePropertyChange_Object_Normal() local 608 "myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal() 610 "myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal() 614 "myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal() 619 sup.firePropertyChange("myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal() 634 Object oldValue = newValue; in testFirePropertyChange_Object_EqualValues() local 637 "myProp", oldValue, newValue); in testFirePropertyChange_Object_EqualValues() [all …]
|
D | PropertyChangeEventTest.java | 37 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/ |
D | AtomicLongMap.java | 102 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/harmony/ |
D | object-observe.js | 299 { object: obj, type: 'update', name: '', oldValue: '' }, property 300 { object: obj, type: 'delete', name: '', oldValue: ' ' }, property 593 { object: thingy, type: 'update', name: 'a', oldValue: 2 }, property 594 { object: thingy, type: 'update', name: 'b', oldValue: 4 }, property 595 { object: thingy, type: 'update', name: 'b', oldValue: 7 }, property 596 { object: thingy, type: 'update', name: 'a', oldValue: 5 }, property 597 { object: thingy, type: 'update', name: 'b', oldValue: 8 }, property 598 { object: thingy, type: 'update', name: 'a', oldValue: 10 }, property 599 { object: thingy, type: 'update', name: 'a', oldValue: 11 }, property 600 { object: thingy, type: 'update', name: 'b', oldValue: 16 }, property [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | ConcurrentMapInterfaceTest.java | 83 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/v8/test/webkit/fast/js/ |
D | date-preserve-milliseconds.js | 31 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/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/ |
D | cr.js | 99 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/ui/webui/resources/js/ |
D | cr.js | 51 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/chrome/browser/resources/shared/js/ |
D | cr.js | 97 function dispatchPropertyChange(target, propertyName, newValue, oldValue) { argument 101 e.oldValue = oldValue; 169 var oldValue = this[privateName]; 170 if (value !== oldValue) { 173 opt_setHook.call(this, value, oldValue); 174 dispatchPropertyChange(this, name, value, oldValue); 180 var oldValue = this[name]; 181 if (value !== oldValue) { 184 opt_setHook.call(this, value, oldValue); 185 dispatchPropertyChange(this, name, value, oldValue); [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/js/ |
D | cr.js | 51 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/guava/guava/src/com/google/common/collect/ |
D | ConcurrentHashMultiset.java | 237 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 …]
|
D | AbstractBiMap.java | 114 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/ |
D | MutationRecord.cpp | 73 RecordWithEmptyNodeLists(PassRefPtr<Node> target, const String& oldValue) in RecordWithEmptyNodeLists() argument 75 , m_oldValue(oldValue) in RecordWithEmptyNodeLists() 81 virtual String oldValue() OVERRIDE { return m_oldValue; } in oldValue() function in WebCore::__anon614f87eb0111::RecordWithEmptyNodeLists 100 … AttributesRecord(PassRefPtr<Node> target, const QualifiedName& name, const AtomicString& oldValue) in AttributesRecord() argument 101 : RecordWithEmptyNodeLists(target, oldValue) in AttributesRecord() 118 CharacterDataRecord(PassRefPtr<Node> target, const String& oldValue) in CharacterDataRecord() argument 119 : RecordWithEmptyNodeLists(target, oldValue) in CharacterDataRecord() 144 virtual String oldValue() OVERRIDE { return String(); } in oldValue() function in WebCore::__anon614f87eb0111::MutationRecordWithNullOldValue 174 …:createAttributes(PassRefPtr<Node> target, const QualifiedName& name, const AtomicString& oldValue) in createAttributes() argument 176 return adoptRef(new AttributesRecord(target, name, oldValue)); in createAttributes() [all …]
|
D | MutationRecord.h | 48 …ord> createAttributes(PassRefPtr<Node> target, const QualifiedName&, const AtomicString& oldValue); 49 …ic PassRefPtr<MutationRecord> createCharacterData(PassRefPtr<Node> target, const String& oldValue); 70 virtual String oldValue() { return String(); } in oldValue() function
|
/external/chromium_org/third_party/WebKit/Source/core/storage/ |
D | StorageEvent.cpp | 52 …vent::create(const AtomicString& type, const String& key, const String& oldValue, const String& ne… in create() argument 54 return adoptRef(new StorageEvent(type, key, oldValue, newValue, url, storageArea)); in create() 62 StorageEvent::StorageEvent(const AtomicString& type, const String& key, const String& oldValue, con… in StorageEvent() argument 65 , m_oldValue(oldValue) in StorageEvent() 76 , m_oldValue(initializer.oldValue) in StorageEvent() 84 …type, bool canBubble, bool cancelable, const String& key, const String& oldValue, const String& ne… in initStorageEvent() argument 92 m_oldValue = oldValue; in initStorageEvent()
|
D | StorageEvent.h | 40 String oldValue; member 49 …vent> create(const AtomicString& type, const String& key, const String& oldValue, const String& ne… 54 const String& oldValue() const { return m_oldValue; } in oldValue() function 60 …type, bool canBubble, bool cancelable, const String& key, const String& oldValue, const String& ne… 69 …StorageEvent(const AtomicString& type, const String& key, const String& oldValue, const String& ne…
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | AbstractBiMap.java | 110 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/ |
D | WebStorageEventDispatcherImpl.cpp | 44 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()
|
D | StorageAreaProxy.cpp | 156 void StorageAreaProxy::dispatchLocalStorageEvent(const String& key, const String& oldValue, const S… in dispatchLocalStorageEvent() argument 165 …->enqueueWindowEvent(StorageEvent::create(EventTypeNames::storage, key, oldValue, newValue, pageUR… in dispatchLocalStorageEvent() 167 …InspectorInstrumentation::didDispatchDOMStorageEvent(*it, key, oldValue, newValue, LocalStorage, s… in dispatchLocalStorageEvent() 184 void StorageAreaProxy::dispatchSessionStorageEvent(const String& key, const String& oldValue, const… in dispatchSessionStorageEvent() argument 195 …->enqueueWindowEvent(StorageEvent::create(EventTypeNames::storage, key, oldValue, newValue, pageUR… in dispatchSessionStorageEvent() 197 …InspectorInstrumentation::didDispatchDOMStorageEvent(page, key, oldValue, newValue, SessionStorage… in dispatchSessionStorageEvent()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ConcurrentHashMultisetBasherTest.java | 130 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/ |
D | CustomElementCallbackInvocation.cpp | 91 …ementLifecycleCallbacks>, const AtomicString& name, const AtomicString& oldValue, const AtomicStri… 101 …ycleCallbacks> callbacks, const AtomicString& name, const AtomicString& oldValue, const AtomicStri… in AttributeChangedInvocation() argument 104 , 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()
|
/external/srec/portable/src/ |
D | phashtable.c | 341 void **oldValue) in PHashTablePutValue() argument 354 if (oldValue != NULL) *oldValue = (void *) entry->value; in PHashTablePutValue() 417 if (oldValue != NULL) *oldValue = NULL; in PHashTablePutValue() 424 void **oldValue) in PHashTableRemoveValue() argument 443 if (oldValue != NULL) in PHashTableRemoveValue() 444 *oldValue = (void*) entry->value; in PHashTableRemoveValue() 449 if (oldValue != NULL) in PHashTableRemoveValue() 450 *oldValue = NULL; in PHashTableRemoveValue() 477 void **oldValue) in PHashTableEntrySetValue() argument 481 if (oldValue != NULL) *oldValue = (void *) entry->value; in PHashTableEntrySetValue()
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | list_selection_model.js | 267 var oldValue = this.leadIndex_; 271 if (!this.changeCount_ && newValue != oldValue) 272 cr.dispatchPropertyChange(this, 'leadIndex', newValue, oldValue); 286 var oldValue = this.anchorIndex_; 290 if (!this.changeCount_ && newValue != oldValue) 291 cr.dispatchPropertyChange(this, 'anchorIndex', newValue, oldValue);
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
D | web_view.js | 406 var oldValue = mutation.oldValue; 408 if (oldValue != newValue) { 412 mutation.attributeName, oldValue, newValue); 427 function(name, oldValue, newValue) { argument 436 oldValue = oldValue || ''; 441 if (newValue == '' && oldValue != '') { 446 this.webviewNode_.setAttribute('src', oldValue); 669 var oldValue = this.webviewNode_.getAttribute('src'); 671 if (event.isTopLevel && (oldValue != newValue)) { 929 proto.attributeChangedCallback = function(name, oldValue, newValue) { argument [all …]
|