Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 248) sorted by relevance

12345678910

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamBuilderTest.java92 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 …]
DRangeTest.java65 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/
DThreadLocalRandom8Test.java78 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/
DMemoryMappedFile.java37 private final long size; field in MemoryMappedFile
42 public MemoryMappedFile(long address, long size) { in MemoryMappedFile()
52 long size = Libcore.os.fstat(fd).st_size; in mmapRO() local
90 public long size() { in size() method in MemoryMappedFile
DNioBufferIterator.java29 private final int size; field in NioBufferIterator
34 NioBufferIterator(long address, int size, boolean swap) { in NioBufferIterator()
/libcore/ojluni/src/main/java/java/nio/channels/
DFileLock.java120 private final long size; field in FileLock
145 long position, long size, boolean shared) in FileLock()
206 public final long size() { in size() method in FileLock
226 public final boolean overlaps(long position, long size) { in overlaps()
DSeekableByteChannel.java130 long size() throws IOException; in size() method
156 SeekableByteChannel truncate(long size) throws IOException; in truncate()
DFileChannel.java297 public abstract long size() throws IOException; in size() method in FileChannel
326 public abstract FileChannel truncate(long size) throws IOException; in truncate()
738 long position, long size) in map()
833 public abstract FileLock lock(long position, long size, boolean shared) in lock()
944 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileDispatcher.java39 abstract int truncate(FileDescriptor fd, long size) throws IOException; in truncate()
41 abstract long size(FileDescriptor fd) throws IOException; in size() method in FileDispatcher
43 abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, in lock()
46 abstract void release(FileDescriptor fd, long pos, long size) in release()
DFileDispatcherImpl.java85 int truncate(FileDescriptor fd, long size) throws IOException { in truncate()
90 long size(FileDescriptor fd) throws IOException { in size() method in FileDispatcherImpl
95 int lock(FileDescriptor fd, boolean blocking, long pos, long size, in lock()
102 void release(FileDescriptor fd, long pos, long size) throws IOException { in release()
157 static native int truncate0(FileDescriptor fd, long size) in truncate0()
163 long size, boolean shared) throws IOException; in lock0()
165 static native void release0(FileDescriptor fd, long pos, long size) in release0()
DAllocatedNativeObject.java52 AllocatedNativeObject(int size, boolean pageAligned) { in AllocatedNativeObject()
DIOVecWrapper.java55 private final int size; field in IOVecWrapper
85 private IOVecWrapper(int size) { in IOVecWrapper()
95 static IOVecWrapper get(int size) { in get()
/libcore/ojluni/src/main/java/sun/net/www/http/
DChunkedOutputStream.java47 private int size; field in ChunkedOutputStream
65 private static int getHeaderSize(int size) { in getHeaderSize()
70 private static byte[] getHeader(int size){ in getHeader()
90 public ChunkedOutputStream(PrintStream o, int size) { in ChunkedOutputStream()
273 public int size() { in size() method in ChunkedOutputStream
/libcore/luni/src/main/java/libcore/util/
DNativeAllocationRegistry.java45 private final long size; field in NativeAllocationRegistry
76 public NativeAllocationRegistry(ClassLoader classLoader, long freeFunction, long size) { in NativeAllocationRegistry()
218 private static void registerNativeAllocation(long size) { in registerNativeAllocation()
222 private static void registerNativeFree(long size) { in registerNativeFree()
/libcore/ojluni/src/main/java/java/util/stream/
DSink.java129 default void begin(long size) {} in begin()
253 public void begin(long size) { in begin()
285 public void begin(long size) { in begin()
317 public void begin(long size) { in begin()
349 public void begin(long size) { in begin()
DSliceOps.java52 private static long calcSize(long size, long skip, long limit) { in calcSize()
134 long size = helper.exactOutputSizeIfKnown(spliterator); in makeRef() local
163 long size = helper.exactOutputSizeIfKnown(spliterator); in makeRef() local
195 public void begin(long size) { in makeRef()
DNodes.java320 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/misc/
DLRUCache.java36 private final int size; field in LRUCache
38 public LRUCache(int size) { in LRUCache()
/libcore/ojluni/src/main/java/sun/security/util/
DCache.java81 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/
DRandomTest.java59 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
DOldAbstractSetTest.java48 public int size() { in size() method
/libcore/ojluni/src/main/native/
DBits.c80 size_t size; in Java_java_nio_Bits_copyFromShortArray() local
115 size_t size; in Java_java_nio_Bits_copyToShortArray() local
150 size_t size; in Java_java_nio_Bits_copyFromIntArray() local
185 size_t size; in Java_java_nio_Bits_copyToIntArray() local
220 size_t size; in Java_java_nio_Bits_copyFromLongArray() local
255 size_t size; in Java_java_nio_Bits_copyToLongArray() local
/libcore/support/src/test/java/tests/support/
DSupport_OutputStream.java21 private int size; field in Support_OutputStream
103 public int size() { in size() method in Support_OutputStream
/libcore/luni/src/test/java/libcore/util/
DNativeAllocationRegistryTest.java50 int size = 1024*1024; in testNativeAllocation() local
121 long size = 1234; in testEarlyFree() local
196 private static native long doNativeAllocation(long size); in doNativeAllocation()
/libcore/dom/src/test/java/org/w3c/domts/
DJUnitTestCaseAdapter.java245 int size = expected.size(); in assertEqualsIgnoreCase() local
273 int size = expected.size(); in assertEqualsIgnoreCase() local
309 int size = expected.size(); in assertEquals() local
377 int size = expected.size(); in equalsIgnoreCase() local
402 int size = expected.size(); in equalsIgnoreCase() local
436 int size = expected.size(); in equals() local
461 int size = expected.size(); in equals() local
478 public int size(Collection collection) { in size() method in JUnitTestCaseAdapter
482 public int size(NamedNodeMap collection) { in size() method in JUnitTestCaseAdapter
486 public int size(NodeList collection) { in size() method in JUnitTestCaseAdapter

12345678910