HomeSort by relevance Sort by last modified time
    Searched refs:kMaskingKeyLength (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/net/websockets/
websocket_frame.cc 35 if (masking_key_offset == net::WebSocketFrameHeader::kMaskingKeyLength)
79 (header.masked ? WebSocketFrameHeader::kMaskingKeyLength : 0));
145 masking_key->key + WebSocketFrameHeader::kMaskingKeyLength,
147 buffer_index += WebSocketFrameHeader::kMaskingKeyLength;
161 base::RandBytes(masking_key.key, WebSocketFrameHeader::kMaskingKeyLength);
169 static const size_t kMaskingKeyLength =
170 WebSocketFrameHeader::kMaskingKeyLength;
177 // kMaskingKeyLength in size.
181 COMPILE_ASSERT((kPackedMaskKeySize >= kMaskingKeyLength &&
182 kPackedMaskKeySize % kMaskingKeyLength == 0)
    [all...]
websocket_frame.h 59 kMaskingKeyLength = 4
143 char key[WebSocketFrameHeader::kMaskingKeyLength];
websocket_frame_parser.cc 41 masking_key_.key + WebSocketFrameHeader::kMaskingKeyLength,
92 WebSocketFrameHeader::kMaskingKeyLength;
100 static const int kMaskingKeyLength = WebSocketFrameHeader::kMaskingKeyLength;
153 if (end - current < kMaskingKeyLength)
155 std::copy(current, current + kMaskingKeyLength, masking_key_.key);
156 current += kMaskingKeyLength;
158 std::fill(masking_key_.key, masking_key_.key + kMaskingKeyLength, '\0');
websocket_frame_test.cc 67 WebSocketFrameHeader::kMaskingKeyLength,
89 kMaskingKey + WebSocketFrameHeader::kMaskingKeyLength,
255 kTests[i].masking_key + WebSocketFrameHeader::kMaskingKeyLength,
286 static const size_t kMaskingKeyLength =
287 WebSocketFrameHeader::kMaskingKeyLength;
315 std::copy(kTestMask, kTestMask + kMaskingKeyLength, masking_key.key);
316 for (size_t frame_offset = 0; frame_offset < kMaskingKeyLength;
364 arraysize(kMaskingKey) == WebSocketFrameHeader::kMaskingKeyLength + 1,
368 kMaskingKey + WebSocketFrameHeader::kMaskingKeyLength,
websocket_basic_stream_test.cc 247 WebSocketFrameHeader::kMaskingKeyLength);
    [all...]
  /external/chromium_org/ppapi/proxy/
websocket_resource.cc 24 const size_t kMaskingKeyLength = 4;
35 uint64_t overhead = kBaseFramingOverhead + kMaskingKeyLength;

Completed in 801 milliseconds