Searched refs:oldValue (Results 1 - 25 of 139) sorted by relevance

123456

/external/webkit/Source/WebKit/chromium/src/
H A DStorageEventDispatcherChromium.cpp46 void StorageEventDispatcher::dispatch(const String& key, const String& oldValue, argument
51 WebKit::webKitClient()->dispatchStorageEvent(key, oldValue, newValue, origin->toString(), WebKit::WebURL(), storageType == LocalStorage);
H A DStorageAreaProxy.cpp78 WebKit::WebString oldValue; local
80 m_storageArea->setItem(key, value, frame->document()->url(), result, oldValue, webFrame);
82 String oldValueString = oldValue;
84 storageEvent(key, oldValue, value, m_storageType, frame->document()->securityOrigin(), frame);
85 return oldValue;
90 WebKit::WebString oldValue; local
91 m_storageArea->removeItem(key, frame->document()->url(), oldValue);
92 if (!oldValue.isNull())
93 storageEvent(key, oldValue, String(), m_storageType, frame->document()->securityOrigin(), frame);
94 return oldValue;
112 storageEvent(const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* securityOrigin, Frame* sourceFrame) argument
[all...]
H A DStorageEventDispatcherImpl.h49 void dispatchStorageEvent(const String& key, const String& oldValue,
H A DWebStorageAreaImpl.cpp69 void WebStorageAreaImpl::setItem(const WebString& key, const WebString& value, const WebURL& url, Result& result, WebString& oldValue, WebFrame*) argument
74 oldValue = m_storageArea->setItem(key, value, exceptionCode, 0);
83 void WebStorageAreaImpl::removeItem(const WebString& key, const WebURL& url, WebString& oldValue) argument
86 oldValue = m_storageArea->removeItem(key, 0);
H A DWebStorageEventDispatcherImpl.h46 virtual void dispatchStorageEvent(const WebString& key, const WebString& oldValue,
H A DWebStorageAreaImpl.h48 virtual void setItem(const WebString& key, const WebString& value, const WebURL& url, Result& result, WebString& oldValue, WebFrame*);
49 virtual void removeItem(const WebString& key, const WebURL& url, WebString& oldValue);
H A DWebStorageEventDispatcherImpl.cpp57 void WebStorageEventDispatcherImpl::dispatchStorageEvent(const WebString& key, const WebString& oldValue, argument
67 m_eventDispatcher->dispatchStorageEvent(key, oldValue, newValue, securityOrigin.get(), url, storageType);
/external/webkit/Source/WebKit/chromium/public/
H A DWebStorageArea.h70 virtual void setItem(const WebString& key, const WebString& newValue, const WebURL& url, Result& result, WebString& oldValue, WebFrame*) argument
72 setItem(key, newValue, url, result, oldValue);
75 virtual void setItem(const WebString& key, const WebString& newValue, const WebURL& url, Result& result, WebString& oldValue) argument
77 setItem(key, newValue, url, result, oldValue, 0);
82 virtual void removeItem(const WebString& key, const WebURL& url, WebString& oldValue) = 0;
H A DWebStorageEventDispatcher.h49 virtual void dispatchStorageEvent(const WebString& key, const WebString& oldValue,
/external/srec/shared/include/
H A DESR_SessionTypeListener.h48 * @param oldValue Old property value
54 const void* oldValue, const void* newValue, VariableTypes variableType, void* data);
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAtomicLongMap.java102 long oldValue = atomic.get();
103 if (oldValue == 0L) {
112 long newValue = oldValue + delta;
113 if (atomic.compareAndSet(oldValue, newValue)) {
151 long oldValue = atomic.get();
152 if (oldValue == 0L) {
161 long newValue = oldValue + delta;
162 if (atomic.compareAndSet(oldValue, newValue)) {
163 return oldValue;
186 long oldValue
[all...]
/external/webkit/Source/WebCore/storage/
H A DStorageEvent.cpp48 PassRefPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea) argument
50 return adoptRef(new StorageEvent(type, key, oldValue, newValue, url, storageArea));
53 StorageEvent::StorageEvent(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea) argument
56 , m_oldValue(oldValue)
63 void StorageEvent::initStorageEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea) argument
71 m_oldValue = oldValue;
H A DStorageMap.cpp102 PassRefPtr<StorageMap> StorageMap::setItem(const String& key, const String& value, String& oldValue, bool& quotaException) argument
111 newStorageMap->setItem(key, value, oldValue, quotaException);
120 oldValue = m_map.get(key);
121 overflow |= newLength - oldValue.length() > newLength;
122 newLength -= oldValue.length();
124 unsigned adjustedKeyLength = oldValue.isNull() ? key.length() : 0;
145 PassRefPtr<StorageMap> StorageMap::removeItem(const String& key, String& oldValue) argument
151 newStorage->removeItem(key, oldValue);
155 oldValue = m_map.take(key);
156 if (!oldValue
[all...]
H A DStorageEvent.h41 static PassRefPtr<StorageEvent> create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
45 const String& oldValue() const { return m_oldValue; } function in class:WebCore::StorageEvent
50 void initStorageEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
59 StorageEvent(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
H A DStorageEventDispatcher.h43 static void dispatch(const String& key, const String& oldValue, const String& newValue, StorageType, SecurityOrigin*, Frame* sourceFrame);
H A DStorageAreaImpl.cpp148 String oldValue; local
150 RefPtr<StorageMap> newMap = m_storageMap->setItem(key, value, oldValue, quotaException);
156 return oldValue;
159 if (oldValue == value)
160 return oldValue;
164 StorageEventDispatcher::dispatch(key, oldValue, value, m_storageType, m_securityOrigin.get(), frame);
165 return oldValue;
176 String oldValue;
177 RefPtr<StorageMap> newMap = m_storageMap->removeItem(key, oldValue);
181 if (oldValue
[all...]
/external/chromium/chrome/browser/resources/shared/js/
H A Dcr.js95 * @param {*} oldValue The old value for the property.
97 function dispatchPropertyChange(target, propertyName, newValue, oldValue) {
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) {
[all...]
/external/webkit/Source/WebCore/html/
H A DStepRange.cpp73 double oldValue; local
74 bool parseSuccess = parseToDoubleForNumberType(element->value(), &oldValue);
76 oldValue = (minimum + maximum) / 2;
77 double newValue = clampValue(oldValue);
80 *wasClamped = !parseSuccess || newValue != oldValue;
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
H A DPropertyChangeSupportTest.java332 Object oldValue = new Object();
335 "myProp", oldValue, newValue);
342 sup.firePropertyChange("myProp", oldValue, newValue);
605 Object oldValue = new Object();
608 "myProp", oldValue, newValue);
610 "myProp", oldValue, newValue);
614 "myProp", oldValue, newValue);
619 sup.firePropertyChange("myProp", oldValue, newValue);
634 Object oldValue = newValue;
637 "myProp", oldValue, newValu
1286 MockPropertyChangeListener(Object src, String propName, Object oldValue, Object newValue) argument
1294 setAll(Object src, String propName, Object oldValue, Object newValue) argument
[all...]
H A DPropertyChangeEventTest.java37 Object oldValue = new Object();
41 oldValue, newValue);
44 assertSame(oldValue, event.getOldValue());
69 Object oldValue = new Object();
72 oldValue, newValue);
75 assertSame(oldValue, event.getOldValue());
97 Object oldValue = new Object();
101 oldValue, newValue);
109 assertSame(oldValue, event.getOldValue());
119 Object oldValue
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DConcurrentMapInterfaceTest.java83 V oldValue = map.putIfAbsent(keyToPut, valueToPut);
88 assertNull(oldValue);
112 V oldValue = map.get(keyToPut);
114 assertEquals(oldValue, map.putIfAbsent(keyToPut, valueToPut));
115 assertEquals(oldValue, map.get(keyToPut));
117 assertTrue(map.containsValue(oldValue));
241 V oldValue = map.get(keyToRemove);
244 assertTrue(map.remove(keyToRemove, oldValue));
249 map.remove(keyToRemove, oldValue);
297 V oldValue
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DConcurrentHashMultiset.java237 int oldValue = existingCounter.get();
238 if (oldValue != 0) {
240 int newValue = IntMath.checkedAdd(oldValue, occurrences);
241 if (existingCounter.compareAndSet(oldValue, newValue)) {
243 return oldValue;
247 + " occurrences to a count of " + oldValue);
286 int oldValue = existingCounter.get();
287 if (oldValue != 0) {
288 int newValue = Math.max(0, oldValue - occurrences);
289 if (existingCounter.compareAndSet(oldValue, newValu
[all...]
H A DForwardingConcurrentMap.java57 public boolean replace(K key, V oldValue, V newValue) { argument
58 return delegate().replace(key, oldValue, newValue);
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
H A DConcurrentMap.java34 boolean replace(K key, V oldValue, V newValue); argument
/external/srec/portable/include/
H A Dphashtable.h191 * @param oldValue If this pointer is non-NULL, it will be set to the
198 void **oldValue);
209 * @param oldValue If this pointer is non-NULL, it will be set to the value
215 void **oldValue);
247 * @param oldValue If this pointer is non-NULL, it will be set to the value
252 void **oldValue);

Completed in 1672 milliseconds

123456