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

1234

/macosx-10.9.5/xnu-2422.115.4/libkern/gen/
H A DOSAtomicOperations.c49 * native Boolean CompareAndSwap(UInt32 oldValue, UInt32 newValue, UInt32 * oldValuePtr);
77 UInt32 oldValue; local
81 oldValue = *value;
82 newValue = ((oldValue & and_mask) | or_mask) ^ xor_mask;
83 } while (! OSCompareAndSwap(oldValue, newValue, value));
85 return oldValue;
114 UInt32 oldValue; local
119 oldValue = *value32;
120 oldValue = (oldValue
130 UInt8 oldValue; local
174 SInt8 oldValue; local
188 UInt8 oldValue; local
222 UInt32 oldValue; local
248 SInt16 oldValue; local
262 UInt16 oldValue; local
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/collections/
H A DStoredMapEntry.java31 Object oldValue;
33 oldValue = getValue();
39 oldValue = coll.put(getKey(), newValue);
42 return oldValue;
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/
H A Dthreading_internal.h61 static bool cas(Integer oldValue, Integer newValue, Integer &base) argument
62 { return OSAtomicCompareAndSwap32(oldValue, newValue, &base); }
63 static bool casb(Integer oldValue, Integer newValue, Integer &base) argument
64 { return OSAtomicCompareAndSwap32Barrier(oldValue, newValue, &base); }
76 static bool cas(Integer oldValue, Integer newValue, Integer &base) argument
77 { return OSAtomicCompareAndSwap64(oldValue, newValue, &base); }
78 static bool casb(Integer oldValue, Integer newValue, Integer &base) argument
79 { return OSAtomicCompareAndSwap64Barrier(oldValue, newValue, &base); }
103 static bool cas(Type oldValue, Type newValue, Type &store) argument
104 { return _Ops::cas(_Type(oldValue), _Typ
105 casb(Type oldValue, Type newValue, Type &store) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/
H A Dthreading_internal.h61 static bool cas(Integer oldValue, Integer newValue, Integer &base) argument
62 { return OSAtomicCompareAndSwap32(oldValue, newValue, &base); }
63 static bool casb(Integer oldValue, Integer newValue, Integer &base) argument
64 { return OSAtomicCompareAndSwap32Barrier(oldValue, newValue, &base); }
76 static bool cas(Integer oldValue, Integer newValue, Integer &base) argument
77 { return OSAtomicCompareAndSwap64(oldValue, newValue, &base); }
78 static bool casb(Integer oldValue, Integer newValue, Integer &base) argument
79 { return OSAtomicCompareAndSwap64Barrier(oldValue, newValue, &base); }
103 static bool cas(Type oldValue, Type newValue, Type &store) argument
104 { return _Ops::cas(_Type(oldValue), _Typ
105 casb(Type oldValue, Type newValue, Type &store) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/storage/
H A DStorageEventDispatcher.h45 static void dispatchSessionStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
46 static void dispatchLocalStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
48 static void dispatchSessionStorageEventsToFrames(Page&, const Vector<RefPtr<Frame> >& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
49 static void dispatchLocalStorageEventsToFrames(PageGroup&, const Vector<RefPtr<Frame> >& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
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;
149 String oldValue; local
152 RefPtr<StorageMap> map = setItem(key, value, oldValue, quotaException);
158 PassRefPtr<StorageMap> StorageMap::removeItem(const String& key, String& oldValue) argument
164 newStorage->removeItem(key, oldValue);
[all...]
H A DStorageEvent.cpp51 PassRefPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea) argument
53 return adoptRef(new StorageEvent(type, key, oldValue, newValue, url, storageArea));
61 StorageEvent::StorageEvent(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea) argument
64 , m_oldValue(oldValue)
74 , m_oldValue(initializer.oldValue)
81 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
89 m_oldValue = oldValue;
H A DStorageEvent.h40 String oldValue; member in struct:WebCore::StorageEventInit
49 static PassRefPtr<StorageEvent> create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
54 const String& oldValue() const { return m_oldValue; } function in class:WebCore::StorageEvent
59 void initStorageEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
68 StorageEvent(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
H A DStorageEventDispatcher.cpp41 void StorageEventDispatcher::dispatchSessionStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin* securityOrigin, Frame* sourceFrame) argument
55 dispatchSessionStorageEventsToFrames(*page, frames, key, oldValue, newValue, sourceFrame->document()->url(), securityOrigin);
58 void StorageEventDispatcher::dispatchLocalStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin* securityOrigin, Frame* sourceFrame) argument
75 dispatchLocalStorageEventsToFrames(page->group(), frames, key, oldValue, newValue, sourceFrame->document()->url(), securityOrigin);
78 void StorageEventDispatcher::dispatchSessionStorageEventsToFrames(Page& page, const Vector<RefPtr<Frame> >& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin* securityOrigin) argument
80 InspectorInstrumentation::didDispatchDOMStorageEvent(key, oldValue, newValue, SessionStorage, securityOrigin, &page);
86 frames[i]->document()->enqueueWindowEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, url, storage));
90 void StorageEventDispatcher::dispatchLocalStorageEventsToFrames(PageGroup& pageGroup, const Vector<RefPtr<Frame> >& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin* securityOrigin) argument
94 InspectorInstrumentation::didDispatchDOMStorageEvent(key, oldValue, newValue, LocalStorage, securityOrigin, *it);
100 frames[i]->document()->enqueueWindowEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValu
[all...]
H A DStorageAreaImpl.cpp147 String oldValue; local
148 RefPtr<StorageMap> newMap = m_storageMap->setItem(key, value, oldValue, quotaException);
155 if (oldValue == value)
161 dispatchStorageEvent(key, oldValue, value, sourceFrame);
169 String oldValue; local
170 RefPtr<StorageMap> newMap = m_storageMap->removeItem(key, oldValue);
174 if (oldValue.isNull())
180 dispatchStorageEvent(key, oldValue, String(), sourceFrame);
298 void StorageAreaImpl::dispatchStorageEvent(const String& key, const String& oldValue, const String& newValue, Frame* sourceFrame) argument
301 StorageEventDispatcher::dispatchLocalStorageEvents(key, oldValue, newValu
[all...]
H A DStorageMap.h45 PassRefPtr<StorageMap> setItem(const String& key, const String& value, String& oldValue, bool& quotaException);
47 PassRefPtr<StorageMap> removeItem(const String&, String& oldValue);
H A DStorageEvent.idl30 [InitializedByEventConstructor, TreatReturnedNullStringAs=Null] readonly attribute DOMString oldValue;
/macosx-10.9.5/libclosure-63/Examples/BasicByRef/
H A DBasicByRef.m21 int oldValue = ivarCount;
25 if( (oldValue+1) != ivarCount )
26 NSLog(@"Hey, man. ivar was not incremented as expected. %d %d", oldValue, ivarCount);
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/Storage/
H A DStorageAreaMap.cpp110 String oldValue; local
112 m_storageMap->setItem(key, value, oldValue, quotaException);
116 if (oldValue == value)
129 String oldValue; local
130 m_storageMap->removeItem(key, oldValue);
132 if (oldValue.isNull())
263 String oldValue; local
264 newStorageMap->setItemIgnoringQuota(key, oldValue);
276 String oldValue; local
277 m_storageMap->removeItem(key, oldValue);
284 dispatchStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString) argument
302 dispatchSessionStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString) argument
336 dispatchLocalStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString) argument
[all...]
H A DStorageAreaMap.h73 void dispatchStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString);
82 void dispatchSessionStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString);
83 void dispatchLocalStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString);
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/mac/
H A DWKFullKeyboardAccessWatcher.mm48 BOOL oldValue = fullKeyboardAccessEnabled;
61 if (fullKeyboardAccessEnabled != oldValue)
/macosx-10.9.5/xnu-2422.115.4/libkern/x86_64/
H A DOSAtomic.s30 #;* Boolean OSCompareAndSwap(SInt32 oldValue, SInt32 newValue, SInt32 *ptr) *
34 _OSCompareAndSwap: #;oldValue, newValue, ptr
49 #;* Boolean OSCompareAndSwap64(SInt64 oldValue, SInt64 newValue, SInt64 *ptr) *
56 _OSCompareAndSwapPtr: #;oldValue, newValue, ptr
/macosx-10.9.5/WebCore-7537.78.1/dom/
H A DMutationRecord.cpp74 RecordWithEmptyNodeLists(PassRefPtr<Node> target, const String& oldValue) argument
76 , m_oldValue(oldValue)
82 virtual String oldValue() OVERRIDE { return m_oldValue; }
101 AttributesRecord(PassRefPtr<Node> target, const QualifiedName& name, const AtomicString& oldValue) argument
102 : RecordWithEmptyNodeLists(target, oldValue)
119 CharacterDataRecord(PassRefPtr<Node> target, const String& oldValue) argument
120 : RecordWithEmptyNodeLists(target, oldValue)
145 virtual String oldValue() OVERRIDE { return String(); }
175 PassRefPtr<MutationRecord> MutationRecord::createAttributes(PassRefPtr<Node> target, const QualifiedName& name, const AtomicString& oldValue) argument
177 return adoptRef(static_cast<MutationRecord*>(new AttributesRecord(target, name, oldValue)));
180 createCharacterData(PassRefPtr<Node> target, const String& oldValue) argument
[all...]
H A DMutationRecord.h48 static PassRefPtr<MutationRecord> createAttributes(PassRefPtr<Node> target, const QualifiedName&, const AtomicString& oldValue);
49 static PassRefPtr<MutationRecord> createCharacterData(PassRefPtr<Node> target, const String& oldValue);
66 virtual String oldValue() { return String(); } function in class:WebCore::MutationRecord
H A DMutationRecord.idl45 [TreatReturnedNullStringAs=Null] readonly attribute DOMString oldValue;
/macosx-10.9.5/CF-855.17/
H A DCFWindowsUtilities.c70 CF_EXPORT bool OSAtomicCompareAndSwap32Barrier(int32_t oldValue, int32_t newValue, volatile int32_t *theValue) { argument
71 return oldValue == InterlockedCompareExchange((long *)theValue, newValue, oldValue);
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DDOMStorage.js216 * @param {string} oldValue
219 _domStorageItemUpdated: function(storageId, key, oldValue, newValue)
225 oldValue: oldValue, property in class:_domStorageItemUpdated.storageData
296 * @param {string} oldValue
299 domStorageItemUpdated: function(storageId, key, oldValue, newValue)
301 this._model._domStorageItemUpdated(storageId, key, oldValue, newValue);
/macosx-10.9.5/tcl-102/tcl_ext/tktable/tktable/generic/
H A DtkTableUtil.c204 * The previous value of the bd string (oldValue) is assumed to
218 char *oldValue, int nullOK)
227 oldValue ? oldValue : "") == 0) {
266 if (oldValue != NULL) {
267 size_t length = strlen(oldValue) + 1;
269 * We are making the assumption that oldValue is correct.
273 Tcl_SplitList(tablePtr->interp, oldValue, &argc, &argv);
281 memcpy(tagPtr->borderStr, oldValue, length);
214 TableTagConfigureBd(Table *tablePtr, TableTag *tagPtr, char *oldValue, int nullOK) argument
/macosx-10.9.5/tcl-102/tcl/tcl/generic/
H A DtclEnv.c169 char *p, *oldValue;
203 oldValue = NULL;
224 oldValue = environ[index];
266 ReplaceString(oldValue, p);
366 char *oldValue;
393 oldValue = environ[index];
431 ReplaceString(oldValue, string);
448 ReplaceString(oldValue, NULL);
167 char *p, *oldValue; local
362 char *oldValue; local
/macosx-10.9.5/tcl-102/tcl84/tcl/generic/
H A DtclEnv.c172 char *p, *oldValue;
207 oldValue = NULL;
228 oldValue = environ[index];
270 ReplaceString(oldValue, p);
370 char *oldValue;
396 oldValue = environ[index];
433 ReplaceString(oldValue, string);
447 ReplaceString(oldValue, NULL);
170 char *p, *oldValue; local
366 char *oldValue; local

Completed in 176 milliseconds

1234