Searched defs:oldValue (Results 1 - 25 of 81) sorted by relevance

1234

/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 DStorageEventDispatcherImpl.cpp53 void StorageEventDispatcherImpl::dispatchStorageEvent(const String& key, const String& oldValue, argument
78 frames[i]->document()->dispatchWindowEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, url, storage));
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);
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 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...]
/external/guava/guava/src/com/google/common/collect/
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
H A DConcurrentHashMap.java73 public boolean replace(K key, V oldValue, V newValue) { argument
74 if (oldValue == null || newValue == null) {
76 } else if (containsKey(key) && get(key).equals(oldValue)) {
/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;
H A DHTMLDetailsElement.cpp128 bool oldValue = m_isOpen; local
130 if (attached() && oldValue != m_isOpen) {
/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 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.cpp41 void StorageEventDispatcher::dispatch(const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* securityOrigin, Frame* sourceFrame) argument
65 frames[i]->document()->enqueueWindowEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, sourceFrame->document()->url(), storage));
82 frames[i]->document()->enqueueWindowEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, sourceFrame->document()->url(), storage));
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 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/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;
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DStringExtensions.cs96 public static string replace( string str, char oldValue, char newValue ) argument
98 int index = str.IndexOf( oldValue );
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringExtensions.cs97 public static string replace(this string str, char oldValue, char newValue) argument
99 return str.Replace(oldValue, newValue);
/external/guava/guava/src/com/google/common/cache/
H A DCacheLoader.java69 * @param oldValue the non-null old value corresponding to {@code key}
75 public ListenableFuture<V> reload(K key, V oldValue) throws Exception { argument
/external/srec/portable/src/
H A DPANSIFileSystemImpl.c160 LCHAR* oldValue; local
162 CHKLOG(rc, PHashTableGetValue(impl->directoryMap, key, (void **)&oldValue));
163 if (LSTRCMP(oldValue, value) != 0)
/external/webkit/Source/WebCore/bindings/v8/
H A DV8Utilities.cpp81 EventListener* oldValue,
85 if (oldValue) {
86 V8AbstractEventListener* oldListener = V8AbstractEventListener::cast(oldValue);
80 transferHiddenDependency(v8::Handle<v8::Object> object, EventListener* oldValue, v8::Local<v8::Value> newValue, int cacheIndex) argument
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DMapMaker.java91 public boolean replace(K key, V oldValue, V newValue) { argument
92 if (containsKey(key) && get(key).equals(oldValue)) {
/external/guava/guava-tests/test/com/google/common/cache/
H A DTestingCacheLoaders.java150 public ListenableFuture<Integer> reload(Integer key, Integer oldValue) { argument
152 return Futures.immediateFuture(oldValue + 1);
/external/icu4c/test/cintltst/
H A Dchashtst.c341 int32_t oldValue = local
345 key, u_errorName(status), oldValue);
346 } else if (oldValue != expectedOldValue) {
348 key, oldValue, expectedOldValue);
351 key, value, oldValue);
/external/mesa3d/src/pixelflinger2/
H A Dbuffer.cpp57 static unsigned StencilOpEnum(GLenum func, unsigned oldValue) argument
76 return oldValue;

Completed in 362 milliseconds

1234