Lines Matching refs:buf
46 final StringBuffer buf = new StringBuffer(10);
50 buf.append("\\x{0000}");
53 buf.append(targetCharValueEscape[c]);
58 buf.append((char) c);
64 buf.append("\\x{");
65 buf.append(hex);
66 buf.append("}");
69 if (buf.indexOf("\\") == -1) {
71 buf.insert(0, '\'');
72 buf.append('\'');
75 buf.insert(0, '\"');
76 buf.append('\"');
79 return buf.toString();