Home
last modified time | relevance | path

Searched refs:linebuffer (Results 1 – 2 of 2) sorted by relevance

/external/apache-http/src/org/apache/http/impl/io/
DAbstractSessionInputBuffer.java65 private ByteArrayBuffer linebuffer = null; field in AbstractSessionInputBuffer
87 this.linebuffer = new ByteArrayBuffer(buffersize); in init()
173 this.linebuffer.clear(); in readLine()
181 if (this.linebuffer.isEmpty()) { in readLine()
187 this.linebuffer.append(this.buffer, this.bufferpos, len); in readLine()
193 this.linebuffer.append(this.buffer, this.bufferpos, len); in readLine()
201 if (this.maxLineLen > 0 && this.linebuffer.length() >= this.maxLineLen) { in readLine()
205 if (noRead == -1 && this.linebuffer.isEmpty()) { in readLine()
215 int l = this.linebuffer.length(); in lineFromLineBuffer()
217 if (this.linebuffer.byteAt(l - 1) == HTTP.LF) { in lineFromLineBuffer()
[all …]
/external/libvorbis/vq/
Dbookutil.c83 static char *linebuffer=NULL; variable
96 linebuffer=_ogg_malloc(lbufsize); in get_line()
99 linebuffer=_ogg_realloc(linebuffer,lbufsize); in get_line()
109 linebuffer[sofar]='\0'; in get_line()
113 linebuffer[sofar++]=c; in get_line()
114 linebuffer[sofar]='\0'; in get_line()
120 if(linebuffer[0]=='#'){ in get_line()
123 return(linebuffer); in get_line()