Searched refs:newlen (Results 1 – 1 of 1) sorted by relevance
51 private void expand(int newlen) { in expand() argument52 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)]; in expand()71 int newlen = this.len + len; in append() local72 if (newlen > this.buffer.length) { in append()73 expand(newlen); in append()76 this.len = newlen; in append()80 int newlen = this.len + 1; in append() local81 if (newlen > this.buffer.length) { in append()82 expand(newlen); in append()85 this.len = newlen; in append()[all …]