Home
last modified time | relevance | path

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

/external/chromium/net/websockets/
Dwebsocket_handshake.cc230 uint8 randomCharacterInSecWebSocketKey[0x2F - 0x20 + 0x7E - 0x39]; variable
234 if (randomCharacterInSecWebSocketKey[0] == '\0') { in Parameter()
237 randomCharacterInSecWebSocketKey[i] = ch; in Parameter()
239 randomCharacterInSecWebSocketKey[i] = ch; in Parameter()
287 int chpos = rand_(0, sizeof(randomCharacterInSecWebSocketKey) - 1); in GenerateSecWebSocketKey()
288 s = s.substr(0, pos).append(1, randomCharacterInSecWebSocketKey[chpos]) + in GenerateSecWebSocketKey()
/external/webkit/Source/WebCore/websockets/
DWebSocketHandshake.cpp60 static const char randomCharacterInSecWebSocketKey[] = "!\"#$%&'()*+,-./:;<=>?@ABCDEFGHIJKLMNOPQRST… variable
119 DEFINE_STATIC_LOCAL(String, randomChars, (randomCharacterInSecWebSocketKey)); in generateSecWebSocketKey()