Searched refs:kStreamIdMask (Results 1 – 4 of 4) sorted by relevance
/external/chromium/net/spdy/ |
D | spdy_protocol.h | 395 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 …]
|
D | spdy_protocol_test.cc | 41 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()
|
D | spdy_bitmasks.h | 12 const unsigned int kStreamIdMask = 0x7fffffff; variable
|
D | spdy_framer.cc | 247 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()
|