Home
last modified time | relevance | path

Searched refs:endStream (Results 1 – 17 of 17) sorted by relevance

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DSendGrpcFrameCommand.java30 private final boolean endStream; field in SendGrpcFrameCommand
34 SendGrpcFrameCommand(StreamIdHolder stream, ByteBuf content, boolean endStream) { in SendGrpcFrameCommand() argument
37 this.endStream = endStream; in SendGrpcFrameCommand()
44 boolean endStream() { in endStream() method in SendGrpcFrameCommand
45 return endStream; in endStream()
50 return new SendGrpcFrameCommand(stream, content().copy(), endStream); in copy()
55 return new SendGrpcFrameCommand(stream, content().duplicate(), endStream); in duplicate()
88 return thatCmd.stream.equals(stream) && thatCmd.endStream == endStream in equals()
95 + ", endStream=" + endStream + ", content=" + content() in toString()
103 if (endStream) { in hashCode()
DNettyServerHandler.java615 if (cmd.endStream()) { in sendGrpcFrame()
619 encoder().writeData(ctx, cmd.streamId(), cmd.content(), 0, cmd.endStream(), promise); in sendGrpcFrame()
736 boolean endStream) throws Http2Exception { in onHeadersRead() argument
931 int padding, boolean endStream, ChannelPromise promise) { in writeData() argument
933 return super.writeData(ctx, streamId, data, padding, endStream, promise); in writeData()
938 int padding, boolean endStream, ChannelPromise promise) { in writeHeaders() argument
940 return super.writeHeaders(ctx, streamId, headers, padding, endStream, promise); in writeHeaders()
945 int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, in writeHeaders() argument
949 padding, endStream, promise); in writeHeaders()
DNettyClientHandler.java341 private void onHeadersRead(int streamId, Http2Headers headers, boolean endStream) { in onHeadersRead() argument
343 stream.transportHeadersReceived(headers, endStream); in onHeadersRead()
578 encoder().writeData(ctx, cmd.streamId(), cmd.content(), 0, cmd.endStream(), promise); in sendGrpcFrame()
764 boolean endStream) throws Http2Exception { in onHeadersRead() argument
765 NettyClientHandler.this.onHeadersRead(streamId, headers, endStream); in onHeadersRead()
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dcontrolbuf.go97 endStream bool // Valid on server side. member
115 endStream bool member
486 if !h.endStream {
487 return l.writeHeader(h.streamID, h.endStream, h.hf, h.onWrite)
496 if err := l.writeHeader(h.streamID, h.endStream, h.hf, h.onWrite); err != nil {
522 if err = l.writeHeader(str.id, hdr.endStream, hdr.hf, hdr.onWrite); err != nil {
532 func (l *loopyWriter) writeHeader(streamID uint32, endStream bool, hf []hpack.HeaderField, onWrite …
559 EndStream: endStream,
710 if err := l.framer.fr.WriteData(dataItem.streamID, dataItem.endStream, nil); err != nil {
717 …if err := l.writeHeader(trailer.streamID, trailer.endStream, trailer.hf, trailer.onWrite); err != …
[all …]
Dhttp2_client.go526 endStream: false,
764 endStream: opts.Last,
1068 endStream := frame.StreamEnded()
1089 if !endStream {
1102 if !endStream {
Dhttp2_server.go737 endStream: false,
788 endStream: true,
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOutboundFlowController.java293 Frame newFrame(Buffer data, boolean endStream) { in newFrame() argument
294 return new Frame(data, endStream); in newFrame()
348 final boolean endStream; field in OutboundFlowController.OutboundFlowState.Frame
351 Frame(Buffer data, boolean endStream) { in Frame() argument
353 this.endStream = endStream; in Frame()
388 frameWriter.data(endStream, streamId, data, bytesToWrite); in write()
/external/syzkaller/vendor/golang.org/x/net/http2/
Dwrite.go53 return v.endStream
55 return v.endStream
101 endStream bool member
105 return fmt.Sprintf("writeData(stream=%d, p=%d, endStream=%v)", w.streamID, len(w.p), w.endStream)
109 return ctx.Framer().WriteData(w.streamID, w.endStream, w.p)
184 endStream bool member
242 EndStream: w.endStream,
Dwritesched.go128 endStream: false,
139 endStream: wd.endStream,
Dserver.go944 func (sc *serverConn) writeDataFromHandler(stream *stream, data []byte, endStream bool) error {
947 *writeArg = writeData{stream.id, data, endStream}
1642 st.endStream()
1668 func (st *stream) endStream() { func
1833 st.endStream()
2350 endStream := (rws.handlerDone && !rws.hasTrailers() && len(p) == 0) || isHeadResp
2355 endStream: endStream,
2364 if endStream {
2379 endStream := rws.handlerDone && !rws.hasTrailers()
2380 if len(p) > 0 || endStream {
[all …]
Dtransport.go836 endStream := !hasBody && !hasTrailers
837 werr := cc.writeHeaders(cs.ID, endStream, int(cc.maxFrameSize), hdrs)
993 func (cc *ClientConn) writeHeaders(streamID uint32, endStream bool, maxFrameSize int, hdrs []byte) …
1006 EndStream: endStream,
1728 rl.endStream(cs)
1923 rl.endStream(cs)
1930 func (rl *clientConnReadLoop) endStream(cs *clientStream) { func
Dframe.go642 func (f *Framer) WriteData(streamID uint32, endStream bool, data []byte) error {
643 return f.WriteDataPadded(streamID, endStream, data, nil)
655 func (f *Framer) WriteDataPadded(streamID uint32, endStream bool, data, pad []byte) error {
673 if endStream {
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyHandlerTestBase.java246 protected ByteBuf grpcDataFrame(int streamId, boolean endStream, byte[] content) { in grpcDataFrame() argument
264 new DefaultHttp2FrameWriter().writeData(ctx, streamId, compressionFrame, 0, endStream, in grpcDataFrame()
269 protected final ByteBuf dataFrame(int streamId, boolean endStream, ByteBuf content) { in dataFrame() argument
274 new DefaultHttp2FrameWriter().writeData(ctx, streamId, content, 0, endStream, newPromise()); in dataFrame()
DNettyServerHandlerTest.java253 private void inboundDataShouldForwardToStreamListener(boolean endStream) throws Exception { in inboundDataShouldForwardToStreamListener() argument
258 ByteBuf frame = grpcDataFrame(STREAM_ID, endStream, contentAsArray()); in inboundDataShouldForwardToStreamListener()
267 if (endStream) { in inboundDataShouldForwardToStreamListener()
1050 private ByteBuf emptyGrpcFrame(int streamId, boolean endStream) throws Exception { in emptyGrpcFrame() argument
1053 return dataFrame(streamId, endStream, buf); in emptyGrpcFrame()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DHttp2.java189 boolean endStream = (flags & FLAG_END_STREAM) != 0; in readHeaders()
202 handler.headers(false, endStream, streamId, -1, headerBlock, HeadersMode.HTTP_20_HEADERS); in readHeaders()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHttp2.java187 boolean endStream = (flags & FLAG_END_STREAM) != 0; in readHeaders()
200 handler.headers(false, endStream, streamId, -1, headerBlock, HeadersMode.HTTP_20_HEADERS); in readHeaders()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DHttp2.java192 boolean endStream = (flags & FLAG_END_STREAM) != 0; in readHeaders()
205 handler.headers(false, endStream, streamId, -1, headerBlock, HeadersMode.HTTP_20_HEADERS); in readHeaders()