Home
last modified time | relevance | path

Searched refs:VALUE (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicBoolean.java53 private static final VarHandle VALUE; field in AtomicBoolean
57 VALUE = l.findVarHandle(AtomicBoolean.class, "value", int.class);
102 return VALUE.compareAndSet(this, in compareAndSet()
125 return VALUE.weakCompareAndSetPlain(this, in weakCompareAndSet()
141 return VALUE.weakCompareAndSetPlain(this, in weakCompareAndSetPlain()
164 VALUE.setRelease(this, (newValue ? 1 : 0)); in lazySet()
175 return (int)VALUE.getAndSet(this, (newValue ? 1 : 0)) != 0; in getAndSet()
196 return (int)VALUE.get(this) != 0; in getPlain()
208 VALUE.set(this, newValue ? 1 : 0); in setPlain()
219 return (int)VALUE.getOpaque(this) != 0; in getOpaque()
[all …]
DAtomicLong.java80 private static final VarHandle VALUE; field in AtomicLong
84 VALUE = l.findVarHandle(AtomicLong.class, "value", long.class);
128 VALUE.setVolatile(this, newValue); in set()
141 VALUE.setRelease(this, newValue); in lazySet()
154 return (long)VALUE.getAndSet(this, newValue); in getAndSet()
170 return VALUE.compareAndSet(this, expectedValue, newValue); in compareAndSet()
193 return VALUE.weakCompareAndSetPlain(this, expectedValue, newValue); in weakCompareAndSet()
209 return VALUE.weakCompareAndSetPlain(this, expectedValue, newValue); in weakCompareAndSetPlain()
223 return (long)VALUE.getAndAdd(this, 1L); in getAndIncrement()
237 return (long)VALUE.getAndAdd(this, -1L); in getAndDecrement()
[all …]
DAtomicInteger.java66 private static final VarHandle VALUE; field in AtomicInteger
70 VALUE = l.findVarHandle(AtomicInteger.class, "value", int.class);
124 VALUE.setRelease(this, newValue); in lazySet()
137 return (int)VALUE.getAndSet(this, newValue); in getAndSet()
153 return VALUE.compareAndSet(this, expectedValue, newValue); in compareAndSet()
176 return VALUE.weakCompareAndSetPlain(this, expectedValue, newValue); in weakCompareAndSet()
192 return VALUE.weakCompareAndSetPlain(this, expectedValue, newValue); in weakCompareAndSetPlain()
206 return (int)VALUE.getAndAdd(this, 1); in getAndIncrement()
220 return (int)VALUE.getAndAdd(this, -1); in getAndDecrement()
233 return (int)VALUE.getAndAdd(this, delta); in getAndAdd()
[all …]
DAtomicReference.java53 private static final VarHandle VALUE; field in AtomicReference
57 VALUE = l.findVarHandle(AtomicReference.class, "value", Object.class);
109 VALUE.setRelease(this, newValue); in lazySet()
123 return VALUE.compareAndSet(this, expectedValue, newValue); in compareAndSet()
144 return VALUE.weakCompareAndSetPlain(this, expectedValue, newValue); in weakCompareAndSet()
158 return VALUE.weakCompareAndSetPlain(this, expectedValue, newValue); in weakCompareAndSetPlain()
170 return (V)VALUE.getAndSet(this, newValue); in getAndSet()
289 return (V)VALUE.get(this); in getPlain()
301 VALUE.set(this, newValue); in setPlain()
312 return (V)VALUE.getOpaque(this); in getOpaque()
[all …]
DStriped64.java129 return VALUE.weakCompareAndSetRelease(this, cmp, val); in cas()
132 VALUE.setVolatile(this, 0L); in reset()
135 VALUE.setVolatile(this, identity); in reset()
138 return (long)VALUE.getAndSet(this, val); in getAndSet()
142 private static final VarHandle VALUE; field in Striped64.Cell
146 VALUE = l.findVarHandle(Cell.class, "value", long.class);
/libcore/ojluni/src/test/java/util/Properties/
DStringPropertyNames.java47 private static String VALUE = "good.value."; field in StringPropertyNames
54 props1.put(KEY + "1." + i, VALUE + "1." + i); in main()
57 props2.put(KEY + "2." + i, VALUE + "2." + i); in main()
62 props1.put(KEY + i, VALUE + "1." + i); in main()
63 props2.put(KEY + i, VALUE + "2." + i); in main()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/atomic/
DAtomicInteger.java143 private static final long VALUE; field in AtomicInteger
146 VALUE = 0;
/libcore/ojluni/src/test/java/lang/invoke/
DMethodHandlesCastFailureTest.java66 return VALUE.bindTo(this); in asMethodHandle()
82 static MethodHandle VALUE, REF_IDENTITY, BOX_IDENTITY, INT_IDENTITY; field in MethodHandlesCastFailureTest.Surprise
85 VALUE = PRIVATE.findVirtual(
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFloatingDecimal.java471 private static final java.util.regex.Pattern VALUE; field in FloatingDecimal.HexFloatPattern
474 VALUE = null;
/libcore/luni/src/test/java/libcore/java/io/
DSerializationTest.java329 VALUE; enumConstant
/libcore/ojluni/src/main/java/jdk/internal/math/
DFloatingDecimal.java2062 private static final Pattern VALUE = Pattern.compile( field in FloatingDecimal.HexFloatPattern
2078 Matcher m = HexFloatPattern.VALUE.matcher(s); in parseHexString()