Home
last modified time | relevance | path

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

/external/chromium_org/net/websockets/
Dwebsocket_frame_test.cc336 TEST(WebSocketFrameHeaderTest, IsKnownDataOpCode) { in TEST() argument
341 EXPECT_TRUE(Frame::IsKnownDataOpCode(Frame::kOpCodeContinuation)); in TEST()
342 EXPECT_TRUE(Frame::IsKnownDataOpCode(Frame::kOpCodeText)); in TEST()
343 EXPECT_TRUE(Frame::IsKnownDataOpCode(Frame::kOpCodeBinary)); in TEST()
346 EXPECT_FALSE(Frame::IsKnownDataOpCode(Frame::kOpCodeClose)); in TEST()
347 EXPECT_FALSE(Frame::IsKnownDataOpCode(Frame::kOpCodePing)); in TEST()
348 EXPECT_FALSE(Frame::IsKnownDataOpCode(Frame::kOpCodePong)); in TEST()
351 EXPECT_FALSE(Frame::IsKnownDataOpCode(Frame::kOpCodeDataUnused)); in TEST()
352 EXPECT_FALSE(Frame::IsKnownDataOpCode(Frame::kOpCodeControlUnused)); in TEST()
355 EXPECT_FALSE(Frame::IsKnownDataOpCode(0x6)); in TEST()
[all …]
Dwebsocket_deflate_stream.cc116 if (!WebSocketFrameHeader::IsKnownDataOpCode((*frames)[i]->header.opcode)) { in Deflate()
244 DCHECK(WebSocketFrameHeader::IsKnownDataOpCode(frame->header.opcode)); in AppendPossiblyCompressedMessage()
288 if (!WebSocketFrameHeader::IsKnownDataOpCode(frame->header.opcode)) { in Inflate()
Dwebsocket_frame.h42 static bool IsKnownDataOpCode(OpCode opcode) { in IsKnownDataOpCode() function
Dwebsocket_deflate_stream_test.cc132 if (!WebSocketFrameHeader::IsKnownDataOpCode(frame->header.opcode)) { in RecordInputDataFrame()
151 if (!WebSocketFrameHeader::IsKnownDataOpCode(frame->header.opcode)) { in RecordWrittenDataFrame()
163 if (!WebSocketFrameHeader::IsKnownDataOpCode(frame->header.opcode)) in AddFrameToBeInput()
169 if (!WebSocketFrameHeader::IsKnownDataOpCode(frame->header.opcode)) in VerifySentFrame()
Dwebsocket_basic_stream.cc385 if (!is_final_chunk && WebSocketFrameHeader::IsKnownDataOpCode(opcode)) { in CreateFrame()
Dwebsocket_channel.cc283 DCHECK(WebSocketFrameHeader::IsKnownDataOpCode(opcode_)); in ResetOpcode()
382 if (!WebSocketFrameHeader::IsKnownDataOpCode(op_code)) { in SendFrame()