Home
last modified time | relevance | path

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

/external/chromium/net/spdy/
Dspdy_framer_test.cc253 frame.WriteUInt16(kControlFlagMask | 1); in TEST_F()
254 frame.WriteUInt16(SYN_STREAM); in TEST_F()
258 frame.WriteUInt16(0); // Priority. in TEST_F()
260 frame.WriteUInt16(2); // Number of headers. in TEST_F()
281 frame1.WriteUInt16(kControlFlagMask | 1); in TEST_F()
282 frame1.WriteUInt16(SYN_STREAM); in TEST_F()
285 frame1.WriteUInt16(0); // Priority. in TEST_F()
287 frame1.WriteUInt16(1); // Wrong number of headers (underflow) in TEST_F()
296 frame2.WriteUInt16(kControlFlagMask | 1); in TEST_F()
297 frame2.WriteUInt16(SYN_STREAM); in TEST_F()
[all …]
Dspdy_framer.cc125 frame->WriteUInt16(headers->size()); // Number of headers. in WriteHeaderBlock()
547 frame.WriteUInt16(kControlFlagMask | spdy_version_); in CreateSynStream()
548 frame.WriteUInt16(SYN_STREAM); in CreateSynStream()
552 frame.WriteUInt16(ntohs(priority) << 6); // Priority. in CreateSynStream()
554 frame.WriteUInt16(headers->size()); // Number of headers. in CreateSynStream()
588 frame.WriteUInt16(kControlFlagMask | spdy_version_); in CreateSynReply()
589 frame.WriteUInt16(SYN_REPLY); in CreateSynReply()
592 frame.WriteUInt16(0); // Unused in CreateSynReply()
594 frame.WriteUInt16(headers->size()); // Number of headers. in CreateSynReply()
630 frame.WriteUInt16(kControlFlagMask | spdy_version_); in CreateRstStream()
[all …]
Dspdy_frame_builder.cc110 if (!WriteUInt16(static_cast<int>(value.size()))) in WriteString()
134 if (!WriteUInt16(length)) in BeginWriteData()
Dspdy_frame_builder.h66 bool WriteUInt16(uint16 value) { in WriteUInt16() function
/external/chromium/third_party/libjingle/source/talk/session/phone/
Drtpdump.cc54 buf->WriteUInt16(port); in WriteToByteBuffer()
55 buf->WriteUInt16(padding); in WriteToByteBuffer()
274 buffer.WriteUInt16(sequence); in UpdateDumpPacket()
310 buf.WriteUInt16(static_cast<uint16>(RtpDumpPacket::kHeaderLength + data_len)); in WritePacket()
311 buf.WriteUInt16(static_cast<uint16>(rtcp ? 0 : data_len)); in WritePacket()
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dstun.cc194 buf->WriteUInt16(type_); in Write()
195 buf->WriteUInt16(length_); in Write()
199 buf->WriteUInt16((*attrs_)[i]->type()); in Write()
200 buf->WriteUInt16((*attrs_)[i]->length()); in Write()
342 buf->WriteUInt16(port_); in Write()
494 buf->WriteUInt16((*attr_types_)[i]); in Write()
/external/chromium/third_party/libjingle/source/talk/base/
Dbytebuffer.h58 void WriteUInt16(uint16 val);
Dbytebuffer.cc148 void ByteBuffer::WriteUInt16(uint16 val) { in WriteUInt16() function in talk_base::ByteBuffer
Dsocketadapters.cc698 request.WriteUInt16(dest_.port()); // Destination Port in SendConnect()
835 response.WriteUInt16(addr.port()); in SendConnectResult()
/external/chromium/base/
Dpickle.h102 bool WriteUInt16(uint16 value) { in WriteUInt16() function
Dpickle_unittest.cc74 EXPECT_TRUE(pickle.WriteUInt16(testuint16)); in TEST()
/external/chromium/net/http/
Dhttp_response_info.cc238 pickle->WriteUInt16(socket_address.port()); in Persist()