Home
last modified time | relevance | path

Searched refs:newValue (Results 1 – 25 of 48) sorted by relevance

12

/libcore/libart/src/main/java/sun/misc/
DUnsafe.java117 int expectedValue, int newValue); in compareAndSwapInt() argument
132 long expectedValue, long newValue); in compareAndSwapLong() argument
147 Object expectedValue, Object newValue); in compareAndSwapObject() argument
167 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile() argument
187 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile() argument
208 Object newValue); in putObjectVolatile() argument
226 public native void putInt(Object obj, long offset, int newValue); in putInt() argument
231 public native void putOrderedInt(Object obj, long offset, int newValue); in putOrderedInt() argument
249 public native void putLong(Object obj, long offset, long newValue); in putLong() argument
254 public native void putOrderedLong(Object obj, long offset, long newValue); in putOrderedLong() argument
[all …]
/libcore/luni/src/main/java/java/util/concurrent/atomic/
DAtomicReferenceFieldUpdater.java118 public abstract void set(T obj, V newValue); in set() argument
128 public abstract void lazySet(T obj, V newValue); in lazySet() argument
147 public V getAndSet(T obj, V newValue) { in getAndSet() argument
150 if (compareAndSet(obj, current, newValue)) in getAndSet()
272 public void set(T obj, V newValue) { in set() argument
274 (newValue != null && vclass != null && in set()
275 vclass != newValue.getClass())) in set()
276 updateCheck(obj, newValue); in set()
277 unsafe.putObjectVolatile(obj, offset, newValue); in set()
280 public void lazySet(T obj, V newValue) { in lazySet() argument
[all …]
DAtomicBoolean.java98 public final void set(boolean newValue) { in set() argument
99 value = newValue ? 1 : 0; in set()
108 public final void lazySet(boolean newValue) { in lazySet() argument
109 int v = newValue ? 1 : 0; in lazySet()
119 public final boolean getAndSet(boolean newValue) { in getAndSet() argument
122 if (compareAndSet(current, newValue)) in getAndSet()
DAtomicReference.java62 public final void set(V newValue) { in set() argument
63 value = newValue; in set()
72 public final void lazySet(V newValue) { in lazySet() argument
73 unsafe.putOrderedObject(this, valueOffset, newValue); in lazySet()
110 public final V getAndSet(V newValue) { in getAndSet() argument
113 if (compareAndSet(x, newValue)) in getAndSet()
DAtomicLong.java82 public final void set(long newValue) { in set() argument
83 value = newValue; in set()
92 public final void lazySet(long newValue) { in lazySet() argument
93 unsafe.putOrderedLong(this, valueOffset, newValue); in lazySet()
102 public final long getAndSet(long newValue) { in getAndSet() argument
105 if (compareAndSet(current, newValue)) in getAndSet()
DAtomicInteger.java68 public final void set(int newValue) { in set() argument
69 value = newValue; in set()
78 public final void lazySet(int newValue) { in lazySet() argument
79 unsafe.putOrderedInt(this, valueOffset, newValue); in lazySet()
88 public final int getAndSet(int newValue) { in getAndSet() argument
91 if (compareAndSet(current, newValue)) in getAndSet()
/libcore/luni/src/main/java/java/beans/
DPropertyChangeEvent.java34 Object newValue; field in PropertyChangeEvent
56 Object oldValue, Object newValue) { in PropertyChangeEvent() argument
61 this.newValue = newValue; in PropertyChangeEvent()
112 return newValue; in getNewValue()
DPropertyChangeSupport.java87 public void firePropertyChange(String propertyName, Object oldValue, Object newValue) { in firePropertyChange() argument
88 firePropertyChange(new PropertyChangeEvent(sourceBean, propertyName, oldValue, newValue)); in firePropertyChange()
107 Object oldValue, Object newValue) { in fireIndexedPropertyChange() argument
109 propertyName, oldValue, newValue, index)); in fireIndexedPropertyChange()
200 public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) { in firePropertyChange() argument
201 firePropertyChange(propertyName, Boolean.valueOf(oldValue), Boolean.valueOf(newValue)); in firePropertyChange()
219 boolean oldValue, boolean newValue) { in fireIndexedPropertyChange() argument
220 if (oldValue != newValue) { in fireIndexedPropertyChange()
222 Boolean.valueOf(oldValue), Boolean.valueOf(newValue)); in fireIndexedPropertyChange()
238 public void firePropertyChange(String propertyName, int oldValue, int newValue) { in firePropertyChange() argument
[all …]
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dnodevalue06.java60 String newValue; in runTest() local
62 newValue = newNode.getNodeValue(); in runTest()
63 assertNull("initiallyNull", newValue); in runTest()
65 newValue = newNode.getNodeValue(); in runTest()
66 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dhc_nodevalue06.java60 String newValue; in runTest() local
62 newValue = newNode.getNodeValue(); in runTest()
63 assertNull("initiallyNull", newValue); in runTest()
65 newValue = newNode.getNodeValue(); in runTest()
66 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dnodevalue02.java61 String newValue; in runTest() local
64 newValue = newNode.getNodeValue(); in runTest()
65 assertEquals("initial", "This is a new Comment node", newValue); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
68 assertEquals("afterChange", "This should have an effect", newValue); in runTest()
Dhc_nodevalue01.java61 String newValue; in runTest() local
64 newValue = newNode.getNodeValue(); in runTest()
65 assertNull("initiallyNull", newValue); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
68 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dhc_nodevalue02.java61 String newValue; in runTest() local
64 newValue = newNode.getNodeValue(); in runTest()
65 assertEquals("initial", "This is a new Comment node", newValue); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
68 assertEquals("afterChange", "This should have an effect", newValue); in runTest()
Dnodevalue01.java61 String newValue; in runTest() local
64 newValue = newNode.getNodeValue(); in runTest()
65 assertNull("initiallyNull", newValue); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
68 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dnodevalue05.java61 String newValue; in runTest() local
64 newValue = newNode.getNodeValue(); in runTest()
65 assertNull("initiallyNull", newValue); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
68 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dhc_nodevalue05.java61 String newValue; in runTest() local
64 newValue = newNode.getNodeValue(); in runTest()
65 assertNull("initiallyNull", newValue); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
68 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dnodevalue09.java61 String newValue; in runTest() local
64 newValue = newNode.getNodeValue(); in runTest()
65 assertEquals("initial", "DATA", newValue); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
68 assertEquals("after", "This should have an effect", newValue); in runTest()
Dnodevalue04.java61 String newValue; in runTest() local
65 newValue = newNode.getNodeValue(); in runTest()
66 assertNull("initiallyNull", newValue); in runTest()
68 newValue = newNode.getNodeValue(); in runTest()
69 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dnodevalue03.java61 String newValue; in runTest() local
65 newValue = newNode.getNodeValue(); in runTest()
66 assertNull("initiallyNull", newValue); in runTest()
68 newValue = newNode.getNodeValue(); in runTest()
69 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dhc_nodevalue04.java61 String newValue; in runTest() local
70 newValue = newNode.getNodeValue(); in runTest()
71 assertNull("initiallyNull", newValue); in runTest()
73 newValue = newNode.getNodeValue(); in runTest()
74 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dnodevalue08.java62 String newValue; in runTest() local
71 newValue = newNode.getNodeValue(); in runTest()
72 assertNull("initiallyNull", newValue); in runTest()
74 newValue = newNode.getNodeValue(); in runTest()
75 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dhc_nodevalue03.java61 String newValue; in runTest() local
78 newValue = newNode.getNodeValue(); in runTest()
79 assertNull("initiallyNull", newValue); in runTest()
81 newValue = newNode.getNodeValue(); in runTest()
82 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dnodevalue07.java61 String newValue; in runTest() local
71 newValue = newNode.getNodeValue(); in runTest()
72 assertNull("initiallyNull", newValue); in runTest()
74 newValue = newNode.getNodeValue(); in runTest()
75 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dhc_nodevalue08.java65 String newValue; in runTest() local
78 newValue = newNode.getNodeValue(); in runTest()
79 assertNull("initiallyNull", newValue); in runTest()
81 newValue = newNode.getNodeValue(); in runTest()
82 assertNull("nullAfterAttemptedChange", newValue); in runTest()
Dhc_nodevalue07.java64 String newValue; in runTest() local
78 newValue = newNode.getNodeValue(); in runTest()
79 assertNull("initiallyNull", newValue); in runTest()
81 newValue = newNode.getNodeValue(); in runTest()
82 assertNull("nullAfterAttemptedChange", newValue); in runTest()

12