Home
last modified time | relevance | path

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

/external/chromium_org/chrome/test/chromedriver/
Dutil.cc112 void WriteUInt16(uint16 data) { in WriteUInt16() function in __anona4cdd0290211::DataOutputStream
299 stream.WriteUInt16(version_needed); in ToZip()
300 stream.WriteUInt16(bit_flag); in ToZip()
301 stream.WriteUInt16(compression_method); in ToZip()
302 stream.WriteUInt16(mod_time); in ToZip()
303 stream.WriteUInt16(mod_date); in ToZip()
307 stream.WriteUInt16(name.length()); in ToZip()
308 stream.WriteUInt16(fields.length()); in ToZip()
316 stream.WriteUInt16(0x14); // Version made by. Unused at version 0. in ToZip()
317 stream.WriteUInt16(version_needed); in ToZip()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dsctputils.cc179 buffer.WriteUInt16(priority); in WriteDataChannelOpenMessage()
181 buffer.WriteUInt16(static_cast<uint16>(label.length())); in WriteDataChannelOpenMessage()
182 buffer.WriteUInt16(static_cast<uint16>(config.protocol.length())); in WriteDataChannelOpenMessage()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Drtpdump.cc60 buf->WriteUInt16(port); in WriteToByteBuffer()
61 buf->WriteUInt16(padding); in WriteToByteBuffer()
311 buffer.WriteUInt16(sequence); in UpdateDumpPacket()
374 buf.WriteUInt16(static_cast<uint16>( in WritePacket()
376 buf.WriteUInt16(static_cast<uint16>(rtcp ? 0 : data_len)); in WritePacket()
Dtestutils.cc55 buf->WriteUInt16(sequence_number); in WriteToByteBuffer()
92 buf->WriteUInt16(length); in WriteToByteBuffer()
/external/chromium_org/net/quic/
Dquic_data_writer.cc41 bool QuicDataWriter::WriteUInt16(uint16 value) { in WriteUInt16() function in net::QuicDataWriter
52 return WriteUInt32(lo) && WriteUInt16(hi); in WriteUInt48()
102 if (!WriteUInt16(val.size())) { in WriteStringPiece16()
Dquic_data_writer.h42 bool WriteUInt16(uint16 value);
Dquic_framer.cc1942 return writer->WriteUInt16( in AppendPacketSequenceNumber()
1972 if (!writer->WriteUInt16(frame.data.TotalBufferSize())) { in AppendStreamFrame()
2147 if (!writer->WriteUInt16(receive_window)) { in AppendCongestionFeedbackFrame()
/external/chromium_org/net/spdy/
Dspdy_frame_builder.cc71 success &= WriteUInt16(kControlFlagMask | in WriteControlFrameHeader()
73 success &= WriteUInt16( in WriteControlFrameHeader()
139 if (!WriteUInt16(static_cast<int>(value.size()))) in WriteString()
Dspdy_frame_builder.h94 bool WriteUInt16(uint16 value) { in WriteUInt16() function
Dspdy_framer.cc1176 frame->WriteUInt16(headers->size()); // Number of headers. in WriteHeaderBlock()
2436 builder.WriteUInt16(0); // Unused. in SerializeSynReply()
2538 builder.WriteUInt16(SpdyConstants::SerializeSettingId(protocol_version(), in SerializeSettings()
2657 builder.WriteUInt16(0); // Unused. in SerializeHeaders()
2811 builder.WriteUInt16(altsvc.port()); in SerializeAltSvc()
3167 builder->WriteUInt16(name_value_block.size()); in SerializeNameValueBlockWithoutCompression()
Dspdy_framer_test.cc872 frame.WriteUInt16(0); // Priority. in TEST_P()
879 frame.WriteUInt16(2); // Number of headers. in TEST_P()
913 frame.WriteUInt16(0); // Priority. in TEST_P()
925 frame.WriteUInt16(1); // Number of headers. in TEST_P()
/external/chromium_org/third_party/webrtc/base/
Dbytebuffer_unittest.cc64 buffer.WriteUInt16(1); in TEST()
132 buffer.WriteUInt16(wu16); in TEST()
193 buffer.WriteUInt16(wu16); in TEST()
Dbytebuffer.h61 void WriteUInt16(uint16 val);
Dbytebuffer.cc150 void ByteBuffer::WriteUInt16(uint16 val) { in WriteUInt16() function in rtc::ByteBuffer
Dsocketadapters.cc681 request.WriteUInt16(dest_.port()); // Destination Port in SendConnect()
818 response.WriteUInt16(addr.port()); in SendConnectResult()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dstun.cc378 buf->WriteUInt16(type_); in Write()
379 buf->WriteUInt16(length_); in Write()
385 buf->WriteUInt16((*attrs_)[i]->type()); in Write()
386 buf->WriteUInt16(static_cast<uint16>((*attrs_)[i]->length())); in Write()
560 buf->WriteUInt16(address_.port()); in Write()
643 buf->WriteUInt16(port() ^ (kStunMagicCookie >> 16)); in Write()
877 buf->WriteUInt16((*attr_types_)[i]); in Write()
Dturnport.cc1155 buf.WriteUInt16(channel_id_); in Send()
1156 buf.WriteUInt16(static_cast<uint16>(size)); in Send()
Dturnserver.cc870 buf.WriteUInt16(channel->id()); in OnExternalPacket()
871 buf.WriteUInt16(static_cast<uint16>(size)); in OnExternalPacket()
/external/chromium_org/net/quic/crypto/
Dcrypto_framer.cc116 if (!writer.WriteUInt16(num_entries)) { in ConstructHandshakeMessage()
120 if (!writer.WriteUInt16(0)) { in ConstructHandshakeMessage()
/external/chromium_org/content/common/
Dssl_status_serialization.cc29 pickle.WriteUInt16(iter->status); in SerializeSecurityInfo()
Dchild_process_sandbox_support_impl_linux.cc86 request.WriteUInt16(pixel_size); in GetRenderStyleForStrike()
/external/chromium_org/net/http/
Dhttp_response_info.cc346 pickle->WriteUInt16(it->status); in Persist()
355 pickle->WriteUInt16(socket_address.port()); in Persist()
/external/chromium_org/base/
Dpickle.h239 bool WriteUInt16(uint16 value) { in WriteUInt16() function
Dpickle_unittest.cc83 EXPECT_TRUE(pickle.WriteUInt16(testuint16)); in TEST()