Lines Matching refs:buf
461 StringBuffer buf = new StringBuffer(rdlen);
464 pos += decodeCharString(pos, buf);
466 buf.append(' ');
469 return buf.toString();
477 StringBuffer buf = new StringBuffer(rdlen);
478 pos += decodeCharString(pos, buf);
479 buf.append(' ');
480 pos += decodeCharString(pos, buf);
481 return buf.toString();
485 * Decodes the <character-string> at msg[pos] and adds it to buf.
492 private int decodeCharString(int pos, StringBuffer buf) {
493 int start = buf.length(); // starting index of this string
501 buf.append('\\');
503 buf.append((char) c);
506 buf.insert(start, '"');
507 buf.append('"');
572 StringBuffer buf = new StringBuffer(40);
574 buf.append(':');
578 buf.append(Integer.toHexString(addr6[i]));
580 buf.append(':');
583 buf.append(':');
587 return buf.toString();