Home
last modified time | relevance | path

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

12

/external/cronet/net/third_party/quiche/src/quiche/quic/masque/
Dmasque_encapsulated_client.cc63 return writer2.Seek(offset) && writer2.WriteUInt16(accumulator_); in WriteChecksumAtOffset()
100 QUICHE_CHECK(writer.WriteUInt16(0)); // Flow label. in WritePacket()
101 QUICHE_CHECK(writer.WriteUInt16(udp_length)); // Payload Length. in WritePacket()
121 QUICHE_CHECK(writer.WriteUInt16(packet.size())); // Total Length. in WritePacket()
125 QUICHE_CHECK(writer.WriteUInt16(0)); // Checksum = 0 initially. in WritePacket()
145 QUICHE_CHECK(writer.WriteUInt16(0x1234)); // Source port. in WritePacket()
147 writer.WriteUInt16(peer_address.port())); // Destination port. in WritePacket()
148 QUICHE_CHECK(writer.WriteUInt16(udp_length)); // UDP length. in WritePacket()
149 QUICHE_CHECK(writer.WriteUInt16(0)); // Checksum = 0 initially. in WritePacket()
/external/cronet/net/ntlm/
Dntlm_buffer_writer.cc34 bool NtlmBufferWriter::WriteUInt16(uint16_t value) { in WriteUInt16() function in net::ntlm::NtlmBufferWriter
75 return WriteUInt16(sec_buf.length) && WriteUInt16(sec_buf.length) && in WriteSecurityBuffer()
83 bool result = WriteUInt16(static_cast<uint16_t>(avid)) && WriteUInt16(avlen); in WriteAvPairHeader()
Dntlm_buffer_writer_unittest.cc80 ASSERT_TRUE(writer.WriteUInt16(value)); in TEST()
83 ASSERT_FALSE(writer.WriteUInt16(value)); in TEST()
92 ASSERT_FALSE(writer.WriteUInt16(0)); in TEST()
Dntlm_buffer_writer.h64 [[nodiscard]] bool WriteUInt16(uint16_t value);
/external/cronet/net/third_party/quiche/src/quiche/oblivious_http/common/
Doblivious_http_header_key_config.cc127 QUICHE_CHECK(writer.WriteUInt16(kem_id_)); in SerializeRecipientContextInfo()
128 QUICHE_CHECK(writer.WriteUInt16(kdf_id_)); in SerializeRecipientContextInfo()
129 QUICHE_CHECK(writer.WriteUInt16(aead_id_)); in SerializeRecipientContextInfo()
206 QUICHE_CHECK(writer.WriteUInt16(kem_id_)); // kemID in SerializeOhttpPayloadHeader()
207 QUICHE_CHECK(writer.WriteUInt16(kdf_id_)); // kdfID in SerializeOhttpPayloadHeader()
208 QUICHE_CHECK(writer.WriteUInt16(aead_id_)); // aeadID in SerializeOhttpPayloadHeader()
246 if (!writer.WriteUInt16(ohttp_config.GetHpkeKemId())) { in SerializeOhttpKeyWithPublicKey()
254 if (!writer.WriteUInt16(symmetric_algs_length)) { in SerializeOhttpKeyWithPublicKey()
268 if (!writer.WriteUInt16(item.GetHpkeKdfId())) { in SerializeOhttpKeyWithPublicKey()
272 if (!writer.WriteUInt16(item.GetHpkeAeadId())) { in SerializeOhttpKeyWithPublicKey()
Doblivious_http_header_key_config_test.cc30 EXPECT_TRUE(writer.WriteUInt16(kem_id)); // kemID in BuildHeader()
31 EXPECT_TRUE(writer.WriteUInt16(kdf_id)); // kdfID in BuildHeader()
32 EXPECT_TRUE(writer.WriteUInt16(aead_id)); // aeadID in BuildHeader()
48 EXPECT_TRUE(writer.WriteUInt16(key_config.kem_id)); in GetSerializedKeyConfig()
50 EXPECT_TRUE(writer.WriteUInt16(symmetric_algs_length)); in GetSerializedKeyConfig()
52 EXPECT_TRUE(writer.WriteUInt16(symmetric_alg.kdf_id)); in GetSerializedKeyConfig()
53 EXPECT_TRUE(writer.WriteUInt16(symmetric_alg.aead_id)); in GetSerializedKeyConfig()
/external/cronet/net/third_party/quiche/src/quiche/common/
Dquiche_data_writer.cc32 bool QuicheDataWriter::WriteUInt16(uint16_t value) { in WriteUInt16() function in quiche::QuicheDataWriter
70 if (!WriteUInt16(static_cast<uint16_t>(val.size()))) { in WriteStringPiece16()
277 return WriteUInt8(0b10000000) && WriteUInt8(0) && WriteUInt16(value); in WriteVarInt62WithForcedLength()
280 return WriteUInt8(0b11000000) && WriteUInt8(0) && WriteUInt16(0) && in WriteVarInt62WithForcedLength()
Dquiche_data_writer.h67 bool WriteUInt16(uint16_t value);
Dquiche_data_writer_test.cc59 writer.WriteUInt16(in_memory16); in TEST_P()
254 EXPECT_TRUE(writer.WriteUInt16(i16)); in TEST_P()
Dwire_serialization.h146 return writer.WriteUInt16(value()); in SerializeIntoWriter()
/external/webrtc/pc/
Dsctp_utils.cc218 buffer.WriteUInt16(priority); in WriteDataChannelOpenMessage()
220 buffer.WriteUInt16(static_cast<uint16_t>(label.length())); in WriteDataChannelOpenMessage()
221 buffer.WriteUInt16(static_cast<uint16_t>(config.protocol.length())); in WriteDataChannelOpenMessage()
/external/webrtc/rtc_base/
Dbyte_buffer_unittest.cc67 buffer.WriteUInt16(1); in TEST()
101 buffer.WriteUInt16(wu16); in TEST()
176 buffer.WriteUInt16(wu16); in TEST()
Dbit_buffer.h52 bool WriteUInt16(uint16_t val);
Dbyte_buffer.h44 void WriteUInt16(uint16_t val) { in WriteUInt16() function
Dbit_buffer.cc101 bool BitBufferWriter::WriteUInt16(uint16_t val) { in WriteUInt16() function in rtc::BitBufferWriter
Dserver_socket_adapters.cc172 response.WriteUInt16(addr.port()); in SendConnectResult()
Dbit_buffer_unittest.cc186 EXPECT_TRUE(buffer.WriteUInt16(0x3456u)); in TEST()
/external/webrtc/api/transport/
Dstun.cc664 buf->WriteUInt16(type_); in Write()
665 buf->WriteUInt16(length_); in Write()
671 buf->WriteUInt16(attr->type()); in Write()
672 buf->WriteUInt16(static_cast<uint16_t>(attr->length())); in Write()
940 buf->WriteUInt16(address_.port()); in Write()
1030 buf->WriteUInt16(port() ^ (kStunMagicCookie >> 16)); in Write()
1294 buf->WriteUInt16((*attr_types_)[i]); in Write()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
Dcrypto_framer.cc160 if (!writer.WriteUInt16(static_cast<uint16_t>(num_entries))) { in ConstructHandshakeMessage()
164 if (!writer.WriteUInt16(0)) { in ConstructHandshakeMessage()
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/
Dspdy_framer.cc493 builder.WriteUInt16(static_cast<SpdySettingsId>(setting_id)); in SerializeSettings()
731 builder.WriteUInt16(altsvc_ir.origin().length()); in SerializeAltSvc()
775 builder.WriteUInt16(entry.origin.size()); in SerializeAcceptCh()
777 builder.WriteUInt16(entry.value.size()); in SerializeAcceptCh()
1038 ok = ok && builder.WriteUInt16(static_cast<SpdySettingsId>(setting_id)) && in SerializeSettings()
1204 builder.WriteUInt16(altsvc_ir.origin().length()) && in SerializeAltSvc()
1250 ok = ok && builder.WriteUInt16(entry.origin.size()); in SerializeAcceptCh()
1252 ok = ok && builder.WriteUInt16(entry.value.size()); in SerializeAcceptCh()
Dspdy_frame_builder.h82 bool WriteUInt16(uint16_t value) { in WriteUInt16() function
/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9.cc264 RETURN_FALSE_ON_ERROR(writer->WriteUInt16(vp9.width[i])); in WriteSsData()
265 RETURN_FALSE_ON_ERROR(writer->WriteUInt16(vp9.height[i])); in WriteSsData()
/external/cronet/testing/libfuzzer/proto/
Dskia_image_filter_proto_converter.cc1689 WriteUInt16(static_cast<uint16_t>(in_entries)); in Visit()
1690 WriteUInt16(static_cast<uint16_t>(out_entries)); in Visit()
1789 void Converter::WriteUInt16(uint16_t num) { in WriteUInt16() function in skia_image_filter_proto_converter::Converter
2267 WriteUInt16(0); // padding in Visit()
2281 WriteUInt16(text_blob.glyph_pos_cluster_1().glyph()); in Visit()
2282 WriteUInt16(text_blob.glyph_pos_cluster_2().glyph()); in Visit()
2289 WriteUInt16(glyph_pos_cluster.glyph()); in Visit()
/external/libchrome/base/
Dpickle.h196 void WriteUInt16(uint16_t value) { WritePOD(value); } in WriteUInt16() function
/external/cronet/base/
Dpickle.h211 void WriteUInt16(uint16_t value) { WritePOD(value); } in WriteUInt16() function

12