Searched refs:extended_length_size (Results 1 – 2 of 2) sorted by relevance
86 int extended_length_size = 0; in GetWebSocketFrameHeaderSize() local89 extended_length_size = 2; in GetWebSocketFrameHeaderSize()91 extended_length_size = 8; in GetWebSocketFrameHeaderSize()94 return (WebSocketFrameHeader::kBaseHeaderSize + extended_length_size + in GetWebSocketFrameHeaderSize()133 int extended_length_size = 0; in WriteWebSocketFrameHeader() local140 extended_length_size = 2; in WriteWebSocketFrameHeader()143 extended_length_size = 8; in WriteWebSocketFrameHeader()148 if (extended_length_size == 2) { in WriteWebSocketFrameHeader()152 } else if (extended_length_size == 8) { in WriteWebSocketFrameHeader()
88 int extended_length_size = 0; in GetWebSocketFrameHeaderSize() local91 extended_length_size = 2; in GetWebSocketFrameHeaderSize()93 extended_length_size = 8; in GetWebSocketFrameHeaderSize()96 return (WebSocketFrameHeader::kBaseHeaderSize + extended_length_size + in GetWebSocketFrameHeaderSize()135 int extended_length_size = 0; in WriteWebSocketFrameHeader() local142 extended_length_size = 2; in WriteWebSocketFrameHeader()145 extended_length_size = 8; in WriteWebSocketFrameHeader()150 if (extended_length_size == 2) { in WriteWebSocketFrameHeader()154 } else if (extended_length_size == 8) { in WriteWebSocketFrameHeader()