Lines Matching refs:buf
259 byte buf[] = new byte [1024];
262 while ((c=is.read(buf, off, len)) != -1) {
266 String s1 = new String(buf, 0, off, "ISO8859_1");
421 byte[] buf = new byte [200 * 1024];
423 buf[i] = (byte) i;
427 os.write (buf, 10, buf.length - 10); /* skip 10 bytes to test offset */
445 byte[] buf = new byte [30 * 1024];
447 buf[i] = (byte) i;
451 //os.write (buf, 10, buf.length - 10); /* skip 10 bytes to test offset */
452 os.write (buf, 10, (10 * 1024) - 10);
453 os.write (buf, (10 * 1024), (10 * 1024));
454 os.write (buf, (20 * 1024), (10 * 1024));
472 byte[] buf = new byte [30 * 1024];
474 buf[i] = (byte) i;
476 os.write (buf, 10, buf.length - 10); /* skip 10 bytes to test offset */