| /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
| D | StreamBuilderTest.java | 92 public void testAfterBuilding(int size) { in testAfterBuilding() 103 public void testStreamBuilder(int size) { in testStreamBuilder() 120 private void testStreamBuilder(int size, Function<Integer, Stream<Integer>> supplier) { in testStreamBuilder() 154 public void testIntAfterBuilding(int size) { in testIntAfterBuilding() 165 public void testIntStreamBuilder(int size) { in testIntStreamBuilder() 182 private void testIntStreamBuilder(int size, Function<Integer, IntStream> supplier) { in testIntStreamBuilder() 216 public void testLongAfterBuilding(int size) { in testLongAfterBuilding() 227 public void testLongStreamBuilder(int size) { in testLongStreamBuilder() 244 private void testLongStreamBuilder(int size, Function<Integer, LongStream> supplier) { in testLongStreamBuilder() 277 public void testDoubleAfterBuilding(int size) { in testDoubleAfterBuilding() [all …]
|
| D | RangeTest.java | 65 int size = (start < end) ? end - start : 0; in testIntRange() local 85 int size = (start <= end) ? end - start + 1 : 0; in testIntRange() local 155 long size = start < end ? end - start : 0; in testLongRange() local
|
| /libcore/jsr166-tests/src/test/java/jsr166/ |
| D | ThreadLocalRandom8Test.java | 78 long size = 0; in testIntsCount() local 93 long size = 0; in testLongsCount() local 108 long size = 0; in testDoublesCount() local 123 long size = 12345L; in testBoundedInts() local 142 long size = 123L; in testBoundedLongs() local 161 long size = 456; in testBoundedDoubles() local 180 long size = 100; in testUnsizedIntsCount() local 191 long size = 100; in testUnsizedLongsCount() local 202 long size = 100; in testUnsizedDoublesCount() local 213 long size = 100; in testUnsizedIntsCountSeq() local [all …]
|
| /libcore/luni/src/main/java/libcore/io/ |
| D | MemoryMappedFile.java | 39 private final int size; field in MemoryMappedFile 42 public MemoryMappedFile(long address, long size) { in MemoryMappedFile() 58 long size = Libcore.os.fstat(fd).st_size; in mmapRO() local 112 public int size() { in size() method in MemoryMappedFile
|
| /libcore/ojluni/src/main/java/java/nio/channels/ |
| D | FileLock.java | 123 private final long size; field in FileLock 148 long position, long size, boolean shared) in FileLock() 186 long position, long size, boolean shared) in FileLock() 247 public final long size() { in size() method in FileLock 272 public final boolean overlaps(long position, long size) { in overlaps()
|
| D | SeekableByteChannel.java | 137 long size() throws IOException; in size() method 167 SeekableByteChannel truncate(long size) throws IOException; in truncate()
|
| D | AsynchronousFileChannel.java | 314 public abstract long size() throws IOException; in size() method in AsynchronousFileChannel 341 public abstract AsynchronousFileChannel truncate(long size) throws IOException; in truncate() 458 long size, in lock() 532 public abstract Future<FileLock> lock(long position, long size, boolean shared); in lock() 606 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock()
|
| D | FileChannel.java | 475 public abstract long size() throws IOException; in size() method in FileChannel 504 public abstract FileChannel truncate(long size) throws IOException; in truncate() 916 long position, long size) in map() 1011 public abstract FileLock lock(long position, long size, boolean shared) in lock() 1122 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock()
|
| /libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
| D | Cache.java | 39 public abstract int size(); in size() method in Cache 52 public abstract void setCapacity(int size); in setCapacity() 58 public static <K, V> sun.security.util.Cache<K, V> newSoftMemoryCache(int size) { in newSoftMemoryCache() 62 public static <K, V> sun.security.util.Cache<K, V> newSoftMemoryCache(int size, int timeout) { in newSoftMemoryCache() 67 public static <K, V> sun.security.util.Cache<K, V> newHardMemoryCache(int size) { in newHardMemoryCache() 75 public static <K, V> sun.security.util.Cache<K, V> newHardMemoryCache(int size, int timeout) { in newHardMemoryCache()
|
| /libcore/luni/src/main/java/libcore/util/ |
| D | NativeAllocationRegistry.java | 57 private final long size; field in NativeAllocationRegistry 79 ClassLoader classLoader, long freeFunction, long size) { in createNonmalloced() 106 ClassLoader classLoader, long freeFunction, long size) { in createMalloced() 154 private NativeAllocationRegistry(ClassLoader classLoader, long freeFunction, long size, in NativeAllocationRegistry() 193 public NativeAllocationRegistry(ClassLoader classLoader, long freeFunction, long size) { in NativeAllocationRegistry() 289 private static void registerNativeAllocation(long size) { in registerNativeAllocation() 304 private static void registerNativeFree(long size) { in registerNativeFree()
|
| /libcore/ojluni/src/main/java/sun/nio/ch/ |
| D | FileDispatcher.java | 41 abstract int truncate(FileDescriptor fd, long size) throws IOException; in truncate() 43 abstract long size(FileDescriptor fd) throws IOException; in size() method in FileDispatcher 45 abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, in lock() 48 abstract void release(FileDescriptor fd, long pos, long size) in release()
|
| D | FileLockImpl.java | 36 FileLockImpl(FileChannel channel, long position, long size, boolean shared) in FileLockImpl() 41 FileLockImpl(AsynchronousFileChannel channel, long position, long size, boolean shared) in FileLockImpl()
|
| D | FileDispatcherImpl.java | 98 int truncate(FileDescriptor fd, long size) throws IOException { in truncate() 104 long size(FileDescriptor fd) throws IOException { in size() method in FileDispatcherImpl 110 int lock(FileDescriptor fd, boolean blocking, long pos, long size, in lock() 118 void release(FileDescriptor fd, long pos, long size) throws IOException { in release() 169 static native int truncate0(FileDescriptor fd, long size) in truncate0() 175 long size, boolean shared) throws IOException; in lock0() 177 static native void release0(FileDescriptor fd, long pos, long size) in release0()
|
| D | SimpleAsynchronousFileChannelImpl.java | 106 public long size() throws IOException { in size() method in SimpleAsynchronousFileChannelImpl 125 public AsynchronousFileChannel truncate(long size) throws IOException { in truncate() 174 final long size, in implLock() 243 public FileLock tryLock(long position, long size, boolean shared) in tryLock()
|
| /libcore/ojluni/src/main/java/sun/nio/fs/ |
| D | NativeBuffer.java | 39 private final int size; field in NativeBuffer 56 NativeBuffer(int size) { in NativeBuffer() 76 int size() { in size() method in NativeBuffer
|
| D | NativeBuffers.java | 46 static NativeBuffer allocNativeBuffer(int size) { in allocNativeBuffer() 56 static NativeBuffer getNativeBufferFromCache(int size) { in getNativeBufferFromCache() 76 static NativeBuffer getNativeBuffer(int size) { in getNativeBuffer()
|
| D | LinuxUserDefinedFileAttributeView.java | 65 private List<String> asList(long address, int size) { in asList() 107 int size = 1024; in list() local 136 public int size(String name) throws IOException { in size() method in LinuxUserDefinedFileAttributeView 303 int size = 1024; in copyExtendedAttributes() local 360 int size = fgetxattr(ofd, name, 0L, 0); in copyExtendedAttribute() local
|
| /libcore/ojluni/src/main/java/java/util/stream/ |
| D | Sink.java | 130 default void begin(long size) {} in begin() 254 public void begin(long size) { in begin() 286 public void begin(long size) { in begin() 318 public void begin(long size) { in begin() 350 public void begin(long size) { in begin()
|
| D | SliceOps.java | 52 private static long calcSize(long size, long skip, long limit) { in calcSize() 135 long size = helper.exactOutputSizeIfKnown(spliterator); in makeRef() local 165 long size = helper.exactOutputSizeIfKnown(spliterator); in makeRef() local 198 public void begin(long size) { in makeRef()
|
| D | Nodes.java | 320 long size = helper.exactOutputSizeIfKnown(spliterator); in collect() local 357 long size = helper.exactOutputSizeIfKnown(spliterator); in collectInt() local 395 long size = helper.exactOutputSizeIfKnown(spliterator); in collectLong() local 433 long size = helper.exactOutputSizeIfKnown(spliterator); in collectDouble() local 466 long size = node.count(); in flatten() local 492 long size = node.count(); in flattenInt() local 518 long size = node.count(); in flattenLong() local 544 long size = node.count(); in flattenDouble() local 643 ArrayNode(long size, IntFunction<T[]> generator) { in ArrayNode() 748 private final long size; field in Nodes.AbstractConcNode [all …]
|
| /libcore/ojluni/src/main/java/sun/security/util/ |
| D | Cache.java | 81 public abstract int size(); in size() method in Cache 106 public abstract void setCapacity(int size); in setCapacity() 122 public static <K,V> Cache<K,V> newSoftMemoryCache(int size) { in newSoftMemoryCache() 131 public static <K,V> Cache<K,V> newSoftMemoryCache(int size, int timeout) { in newSoftMemoryCache() 139 public static <K,V> Cache<K,V> newHardMemoryCache(int size) { in newHardMemoryCache() 156 public static <K,V> Cache<K,V> newHardMemoryCache(int size, int timeout) { in newHardMemoryCache() 211 public int size() { in size() method in NullCache 231 public void setCapacity(int size) { in setCapacity() 341 public synchronized int size() { in size() method in MemoryCache 410 public synchronized void setCapacity(int size) { in setCapacity()
|
| /libcore/luni/src/test/java/libcore/java/util/ |
| D | RandomTest.java | 59 final int size = 32; in test_ints$L() local 97 final int size = 32; in test_ints$LII() local 134 final int size = 32; in test_longs$L() local 172 final int size = 32; in test_longs$LII() local 209 final int size = 32; in test_doubles$L() local 251 final int size = 32; in test_doubles$LII() local
|
| /libcore/ojluni/src/main/java/sun/misc/ |
| D | LRUCache.java | 36 private final int size; field in LRUCache 38 public LRUCache(int size) { in LRUCache()
|
| /libcore/ojluni/annotations/sdk/nullability/java/io/ |
| D | ByteArrayOutputStream.annotated.java | 35 public ByteArrayOutputStream(int size) { throw new RuntimeException("Stub!"); } in ByteArrayOutputStream() 47 public synchronized int size() { throw new RuntimeException("Stub!"); } in size() method in ByteArrayOutputStream
|
| /libcore/ojluni/annotations/hiddenapi/sun/nio/cs/ |
| D | ThreadLocalCoders.java | 55 Cache(int size) { in Cache() 73 private final int size; field in ThreadLocalCoders.Cache
|