Home
last modified time | relevance | path

Searched refs:kStreamIdMask (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/spdy/
Dspdy_protocol.h395 return ntohl(frame_->data_.stream_id_) & kStreamIdMask; in stream_id()
402 DCHECK_EQ(0u, (id & ~kStreamIdMask)); in set_stream_id()
403 frame_->data_.stream_id_ = htonl(id & kStreamIdMask); in set_stream_id()
476 return ntohl(block()->stream_id_) & kStreamIdMask; in stream_id()
480 mutable_block()->stream_id_ = htonl(id & kStreamIdMask); in set_stream_id()
484 return ntohl(block()->associated_stream_id_) & kStreamIdMask; in associated_stream_id()
488 mutable_block()->associated_stream_id_ = htonl(id & kStreamIdMask); in set_associated_stream_id()
526 return ntohl(block()->stream_id_) & kStreamIdMask; in stream_id()
530 mutable_block()->stream_id_ = htonl(id & kStreamIdMask); in set_stream_id()
563 return ntohl(block()->stream_id_) & kStreamIdMask; in stream_id()
[all …]
Dspdy_protocol_test.cc41 using spdy::kStreamIdMask;
151 frame.set_stream_id(~0 & kStreamIdMask); in TEST()
152 EXPECT_EQ(~0 & kStreamIdMask, frame.stream_id()); in TEST()
263 frame->set_stream_id(kStreamIdMask); in TEST()
264 EXPECT_EQ(kStreamIdMask, frame->stream_id()); in TEST()
Dspdy_bitmasks.h12 const unsigned int kStreamIdMask = 0x7fffffff; variable
Dspdy_framer.cc247 DCHECK_EQ(0u, stream_id & ~kStreamIdMask); in CreateSynStream()
248 DCHECK_EQ(0u, associated_stream_id & ~kStreamIdMask); in CreateSynStream()
286 DCHECK_EQ(0u, stream_id & ~kStreamIdMask); in CreateSynReply()
326 DCHECK_EQ(0u, stream_id & ~kStreamIdMask); in CreateRstStream()
370 DCHECK_EQ(0u, last_accepted_stream_id & ~kStreamIdMask); in CreateGoAway()
385 DCHECK_EQ(0u, stream_id & ~kStreamIdMask); in CreateHeaders()
425 DCHECK_EQ(0u, stream_id & ~kStreamIdMask); in CreateWindowUpdate()
466 DCHECK_EQ(0u, stream_id & ~kStreamIdMask); in CreateDataFrame()