HomeSort by relevance Sort by last modified time
    Searched refs:payloadLength (Results 1 - 14 of 14) sorted by null

  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketFrame.cpp 49 bool WebSocketFrame::needsExtendedLengthField(size_t payloadLength)
51 return payloadLength > maxPayloadLengthWithoutExtendedLengthField;
104 size_t payloadLength = static_cast<size_t>(payloadLength64);
106 if (static_cast<size_t>(bufferEnd - p) < maskingKeyLength + payloadLength)
112 for (size_t i = 0; i < payloadLength; ++i)
123 frame.payloadLength = payloadLength;
124 frameEnd = p + maskingKeyLength + payloadLength;
137 frameData.append(frame.payload, frame.payloadLength);
141 for (size_t i = 0; i < frame.payloadLength; ++i
    [all...]
WebSocketPerMessageDeflateTest.cpp 54 EXPECT_EQ(7u, f1.payloadLength);
55 EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f1.payload, f1.payloadLength));
61 EXPECT_EQ(5u, f2.payloadLength);
62 EXPECT_EQ(0, memcmp("\xf2\x00\x11\x00\x00", f2.payload, f2.payloadLength));
76 EXPECT_EQ(7u, f1.payloadLength);
77 EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f1.payload, f1.payloadLength));
83 EXPECT_EQ(7u, f2.payloadLength);
84 EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", f2.payload, f2.payloadLength));
110 expected = std::string(frame.payload, frame.payloadLength);
120 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 562 if (WebSocketFrame::isControlOpCode(frame.opCode) && WebSocketFrame::needsExtendedLengthField(frame.payloadLength)) {
563 failAsError("Received control frame having too long payload: " + String::number(frame.payloadLength) + " bytes");
583 m_continuousFrameData.append(frame.payload, frame.payloadLength);
612 if (frame.payloadLength)
613 message = String::fromUTF8(frame.payload, frame.payloadLength);
625 m_continuousFrameData.append(frame.payload, frame.payloadLength);
632 OwnPtr<Vector<char> > binaryData = adoptPtr(new Vector<char>(frame.payloadLength));
633 memcpy(binaryData->data(), frame.payload, frame.payloadLength);
640 m_continuousFrameData.append(frame.payload, frame.payloadLength);
646 if (!frame.payloadLength)
    [all...]
  /frameworks/av/media/libstagefright/rtsp/
AMPEG4AudioAssembler.cpp 374 unsigned payloadLength = 0;
387 payloadLength = muxSlotLengthBytes;
403 payloadLength = mFixedFrameLength;
408 CHECK_LE(offset + payloadLength, buffer->size());
410 memcpy(out->data() + out->size(), &ptr[offset], payloadLength);
411 out->setRange(0, out->size() + payloadLength);
413 offset += payloadLength;
  /frameworks/base/core/java/android/nfc/
NdefRecord.java 781 long payloadLength = sr ? (buffer.get() & 0xFF) : (buffer.getInt() & 0xFFFFFFFFL);
795 ensureSanePayloadSize(payloadLength)
    [all...]
  /cts/tests/tests/net/src/android/net/ipv6/cts/
PingTest.java 52 private byte[] pingPacket(int payloadLength) {
53 byte[] packet = new byte[payloadLength + 8];
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorResourceAgent.cpp 560 .setPayloadData(String(frame.payload, frame.payloadLength));
569 .setPayloadData(String(frame.payload, frame.payloadLength));
  /prebuilts/devtools/tools/lib/
ddmlib.jar 
  /prebuilts/gradle-plugin/com/android/tools/ddms/ddmlib/22.2.0/
ddmlib-22.2.0.jar 
  /prebuilts/misc/common/ddmlib/
ddmlib-prebuilt.jar 
  /external/zxing/core/
core.jar 

Completed in 1184 milliseconds