Lines Matching refs:buf
128 StringBuffer buf = new StringBuffer();
131 buf.append(',');
134 buf.append(rdn);
137 unparsed = new String(buf);
618 StringBuffer buf = new StringBuffer();
621 buf.append('+');
623 buf.append(tvs.elementAt(i));
625 return new String(buf);
797 StringBuffer buf = new StringBuffer(2 * val.length());
816 buf.append('\\');
818 buf.append(c);
820 return new String(buf);
829 StringBuffer buf = new StringBuffer(1 + 2 * val.length);
830 buf.append("#");
834 buf.append(Character.forDigit(0xF & (b >>> 4), 16));
835 buf.append(Character.forDigit(0xF & b, 16));
838 return (new String(buf)).toUpperCase();
886 StringBuffer buf = new StringBuffer(end - beg);
893 buf.append(chars[i]); // snarf escaped char
901 buf.append(new String(utf8, "UTF8"));
913 buf.append(chars[i]); // snarf unescaped char
919 int len = buf.length();
920 if (isWhitespace(buf.charAt(len - 1)) && esc != (end - 1)) {
921 buf.setLength(len - 1);
924 return new String(buf);