Home
last modified time | relevance | path

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

12345678910

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCountLargeTest.java44 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testRefLarge() local
51 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testIntLarge() local
58 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testLongLarge() local
65 long count = LongStream.range(0, EXPECTED_LARGE_COUNT) in testDoubleLarge() 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()
DInputStreamReaderTest.java38 int count = reader.read(buffer); in testReadDoesNotBlockUnnecessarily() local
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterInputStreamTest.java61 int count; in inflate() local
75 int count; in testReadWithBuffer() local
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp64 static inline void swapShorts(jshort* dstShorts, const jshort* srcShorts, size_t count) { in swapShorts()
78 static inline void swapInts(jint* dstInts, const jint* srcInts, size_t count) { in swapInts()
85 static inline void swapLongs(jlong* dstLongs, const jlong* srcLongs, size_t count) { in swapLongs()
137 …JNIEnv* env, jclass, jlong srcAddress, jcharArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekCharArray()
141 …IEnv* env, jclass, jlong srcAddress, jdoubleArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekDoubleArray()
145 …NIEnv* env, jclass, jlong srcAddress, jfloatArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekFloatArray()
149 …(JNIEnv* env, jclass, jlong srcAddress, jintArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekIntArray()
153 …JNIEnv* env, jclass, jlong srcAddress, jlongArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekLongArray()
157 …NIEnv* env, jclass, jlong srcAddress, jshortArray dst, jint dstOffset, jint count, jboolean swap) { in Memory_peekShortArray()
189 …JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOffset, jint count, jboolean swap) { in Memory_pokeCharArray()
[all …]
/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/lang/
DStringIndexOutOfBoundsException.java94 StringIndexOutOfBoundsException(String s, int offset, int count) { in StringIndexOutOfBoundsException()
103 int count) { in StringIndexOutOfBoundsException()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCountDownLatch.java165 Sync(int count) { in Sync()
199 public CountDownLatch(int count) { in CountDownLatch()
DLinkedBlockingQueue.java140 private final AtomicInteger count = new AtomicInteger(); field in LinkedBlockingQueue
338 final AtomicInteger count = this.count; in put() local
379 final AtomicInteger count = this.count; in offer() local
412 final AtomicInteger count = this.count; in offer() local
437 final AtomicInteger count = this.count; in take() local
460 final AtomicInteger count = this.count; in poll() local
482 final AtomicInteger count = this.count; in poll() local
/libcore/ojluni/src/main/java/java/util/stream/
DNode.java184 long count(); in count() method
295 T_ARR newArray(int count); in newArray()
371 default int[] newArray(int count) { in newArray()
444 default long[] newArray(int count) { in newArray()
519 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
/libcore/luni/src/main/java/libcore/util/
DArrayUtils.java32 public static void throwsIfOutOfBounds(int len, int offset, int count) { in throwsIfOutOfBounds()
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeMapTest.java186 int count = 1; in testKeySetOrder() local
224 int count = 1; in testDescendingKeySetOrder() local
243 int count = 1; in testDescendingKeySetDescendingIteratorOrder() local
DConcurrentSkipListMapTest.java187 int count = 1; in testKeySetOrder() local
225 int count = 1; in testDescendingKeySetOrder() local
244 int count = 1; in testDescendingKeySetDescendingIteratorOrder() local
/libcore/luni/src/test/java/libcore/java/lang/ref/
DFinalizeTest.java135 AtomicInteger count = new AtomicInteger(); in testSystemRunFinalizationReturnsEvenIfQueueIsNonEmpty() local
146 int count = counter.incrementAndGet(); in createChainedFinalizer() local

12345678910