Searched defs:buffer (Results 251 - 275 of 3848) sorted by relevance

<<11121314151617181920>>

/external/apache-http/src/org/apache/http/impl/io/
H A DHttpRequestParser.java60 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 DHttpRequestWriter.java51 public HttpRequestWriter(final SessionOutputBuffer buffer, argument
54 super(buffer, formatter, params);
60 final CharArrayBuffer buffer = lineFormatter.formatRequestLine
62 this.sessionBuffer.writeLine(buffer);
H A DHttpResponseParser.java60 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 DHttpResponseWriter.java51 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 DSessionInputBuffer.java39 * Session input buffer for blocking connections.
60 int readLine(CharArrayBuffer buffer) throws IOException; argument
H A DSessionOutputBuffer.java39 * Session output buffer for blocking connections.
62 void writeLine(CharArrayBuffer buffer) throws IOException; argument
/external/apache-http/src/org/apache/http/message/
H A DBufferedHeader.java62 * 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 DHeaderValueFormatter.java47 * 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 DHeaderValueParser.java88 * @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 DLineFormatter.java54 * 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 DLineParser.java72 * @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/brotli/c/fuzz/
H A Ddecode_fuzzer.cc18 uint8_t* buffer = new uint8_t[kBufferSize]; local
38 uint8_t* next_out = buffer;
51 delete[] buffer;
/external/brotli/java/org/brotli/dec/
H A DBrotliInputStream.java22 * Internal buffer used for efficient byte-by-byte reading.
24 private byte[] buffer; field in class:BrotliInputStream
27 * Number of decoded but still unused bytes in internal buffer.
44 * <p> For byte-by-byte reading ({@link #read()}) internal buffer with
59 * <p> For byte-by-byte reading ({@link #read()}) internal buffer of specified size is
65 * @param byteReadBufferSize size of internal buffer used in case of
71 throw new IllegalArgumentException("Bad buffer size:" + byteReadBufferSize);
75 this.buffer = new byte[byteReadBufferSize];
99 remainingBufferBytes = read(buffer, 0, buffer
[all...]
/external/bsdiff/
H A Dbsdiff_unittest.cc17 // Generate deterministic random data in the output buffer. The buffer must be
20 void GenerateRandomBuffer(std::vector<uint8_t>* buffer) { argument
21 std::minstd_rand prng(1234 + buffer->size());
22 std::generate(buffer->begin(), buffer->end(), prng);
/external/clang/test/CodeGenCXX/
H A Dvla-lambda-capturing.cpp28 intptr_t buffer[n]; local
29 [&buffer, &n]() {
30 __typeof(buffer) x;
47 intptr_t buffer[n + m]; local
48 [&buffer]() {
49 __typeof(buffer) x;
/external/clang/test/Frontend/
H A Dbackend-diagnostic.c22 char buffer[80]; local
23 doIt(buffer);
/external/clang/test/Sema/
H A Dwarn-overlap.c96 int buffer[4]; local
97 x = (-7 > 0) ? (buffer[-7]) : 0;
/external/clang/test/SemaTemplate/
H A Dinstantiate-sizeof.cpp5 int buffer[n]; local
6 [] { int x = sizeof(sizeof(buffer)); }();
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dglobal-registration.c4 // object file declares a global buffer. The first two are linked together, and
46 char *buffer = (char *)dlsym(handle, "buffer3"); local
47 if (!buffer) {
52 buffer[argc] = 0;
H A Dnew_array_cookie_uaf_test.cc24 C *buffer = new C[argc]; local
25 delete [] buffer;
26 Write42ToCookie(buffer);
27 delete [] buffer;
/external/compiler-rt/test/asan/TestCases/Windows/
H A Dbind_io_completion_callback.cc34 char buffer[65536]; variable
58 if (!ReadFile(file, buffer, sizeof(buffer), NULL, &ov) &&
H A Ddemangled_names.cc42 char *buffer = (char*)malloc(42); local
43 free(buffer);
44 A<char*> a(buffer);
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/
H A DNettyBufferAllocator.java18 import io.netty.buffer.ByteBuf;
19 import io.netty.buffer.ByteBufAllocator;
20 import io.netty.buffer.PooledByteBufAllocator;
24 * A {@link BufferAllocator} that is backed by a Netty buffer pool.
43 private final ByteBuffer buffer; field in class:NettyBufferAllocator.ByteBufAdapter
47 this.buffer = nettyBuffer.nioBuffer(0, nettyBuffer.capacity());
52 return buffer;
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DOpenSSLBIOSink.java26 private final ByteArrayOutputStream buffer; field in class:OpenSSLBIOSink
30 ByteArrayOutputStream buffer = new ByteArrayOutputStream();
31 return new OpenSSLBIOSink(buffer);
34 private OpenSSLBIOSink(ByteArrayOutputStream buffer) { argument
35 ctx = NativeCrypto.create_BIO_OutputStream(buffer);
36 this.buffer = buffer;
40 return buffer.size() - position;
44 buffer.reset();
51 if (position == buffer
[all...]
H A DOpenSSLBIOSource.java29 static OpenSSLBIOSource wrap(ByteBuffer buffer) { argument
31 new OpenSSLBIOInputStream(new ByteBufferInputStream(buffer), false));
80 public int read(byte[] buffer) throws IOException { argument
82 source.get(buffer);
87 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { argument
90 source.get(buffer, byteOffset, toRead);

Completed in 574 milliseconds

<<11121314151617181920>>