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

1234

/macosx-10.10/xnu-2782.1.97/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.10/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.10/WTF-7600.1.24/wtf/
H A DCompilationThread.cpp58 bool oldValue = isCompilationThread(); local
60 return oldValue;
H A DBitmap.h122 WordType oldValue; local
124 oldValue = *wordPtr;
125 if (oldValue & mask)
127 } while (!weakCompareAndSwap(wordPtr, oldValue, oldValue | mask));
142 WordType oldValue; local
144 oldValue = *wordPtr;
145 if (!(oldValue & mask))
147 } while (!weakCompareAndSwap(wordPtr, oldValue, oldValue
[all...]
/macosx-10.10/Security-57031.1.35/Security/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.10/Security-57031.1.35/Security/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.10/WebCore-7600.1.25/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);
/macosx-10.10/libclosure-65/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.10/WebCore-7600.1.25/dom/
H A DMutationRecord.cpp70 RecordWithEmptyNodeLists(Node& target, const String& oldValue) argument
72 , m_oldValue(oldValue)
78 virtual String oldValue() override { return m_oldValue; }
97 AttributesRecord(Element& target, const QualifiedName& name, const AtomicString& oldValue) argument
98 : RecordWithEmptyNodeLists(target, oldValue)
115 CharacterDataRecord(CharacterData& target, const String& oldValue) argument
116 : RecordWithEmptyNodeLists(target, oldValue)
141 virtual String oldValue() override { return String(); }
171 PassRefPtr<MutationRecord> MutationRecord::createAttributes(Element& target, const QualifiedName& name, const AtomicString& oldValue) argument
173 return adoptRef(static_cast<MutationRecord*>(new AttributesRecord(target, name, oldValue)));
176 createCharacterData(CharacterData& target, const String& oldValue) argument
[all...]
H A DMutationRecord.h51 static PassRefPtr<MutationRecord> createAttributes(Element& target, const QualifiedName&, const AtomicString& oldValue);
52 static PassRefPtr<MutationRecord> createCharacterData(CharacterData& target, const String& oldValue);
69 virtual String oldValue() { return String(); } function in class:WebCore::MutationRecord
H A DAttr.cpp125 AtomicString oldValue = this->value(); local
127 m_element->willModifyAttribute(qualifiedName(), oldValue, value); local
132 m_element->didModifyAttribute(qualifiedName(), oldValue, value); local
169 AtomicString oldValue = value(); local
172 m_element->willModifyAttribute(qualifiedName(), oldValue, newValue); local
180 m_element->attributeChanged(qualifiedName(), oldValue, newValue); local
H A DMutationRecord.idl45 [TreatReturnedNullStringAs=Null] readonly attribute DOMString oldValue;
/macosx-10.10/WebKit2-7600.1.25/WebProcess/Storage/
H A DStorageAreaMap.cpp111 String oldValue; local
113 m_storageMap->setItem(key, value, oldValue, quotaException);
117 if (oldValue == value)
130 String oldValue; local
131 m_storageMap->removeItem(key, oldValue);
133 if (oldValue.isNull())
264 String oldValue; local
265 newStorageMap->setItemIgnoringQuota(key, oldValue);
277 String oldValue; local
278 m_storageMap->removeItem(key, oldValue);
285 dispatchStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString) argument
303 dispatchSessionStorageEvent(uint64_t sourceStorageAreaID, const String& key, const String& oldValue, const String& newValue, const String& urlString) argument
337 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.10/WebInspectorUI-7600.1.17/UserInterface/Protocol/
H A DDOMStorageObserver.js65 domStorageItemUpdated: function(storageId, key, oldValue, value)
67 WebInspector.storageManager.itemUpdated(storageId, key, oldValue, value);
/macosx-10.10/WebKit2-7600.1.25/UIProcess/mac/
H A DWKFullKeyboardAccessWatcher.mm49 BOOL oldValue = fullKeyboardAccessEnabled;
62 if (fullKeyboardAccessEnabled != oldValue)
/macosx-10.10/xnu-2782.1.97/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.10/WebInspectorUI-7600.1.17/UserInterface/Models/
H A DDOMStorageObject.js112 itemUpdated: function(key, oldValue, value)
115 var data = {key: key, oldValue: oldValue, value: value}; property in class:data
/macosx-10.10/tcl-105/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

Completed in 367 milliseconds

1234