Lines Matching refs:buf
220 StringBuilder buf = new StringBuilder();
222 buf.append(quote(s.charAt(i)));
224 return buf.toString();
263 StringBuffer buf = new StringBuffer();
264 buf.append(s.substring(0, i));
268 buf.append("\\u");
269 buf.append(Character.forDigit((ch >> 12) % 16, 16));
270 buf.append(Character.forDigit((ch >> 8) % 16, 16));
271 buf.append(Character.forDigit((ch >> 4) % 16, 16));
272 buf.append(Character.forDigit((ch ) % 16, 16));
274 buf.append(ch);
278 s = buf.toString();