/external/chromium_org/net/websockets/ |
websocket_frame.cc | 29 const net::WebSocketMaskingKey& masking_key, 34 *masked ^= masking_key.key[masking_key_offset++]; 83 const WebSocketMaskingKey* masking_key, 143 DCHECK(masking_key); 144 std::copy(masking_key->key, 145 masking_key->key + WebSocketFrameHeader::kMaskingKeyLength, 149 DCHECK(!masking_key); 160 WebSocketMaskingKey masking_key; local 161 base::RandBytes(masking_key.key, WebSocketFrameHeader::kMaskingKeyLength); 162 return masking_key; [all...] |
websocket_frame_test.cc | 87 WebSocketMaskingKey masking_key; local 90 masking_key.key); 104 header, &masking_key, &output.front(), output.size())); 231 const char* masking_key; member in struct:net::TestCase 253 WebSocketMaskingKey masking_key; local 254 std::copy(kTests[i].masking_key, 255 kTests[i].masking_key + WebSocketFrameHeader::kMaskingKeyLength, 256 masking_key.key); 261 MaskWebSocketFramePayload(masking_key, 314 WebSocketMaskingKey masking_key; local 366 WebSocketMaskingKey masking_key; local [all...] |
websocket_frame.h | 158 // If |header->masked| is true, |masking_key| must point to a valid 161 // Otherwise, |masking_key| must be NULL. 168 const WebSocketMaskingKey* masking_key, 181 // This function masks |data| with |masking_key|, assuming |data| is partial 188 const WebSocketMaskingKey& masking_key,
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
fast_masking.i | 45 (const char* masking_key, int masking_key_length) }; 53 const char* masking_key, int masking_key_length, 66 *cursor ^= masking_key[masking_key_index]; 78 masking_key[masking_key_index]; 92 *cursor ^= masking_key[masking_key_index];
|
util.py | 177 def __init__(self, masking_key): 178 self._masking_key = masking_key 194 masking_key = map(ord, self._masking_key) 195 masking_key_size = len(masking_key) 199 result[i] ^= masking_key[masking_key_index]
|
/external/chromium_org/net/server/ |
web_socket.h | 36 int masking_key);
|
web_socket.cc | 347 const char* masking_key = p; local 350 (*output)[i] = payload[i] ^ masking_key[i % kMaskingKeyWidthInBytes]; 363 int masking_key) { 369 char mask_key_bit = masking_key != 0 ? kMaskBit : 0; 392 if (masking_key != 0) { 393 const char* mask_bytes = reinterpret_cast<char*>(&masking_key);
|
/external/chromium_org/chrome/test/chromedriver/net/ |
websocket.cc | 105 net::WebSocketMaskingKey masking_key = net::GenerateWebSocketMaskingKey(); local 109 header, &masking_key, &header_str[0], header_str.length())); 113 masking_key, 0, &masked_message[0], masked_message.length());
|