Home
last modified time | relevance | path

Searched defs:count (Results 1 – 25 of 274) sorted by relevance

1234567891011

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCountLargeTest.java49 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testRefLarge() local
55 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testRefLarge() local
64 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testIntLarge() local
70 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testIntLarge() local
79 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testLongLarge() local
85 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testLongLarge() local
94 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testDoubleLarge() local
100 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testDoubleLarge() local
DFlatMapOpTest.java156 AtomicInteger count = new AtomicInteger(); in testOpsShortCircuit() local
190 AtomicInteger count = new AtomicInteger(); in testIntOpsShortCircuit() local
227 AtomicInteger count = new AtomicInteger(); in testLongOpsShortCircuit() local
264 AtomicInteger count = new AtomicInteger(); in testDoubleOpsShortCircuit() local
/libcore/ojluni/src/test/java/util/Random/
DRandomStreamTest.java67 public void testRandomIntStream(final Random random, final int count) { in testRandomIntStream()
70 assertEquals(destination.size(), count); in testRandomIntStream() local
74 public void testRandomLongStream(final Random random, final int count) { in testRandomLongStream()
77 assertEquals(destination.size(), count); in testRandomLongStream() local
81 public void testRandomDoubleStream(final Random random, final int count) { in testRandomDoubleStream()
85 assertEquals(destination.size(), count); in testRandomDoubleStream() local
/libcore/ojluni/src/main/java/java/sql/
DArray.java181 Object getArray(long index, int count) throws SQLException; in getArray()
219 Object getArray(long index, int count, java.util.Map<String,Class<?>> map) in getArray()
307 ResultSet getResultSet(long index, int count) throws SQLException; in getResultSet()
344 ResultSet getResultSet (long index, int count, in getResultSet()
/libcore/luni/src/main/java/org/w3c/dom/
DCharacterData.java82 int count) in substringData()
126 int count) in deleteData()
149 int count, in replaceData()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSourceChannelTest.java69 int count = source.read(ByteBuffer.allocate(10)); in test_read_LByteBuffer_DataAvailable() local
93 long count = source.read(readBuf); in test_read_LByteBuffer_SinkClosed() local
176 long count = source.read(readBufArray); in test_read_$LByteBuffer() local
240 long count = source.read(readBufArray); in test_read_$LByteBuffer_SinkClosed() local
319 long count = source.read(readBufArray, 0, 2); in test_read_$LByteBufferII() local
435 long count = source.read(readBufArray, 0, 1); in test_read_$LByteBufferII_SinkClosed() local
DSinkChannelTest.java89 int count = source.read(readBuf); in test_write_LByteBuffer() local
131 long count = source.read(readBuf); in test_write_LByteBuffer_mutliThread() local
198 int count = source.read(readBuf); in test_write_$LByteBuffer() local
295 int count = source.read(readBuf); in test_write_$LByteBufferII() local
/libcore/support/src/test/java/tests/support/
DSupport_StringReader.java30 private int count; field in Support_StringReader
148 public int read(char buf[], int offset, int count) throws IOException { in read()
228 public long skip(long count) throws IOException { in skip()
DStreams.java39 int count; in streamToBytes() local
52 int count; in streamToString() local
DSupport_StringWriter.java113 public void write(char[] buf, int offset, int count) { in write()
172 public void write(String str, int offset, int count) { in write()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarInputStreamTest.java163 int count = 0; in test_JarInputStream_Integrate_Jar_getNextEntry() local
180 int count = 0; in test_JarInputStream_Modified_Class_getNextEntry() local
228 int count = 0; in test_JarInputStream_Modified_Manifest_EntryAttributes_getNextEntry() local
255 int count = 0; in test_JarInputStream_Modified_SF_EntryAttributes_getNextEntry() local
278 int count = 0; in test_JarInputStream_Modified_Class_read() local
307 int count = 0; in test_Integrate_Jar_read() local
330 int count = 0; in test_JarInputStream_Modified_Manifest_MainAttributes_read() local
361 int count = 0; in test_JarInputStream_Modified_SF_EntryAttributes_read() local
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DCharacterDataImpl.java46 public void deleteData(int offset, int count) throws DOMException { in deleteData()
78 public void replaceData(int offset, int count, String arg) in replaceData()
91 public String substringData(int offset, int count) throws DOMException { in substringData()
/libcore/benchmarks/src/benchmarks/
DReferenceBenchmark.java93 AtomicInteger count; field in ReferenceBenchmark.FinalizableObject
95 public FinalizableObject(AtomicInteger count) { in FinalizableObject()
109 AtomicInteger count = new AtomicInteger(0); in timeFinalization() local
/libcore/luni/src/test/java/libcore/java/io/
DOldFilterWriterTest.java48 public void write(char[] buffer, int offset, int count) throws IOException { in write()
56 public void write(String str, int offset, int count) throws IOException { in write()
60 public long skip(long count) throws IOException { in skip()
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterInputStreamTest.java61 int count; in inflate() local
75 int count; in testReadWithBuffer() local
/libcore/ojluni/src/main/java/java/lang/
DAbstractStringBuilder.java72 int count; field in AbstractStringBuilder
341 int count = this.count; in codePointAt() local
588 int count = this.count; in appendNull() local
710 int count = this.count; in append() local
778 int count = this.count; in append() local
803 int count = this.count; in append() local
864 int count = this.count; in delete() local
947 int count = this.count; in replace() local
1512 int count = this.count; in reverse() local
1555 int count = this.count; in chars() local
[all …]
DStringIndexOutOfBoundsException.java94 StringIndexOutOfBoundsException(String s, int offset, int count) { in StringIndexOutOfBoundsException()
103 int count) { in StringIndexOutOfBoundsException()
/libcore/luni/src/test/java/libcore/java/util/stream/
DCollectorsTest.java45 long count = Stream.of(null, null, null).collect(counting()); in counting_countsNulls() local
57 long count = Stream.of(null, 1, 2, "").collect(counting()); in counting_nonEmptyStream() local
/libcore/ojluni/src/main/java/java/util/
DIntSummaryStatistics.java66 private long count; field in IntSummaryStatistics
108 public IntSummaryStatistics(long count, int min, int max, long sum) in IntSummaryStatistics()
DLongSummaryStatistics.java67 private long count; field in LongSummaryStatistics
109 public LongSummaryStatistics(long count, long min, long max, long sum) in LongSummaryStatistics()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCountDownLatch.java163 Sync(int count) { in Sync()
197 public CountDownLatch(int count) { in CountDownLatch()
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp60 static inline void swapShorts(jshort* dstShorts, const jshort* srcShorts, size_t count) { in swapShorts()
74 static inline void swapInts(jint* dstInts, const jint* srcInts, size_t count) { in swapInts()
81 static inline void swapLongs(jlong* dstLongs, const jlong* srcLongs, size_t count) { in swapLongs()
136 …JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeCharArray()
140 …IEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeDoubleArray()
144 …NIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeFloatArray()
148 …(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeIntArray()
152 …JNIEnv* env, jclass, jlong dstAddress, jlongArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeLongArray()
156 …NIEnv* env, jclass, jlong dstAddress, jshortArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeShortArray()
/libcore/ojluni/src/test/java/lang/String/
DStringRepeat.java179 int count = 0; in verify() local
202 private static String String_repeat(String input, int count) { in String_repeat()
/libcore/ojluni/src/main/java/java/util/stream/
DNode.java188 long count(); in count() method
299 T_ARR newArray(int count); in newArray()
379 default int[] newArray(int count) { in newArray()
456 default long[] newArray(int count) { in newArray()
535 default double[] newArray(int count) { in newArray()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DNamespaceSupportTest.java75 int count; in testPush_PopContext() local
99 int count; in testReset() local

1234567891011