Searched refs:protocol_length (Results 1 – 2 of 2) sorted by relevance
29 uint16_t protocol_length; in VerifyOpenMessageFormat() local64 ASSERT_TRUE(buffer.ReadUInt16(&protocol_length)); in VerifyOpenMessageFormat()66 EXPECT_EQ(config.protocol.size(), protocol_length); in VerifyOpenMessageFormat()72 ASSERT_TRUE(buffer.ReadString(&protocol_output, protocol_length)); in VerifyOpenMessageFormat()
111 uint16_t protocol_length; in ParseDataChannelOpenMessage() local112 if (!buffer.ReadUInt16(&protocol_length)) { in ParseDataChannelOpenMessage()120 if (!buffer.ReadString(&config->protocol, protocol_length)) { in ParseDataChannelOpenMessage()