Searched refs:newcount (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/java/io/
H A DCharArrayWriter.java80 int newcount = count + 1;
81 if (newcount > buf.length) {
82 buf = Arrays.copyOf(buf, Math.max(buf.length << 1, newcount));
85 count = newcount;
103 int newcount = count + len;
104 if (newcount > buf.length) {
105 buf = Arrays.copyOf(buf, Math.max(buf.length << 1, newcount));
108 count = newcount;
120 int newcount = count + len;
121 if (newcount > bu
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DByteArrayBuffer.java116 int newcount = count + 1;
117 ensureCapacity(newcount);
119 count = newcount;
123 int newcount = count + len;
124 ensureCapacity(newcount);
126 count = newcount;
129 private void ensureCapacity(int newcount) { argument
130 if (newcount > buf.length) {
131 byte newbuf[] = new byte[Math.max(buf.length << 1, newcount)];
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DByteOutputStream.java97 int newcount = space + count;
98 if (newcount > buf.length) {
99 byte[] newbuf = new byte[Math.max(buf.length << 1, newcount)];
/openjdk7/jdk/src/share/classes/java/lang/
H A DStringBuilder.java141 int newcount = count + len;
142 if (newcount > value.length)
143 expandCapacity(newcount);
145 count = newcount;
/openjdk7/jdk/test/java/util/zip/
H A DInflateIn_DeflateOut.java71 int newcount = oldavail + len;
72 byte[] newbuf = new byte[newcount];
76 count = newcount;

Completed in 49 milliseconds