/system/core/libcutils/ |
atomic-android-sh.c | 104 int android_atomic_cmpxchg(int32_t oldvalue, int32_t newvalue, 112 *addr = newvalue; 134 int android_quasiatomic_cmpxchg_64(int64_t oldvalue, int64_t newvalue, 142 *addr = newvalue;
|
/external/guava/src/com/google/common/collect/ |
ForwardingConcurrentMap.java | 51 public boolean replace(K key, V oldValue, V newValue) { 52 return delegate().replace(key, oldValue, newValue);
|
/external/webkit/WebKit/chromium/src/ |
StorageEventDispatcherChromium.cpp | 47 const String& newValue, StorageType storageType, 51 WebKit::webKitClient()->dispatchStorageEvent(key, oldValue, newValue, origin->toString(), WebKit::WebURL(), storageType == LocalStorage);
|
WebMutationEvent.cpp | 50 WebString WebMutationEvent::newValue() const 52 return WebString(constUnwrap<MutationEvent>()->newValue());
|
/packages/apps/Settings/src/com/android/settings/vpn/ |
PptpEditor.java | 54 Preference pref, Object newValue) { 55 boolean enabled = (Boolean) newValue;
|
/system/core/include/cutils/ |
atomic.h | 67 int android_atomic_cmpxchg(int32_t oldvalue, int32_t newvalue, 70 int android_quasiatomic_cmpxchg_64(int64_t oldvalue, int64_t newvalue,
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/atomic/ |
AtomicInteger.java | 68 * @param newValue the new value 70 public final void set(int newValue) { 71 value = newValue; 77 * @param newValue the new value 80 public final int getAndSet(int newValue) { 83 if (compareAndSet(current, newValue))
|
AtomicLong.java | 93 * @param newValue the new value 95 public final void set(long newValue) { 96 value = newValue; 102 * @param newValue the new value 105 public final long getAndSet(long newValue) { 108 if (compareAndSet(current, newValue))
|
AtomicLongArray.java | 94 * @param newValue the new value 96 public final void set(int i, long newValue) { 97 unsafe.putLongVolatile(array, rawIndex(i), newValue); 105 * @param newValue the new value 108 public final long getAndSet(int i, long newValue) { 111 if (compareAndSet(i, current, newValue))
|
AtomicReferenceArray.java | 95 * @param newValue the new value 97 public final void set(int i, E newValue) { 98 unsafe.putObjectVolatile(array, rawIndex(i), newValue); 106 * @param newValue the new value 109 public final E getAndSet(int i, E newValue) { 112 if (compareAndSet(i, current, newValue))
|
AtomicReferenceFieldUpdater.java | 116 * @param newValue the new value 118 public abstract void set(T obj, V newValue); 134 * @param newValue the new value 137 public V getAndSet(T obj, V newValue) { 140 if (compareAndSet(obj, current, newValue)) 240 public void set(T obj, V newValue) { 242 (newValue != null && vclass != null && 243 vclass != newValue.getClass())) 244 updateCheck(obj, newValue); 245 unsafe.putObjectVolatile(obj, offset, newValue); [all...] |
AtomicIntegerArray.java | 95 * @param newValue the new value 97 public final void set(int i, int newValue) { 98 unsafe.putIntVolatile(array, rawIndex(i), newValue); 106 * @param newValue the new value 109 public final int getAndSet(int i, int newValue) { 112 if (compareAndSet(i, current, newValue))
|
/external/srec/shared/src/ |
SessionTypeImpl.c | 282 const void* oldValue, const void* newValue, 295 CHKLOG(rc, listener->listener->propertyChanged(listener->listener, name, oldValue, newValue, type, listener->data)); 696 int *newValue = NULL; 702 newValue = MALLOC(sizeof(long), MTAG); 703 if (newValue == NULL) 708 CHKLOG(rc, lstrtoi(value, newValue, 10)); 709 CHKLOG(rc, self->setProperty(self, key, newValue, TYPES_INT)); 713 if (newValue != NULL) 714 FREE(newValue); 722 int *newValue = NULL [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ApnSettings.java | 234 public boolean onPreferenceChange(Preference preference, Object newValue) { 236 + ", newValue - " + newValue + ", newValue type - " 237 + newValue.getClass()); 238 if (newValue instanceof String) { 239 setSelectedApnKey((String) newValue);
|
/dalvik/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
getAttributeNS04.java | 41 * the string "NewValue" since the attribute had a specified value. 82 testAddr.setAttributeNS(namespaceURI, qualifiedName, "NewValue"); 84 assertEquals("throw_Equals", "NewValue", attrValue);
|
setAttributeNS05.java | 43 * The new attribute "<newValue>" contains markup and therefore is escaped 83 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "<newValue>"); 85 assertEquals("throw_Equals", "<newValue>", resultAttr);
|
setNamedItemNS03.java | 39 * "prefix:newAttr" and value "newValue". 81 arg.setNodeValue("newValue"); 88 assertEquals("throw_Equals", "newValue", value);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MyPreference.java | 57 int newValue = mClickCounter + 1; 60 if (!callChangeListener(newValue)) { 66 mClickCounter = newValue;
|
/external/clearsilver/util/test/ |
hdftest.c | 105 err = hdf_set_value(hdf, "Symlink.baz", "newvalue"); 108 if (strcmp(v, "newvalue")) { 109 ne_warn("hdf_get_value through symlink returned %s, expected newvalue",
|
/external/webkit/WebCore/storage/ |
StorageEventDispatcher.cpp | 41 void StorageEventDispatcher::dispatch(const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* securityOrigin, Frame* sourceFrame) 58 frames[i]->document()->enqueueStorageEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, sourceFrame->document()->url(), frames[i]->domWindow()->sessionStorage())); 71 frames[i]->document()->enqueueStorageEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, sourceFrame->document()->url(), frames[i]->domWindow()->localStorage()));
|
/cts/tests/tests/util/src/android/util/cts/ |
SparseArrayTest.java | 128 Integer newValue = 100; 131 sparseArray.put(existKey, newValue); 132 assertEquals(newValue, sparseArray.get(existKey)); 265 Integer newValue = 100; 268 sparseArray.put(existKey, newValue); 269 assertEquals(newValue, sparseArray.get(existKey));
|
SparseBooleanArrayTest.java | 127 boolean newValue = false; 130 sparseBooleanArray.put(existKey, newValue); 131 assertEquals(newValue, sparseBooleanArray.get(existKey)); 245 boolean newValue = false; 248 sparseBooleanArray.put(existKey, newValue); 249 assertEquals(newValue, sparseBooleanArray.get(existKey));
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/GetSet/ |
getset-003.js | 47 obj.name setter = function(newValue) {this._name=newValue; this.nameSETS++;} 77 Object.prototype.name setter = function(newValue) {this._name=newValue; this.nameSETS++;} 111 TestObject.prototype.name setter = function(newValue) {this._name=newValue; this.nameSETS++;}
|
getset-004.js | 47 obj.__defineSetter__('name', function(newValue) {this._name=newValue; this.nameSETS++;}); 77 Object.prototype.__defineSetter__('name', function(newValue) {this._name=newValue; this.nameSETS++;}); 111 TestObject.prototype.__defineSetter__('name', function(newValue) {this._name=newValue; this.nameSETS++;});
|
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_OutputStream.java | 107 public void setThrowsException(boolean newValue) { 108 throwsException = newValue;
|