Searched refs:linebuffer (Results 1 – 4 of 4) sorted by relevance
/external/apache-http/src/org/apache/http/impl/io/ |
D | AbstractSessionInputBuffer.java | 65 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/python/cpython2/Lib/ |
D | codecs.py | 437 self.linebuffer = None 471 if self.linebuffer: 472 self.charbuffer = "".join(self.linebuffer) 473 self.linebuffer = None 531 if self.linebuffer: 532 line = self.linebuffer[0] 533 del self.linebuffer[0] 534 if len(self.linebuffer) == 1: 537 self.charbuffer = self.linebuffer[0] 538 self.linebuffer = None [all …]
|
/external/python/cpython3/Lib/ |
D | codecs.py | 446 self.linebuffer = None 479 if self.linebuffer: 480 self.charbuffer = self._empty_charbuffer.join(self.linebuffer) 481 self.linebuffer = None 542 if self.linebuffer: 543 line = self.linebuffer[0] 544 del self.linebuffer[0] 545 if len(self.linebuffer) == 1: 548 self.charbuffer = self.linebuffer[0] 549 self.linebuffer = None [all …]
|
/external/iperf3/src/ |
D | iperf_api.c | 4359 char linebuffer[1024]; in iperf_printf() local 4362 i = sprintf(linebuffer, "%s", ct); in iperf_printf() 4365 r = vsnprintf(linebuffer + i, sizeof(linebuffer), format, argp); in iperf_printf() 4367 fprintf(test->outfile, "%s", linebuffer); in iperf_printf() 4371 l->line = strdup(linebuffer); in iperf_printf()
|