payloadLength     573 Source/core/inspector/InspectorResourceAgent.cpp void InspectorResourceAgent::didReceiveWebSocketFrame(unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength)
payloadLength     578 Source/core/inspector/InspectorResourceAgent.cpp         .setPayloadData(String(payload, payloadLength));
payloadLength     582 Source/core/inspector/InspectorResourceAgent.cpp void InspectorResourceAgent::didSendWebSocketFrame(unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength)
payloadLength     587 Source/core/inspector/InspectorResourceAgent.cpp         .setPayloadData(String(payload, payloadLength));
payloadLength     123 Source/core/inspector/InspectorResourceAgent.h     void didReceiveWebSocketFrame(unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength);
payloadLength     124 Source/core/inspector/InspectorResourceAgent.h     void didSendWebSocketFrame(unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength);
payloadLength     568 Source/modules/websockets/MainThreadWebSocketChannel.cpp     if (WebSocketFrame::isControlOpCode(frame.opCode) && WebSocketFrame::needsExtendedLengthField(frame.payloadLength)) {
payloadLength     569 Source/modules/websockets/MainThreadWebSocketChannel.cpp         failAsError("Received control frame having too long payload: " + String::number(frame.payloadLength) + " bytes");
payloadLength     580 Source/modules/websockets/MainThreadWebSocketChannel.cpp     InspectorInstrumentation::didReceiveWebSocketFrame(m_document, m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength);
payloadLength     589 Source/modules/websockets/MainThreadWebSocketChannel.cpp         m_continuousFrameData.append(frame.payload, frame.payloadLength);
payloadLength     619 Source/modules/websockets/MainThreadWebSocketChannel.cpp             if (frame.payloadLength)
payloadLength     620 Source/modules/websockets/MainThreadWebSocketChannel.cpp                 message = String::fromUTF8(frame.payload, frame.payloadLength);
payloadLength     632 Source/modules/websockets/MainThreadWebSocketChannel.cpp             m_continuousFrameData.append(frame.payload, frame.payloadLength);
payloadLength     639 Source/modules/websockets/MainThreadWebSocketChannel.cpp             OwnPtr<Vector<char> > binaryData = adoptPtr(new Vector<char>(frame.payloadLength));
payloadLength     640 Source/modules/websockets/MainThreadWebSocketChannel.cpp             memcpy(binaryData->data(), frame.payload, frame.payloadLength);
payloadLength     647 Source/modules/websockets/MainThreadWebSocketChannel.cpp             m_continuousFrameData.append(frame.payload, frame.payloadLength);
payloadLength     653 Source/modules/websockets/MainThreadWebSocketChannel.cpp         if (!frame.payloadLength) {
payloadLength     655 Source/modules/websockets/MainThreadWebSocketChannel.cpp         } else if (frame.payloadLength == 1) {
payloadLength     669 Source/modules/websockets/MainThreadWebSocketChannel.cpp         if (frame.payloadLength >= 3)
payloadLength     670 Source/modules/websockets/MainThreadWebSocketChannel.cpp             m_closeEventReason = String::fromUTF8(&frame.payload[2], frame.payloadLength - 2);
payloadLength     681 Source/modules/websockets/MainThreadWebSocketChannel.cpp         enqueueRawFrame(WebSocketFrame::OpCodePong, frame.payload, frame.payloadLength);
payloadLength     810 Source/modules/websockets/MainThreadWebSocketChannel.cpp     InspectorInstrumentation::didSendWebSocketFrame(m_document, m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength);
payloadLength     166 Source/modules/websockets/NewWebSocketChannelImpl.cpp         InspectorInstrumentation::didSendWebSocketFrame(document(), m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength);
payloadLength     183 Source/modules/websockets/NewWebSocketChannelImpl.cpp         InspectorInstrumentation::didSendWebSocketFrame(document(), m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength);
payloadLength     197 Source/modules/websockets/NewWebSocketChannelImpl.cpp         InspectorInstrumentation::didSendWebSocketFrame(document(), m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength);
payloadLength     430 Source/modules/websockets/NewWebSocketChannelImpl.cpp         InspectorInstrumentation::didReceiveWebSocketFrame(document(), m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength);
payloadLength     177 Source/modules/websockets/WebSocketDeflateFramer.cpp     if (!enabled() || !WebSocketFrame::isNonControlOpCode(frame.opCode) || !frame.payloadLength)
payloadLength     179 Source/modules/websockets/WebSocketDeflateFramer.cpp     if (!m_deflater->addBytes(frame.payload, frame.payloadLength) || !m_deflater->finish()) {
payloadLength     185 Source/modules/websockets/WebSocketDeflateFramer.cpp     frame.payloadLength = m_deflater->size();
payloadLength     206 Source/modules/websockets/WebSocketDeflateFramer.cpp     if (!m_inflater->addBytes(frame.payload, frame.payloadLength) || !m_inflater->finish()) {
payloadLength     212 Source/modules/websockets/WebSocketDeflateFramer.cpp     frame.payloadLength = m_inflater->size();
payloadLength      49 Source/modules/websockets/WebSocketFrame.cpp bool WebSocketFrame::needsExtendedLengthField(size_t payloadLength)
payloadLength      51 Source/modules/websockets/WebSocketFrame.cpp     return payloadLength > maxPayloadLengthWithoutExtendedLengthField;
payloadLength     104 Source/modules/websockets/WebSocketFrame.cpp     size_t payloadLength = static_cast<size_t>(payloadLength64);
payloadLength     106 Source/modules/websockets/WebSocketFrame.cpp     if (static_cast<size_t>(bufferEnd - p) < maskingKeyLength + payloadLength)
payloadLength     112 Source/modules/websockets/WebSocketFrame.cpp         for (size_t i = 0; i < payloadLength; ++i)
payloadLength     123 Source/modules/websockets/WebSocketFrame.cpp     frame.payloadLength = payloadLength;
payloadLength     124 Source/modules/websockets/WebSocketFrame.cpp     frameEnd = p + maskingKeyLength + payloadLength;
payloadLength     137 Source/modules/websockets/WebSocketFrame.cpp     frameData.append(frame.payload, frame.payloadLength);
payloadLength     141 Source/modules/websockets/WebSocketFrame.cpp         for (size_t i = 0; i < frame.payloadLength; ++i)
payloadLength     154 Source/modules/websockets/WebSocketFrame.cpp     if (payloadLength <= maxPayloadLengthWithoutExtendedLengthField)
payloadLength     155 Source/modules/websockets/WebSocketFrame.cpp         frameData.at(1) |= payloadLength;
payloadLength     156 Source/modules/websockets/WebSocketFrame.cpp     else if (payloadLength <= 0xFFFF) {
payloadLength     158 Source/modules/websockets/WebSocketFrame.cpp         frameData.append((payloadLength & 0xFF00) >> 8);
payloadLength     159 Source/modules/websockets/WebSocketFrame.cpp         frameData.append(payloadLength & 0xFF);
payloadLength     163 Source/modules/websockets/WebSocketFrame.cpp         size_t remaining = payloadLength;
payloadLength     188 Source/modules/websockets/WebSocketFrame.cpp WebSocketFrame::WebSocketFrame(OpCode opCode, const char* payload, size_t payloadLength, Flags flags)
payloadLength     196 Source/modules/websockets/WebSocketFrame.cpp     , payloadLength(payloadLength)
payloadLength      59 Source/modules/websockets/WebSocketFrame.h     static bool needsExtendedLengthField(size_t payloadLength);
payloadLength      76 Source/modules/websockets/WebSocketFrame.h     WebSocketFrame(OpCode, const char* payload, size_t payloadLength, Flags = EmptyFlags);
payloadLength      86 Source/modules/websockets/WebSocketFrame.h     size_t payloadLength;
payloadLength     185 Source/modules/websockets/WebSocketPerMessageDeflate.cpp         && frame.payloadLength <= 2) {
payloadLength     191 Source/modules/websockets/WebSocketPerMessageDeflate.cpp     if (frame.payloadLength > 0 && !m_deflater->addBytes(frame.payload, frame.payloadLength)) {
payloadLength     202 Source/modules/websockets/WebSocketPerMessageDeflate.cpp     frame.payloadLength = m_deflater->size();
payloadLength     239 Source/modules/websockets/WebSocketPerMessageDeflate.cpp     if (frame.payloadLength > 0 && !m_inflater->addBytes(frame.payload, frame.payloadLength)) {
payloadLength     249 Source/modules/websockets/WebSocketPerMessageDeflate.cpp     frame.payloadLength = m_inflater->size();
payloadLength      54 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(7u, f1.payloadLength);
payloadLength      55 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f1.payload, f1.payloadLength));
payloadLength      61 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(5u, f2.payloadLength);
payloadLength      62 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0, memcmp("\xf2\x00\x11\x00\x00", f2.payload, f2.payloadLength));
payloadLength      76 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(7u, f1.payloadLength);
payloadLength      77 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f1.payload, f1.payloadLength));
payloadLength      83 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(7u, f2.payloadLength);
payloadLength      84 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f2.payload, f2.payloadLength));
payloadLength     110 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     expected = std::string(frame.payload, frame.payloadLength);
payloadLength     120 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp         actual += std::string(frame.payload, frame.payloadLength);
payloadLength     134 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp         inflated += std::string(frame.payload, frame.payloadLength);
payloadLength     147 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(7u, f1.payloadLength);
payloadLength     148 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f1.payload, f1.payloadLength));
payloadLength     162 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0u, f1.payloadLength);
payloadLength     168 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(7u, f2.payloadLength);
payloadLength     169 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f2.payload, f2.payloadLength));
payloadLength     185 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0u, f1.payloadLength);
payloadLength     191 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(1u, f2.payloadLength);
payloadLength     192 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0, memcmp("\x00", f2.payload, f2.payloadLength));
payloadLength     198 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0u, f3.payloadLength);
payloadLength     204 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0u, f4.payloadLength);
payloadLength     210 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(7u, f5.payloadLength);
payloadLength     211 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f5.payload, f5.payloadLength));
payloadLength     226 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(std::string("Hello"), std::string(f1.payload, f1.payloadLength));
payloadLength     244 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     std::copy(&f1.payload[0], &f1.payload[f1.payloadLength], std::inserter(compressed, compressed.end()));
payloadLength     250 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(std::string("close"), std::string(f2.payload, f2.payloadLength));
payloadLength     256 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     std::copy(&f3.payload[0], &f3.payload[f3.payloadLength], std::inserter(compressed, compressed.end()));
payloadLength     275 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(5u, f1.payloadLength);
payloadLength     276 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(std::string("Hello"), std::string(f1.payload, f1.payloadLength));
payloadLength     282 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(3u, f2.payloadLength);
payloadLength     283 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(std::string("Hi!"), std::string(f2.payload, f2.payloadLength));
payloadLength     289 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(5u, f3.payloadLength);
payloadLength     290 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(std::string("Hello"), std::string(f3.payload, f3.payloadLength));
payloadLength     305 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(0u, f1.payloadLength);
payloadLength     311 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(5u, f2.payloadLength);
payloadLength     312 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(std::string("Hello"), std::string(f2.payload, f2.payloadLength));
payloadLength     331 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     std::copy(&f1.payload[0], &f1.payload[f1.payloadLength], std::inserter(decompressed, decompressed.end()));
payloadLength     337 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     EXPECT_EQ(std::string("close"), std::string(f2.payload, f2.payloadLength));
payloadLength     341 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp     std::copy(&f3.payload[0], &f3.payload[f3.payloadLength], std::inserter(decompressed, decompressed.end()));