/external/apache-http/src/org/apache/http/entity/ |
H A D | BufferedHttpEntity.java | 47 * buffer once and provided from there as often as required. 62 private final byte[] buffer; field in class:BufferedHttpEntity 67 this.buffer = EntityUtils.toByteArray(entity); 69 this.buffer = null; 74 if (this.buffer != null) { 75 return this.buffer.length; 82 if (this.buffer != null) { 83 return new ByteArrayInputStream(this.buffer); 95 return (buffer == null) && wrappedEntity.isChunked(); 112 if (this.buffer ! [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
H A D | AuthSchemeBase.java | 89 CharArrayBuffer buffer; 92 buffer = ((FormattedHeader) header).getBuffer(); 99 buffer = new CharArrayBuffer(s.length()); 100 buffer.append(s); 103 while (pos < buffer.length() && HTTP.isWhitespace(buffer.charAt(pos))) { 107 while (pos < buffer.length() && !HTTP.isWhitespace(buffer.charAt(pos))) { 111 String s = buffer.substring(beginIndex, endIndex); 116 parseChallenge(buffer, po 119 parseChallenge( CharArrayBuffer buffer, int pos, int len) argument [all...] |
H A D | RFC2617Scheme.java | 72 final CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException { 74 ParserCursor cursor = new ParserCursor(pos, buffer.length()); 75 HeaderElement[] elements = parser.parseElements(buffer, cursor); 71 parseChallenge( final CharArrayBuffer buffer, int pos, int len) argument
|
/external/apache-http/src/org/apache/http/impl/conn/ |
H A D | DefaultResponseParser.java | 63 final SessionInputBuffer buffer, 67 super(buffer, parser, params); 82 // clear the buffer 62 DefaultResponseParser( final SessionInputBuffer buffer, final LineParser parser, final HttpResponseFactory responseFactory, final HttpParams params) argument
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
H A D | NetscapeDraftHeaderParser.java | 65 final CharArrayBuffer buffer, 67 if (buffer == null) { 68 throw new IllegalArgumentException("Char array buffer may not be null"); 73 NameValuePair nvp = this.nvpParser.parseNameValuePair(buffer, cursor, DELIMITERS); 76 NameValuePair param = this.nvpParser.parseNameValuePair(buffer, cursor, DELIMITERS); 64 parseHeader( final CharArrayBuffer buffer, final ParserCursor cursor) argument
|
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | AbstractMessageWriter.java | 59 public AbstractMessageWriter(final SessionOutputBuffer buffer, argument 63 if (buffer == null) { 64 throw new IllegalArgumentException("Session input buffer may not be null"); 66 this.sessionBuffer = buffer;
|
H A D | HttpRequestParser.java | 60 final SessionInputBuffer buffer, 64 super(buffer, parser, params); 59 HttpRequestParser( final SessionInputBuffer buffer, final LineParser parser, final HttpRequestFactory requestFactory, final HttpParams params) argument
|
H A D | HttpRequestWriter.java | 51 public HttpRequestWriter(final SessionOutputBuffer buffer, argument 54 super(buffer, formatter, params); 60 final CharArrayBuffer buffer = lineFormatter.formatRequestLine 62 this.sessionBuffer.writeLine(buffer);
|
H A D | HttpResponseParser.java | 60 final SessionInputBuffer buffer, 64 super(buffer, parser, params); 59 HttpResponseParser( final SessionInputBuffer buffer, final LineParser parser, final HttpResponseFactory responseFactory, final HttpParams params) argument
|
H A D | HttpResponseWriter.java | 51 public HttpResponseWriter(final SessionOutputBuffer buffer, argument 54 super(buffer, formatter, params); 60 final CharArrayBuffer buffer = lineFormatter.formatStatusLine 62 this.sessionBuffer.writeLine(buffer);
|
/external/apache-http/src/org/apache/http/io/ |
H A D | SessionInputBuffer.java | 39 * Session input buffer for blocking connections. 60 int readLine(CharArrayBuffer buffer) throws IOException; argument
|
H A D | SessionOutputBuffer.java | 39 * Session output buffer for blocking connections. 62 void writeLine(CharArrayBuffer buffer) throws IOException; argument
|
/external/apache-http/src/org/apache/http/message/ |
H A D | BufferedHeader.java | 62 * The buffer containing the entire header line. 64 private final CharArrayBuffer buffer; field in class:BufferedHeader 67 * The beginning of the header value in the buffer 73 * Creates a new header from a buffer. 77 * @param buffer the buffer containing the header to represent 81 public BufferedHeader(final CharArrayBuffer buffer) argument 85 if (buffer == null) { 87 ("Char array buffer may not be null"); 89 int colon = buffer [all...] |
H A D | HeaderValueFormatter.java | 47 * All formatting methods accept an optional buffer argument. 48 * If a buffer is passed in, the formatted element will be appended 49 * and the modified buffer is returned. If no buffer is passed in, 50 * a new buffer will be created and filled with the formatted element. 51 * In both cases, the caller is allowed to modify the returned buffer. 70 * @param buffer the buffer to append to, or 71 * <code>null</code> to create a new buffer 76 * @return a buffer wit 80 formatElements(CharArrayBuffer buffer, HeaderElement[] elems, boolean quote) argument 99 formatHeaderElement(CharArrayBuffer buffer, HeaderElement elem, boolean quote) argument 121 formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote) argument 140 formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote) argument [all...] |
H A D | HeaderValueParser.java | 88 * @param buffer buffer holding the header value to parse 90 * the bounds within the buffer for the parsing operation 97 CharArrayBuffer buffer, 105 * @param buffer buffer holding the element to parse 107 * the bounds within the buffer for the parsing operation 114 CharArrayBuffer buffer, 191 * @param buffer buffer holdin 96 parseElements( CharArrayBuffer buffer, ParserCursor cursor) argument 113 parseHeaderElement( CharArrayBuffer buffer, ParserCursor cursor) argument 199 parseParameters( CharArrayBuffer buffer, ParserCursor cursor) argument 214 parseNameValuePair( CharArrayBuffer buffer, ParserCursor cursor) argument [all...] |
H A D | LineFormatter.java | 54 * a buffer can be passed as argument to all formatting methods. 55 * The implementation may or may not actually use that buffer for formatting. 56 * If it is used, the buffer will first be cleared by the 58 * The argument buffer can always be re-used after the call. The buffer 59 * returned as the result, if it is different from the argument buffer, 84 * <code>buffer</code> arguments. 85 * It does <i>not</i> clear the argument buffer, but appends instead. 86 * The returned buffer can always be modified by the caller. 90 * @param buffer 98 appendProtocolVersion(CharArrayBuffer buffer, ProtocolVersion version) argument 113 formatRequestLine(CharArrayBuffer buffer, RequestLine reqline) argument 130 formatStatusLine(CharArrayBuffer buffer, StatusLine statline) argument 154 formatHeader(CharArrayBuffer buffer, Header header) argument [all...] |
H A D | LineParser.java | 72 * @param buffer a buffer holding the protocol version to parse 74 * the bounds within the buffer for the parsing operation 81 CharArrayBuffer buffer, 94 * @param buffer a buffer holding the line to inspect 105 CharArrayBuffer buffer, 112 * @param buffer a buffer holding the line to parse 114 * the bounds within the buffer fo 80 parseProtocolVersion( CharArrayBuffer buffer, ParserCursor cursor) argument 104 hasProtocolVersion( CharArrayBuffer buffer, ParserCursor cursor) argument 120 parseRequestLine( CharArrayBuffer buffer, ParserCursor cursor) argument 136 parseStatusLine( CharArrayBuffer buffer, ParserCursor cursor) argument 156 parseHeader(CharArrayBuffer buffer) argument [all...] |
/external/chromium_org/android_webview/native/ |
H A D | input_stream_unittest.cc | 54 scoped_refptr<IOBuffer> buffer = new IOBuffer(bytes_requested); local 56 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read)); 57 return buffer; 71 scoped_refptr<IOBuffer> buffer = new IOBuffer(bytes_requested); local 73 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read)); 101 scoped_refptr<IOBuffer> buffer = local 105 EXPECT_EQ(i, (unsigned char)buffer->data()[i]); 139 scoped_refptr<IOBuffer> buffer = new IOBuffer(bytes_requested); local 140 EXPECT_FALSE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
|
/external/chromium_org/base/allocator/ |
H A D | allocator_extension.cc | 19 void GetStats(char* buffer, int buffer_length) { argument 23 get_stats_function(buffer, buffer_length); 25 buffer[0] = '\0';
|
/external/chromium_org/base/ |
H A D | async_socket_io_handler_posix.cc | 45 bool AsyncSocketIoHandler::Read(char* buffer, int buffer_len) { argument 52 int bytes_read = HANDLE_EINTR(read(socket_, buffer, buffer_len)); 55 pending_buffer_ = buffer;
|
H A D | async_socket_io_handler_win.cc | 41 bool AsyncSocketIoHandler::Read(char* buffer, int buffer_len) { argument 48 BOOL ok = ::ReadFile(socket_, buffer, buffer_len, &bytes_read,
|
H A D | os_compat_android_unittest.cc | 26 char* buffer = const_cast<char*>(sub_dir_string.c_str()); local 27 EXPECT_EQ(NULL, mkdtemp(buffer));
|
/external/chromium_org/base/posix/ |
H A D | unix_domain_socket_linux_unittest.cc | 43 uint8_t buffer[16]; local 45 UnixDomainSocket::RecvMsg(fds[0], buffer, sizeof(buffer), 94 // Extra receiving buffer space to make sure we really received only 95 // sizeof(kHello) bytes and it wasn't just truncated to fit the buffer. 123 // Extra receiving buffer space to make sure we really received only 124 // sizeof(kHello) bytes and it wasn't just truncated to fit the buffer.
|
/external/chromium_org/cc/test/ |
H A D | skia_common.cc | 15 void DrawPicture(unsigned char* buffer, argument 21 bitmap.installPixels(info, buffer, info.minRowBytes());
|
/external/chromium_org/chrome/common/ |
H A D | chrome_content_client_unittest.cc | 19 std::string buffer = content_client.GetUserAgent(); local 21 base::SplitStringUsingSubstr(buffer, "Mozilla/5.0 (", &pieces); 23 buffer = pieces[1]; 26 base::SplitStringUsingSubstr(buffer, ") AppleWebKit/", &pieces); 28 buffer = pieces[1]; 31 base::SplitStringUsingSubstr(buffer, " (KHTML, like Gecko) ", &pieces); 33 buffer = pieces[1]; 36 base::SplitStringUsingSubstr(buffer, " Safari/", &pieces);
|