Lines Matching refs:count
32 private int count;
39 return count;
47 count = 0;
51 if (count + length >= bytes.length) {
52 byte[] newBytes = new byte[(count + length) * 2];
53 System.arraycopy(bytes, 0, newBytes, 0, count);
56 System.arraycopy(buffer, offset, bytes, count, length);
57 count += length;
61 if (count == bytes.length) {
62 byte[] newBytes = new byte[count * 2];
63 System.arraycopy(bytes, 0, newBytes, 0, count);
66 bytes[count++] = (byte) b;
70 if (count == bytes.length) {
73 byte[] result = new byte[count];
74 System.arraycopy(bytes, 0, result, 0, count);
79 return new String(bytes, 0, count, cs);