Lines Matching defs:buf
100 private void append(char[] buf, int i, final int length) throws IOException {
105 append(buf, i, next<end ? BUFFER_LEN : (end-i));
115 System.arraycopy(buf, i, mText, pos, length);
149 private void escapeAndAppendString(char[] buf, int start, int len) throws IOException {
156 char c = buf[pos];
160 if (lastPos < pos) append(buf, lastPos, pos-lastPos);
164 if (lastPos < pos) append(buf, lastPos, pos-lastPos);
375 public XmlSerializer text(char[] buf, int start, int len) throws IOException,
381 escapeAndAppendString(buf, start, len);
383 mLineStart = buf[start+len-1] == '\n';