Home
last modified time | relevance | path

Searched refs:streamId (Results 1 – 6 of 6) sorted by relevance

/external/okhttp/src/main/java/libcore/net/spdy/
DSpdyConnection.java101 void removeStream(int streamId) { in removeStream() argument
102 streams.remove(streamId); in removeStream()
115 int streamId = nextStreamId; // TODO in newStream() local
121 SpdyStream result = new SpdyStream(streamId, this, requestHeaders, flags); in newStream()
122 streams.put(streamId, result); in newStream()
125 spdyWriter.streamId = streamId; in newStream()
134 synchronized void writeSynReply(int streamId, List<String> alternating) throws IOException { in writeSynReply() argument
137 spdyWriter.streamId = streamId; in writeSynReply()
147 void writeSynResetLater(final int streamId, final int statusCode) { in writeSynResetLater() argument
151 writeSynReset(streamId, statusCode); in writeSynResetLater()
[all …]
DSpdyWriter.java35 public int streamId; field in SpdyWriter
62 out.writeInt(streamId & 0x7fffffff); in synStream()
77 out.writeInt(streamId & 0x7fffffff); in synReply()
88 out.writeInt(streamId & 0x7fffffff); in synReset()
94 out.writeInt(streamId & 0x7fffffff); in data()
DSpdyReader.java64 public int streamId; field in SpdyReader
120 streamId = w1 & 0x7fffffff; in nextFrame()
129 streamId = w1 & 0x7fffffff; in readSynStream()
139 streamId = w1 & 0x7fffffff; in readSynReply()
144 streamId = in.readInt() & 0x7fffffff; in readSynReset()
/external/okhttp/src/test/java/libcore/net/spdy/
DSpdyConnectionTest.java34 reply.streamId = 1; in testClientCreatesStreamAndServerReplies()
39 replyData.streamId = 1; in testClientCreatesStreamAndServerReplies()
59 assertEquals(1, synStream.reader.streamId); in testClientCreatesStreamAndServerReplies()
70 newStream.streamId = 2; in testServerCreatesStreamAndClientReplies()
92 assertEquals(2, synStream.reader.streamId); in testServerCreatesStreamAndClientReplies()
/external/tcpdump/
DsctpHeader.h298 u_int16_t streamId; member
Dprint-sctp.c192 printf("[SID: %u] ", EXTRACT_16BITS(&dataHdrPtr->streamId)); in sctp_print()