/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketFrame.cpp | 47 bool WebSocketFrame::needsExtendedLengthField(size_t payloadLength) 49 return payloadLength > maxPayloadLengthWithoutExtendedLengthField; 102 size_t payloadLength = static_cast<size_t>(payloadLength64); 104 if (static_cast<size_t>(bufferEnd - p) < maskingKeyLength + payloadLength) 110 for (size_t i = 0; i < payloadLength; ++i) 121 frame.payloadLength = payloadLength; 122 frameEnd = p + maskingKeyLength + payloadLength; 135 frameData.append(frame.payload, frame.payloadLength); 139 for (size_t i = 0; i < frame.payloadLength; ++i [all...] |
WebSocketPerMessageDeflateTest.cpp | 52 EXPECT_EQ(7u, f1.payloadLength); 53 EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f1.payload, f1.payloadLength)); 59 EXPECT_EQ(5u, f2.payloadLength); 60 EXPECT_EQ(0, memcmp("\xf2\x00\x11\x00\x00", f2.payload, f2.payloadLength)); 74 EXPECT_EQ(7u, f1.payloadLength); 75 EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f1.payload, f1.payloadLength)); 81 EXPECT_EQ(7u, f2.payloadLength); 82 EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f2.payload, f2.payloadLength)); 108 expected = std::string(frame.payload, frame.payloadLength); 118 actual += std::string(frame.payload, frame.payloadLength); [all...] |
WebSocketFrame.h | 59 static bool needsExtendedLengthField(size_t payloadLength); 76 WebSocketFrame(OpCode, const char* payload, size_t payloadLength, Flags = EmptyFlags); 86 size_t payloadLength;
|
WebSocketPerMessageDeflate.cpp | 185 && frame.payloadLength <= 2) { 191 if (frame.payloadLength > 0 && !m_deflater->addBytes(frame.payload, frame.payloadLength)) { 202 frame.payloadLength = m_deflater->size(); 239 if (frame.payloadLength > 0 && !m_inflater->addBytes(frame.payload, frame.payloadLength)) { 249 frame.payloadLength = m_inflater->size();
|
WebSocketDeflateFramer.cpp | 177 if (!enabled() || !WebSocketFrame::isNonControlOpCode(frame.opCode) || !frame.payloadLength) 179 if (!m_deflater->addBytes(frame.payload, frame.payloadLength) || !m_deflater->finish()) { 185 frame.payloadLength = m_deflater->size(); 206 if (!m_inflater->addBytes(frame.payload, frame.payloadLength) || !m_inflater->finish()) { 212 frame.payloadLength = m_inflater->size();
|
MainThreadWebSocketChannel.cpp | 578 if (WebSocketFrame::isControlOpCode(frame.opCode) && WebSocketFrame::needsExtendedLengthField(frame.payloadLength)) { 579 failAsError("Received control frame having too long payload: " + String::number(frame.payloadLength) + " bytes"); 590 InspectorInstrumentation::didReceiveWebSocketFrame(m_document, m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength); 599 m_continuousFrameData.append(frame.payload, frame.payloadLength); 629 if (frame.payloadLength) 630 message = String::fromUTF8(frame.payload, frame.payloadLength); 642 m_continuousFrameData.append(frame.payload, frame.payloadLength); 649 OwnPtr<Vector<char> > binaryData = adoptPtr(new Vector<char>(frame.payloadLength)); 650 memcpy(binaryData->data(), frame.payload, frame.payloadLength); 657 m_continuousFrameData.append(frame.payload, frame.payloadLength); [all...] |
NewWebSocketChannelImpl.cpp | 487 InspectorInstrumentation::didReceiveWebSocketFrame(document(), m_identifier, frame.opCode, frame.masked, frame.payload, frame.payloadLength);
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
BeaconLoader.cpp | 40 bool BeaconLoader::sendBeacon(LocalFrame* frame, int allowance, const KURL& beaconURL, const String& data, int& payloadLength) 54 payloadLength = entitySize; 58 bool BeaconLoader::sendBeacon(LocalFrame* frame, int allowance, const KURL& beaconURL, PassRefPtr<ArrayBufferView>& data, int& payloadLength) 76 payloadLength = entitySize; 80 bool BeaconLoader::sendBeacon(LocalFrame* frame, int allowance, const KURL& beaconURL, PassRefPtrWillBeRawPtr<Blob>& data, int& payloadLength) 104 payloadLength = entitySize; 108 bool BeaconLoader::sendBeacon(LocalFrame* frame, int allowance, const KURL& beaconURL, PassRefPtrWillBeRawPtr<DOMFormData>& data, int& payloadLength) 125 payloadLength = entitySize;
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
coder.cc | 57 int32_t payloadLength) 59 if (payloadLength > 0) 64 payloadLength,
|
coder.h | 37 const int8_t* incomingPayload, int32_t payloadLength);
|
/cts/tests/tests/net/src/android/net/ipv6/cts/ |
PingTest.java | 70 private byte[] pingPacket(int payloadLength) { 71 byte[] packet = new byte[payloadLength + ICMP_HEADER_SIZE];
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorResourceAgent.h | 125 void didReceiveWebSocketFrame(unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength); 126 void didSendWebSocketFrame(unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength);
|
InspectorResourceAgent.cpp | 629 void InspectorResourceAgent::didReceiveWebSocketFrame(unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength) 634 .setPayloadData(String(payload, payloadLength)); 638 void InspectorResourceAgent::didSendWebSocketFrame(unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength) 643 .setPayloadData(String(payload, payloadLength)); [all...] |
InspectorInstrumentation.idl | 428 void didReceiveWebSocketFrame(Document*, unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength); 431 void didSendWebSocketFrame(Document*, unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength);
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
rtp_sender_video.h | 88 const uint16_t payloadLength,
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/interface/ |
video_coding.h | 464 // - payloadLength : Length of the payload. 470 uint32_t payloadLength,
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
video_coding_impl.cc | 304 uint32_t payloadLength, 306 return receiver_->IncomingPacket(incomingPayload, payloadLength, rtpInfo);
|
video_receiver.cc | 632 uint32_t payloadLength, 644 payloadLength = 0; 646 const VCMPacket packet(incomingPayload, payloadLength, rtpInfo);
|
video_coding_impl.h | 163 uint32_t payloadLength,
|