/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 395 int sl = off + slen; in encode0() local 399 while (sp < sl) { in encode0() 400 int sl0 = Math.min(sp + slen, sl); in encode0() 610 int sp, sl; in decode() local 614 sl = buffer.arrayOffset() + buffer.limit(); in decode() 620 sl = src.length; in decode() 622 byte[] dst = new byte[outLength(src, sp, sl)]; in decode() 623 return ByteBuffer.wrap(dst, 0, decode0(src, sp, sl, dst)); in decode() 650 private int outLength(byte[] src, int sp, int sl) { in outLength() argument 653 int len = sl - sp; in outLength() [all …]
|
D | HashMap.java | 2052 TreeNode<K,V> s = pr, sl; in removeTreeNode() local 2053 while ((sl = s.left) != null) // find successor in removeTreeNode() 2054 s = sl; in removeTreeNode() 2296 TreeNode<K,V> sl = xpr.left, sr = xpr.right; in balanceDeletion() local 2298 (sl == null || !sl.red)) { in balanceDeletion() 2304 if (sl != null) in balanceDeletion() 2305 sl.red = false; in balanceDeletion() 2334 TreeNode<K,V> sl = xpl.left, sr = xpl.right; in balanceDeletion() local 2335 if ((sl == null || !sl.red) && in balanceDeletion() 2341 if (sl == null || !sl.red) { in balanceDeletion() [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileSystems.java | 332 ServiceLoader<FileSystemProvider> sl = ServiceLoader in newFileSystem() local 334 for (FileSystemProvider provider: sl) { in newFileSystem() 397 ServiceLoader<FileSystemProvider> sl = ServiceLoader in newFileSystem() local 399 for (FileSystemProvider provider: sl) { in newFileSystem()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | SelectorProvider.java | 109 ServiceLoader<SelectorProvider> sl = in loadProviderAsService() local 112 Iterator<SelectorProvider> i = sl.iterator(); in loadProviderAsService()
|
D | AsynchronousChannelProvider.java | 112 ServiceLoader<AsynchronousChannelProvider> sl = in loadProviderAsService() local 115 Iterator<AsynchronousChannelProvider> i = sl.iterator(); in loadProviderAsService()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | StampedLockTest.java | 842 StampedLock sl = new StampedLock(); in testAsWriteLock() local 843 Lock lock = sl.asWriteLock(); in testAsWriteLock() 854 StampedLock sl = new StampedLock(); in testAsReadLock() local 855 Lock lock = sl.asReadLock(); in testAsReadLock() 865 StampedLock sl = new StampedLock(); in testAsReadWriteLockWriteLock() local 866 Lock lock = sl.asReadWriteLock().writeLock(); in testAsReadWriteLockWriteLock() 877 StampedLock sl = new StampedLock(); in testAsReadWriteLockReadLock() local 878 Lock lock = sl.asReadWriteLock().readLock(); in testAsReadWriteLockReadLock()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 115 ServiceLoader<FileSystemProvider> sl = ServiceLoader in loadInstalledProviders() local 119 for (FileSystemProvider provider: sl) { in loadInstalledProviders()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset.java | 361 ServiceLoader<CharsetProvider> sl = in providers() 363 Iterator<CharsetProvider> i = sl.iterator(); in providers()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | VectorTest.java | 1258 List sl = tVector.subList(10, 25); in test_subListII() local 1259 assertEquals("Returned sublist of incorrect size", 15, sl.size()); in test_subListII() 1261 assertTrue("Returned incorrect sublist", sl in test_subListII() 1264 …nized random access", "java.util.Collections$SynchronizedRandomAccessList", sl.getClass().getName() in test_subListII()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 3021 TreeNode<K,V> s = pr, sl; in removeTreeNode() local 3022 while ((sl = s.left) != null) // find successor in removeTreeNode() 3023 s = sl; in removeTreeNode() 3211 TreeNode<K,V> sl = xpr.left, sr = xpr.right; in balanceDeletion() local 3213 (sl == null || !sl.red)) { in balanceDeletion() 3219 if (sl != null) in balanceDeletion() 3220 sl.red = false; in balanceDeletion() 3249 TreeNode<K,V> sl = xpl.left, sr = xpl.right; in balanceDeletion() local 3250 if ((sl == null || !sl.red) && in balanceDeletion() 3256 if (sl == null || !sl.red) { in balanceDeletion() [all …]
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 972 socklen_t sl = sizeof(ss); in Linux_accept() local 975 socklen_t* peerLength = (javaSocketAddress != NULL) ? &sl : 0; in Linux_accept() 2125 socklen_t sl = sizeof(ss); in Linux_recvfromBytes() local 2128 socklen_t* fromLength = (javaInetSocketAddress != NULL) ? &sl : 0; in Linux_recvfromBytes()
|