Searched refs:newlen (Results 1 – 1 of 1) sorted by relevance
50 private void expand(int newlen) { in expand() argument51 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)]; in expand()67 int newlen = this.len + len; in append() local68 if (newlen > this.buffer.length) { in append()69 expand(newlen); in append()72 this.len = newlen; in append()76 int newlen = this.len + 1; in append() local77 if (newlen > this.buffer.length) { in append()78 expand(newlen); in append()81 this.len = newlen; in append()[all …]