Searched refs:count (Results 76 - 100 of 2064) sorted by relevance

1234567891011>>

/openjdk10/test/lib/jdk/test/lib/hprof/model/
H A DReferenceChain.java60 int count = 1;
63 count++;
66 return count;
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/hotpath/
H A DHP_field02.java40 public int run(int count) { argument
41 for (int i = 0; i <= count; i++) {
54 public static int test(int count) { argument
55 return new TestClass().run(count);
H A DHP_allocate04.java33 public static int test(int count) { argument
34 int[] a = new int[count];
41 int iwrap = count - 1;
44 while (i < count) {
H A DHP_allocate03.java33 public static int test(int count) { argument
37 for (int i = 0; i < count; i++) {
H A DHP_convert01.java34 public static int test(int count) { argument
36 for (int i = 0; i < count; i++) {
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/loop/
H A DLoop16.java40 public int run(int count) { argument
41 l1: for (int i = 0; i <= count; i++) {
59 public static int test(int count) { argument
60 return new TestClass().run(count);
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/misc/
H A DJavaAWTFontAccess.java38 public void shape(Object shaper, char[] text, int start, int count); argument
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/sasl/
H A DSaslInputStream.java79 int count = read(inBuf, 0, 1);
80 if (count > 0) {
87 public int read(byte[] inBuf, int start, int count) throws IOException { argument
100 if (count > avail) {
110 System.arraycopy(buf, bufPos, inBuf, start, count);
111 bufPos += count;
112 return count;
159 int count, pos = 0;
166 count = in.read(inBuf, pos, total);
169 System.err.println("readFully read " + count);
205 networkByteOrderToInt(byte[] buf, int start, int count) argument
[all...]
/openjdk10/jdk/test/java/io/charStreams/
H A DABCOutputStream.java32 int count = 0; field in class:ABCOutputStream
40 if (count >= len)
47 count++;
58 else if (count < len)
/openjdk10/jdk/test/java/awt/image/
H A DSampleModelConstructorTest.java61 int count = 0;
68 count++;
73 if (count != expectedCount) {
76 expectedCount + " Got Count = " + count);
/openjdk10/jdk/test/java/lang/ThreadGroup/
H A DSuspend.java33 private static volatile int count = 0; field in class:Suspend
47 count++;
66 count = 0;
69 // Increment of the count indicates that the second thread is still running
70 boolean failed = (count > 1);
/openjdk10/jdk/test/java/beans/PropertyChangeSupport/
H A DTestEquals.java57 int count = v1.count + v2.count;
58 if (amount < count)
59 throw new Error("method equals() is called " + count + " times");
61 v1.count = 0;
62 v2.count = 0;
66 private int count; field in class:TestEquals
75 this.count++;
/openjdk10/jdk/test/java/beans/VetoableChangeSupport/
H A DTestEquals.java56 int count = v1.count + v2.count;
57 if (amount < count)
58 throw new Error("method equals() is called " + count + " times");
60 v1.count = 0;
61 v2.count = 0;
65 private int count; field in class:TestEquals
74 this.count++;
/openjdk10/jdk/test/javax/imageio/plugins/tiff/
H A DTIFFCreateArrayForTypeTest.java37 static int count = 0; field in class:TIFFCreateArrayForTypeTest
43 count = 2;
46 TIFFField.createArrayForType(dataType, count);
58 // check passing negative count value for createArrayForType()
59 count = -1;
61 TIFFField.createArrayForType(TIFFTag.TIFF_LONG, count);
74 * check passing zero count value for createArrayForType() with
77 count = 0;
79 TIFFField.createArrayForType(TIFFTag.TIFF_RATIONAL, count);
92 * check passing count valu
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/security/ssl/
H A DSSLSocketOutputRecord.java54 count = position;
63 ", length = " + (count - headerSize));
71 deliverStream.write(buf, 0, count); // may throw IOException
76 "[Raw write]: length = " + count, buf, 0, count);
80 count = 0;
122 "[Raw write]: length = " + count, record, 0, limit);
136 if (count == 0) {
137 count = position;
140 if ((count
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/lang/
H A DAbstractStringBuilder.java68 * The count is the number of characters used.
70 int count; field in class:AbstractStringBuilder
92 * Returns the length (character count).
99 return count;
203 StringLatin1.inflate(value, 0, buf, 0, count);
216 int length = count << coder;
252 if (count < newLength) {
254 StringLatin1.fillNull(value, count, newLength);
256 StringUTF16.fillNull(value, count, newLength);
259 count
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/io/
H A DCharArrayWriter.java52 protected int count; field in class:CharArrayWriter
80 int newcount = count + 1;
84 buf[count] = (char)c;
85 count = newcount;
108 int newcount = count + len;
112 System.arraycopy(c, off, buf, count, len);
113 count = newcount;
130 int newcount = count + len;
134 str.getChars(off, off + len, buf, count);
135 count
[all...]
H A DByteArrayInputStream.java49 * through <code>buf[count-1]</code> are the
59 * and not larger than the value of <code>count</code>.
89 protected int count; field in class:ByteArrayInputStream
98 * of <code>count</code> is the length of
106 this.count = buf.length;
114 * of <code>count</code> is the minimum of <code>offset+length</code>
126 this.count = Math.min(offset + length, buf.length);
144 return (pos < count) ? (buf[pos++] & 0xff) : -1;
150 * If <code>pos</code> equals <code>count</code>,
154 * <code>len</code> and <code>count
[all...]
/openjdk10/jdk/src/jdk.httpserver/share/classes/sun/net/httpserver/
H A DChunkedOutputStream.java58 private int count = 0; field in class:ChunkedOutputStream
72 count ++;
73 if (count == CHUNK_SIZE) {
76 assert count < CHUNK_SIZE;
83 int remain = CHUNK_SIZE - count;
86 count = CHUNK_SIZE;
94 count = CHUNK_SIZE;
100 count += len;
103 if (count == CHUNK_SIZE) {
111 * count mus
[all...]
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/concurrent/
H A DCondVar.java61 * private int count = 0;
78 * while (count == array.length) {
83 * ++count;
95 * while (count == 0) {
101 * --count;
113 * if (count == array.length) {
115 * if (count == array.length)
120 * ++count;
133 * if (count == 0) {
135 * if (count
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/image/
H A DImageDecoder.java78 int count = 0;
81 count++;
83 return count;
88 int count = 0;
91 count++;
93 return count;
98 int count = 0;
101 count++;
103 return count;
108 int count
[all...]
/openjdk10/jdk/src/java.desktop/unix/native/libjsound/
H A DPLATFORM_API_SolarisOS_Utils.c49 int count = MAX_AUDIO_DEVICES; local
51 getAudioDevices(globalADPaths, &count);
52 return count;
56 int addAudioDevice(char* path, AudioDevicePath* adPath, int* count) { argument
68 for (i = 0; i < *count; i++) {
76 adPath[*count].st_ino = statBuf.st_ino;
77 adPath[*count].st_dev = statBuf.st_dev;
78 strncpy(adPath[*count].path, path, MAX_NAME_LENGTH);
79 adPath[*count].path[MAX_NAME_LENGTH - 1] = 0;
80 (*count)
88 getAudioDevices(AudioDevicePath* adPath, int* count) argument
127 int count = MAX_AUDIO_DEVICES; local
[all...]
/openjdk10/hotspot/src/share/vm/prims/
H A DjniFastGetField.cpp30 int JNI_FastGetField::count = 0; member in class:JNI_FastGetField
33 for (int i=0; i<count; i++) {
/openjdk10/jdk/test/javax/script/
H A DTest5.js3 print(count);
5 switch (count) {
39 throw "unexpected count";
/openjdk10/nashorn/test/script/basic/es6/
H A DJDK-8151811.js33 let count = 0;
42 Assert.assertTrue(i == count++);
64 count = 0;
69 Assert.assertEquals(funcs[count++](), array[i] + array[j] + array[k]);

Completed in 154 milliseconds

1234567891011>>