Home
last modified time | relevance | path

Searched refs:lineBuf (Results 1 – 11 of 11) sorted by relevance

/external/apache-http/src/org/apache/http/impl/conn/
DDefaultResponseParser.java59 private final CharArrayBuffer lineBuf; field in DefaultResponseParser
73 this.lineBuf = new CharArrayBuffer(128); in DefaultResponseParser()
83 this.lineBuf.clear(); in parseHead()
88 int i = sessionBuffer.readLine(this.lineBuf); in parseHead()
93 cursor = new ParserCursor(0, this.lineBuf.length()); in parseHead()
94 if (lineParser.hasProtocolVersion(this.lineBuf, cursor)) { in parseHead()
105 StatusLine statusline = lineParser.parseStatusLine(this.lineBuf, cursor); in parseHead()
/external/apache-http/src/org/apache/http/impl/io/
DHttpResponseParser.java57 private final CharArrayBuffer lineBuf; field in HttpResponseParser
69 this.lineBuf = new CharArrayBuffer(128); in HttpResponseParser()
76 this.lineBuf.clear(); in parseHead()
77 int i = sessionBuffer.readLine(this.lineBuf); in parseHead()
82 ParserCursor cursor = new ParserCursor(0, this.lineBuf.length()); in parseHead()
83 StatusLine statusline = lineParser.parseStatusLine(this.lineBuf, cursor); in parseHead()
DHttpRequestParser.java57 private final CharArrayBuffer lineBuf; field in HttpRequestParser
69 this.lineBuf = new CharArrayBuffer(128); in HttpRequestParser()
76 this.lineBuf.clear(); in parseHead()
77 int i = sessionBuffer.readLine(this.lineBuf); in parseHead()
81 ParserCursor cursor = new ParserCursor(0, this.lineBuf.length()); in parseHead()
82 RequestLine requestline = this.lineParser.parseRequestLine(this.lineBuf, cursor); in parseHead()
DAbstractMessageWriter.java56 protected final CharArrayBuffer lineBuf; field in AbstractMessageWriter
67 this.lineBuf = new CharArrayBuffer(128); in AbstractMessageWriter()
85 (lineFormatter.formatHeader(this.lineBuf, header)); in write()
87 this.lineBuf.clear(); in write()
88 this.sessionBuffer.writeLine(this.lineBuf); in write()
DHttpResponseWriter.java61 (this.lineBuf, ((HttpResponse) message).getStatusLine()); in writeHeadLine()
DHttpRequestWriter.java61 (this.lineBuf, ((HttpRequest) message).getRequestLine()); in writeHeadLine()
/external/icu/icu4c/source/test/intltest/
Dnormconf.cpp163 char lineBuf[BUF_SIZE]; in TestConformance() local
180 T_FileStream_readLine(input, lineBuf, (int32_t)sizeof(lineBuf)); in TestConformance()
189 uprv_strcpy(lineBuf, moreCases[count]); in TestConformance()
191 if (lineBuf[0] == 0 || lineBuf[0] == '\n' || lineBuf[0] == '\r') continue; in TestConformance()
197 if (lineBuf[0] == '#') continue; in TestConformance()
200 if (lineBuf[0] == '@') { in TestConformance()
201 logln(lineBuf); in TestConformance()
206 if (!hexsplit(lineBuf, ';', fields, FIELD_COUNT)) { in TestConformance()
224 if (checkConformance(fields, lineBuf, options, status)) { in TestConformance()
258 sprintf(lineBuf, "not mentioned code point U+%04lx", (long)c); in TestConformance()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dnormconf.cpp163 char lineBuf[BUF_SIZE]; in TestConformance() local
180 T_FileStream_readLine(input, lineBuf, (int32_t)sizeof(lineBuf)); in TestConformance()
189 uprv_strcpy(lineBuf, moreCases[count]); in TestConformance()
191 if (lineBuf[0] == 0 || lineBuf[0] == '\n' || lineBuf[0] == '\r') continue; in TestConformance()
197 if (lineBuf[0] == '#') continue; in TestConformance()
200 if (lineBuf[0] == '@') { in TestConformance()
201 logln(lineBuf); in TestConformance()
206 if (!hexsplit(lineBuf, ';', fields, FIELD_COUNT)) { in TestConformance()
224 if (checkConformance(fields, lineBuf, options, status)) { in TestConformance()
258 sprintf(lineBuf, "not mentioned code point U+%04lx", (long)c); in TestConformance()
[all …]
/external/guava/guava/src/com/google/common/io/
DLineReader.java44 private final LineBuffer lineBuf = new LineBuffer() { field in LineReader
80 lineBuf.finish(); in readLine()
83 lineBuf.add(buf, 0, read); in readLine()
/external/guava/guava-tests/test/com/google/common/io/
DLineBufferTest.java85 LineBuffer lineBuf = new LineBuffer() { in bufferHelper() local
94 lineBuf.add(chars, off, len); in bufferHelper()
97 lineBuf.finish(); in bufferHelper()
/external/chromium_org/third_party/codesighs/
Dmsmap2tsv.c390 char lineBuf[0x400]; in readSymDB() local
401 while(0 == retval && NULL != fgets(lineBuf, sizeof(lineBuf), symDB)) in readSymDB()
403 trimWhite(lineBuf); in readSymDB()
413 symbol = skipWhite(lineBuf); in readSymDB()
2130 char lineBuf[0x400]; in batchMode() local
2139 while(0 == retval && NULL != fgets(lineBuf, sizeof(lineBuf), realInput)) in batchMode()
2141 trimWhite(lineBuf); in batchMode()
2146 if('\0' == lineBuf[0]) in batchMode()
2154 inOptions->mInputName = lineBuf; in batchMode()
2155 inOptions->mInput = fopen(lineBuf, "r"); in batchMode()
[all …]