Home
last modified time | relevance | path

Searched refs:_generator (Results 1 – 23 of 23) sorted by relevance

/external/jetty/src/java/org/eclipse/jetty/server/
DAbstractHttpConnection.java118 protected final Generator _generator; field in AbstractHttpConnection
164 _generator = newHttpGenerator(ab.getResponseBuffers(), endpoint); in AbstractHttpConnection()
165 _generator.setSendServerVersion(server.getSendServerVersion()); in AbstractHttpConnection()
182 _generator = generator; in AbstractHttpConnection()
183 _generator.setSendServerVersion(server.getSendServerVersion()); in AbstractHttpConnection()
337 if (_generator.isCommitted()) in getInputStream()
340 ((HttpGenerator)_generator).send1xx(HttpStatus.CONTINUE_100); in getInputStream()
401 return _generator.isCommitted(); in isResponseCommitted()
417 _generator.reset(); in reset()
418 _generator.returnBuffers();// TODO maybe only on unhandle in reset()
[all …]
DHttpOutput.java45 protected final AbstractGenerator _generator; field in HttpOutput
59 _generator=(AbstractGenerator)connection.getGenerator(); in HttpOutput()
71 return _generator.getContentWritten()>0; in isWritten()
100 _generator.flush(getMaxIdleTime()); in flush()
141 if (!_generator.isOpen()) in write()
145 while (_generator.isBufferFull()) in write()
147 _generator.blockForOutput(getMaxIdleTime()); in write()
150 if (!_generator.isOpen()) in write()
155 _generator.addContent(buffer, Generator.MORE); in write()
159 if (_generator.isAllContentWritten()) in write()
[all …]
DBlockingHttpConnection.java78 … if (_generator.isCommitted() && !_generator.isComplete() && !_endp.isOutputShutdown()) in handle()
79 _generator.flushBuffer(); in handle()
92 _generator.sendError(e.getStatus(), e.getReason(), null, true); in handle()
99 if (_parser.isComplete() && _generator.isComplete()) in handle()
113 if (!_generator.isPersistent() && !_endp.isOutputShutdown()) in handle()
121 …if (_endp.isInputShutdown() && _generator.isIdle() && !_request.getAsyncContinuation().isSuspended… in handle()
135 _generator.returnBuffers(); in handle()
DAsyncHttpConnection.java86 …if (_generator.isCommitted() && !_generator.isComplete() && !_endp.isOutputShutdown() && !_request… in handle()
87 if (_generator.flushBuffer()>0) in handle()
106 _generator.sendError(e.getStatus(), e.getReason(), null, true); in handle()
113 boolean generatorComplete = _generator.isComplete(); in handle()
133 if (!_generator.isPersistent() && !_endp.isOutputShutdown()) in handle()
168 _generator.returnBuffers(); in handle()
196 if (_generator.isIdle() && !_request.getAsyncContinuation().isSuspended()) in onInputShutdown()
DHttpWriter.java46 final AbstractGenerator _generator; field in HttpWriter
54 _generator=_out._generator; in HttpWriter()
DResponse.java545 _connection._generator.setContentLength(-1); in setHeader()
547 _connection._generator.setContentLength(Long.parseLong(value)); in setHeader()
603 _connection._generator.setContentLength(Long.parseLong(value)); in addHeader()
616 _connection._generator.setContentLength(value); in setIntHeader()
630 _connection._generator.setContentLength(value); in addIntHeader()
836 _connection._generator.setContentLength(len); in setContentLength()
840 if (_connection._generator.isAllContentWritten()) in setContentLength()
870 _connection._generator.setContentLength(len); in setLongContentLength()
DRequest.java1140 … _connection._generator.sendError(HttpStatus.BAD_REQUEST_400,"Bad Host header",null,true); in getServerName()
/external/jetty/src/java/org/eclipse/jetty/client/
DBlockingHttpConnection.java143 …if (!_generator.isCommitted() && exchange!=null && exchange.getStatus() == HttpExchange.STATUS_WAI… in handle()
150 while (_generator.isCommitted() && !_generator.isComplete()) in handle()
152 if (_generator.flushBuffer()>0) in handle()
158 if (_generator.isState(AbstractGenerator.STATE_CONTENT)) in handle()
167 _generator.complete(); in handle()
169 else if (_generator.isEmpty()) in handle()
174 _generator.addContent(chunk,_requestContentChunk==null); in handle()
182 if (_generator.isComplete() && !_requestComplete) in handle()
232 LOG.debug("{} {}",_generator, _parser); in handle()
235 boolean complete = failed || _generator.isComplete() && _parser.isComplete(); in handle()
[all …]
DAsyncHttpConnection.java81 …if (!_generator.isCommitted() && exchange!=null && exchange.getStatus() == HttpExchange.STATUS_WAI… in handle()
89 if (_generator.isCommitted() && !_generator.isComplete()) in handle()
91 if (_generator.flushBuffer()>0) in handle()
98 if (_generator.isState(AbstractGenerator.STATE_CONTENT)) in handle()
108 _generator.complete(); in handle()
112 else if (_generator.isEmpty()) in handle()
118 _generator.addContent(chunk,_requestContentChunk==null); in handle()
126 if (_generator.isComplete() && !_requestComplete) in handle()
187 boolean complete = failed || _generator.isComplete() && _parser.isComplete(); in handle()
191 … boolean persistent = !failed && _parser.isPersistent() && _generator.isPersistent(); in handle()
[all …]
DAbstractHttpConnection.java58 protected HttpGenerator _generator; field in AbstractHttpConnection
76 _generator = new HttpGenerator(requestBuffers,endp); in AbstractHttpConnection()
186 _generator.setVersion(_exchange.getVersion()); in commitRequest()
212 _generator.setRequest(method, uri); in commitRequest()
226 _generator.completeHeader(requestHeaders,false); in commitRequest()
227 _generator.addContent(new View(requestContent),true); in commitRequest()
235 _generator.completeHeader(requestHeaders, false); in commitRequest()
240 _generator.completeHeader(requestHeaders, true); in commitRequest()
251 _generator.reset(); in reset()
364 _generator, in toString()
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketConnectionD00.java47 private final WebSocketGenerator _generator; field in WebSocketConnectionD00
64 _generator = new WebSocketGeneratorD00(buffers, _endp); in WebSocketConnectionD00()
141 int flushed=_generator.flush(); in handle()
170 if (_endp.isInputShutdown() && _generator.isBufferEmpty()) in handle()
207 return _parser.isBufferEmpty() && _generator.isBufferEmpty(); in isIdle()
228 _generator.addFrame((byte)0,SENTINEL_FRAME,data,0,data.length); in sendMessage()
229 _generator.flush(); in sendMessage()
236 _generator.addFrame((byte)0,LENGTH_FRAME,data,offset,length); in sendMessage()
237 _generator.flush(); in sendMessage()
258 _generator.addFrame((byte)0,opcode,content,offset,length); in sendFrame()
[all …]
DWebSocketConnectionD06.java80 private final WebSocketGenerator _generator; field in WebSocketConnectionD06
121 _generator = new WebSocketGeneratorD06(buffers, _endp,null); in WebSocketConnectionD06()
145 int flushed=_generator.flush(); in handle()
173 if (_closedIn && _closedOut && _generator.isBufferEmpty()) in handle()
194 return _parser.isBufferEmpty() && _generator.isBufferEmpty(); in isIdle()
252 _generator.addFrame((byte)0x8,WebSocketConnectionD06.OP_CLOSE,bytes,0,bytes.length); in closeOut()
254 _generator.flush(); in closeOut()
283 if (!_generator.isBufferEmpty() && _endp instanceof AsyncEndPoint) in checkWriteable()
321 _generator.addFrame((byte)0x8,WebSocketConnectionD06.OP_TEXT,data,0,data.length); in sendMessage()
322 _generator.flush(); in sendMessage()
[all …]
DWebSocketConnectionD08.java83 private final WebSocketGeneratorD08 _generator; field in WebSocketConnectionD08
138 _generator = new WebSocketGeneratorD08(buffers, _endp,maskgen); in WebSocketConnectionD08()
150 e==0?_generator:extensions.get(e-1)); in WebSocketConnectionD08()
155 …_outbound=(_extensions==null||_extensions.size()==0)?_generator:extensions.get(extensions.size()-1… in WebSocketConnectionD08()
192 int flushed=_generator.flushBuffer(); in handle()
219 _generator.returnBuffer(); in handle()
852 return String.format("WS/D%d p=%s g=%s", _draft, _parser, _generator); in toString()
DWebSocketConnectionRFC6455.java115 private final WebSocketGeneratorRFC6455 _generator; field in WebSocketConnectionRFC6455
170 _generator = new WebSocketGeneratorRFC6455(buffers, _endp,maskgen); in WebSocketConnectionRFC6455()
182 e==0?_generator:extensions.get(e-1)); in WebSocketConnectionRFC6455()
187 …_outbound=(_extensions==null||_extensions.size()==0)?_generator:extensions.get(extensions.size()-1… in WebSocketConnectionRFC6455()
224 int flushed=_generator.flushBuffer(); in handle()
251 _generator.returnBuffer(); in handle()
972 return String.format("%s p=%s g=%s", getClass().getSimpleName(), _parser, _generator); in toString()
/external/pdfium/xfa/src/fxgraphics/src/
Dfx_graphics.cpp1170 _generator = NULL; in CFX_Path()
1173 if (_generator) { in Create()
1176 _generator = new CFX_PathGenerator; in Create()
1177 _generator->Create(); in Create()
1181 if (_generator) { in ~CFX_Path()
1182 delete _generator; in ~CFX_Path()
1183 _generator = NULL; in ~CFX_Path()
1187 _FX_RETURN_VALUE_IF_FAIL(_generator, FX_ERR_Property_Invalid); in MoveTo()
1188 _generator->MoveTo(x, y); in MoveTo()
1192 _FX_RETURN_VALUE_IF_FAIL(_generator, FX_ERR_Property_Invalid); in LineTo()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dframe_generator.py22 self._generator = self._CreateGenerator()
40 return self._generator
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCSharp3Target.java109 private final CodeGenerator _generator; field in CSharp3Target.StringRenderer
114 _generator = generator; in StringRenderer()
/external/wpa_supplicant_8/src/crypto/
Ddh_groups.c1151 { id, dh_group ## id ## _generator, sizeof(dh_group ## id ## _generator), \
/external/pdfium/xfa/include/fxgraphics/
Dfx_graphics.h391 CFX_PathGenerator* _generator;
/external/guice/extensions/struts2/lib/
Djetty-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/persist/lib/
Ddb4o-6.4.14.8131-java5.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/db4o/ com/ ...
/external/antlr/antlr-3.4/lib/
Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/ ...