Home
last modified time | relevance | path

Searched refs:protocol_length (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/talk/app/webrtc/
Dsctputils_unittest.cc42 uint16_t protocol_length; in VerifyOpenMessageFormat() local
69 ASSERT_TRUE(buffer.ReadUInt16(&protocol_length)); in VerifyOpenMessageFormat()
71 EXPECT_EQ(config.protocol.size(), protocol_length); in VerifyOpenMessageFormat()
77 ASSERT_TRUE(buffer.ReadString(&protocol_output, protocol_length)); in VerifyOpenMessageFormat()
Dsctputils.cc103 uint16_t protocol_length; in ParseDataChannelOpenMessage() local
104 if (!buffer.ReadUInt16(&protocol_length)) { in ParseDataChannelOpenMessage()
112 if (!buffer.ReadString(&config->protocol, protocol_length)) { in ParseDataChannelOpenMessage()