Lines Matching refs:buf
168 StringBuffer buf = new StringBuffer();
172 if (buf.length() > 0 || label.length() == 0) {
173 buf.append('.');
175 escape(buf, label);
177 domain = buf.toString();
531 * Append a label to buf, escaping as needed.
533 private static void escape(StringBuffer buf, String label) {
537 buf.append('\\');
539 buf.append(c);
573 StringBuffer buf = new StringBuffer(label.length());
579 buf.append(c);
581 return buf.toString();