/libcore/ojluni/src/main/java/java/util/ |
D | ArraysParallelSortHelpers.java | 115 final T[] a, w; field in ArraysParallelSortHelpers.FJObject.Sorter 118 Sorter(CountedCompleter<?> par, T[] a, T[] w, int base, int size, in Sorter() argument 122 this.a = a; this.w = w; this.base = base; this.size = size; in Sorter() 129 T[] a = this.a, w = this.w; // localize all params in compute() local 133 Relay fc = new Relay(new Merger<T>(s, w, a, wb, h, in compute() 135 Relay rc = new Relay(new Merger<T>(fc, a, w, b+h, q, in compute() 137 new Sorter<T>(rc, a, w, b+u, n-u, wb+u, g, c).fork(); in compute() 138 new Sorter<T>(rc, a, w, b+h, q, wb+h, g, c).fork();; in compute() 139 Relay bc = new Relay(new Merger<T>(fc, a, w, b, q, in compute() 141 new Sorter<T>(bc, a, w, b+q, h-q, wb+q, g, c).fork(); in compute() [all …]
|
D | IllegalFormatWidthException.java | 38 private int w; field in IllegalFormatWidthException 46 public IllegalFormatWidthException(int w) { in IllegalFormatWidthException() argument 47 this.w = w; in IllegalFormatWidthException() 56 return w; in getWidth() 60 return Integer.toString(w); in getMessage()
|
D | ArrayList.java | 716 int r = 0, w = 0; in batchRemove() local 721 elementData[w++] = elementData[r]; in batchRemove() 727 elementData, w, in batchRemove() 729 w += size - r; in batchRemove() 731 if (w != size) { in batchRemove() 733 for (int i = w; i < size; i++) in batchRemove() 735 modCount += size - w; in batchRemove() 736 size = w; in batchRemove()
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | ECPublicKeySpec.java | 41 private ECPoint w; field in ECPublicKeySpec 55 public ECPublicKeySpec(ECPoint w, ECParameterSpec params) { in ECPublicKeySpec() argument 56 if (w == null) { in ECPublicKeySpec() 62 if (w == ECPoint.POINT_INFINITY) { in ECPublicKeySpec() 65 this.w = w; in ECPublicKeySpec() 74 return w; in getW()
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | ECPublicKeySpecTest.java | 29 ECPoint w; field in ECPublicKeySpecTest 42 w = new ECPoint(BigInteger.valueOf(1), BigInteger.valueOf(1)); in setUp() 44 ecpks = new ECPublicKeySpec(w, params); in setUp() 48 w = null; in tearDown() 65 assertEquals("wrong w value", w, ecpks.getW()); in test_constructorLjava_security_spec_ECPointLjava_security_spec_ECParameterSpec() 77 new ECPublicKeySpec(w, null); in test_constructorLjava_security_spec_ECPointLjava_security_spec_ECParameterSpec() 88 assertEquals("wrong w value", w, ecpks.getW()); in testGetW()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadPoolExecutor.java | 764 for (Worker w : workers) in checkShutdownAccess() 765 security.checkAccess(w.thread); in checkShutdownAccess() 780 for (Worker w : workers) in interruptWorkers() 781 w.interruptIfStarted(); in interruptWorkers() 810 for (Worker w : workers) { in interruptIdleWorkers() 811 Thread t = w.thread; in interruptIdleWorkers() 812 if (!t.isInterrupted() && w.tryLock()) { in interruptIdleWorkers() 817 w.unlock(); in interruptIdleWorkers() 948 Worker w = null; in addWorker() local 950 w = new Worker(firstTask); in addWorker() [all …]
|
D | SynchronousQueue.java | 264 Thread w = waiter; in tryMatch() local 265 if (w != null) { // waiters need at most one unpark in tryMatch() 267 LockSupport.unpark(w); in tryMatch() 437 Thread w = Thread.currentThread(); in awaitFulfill() local 442 if (w.isInterrupted()) in awaitFulfill() 457 s.waiter = w; // establish waiter so can park next iter in awaitFulfill() 738 Thread w = Thread.currentThread(); in awaitFulfill() local 743 if (w.isInterrupted()) in awaitFulfill() 758 s.waiter = w; in awaitFulfill()
|
D | ForkJoinTask.java | 381 int s; Thread t; ForkJoinWorkerThread wt; ForkJoinPool.WorkQueue w; in doJoin() local 384 (w = (wt = (ForkJoinWorkerThread)t).workQueue). in doJoin() 386 wt.pool.awaitJoin(w, this, 0L) : in doJoin()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodTypeForm.java | 182 Wrapper w = Wrapper.forPrimitiveType(pt); in MethodTypeForm() local 183 if (w.isDoubleWord()) ++lac; in MethodTypeForm() 184 if (w.isSubwordOrInt() && pt != int.class) { in MethodTypeForm() 196 Wrapper w = Wrapper.forPrimitiveType(rt); in MethodTypeForm() local 197 if (w.isDoubleWord()) ++lrc; in MethodTypeForm() 198 if (w.isSubwordOrInt() && rt != int.class) in MethodTypeForm() 229 Wrapper w = Wrapper.forBasicType(pt); in MethodTypeForm() local 230 if (w.isDoubleWord()) --slot; in MethodTypeForm()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 376 private StringBuilder append(StringBuilder sb, int w, int d) { in append() argument 377 while (w > 0) { in append() 378 sb.append((char)(d/w + '0')); in append() 379 d = d % w; in append() 380 w /= 10; in append() 463 int w = 100_000_000; in toString() 466 w /= 10; in toString() 468 append(sb, w, fraction); in toString()
|
D | PosixFilePermissions.java | 42 private static void writeBits(StringBuilder sb, boolean r, boolean w, boolean x) { in writeBits() argument 48 if (w) { in writeBits()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | CoderResult.java | 204 WeakReference<CoderResult> w; in get() local 208 } else if ((w = cache.get(k)) != null) { in get() 209 e = w.get(); in get()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | StampedLock.java | 1012 WNode q; Thread w; in release() local 1019 if (q != null && (w = q.thread) != null) in release() 1020 U.unpark(w); in release() 1088 WNode c; Thread w; in acquireWrite() local 1091 (w = c.thread) != null) in acquireWrite() 1092 U.unpark(w); in acquireWrite() 1191 WNode pp, c; Thread w; in acquireRead() local 1194 (w = c.thread) != null) // help release in acquireRead() 1195 U.unpark(w); in acquireRead() 1253 WNode c; Thread w; in acquireRead() local [all …]
|
D | AbstractQueuedLongSynchronizer.java | 1762 for (Node w = firstWaiter; w != null; w = w.nextWaiter) { in hasWaiters() 1763 if (w.waitStatus == Node.CONDITION) in hasWaiters() 1782 for (Node w = firstWaiter; w != null; w = w.nextWaiter) { in getWaitQueueLength() 1783 if (w.waitStatus == Node.CONDITION) in getWaitQueueLength() 1802 for (Node w = firstWaiter; w != null; w = w.nextWaiter) { in getWaitingThreads() 1803 if (w.waitStatus == Node.CONDITION) { in getWaitingThreads() 1804 Thread t = w.thread; in getWaitingThreads()
|
D | ReentrantReadWriteLock.java | 396 int w = exclusiveCount(c); in tryAcquire() local 399 if (w == 0 || current != getExclusiveOwnerThread()) in tryAcquire() 401 if (w + exclusiveCount(acquires) > MAX_COUNT) in tryAcquire() 561 int w = exclusiveCount(c); in tryWriteLock() local 562 if (w == 0 || current != getExclusiveOwnerThread()) in tryWriteLock() 564 if (w == MAX_COUNT) in tryWriteLock() 1486 int w = Sync.exclusiveCount(c); in toString() local 1490 "[Write locks = " + w + ", Read locks = " + r + "]"; in toString()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | SQLWarning.java | 212 public void setNextWarning(SQLWarning w) { in setNextWarning() argument 213 setNextException(w); in setNextWarning()
|
/libcore/benchmarks/src/benchmarks/ |
D | XmlSerializeBenchmark.java | 51 CharArrayWriter w = new CharArrayWriter(); in serializeRandomXml() local 52 serializer.setOutput(w); in serializeRandomXml()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | ThreadPoolExecutor.java | 163 private void addWorkerFailed(java.util.concurrent.ThreadPoolExecutor.Worker w) { in addWorkerFailed() argument 168 java.util.concurrent.ThreadPoolExecutor.Worker w, boolean completedAbruptly) { in processWorkerExit() argument 176 final void runWorker(java.util.concurrent.ThreadPoolExecutor.Worker w) { in runWorker() argument
|
/libcore/ojluni/src/main/native/ |
D | net_util.c | 348 unsigned short *w = addr; in in_cksum() local 351 sum += *w++; in in_cksum() 356 *(unsigned char *) (&answer) = *(unsigned char *)w; in in_cksum()
|
/libcore/metrictests/memory/ |
D | README | 40 …adb shell am instrument -w -e dumpdir ${RELATIVE_DIR} -e action ${DUMPER_ACTION} libcore.heapdumpe… 81 …adb shell am instrument -w -e dumpdir ${RELATIVE_DIR} -e action ${DUMPER_ACTION} libcore.heapdumpe…
|
/libcore/ojluni/src/main/java/java/io/ |
D | BufferedWriter.java | 264 try (Writer w = out) { in close() argument
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixFileSystemProvider.java | 272 boolean w = false; in checkAccess() 281 case WRITE : w = true; break; in checkAccess() 293 if (w) { in checkAccess()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKThaiBuddhistChronology.java | 876 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, ThaiBuddhistDate expected, boole… in test_resolve_ymaa_lenient() argument 880 fieldValues.put(ChronoField.ALIGNED_WEEK_OF_MONTH, (long) w); in test_resolve_ymaa_lenient() 888 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, ThaiBuddhistDate expected, boolean… in test_resolve_ymaa_smart() argument 892 fieldValues.put(ChronoField.ALIGNED_WEEK_OF_MONTH, (long) w); in test_resolve_ymaa_smart() 909 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, ThaiBuddhistDate expected, boolea… in test_resolve_ymaa_strict() argument 913 fieldValues.put(ChronoField.ALIGNED_WEEK_OF_MONTH, (long) w); in test_resolve_ymaa_strict()
|
D | TCKMinguoChronology.java | 900 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, MinguoDate expected, boolean sma… in test_resolve_ymaa_lenient() argument 904 fieldValues.put(ChronoField.ALIGNED_WEEK_OF_MONTH, (long) w); in test_resolve_ymaa_lenient() 912 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, MinguoDate expected, boolean smart… in test_resolve_ymaa_smart() argument 916 fieldValues.put(ChronoField.ALIGNED_WEEK_OF_MONTH, (long) w); in test_resolve_ymaa_smart() 933 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, MinguoDate expected, boolean smar… in test_resolve_ymaa_strict() argument 937 fieldValues.put(ChronoField.ALIGNED_WEEK_OF_MONTH, (long) w); in test_resolve_ymaa_strict()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicReferenceFieldUpdaterTest.java | 21 Integer w; field in AtomicReferenceFieldUpdaterTest
|