Home
last modified time | relevance | path

Searched refs:_buffers (Results 1 – 25 of 25) sorted by relevance

/external/jetty/src/java/org/eclipse/jetty/client/
DHttpClient.java105 private final HttpBuffersImpl _buffers= new HttpBuffersImpl(); field in HttpClient
112 _buffers.setRequestBufferType(Type.BYTE_ARRAY); in setBufferTypes()
113 _buffers.setRequestHeaderType(Type.BYTE_ARRAY); in setBufferTypes()
114 _buffers.setResponseBufferType(Type.BYTE_ARRAY); in setBufferTypes()
115 _buffers.setResponseHeaderType(Type.BYTE_ARRAY); in setBufferTypes()
119 _buffers.setRequestBufferType(Type.DIRECT); in setBufferTypes()
120 _buffers.setRequestHeaderType(_useDirectBuffers?Type.DIRECT:Type.INDIRECT); in setBufferTypes()
121 _buffers.setResponseBufferType(Type.DIRECT); in setBufferTypes()
122 _buffers.setResponseHeaderType(_useDirectBuffers?Type.DIRECT:Type.INDIRECT); in setBufferTypes()
138 addBean(_buffers); in HttpClient()
[all …]
/external/jetty/src/java/org/eclipse/jetty/server/nio/
DAbstractNIOConnector.java31 _buffers.setRequestBufferType(Type.DIRECT); in AbstractNIOConnector()
32 _buffers.setRequestHeaderType(Type.INDIRECT); in AbstractNIOConnector()
33 _buffers.setResponseBufferType(Type.DIRECT); in AbstractNIOConnector()
34 _buffers.setResponseHeaderType(Type.INDIRECT); in AbstractNIOConnector()
50 _buffers.setRequestBufferType(direct?Type.DIRECT:Type.INDIRECT); in setUseDirectBuffers()
51 _buffers.setResponseBufferType(direct?Type.DIRECT:Type.INDIRECT); in setUseDirectBuffers()
/external/jetty/src/java/org/eclipse/jetty/server/
DAbstractConnector.java102 protected final HttpBuffersImpl _buffers = new HttpBuffersImpl(); field in AbstractConnector
109 addBean(_buffers); in AbstractConnector()
805 return _buffers.getRequestBufferSize(); in getRequestBufferSize()
810 _buffers.setRequestBufferSize(requestBufferSize); in setRequestBufferSize()
815 return _buffers.getRequestHeaderSize(); in getRequestHeaderSize()
820 _buffers.setRequestHeaderSize(requestHeaderSize); in setRequestHeaderSize()
825 return _buffers.getResponseBufferSize(); in getResponseBufferSize()
830 _buffers.setResponseBufferSize(responseBufferSize); in setResponseBufferSize()
835 return _buffers.getResponseHeaderSize(); in getResponseHeaderSize()
840 _buffers.setResponseHeaderSize(responseHeaderSize); in setResponseHeaderSize()
[all …]
DNCSARequestLog.java56 private static ThreadLocal<StringBuilder> _buffers = new ThreadLocal<StringBuilder>() field in NCSARequestLog
472 StringBuilder buf= _buffers.get(); in log()
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketBuffers.java38 final private Buffers _buffers; field in WebSocketBuffers
43_buffers = BuffersFactory.newBuffers(Type.DIRECT,bufferSize,Type.INDIRECT,bufferSize,Type.INDIRECT… in WebSocketBuffers()
48 return _buffers.getBuffer(); in getBuffer()
53 return _buffers.getHeader(); in getDirectBuffer()
58 _buffers.returnBuffer(buffer); in returnBuffer()
DWebSocketParserD00.java47 private final WebSocketBuffers _buffers; field in WebSocketParserD00
65 _buffers=buffers; in WebSocketParserD00()
93 _buffer=_buffers.getBuffer(); in parseNext()
161 _buffers.returnBuffer(_buffer); in parseNext()
190 _buffers.returnBuffer(_buffer); in parseNext()
206 _buffer=_buffers.getBuffer(); in fill()
DWebSocketGeneratorD06.java37 final private WebSocketBuffers _buffers; field in WebSocketGeneratorD06
47 _buffers=buffers; in WebSocketGeneratorD06()
54 _buffers=buffers; in WebSocketGeneratorD06()
66 _buffer=(_maskGen!=null)?_buffers.getBuffer():_buffers.getDirectBuffer(); in addFrame()
191 _buffers.returnBuffer(_buffer); in flush()
DWebSocketGeneratorD00.java38 final private WebSocketBuffers _buffers; field in WebSocketGeneratorD00
44 _buffers=buffers; in WebSocketGeneratorD00()
53 _buffer=_buffers.getDirectBuffer(); in addFrame()
114 _buffer=_buffers.getDirectBuffer();
130 _buffers.returnBuffer(_buffer);
DWebSocketGeneratorRFC6455.java40 private final WebSocketBuffers _buffers; field in WebSocketGeneratorRFC6455
56 _buffers = buffers; in WebSocketGeneratorRFC6455()
87 _buffer = mask ? _buffers.getBuffer() : _buffers.getDirectBuffer(); in addFrame()
195 _buffers.returnBuffer(_buffer); in addFrame()
289 _buffers.returnBuffer(_buffer); in returnBuffer()
DWebSocketGeneratorD08.java36 private final WebSocketBuffers _buffers; field in WebSocketGeneratorD08
52 _buffers = buffers; in WebSocketGeneratorD08()
83 _buffer = mask ? _buffers.getBuffer() : _buffers.getDirectBuffer(); in addFrame()
191 _buffers.returnBuffer(_buffer); in addFrame()
285 _buffers.returnBuffer(_buffer); in returnBuffer()
DWebSocketClientFactory.java76 private WebSocketBuffers _buffers; field in WebSocketClientFactory
126 _buffers = new WebSocketBuffers(bufferSize); in WebSocketClientFactory()
127 addBean(_buffers); in WebSocketClientFactory()
203 removeBean(_buffers); in setBufferSize()
204 _buffers = new WebSocketBuffers(bufferSize); in setBufferSize()
205 addBean(_buffers); in setBufferSize()
214 return _buffers.getBufferSize(); in getBufferSize()
373 Buffers buffers = new SimpleBuffers(_buffers.getBuffer(), null); in HandshakeConnection()
505 _buffers.returnBuffer(header); in handle()
524 _buffers, in newWebSocketConnection()
DWebSocketFactory.java80 private WebSocketBuffers _buffers; field in WebSocketFactory
98 _buffers = new WebSocketBuffers(bufferSize); in WebSocketFactory()
152 return _buffers.getBufferSize(); in getBufferSize()
163 _buffers = new WebSocketBuffers(bufferSize); in setBufferSize()
260 …connection = new WebSocketServletConnectionD00(this, websocket, endp, _buffers, http.getTimeStamp(… in upgrade()
270 …connection = new WebSocketServletConnectionD06(this, websocket, endp, _buffers, http.getTimeStamp(… in upgrade()
277 …connection = new WebSocketServletConnectionD08(this, websocket, endp, _buffers, http.getTimeStamp(… in upgrade()
283 …connection = new WebSocketServletConnectionRFC6455(this, websocket, endp, _buffers, http.getTimeSt… in upgrade()
DWebSocketParserD06.java58 private final WebSocketBuffers _buffers; field in WebSocketParserD06
82 _buffers=buffers; in WebSocketParserD06()
112 _buffer=_buffers.getBuffer(); in parseNext()
289 _buffers.returnBuffer(_buffer); in parseNext()
304 _buffer=_buffers.getBuffer(); in fill()
DWebSocketParserRFC6455.java57 private final WebSocketBuffers _buffers; field in WebSocketParserRFC6455
84 _buffers=buffers; in WebSocketParserRFC6455()
132 _buffer=_buffers.getBuffer(); in parseNext()
367 _buffer=_buffers.getBuffer(); in fill()
379 _buffers.returnBuffer(_buffer); in returnBuffer()
DWebSocketParserD08.java57 private final WebSocketBuffers _buffers; field in WebSocketParserD08
84 _buffers=buffers; in WebSocketParserD08()
132 _buffer=_buffers.getBuffer(); in parseNext()
367 _buffer=_buffers.getBuffer(); in fill()
379 _buffers.returnBuffer(_buffer); in returnBuffer()
/external/jetty/src/java/org/eclipse/jetty/io/
DThreadLocalBuffers.java31 private final ThreadLocal<ThreadBuffers> _buffers=new ThreadLocal<ThreadBuffers>() field in ThreadLocalBuffers
49 ThreadBuffers buffers = _buffers.get(); in getBuffer()
70 ThreadBuffers buffers = _buffers.get(); in getHeader()
91 ThreadBuffers buffers = _buffers.get(); in getBuffer()
109 ThreadBuffers buffers = _buffers.get(); in returnBuffer()
DPooledBuffers.java28 private final Queue<Buffer> _buffers; field in PooledBuffers
40 _buffers=new ConcurrentLinkedQueue<Buffer>(); in PooledBuffers()
61 Buffer buffer = _buffers.poll(); in getBuffer()
108 _buffers.add(buffer); in returnBuffer()
119 _buffers.size(),_maxSize,_bufferSize, in toString()
/external/jetty/src/java/org/eclipse/jetty/http/
DAbstractGenerator.java55 protected final Buffers _buffers; // source of buffers field in AbstractGenerator
91 this._buffers = buffers; in AbstractGenerator()
131 _buffers.returnBuffer(_buffer); in returnBuffers()
137 _buffers.returnBuffer(_header); in returnBuffers()
164 _buffer=_buffers.getBuffer(); in getContentBufferSize()
175 _buffer=_buffers.getBuffer(); in increaseContentBufferSize()
178 Buffer nb = _buffers.getBuffer(contentBufferSize); in increaseContentBufferSize()
180 _buffers.returnBuffer(_buffer); in increaseContentBufferSize()
DHttpParser.java65 private final Buffers _buffers; // source of buffers field in HttpParser
96 _buffers=null; in HttpParser()
114 _buffers=buffers; in HttpParser()
1018 …ntBuffer || (_contentLength-_contentPosition)>_header.capacity()) && (_body!=null||_buffers!=null)) in fill()
1021 _body=_buffers.getBuffer(); in fill()
1107 if (_body!=null && !_body.hasContent() && _body.markIndex()==-1 && _buffers!=null) in returnBuffers()
1111 if (_buffers!=null) in returnBuffers()
1112 _buffers.returnBuffer(_body); in returnBuffers()
1116 if (_header!=null && !_header.hasContent() && _header.markIndex()==-1 && _buffers!=null) in returnBuffers()
1120 _buffers.returnBuffer(_header); in returnBuffers()
[all …]
DHttpGenerator.java196 Buffer nc=_buffers.getBuffer(_content.length()+CHUNK_SPACE+content.length());
206 Buffer nc=_buffers.getBuffer(_content.length()+content.length());
231 _buffer = _buffers.getBuffer();
289 _buffer = _buffers.getBuffer(); in prepareUncheckedAddContent()
322 _header = _buffers.getHeader(); in send1xx()
377 _header = _buffers.getHeader(); in completeHeader()
951 _header = _buffers.getHeader(); in prepareBuffers()
995 _header = _buffers.getHeader(); in prepareBuffers()
1019 _header = _buffers.getHeader(); in prepareBuffers()
/external/jetty/src/java/org/eclipse/jetty/io/nio/
DSslConnection.java60 private SslBuffers _buffers; field in SslConnection
142 if (_buffers==null) in allocateBuffers()
144 _buffers=__buffers.get(); in allocateBuffers()
145 if (_buffers==null) in allocateBuffers()
146_buffers=new SslBuffers(_session.getPacketBufferSize()*2,_session.getApplicationBufferSize()*2); in allocateBuffers()
147 _inbound=_buffers._in; in allocateBuffers()
148 _outbound=_buffers._out; in allocateBuffers()
149 _unwrapBuf=_buffers._unwrap; in allocateBuffers()
163 if (_buffers!=null && in releaseBuffers()
171 __buffers.set(_buffers); in releaseBuffers()
[all …]
/external/mesa3d/src/gallium/drivers/trace/
Dtr_context.c1086 struct pipe_vertex_buffer *_buffers = MALLOC(num_buffers * sizeof(*_buffers)); in trace_context_set_vertex_buffers() local
1087 memcpy(_buffers, buffers, num_buffers * sizeof(*_buffers)); in trace_context_set_vertex_buffers()
1089 _buffers[i].buffer = trace_resource_unwrap(tr_ctx, buffers[i].buffer); in trace_context_set_vertex_buffers()
1090 pipe->set_vertex_buffers(pipe, num_buffers, _buffers); in trace_context_set_vertex_buffers()
1091 FREE(_buffers); in trace_context_set_vertex_buffers()
/external/mesa3d/src/gallium/drivers/identity/
Did_context.c569 const struct pipe_vertex_buffer *_buffers) in identity_set_vertex_buffers() argument
578 memcpy(unwrapped_buffers, _buffers, num_buffers * sizeof(*_buffers)); in identity_set_vertex_buffers()
580 unwrapped_buffers[i].buffer = identity_resource_unwrap(_buffers[i].buffer); in identity_set_vertex_buffers()
/external/mesa3d/src/gallium/drivers/galahad/
Dglhd_context.c625 const struct pipe_vertex_buffer *_buffers) in galahad_context_set_vertex_buffers() argument
634 memcpy(unwrapped_buffers, _buffers, num_buffers * sizeof(*_buffers)); in galahad_context_set_vertex_buffers()
636 unwrapped_buffers[i].buffer = galahad_resource_unwrap(_buffers[i].buffer); in galahad_context_set_vertex_buffers()
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_context.c787 const struct pipe_vertex_buffer *_buffers) in rbug_set_vertex_buffers() argument
798 memcpy(unwrapped_buffers, _buffers, num_buffers * sizeof(*_buffers)); in rbug_set_vertex_buffers()
800 unwrapped_buffers[i].buffer = rbug_resource_unwrap(_buffers[i].buffer); in rbug_set_vertex_buffers()