Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketFrame.cpp72 uint64_t payloadLength64 = secondByte & payloadLengthMask; in parseFrame() local
73 if (payloadLength64 > maxPayloadLengthWithoutExtendedLengthField) { in parseFrame()
75 if (payloadLength64 == payloadLengthWithTwoByteExtendedLengthField) in parseFrame()
78 ASSERT(payloadLength64 == payloadLengthWithEightByteExtendedLengthField); in parseFrame()
83 payloadLength64 = 0; in parseFrame()
85 payloadLength64 <<= 8; in parseFrame()
86 payloadLength64 |= static_cast<unsigned char>(*p++); in parseFrame()
88 …if (extendedPayloadLengthSize == 2 && payloadLength64 <= maxPayloadLengthWithoutExtendedLengthFiel… in parseFrame()
92 if (extendedPayloadLengthSize == 8 && payloadLength64 <= 0xFFFF) { in parseFrame()
100 …if (payloadLength64 > maxPayloadLength || payloadLength64 + maskingKeyLength > numeric_limits<size… in parseFrame()
[all …]