Lines Matching refs:buf
299 StringBuilder buf = new StringBuilder(path.length());
300 buf.append('/');
302 buf.append(pnames[i]).append('/');
308 buf.setLength(buf.length()-1);
310 return buf.toString();
502 StringBuilder buf = new StringBuilder();
503 htmlize(r, buf);
504 out.write(buf.toString());
505 buf.setLength(0);
512 htmlize(a, buf);
513 out.write(buf.toString());
515 buf.setLength(0);
525 htmlize(a, buf);
526 out.write(buf.toString());
527 buf.setLength(0);
580 * @param buf where to append the query string
587 public static void appendQuery(StringBuilder buf, String key,
591 buf.append("&").append(key).append('=').append(URIEncode(value));
775 char[] buf = new char[8192];
777 while ((len = in.read(buf)) >= 0) {
778 out.write(buf, 0, len);
853 StringBuilder buf = new StringBuilder(256);
857 htmlize(str, buf);
859 buf.setLength(0);
879 StringBuilder buf = new StringBuilder(256);
882 htmlize(item, buf);
883 out.append(buf);
884 buf.setLength(0);