Home
last modified time | relevance | path

Searched refs:U (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DExchanger.java339 Node q = (Node)U.getObjectVolatile(a, j = (i << ASHIFT) + ABASE); in arenaExchange()
340 if (q != null && U.compareAndSwapObject(a, j, q, null)) { in arenaExchange()
345 U.unpark(w); in arenaExchange()
350 if (U.compareAndSwapObject(a, j, null, p)) { in arenaExchange()
356 U.putOrderedObject(p, MATCH, null); in arenaExchange()
369 else if (U.getObjectVolatile(a, j) != p) in arenaExchange()
374 U.putObject(t, BLOCKER, this); // emulate LockSupport in arenaExchange()
376 if (U.getObjectVolatile(a, j) == p) in arenaExchange()
377 U.park(false, ns); in arenaExchange()
379 U.putObject(t, BLOCKER, null); in arenaExchange()
[all …]
DCountedCompleter.java499 do {} while (!U.compareAndSwapInt(this, PENDING, c = pending, c+delta)); in addToPendingCount()
511 return U.compareAndSwapInt(this, PENDING, expected, count); in compareAndSetPendingCount()
523 !U.compareAndSwapInt(this, PENDING, c, c - 1)); in decrementPendingCountUnlessZero()
556 else if (U.compareAndSwapInt(a, PENDING, c, c - 1)) in tryComplete()
579 else if (U.compareAndSwapInt(a, PENDING, c, c - 1)) in propagateCompletion()
624 else if (U.compareAndSwapInt(this, PENDING, c, c - 1)) in firstComplete()
709 private static final sun.misc.Unsafe U; field in CountedCompleter
713 U = sun.misc.Unsafe.getUnsafe();
714 PENDING = U.objectFieldOffset
DForkJoinPool.java679 U.getObject in isEmpty()
695 U.putOrderedObject(a, ((m & s) << ASHIFT) + ABASE, task); in push()
722 x = (ForkJoinTask<?>)U.getObjectVolatile(oldA, oldj); in growArray()
724 U.compareAndSwapObject(oldA, oldj, x, null)) in growArray()
725 U.putObjectVolatile(a, j, x); in growArray()
740 if ((t = (ForkJoinTask<?>)U.getObject(a, j)) == null) in pop()
742 if (U.compareAndSwapObject(a, j, t, null)) { in pop()
760 if ((t = (ForkJoinTask<?>)U.getObjectVolatile(a, j)) != null && in pollAt()
761 base == b && U.compareAndSwapObject(a, j, t, null)) { in pollAt()
762 U.putOrderedInt(this, QBASE, b + 1); in pollAt()
[all …]
DConcurrentHashMap.java560 return (Node<K,V>)U.getObjectVolatile(tab, ((long)i << ASHIFT) + ABASE); in tabAt()
565 return U.compareAndSwapObject(tab, ((long)i << ASHIFT) + ABASE, c, v); in casTabAt()
569 U.putOrderedObject(tab, ((long)i << ASHIFT) + ABASE, v); in setTabAt()
1545 else if (U.compareAndSwapInt(this, SIZECTL, sc, -1)) { in initTable()
1576 !U.compareAndSwapLong(this, BASECOUNT, b = baseCount, s = b + x)) { in addCount()
1583 U.compareAndSwapLong(a, CELLVALUE, v = a.value, v + x))) { in addCount()
1599 if (U.compareAndSwapInt(this, SIZECTL, sc, sc - 1)) in addCount()
1602 else if (U.compareAndSwapInt(this, SIZECTL, sc, -2)) in addCount()
1618 U.compareAndSwapInt(this, SIZECTL, sc, sc - 1)) in helpTransfer()
1638 if (U.compareAndSwapInt(this, SIZECTL, sc, -1)) { in tryPresize()
[all …]
DForkJoinTask.java238 if (U.compareAndSwapInt(this, STATUS, s, s | completion)) { in setCompletion()
276 return s >= 0 && U.compareAndSwapInt(this, STATUS, s, s | SIGNAL); in trySetSignal()
296 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in externalAwaitDone()
332 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in externalInterruptibleAwaitDone()
1021 U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { in get()
1312 if (U.compareAndSwapInt(this, STATUS, s = status, in setForkJoinTaskTag()
1337 if (U.compareAndSwapInt(this, STATUS, s, in compareAndSetForkJoinTaskTag()
1494 private static final sun.misc.Unsafe U; field in ForkJoinTask
1502 U = sun.misc.Unsafe.getUnsafe();
1504 STATUS = U.objectFieldOffset
/libcore/luni/src/main/java/java/lang/
DRealToString.java229 int U = digits[digitIndex++]; in freeFormat() local
231 if (U != -1) { in freeFormat()
232 sb.append0((char) ('0' + U)); in freeFormat()
240 U = digitIndex < digitCount ? digits[digitIndex++] : -1; in freeFormat()
241 } while (U != -1 || k >= -1); in freeFormat()
288 int U; in longDigitGenerator() local
291 U = 0; in longDigitGenerator()
296 U += 1 << i; in longDigitGenerator()
308 digits[digitCount++] = U; in longDigitGenerator()
311 digits[digitCount++] = U; in longDigitGenerator()
[all …]
/libcore/luni/src/main/native/
Djava_lang_RealToString.cpp68 jint k, firstK, U; in RealToString_bigIntDigitGenerator() local
181 U = 0; in RealToString_bigIntDigitGenerator()
191 U += 1 << i; in RealToString_bigIntDigitGenerator()
216 digits[digitCount++] = U; in RealToString_bigIntDigitGenerator()
222 digits[digitCount++] = U; in RealToString_bigIntDigitGenerator()
224 digits[digitCount++] = U + 1; in RealToString_bigIntDigitGenerator()
226 digits[digitCount++] = U; in RealToString_bigIntDigitGenerator()
228 digits[digitCount++] = U + 1; in RealToString_bigIntDigitGenerator()
/libcore/luni/src/main/java/java/util/concurrent/atomic/
DAtomicIntegerFieldUpdater.java48 public static <U> AtomicIntegerFieldUpdater<U> newUpdater(Class<U> tclass, String fieldName) { in newUpdater()
49 return new AtomicIntegerFieldUpdaterImpl<U>(tclass, fieldName); in newUpdater()
DAtomicReferenceFieldUpdater.java66 …public static <U, W> AtomicReferenceFieldUpdater<U,W> newUpdater(Class<U> tclass, Class<W> vclass,… in newUpdater()
67 return new AtomicReferenceFieldUpdaterImpl<U,W>(tclass, in newUpdater()
DAtomicLongFieldUpdater.java48 public static <U> AtomicLongFieldUpdater<U> newUpdater(Class<U> tclass, String fieldName) { in newUpdater()
50 return new CASUpdater<U>(tclass, fieldName); in newUpdater()
52 return new LockedUpdater<U>(tclass, fieldName); in newUpdater()
/libcore/support/src/test/java/tests/resources/x509/
Dcerts.pem46 BD+U+gIVAIyXLNTBLfUS1+ctK79IYVHrHFMy
/libcore/luni/src/test/java/libcore/java/util/
DEnumSetTest.java105 HF, TA, W, RE, OS, IR, PT, AU, HG, TL, PB, BI, PO, AT, RN, FR, RA, AC, TH, PA, U, NP, PU, enumConstant
/libcore/libart/src/main/java/java/lang/
DClass.java1706 public <U> Class<? extends U> asSubclass(Class<U> c) { in asSubclass()
1708 return (Class<? extends U>)this; in asSubclass()
/libcore/luni/src/main/files/cacerts/
De48193cf.09 ba0F8PrVC8+a5fBQpIs7R6UjW3p6+DM/uO+Zl+MgwdYoic+U+7lF7eNAFxHUdPAL
Dcdaebb72.010 hXeiD+EwR+4A5zN9RGcaC1Hoi6CeUJhoNFIfLm0B8mBF8jHrqTFoKbt6QZ7GGX+U
Dab5346f4.011 UK31BQ1FT0Zx/Sg+U/sE2C3XZR1KG/rPO7AxmjVuyIsG0wCR8pQIZUyxNAYAeoni
/libcore/luni/src/main/java/java/util/
DArrays.java2608 public static <T, U> T[] copyOf(U[] original, int newLength, Class<? extends T[]> newType) { in copyOf()
2904 …public static <T, U> T[] copyOfRange(U[] original, int start, int end, Class<? extends T[]> newTyp… in copyOfRange()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java44 … v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, aa, … enumConstant
52 … F{}, G{}, H{}, I{}, J{}, K{}, L{}, M{}, N{}, O{}, P{}, Q{}, R{}, S{}, T{}, U{}, V{}, W{}, X{}, Y{… enumConstant
56 … v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, aa, … enumConstant