Home
last modified time | relevance | path

Searched refs:HostToNet32 (Results 1 – 19 of 19) sorted by relevance

/external/cronet/net/third_party/quiche/src/quiche/spdy/core/
Dspdy_frame_builder.h87 value = quiche::QuicheEndian::HostToNet32(value); in WriteUInt24()
91 value = quiche::QuicheEndian::HostToNet32(value); in WriteUInt32()
96 quiche::QuicheEndian::HostToNet32(static_cast<uint32_t>(value >> 32)); in WriteUInt64()
98 quiche::QuicheEndian::HostToNet32(static_cast<uint32_t>(value)); in WriteUInt64()
/external/cronet/net/third_party/quiche/src/quiche/common/
Dquiche_endian.h30 static uint32_t HostToNet32(uint32_t x) { return __builtin_bswap32(x); } in HostToNet32() function
34 static uint32_t HostToNet32(uint32_t x) { return PortableByteSwap(x); }
40 static uint32_t NetToHost32(uint32_t x) { return HostToNet32(x); } in NetToHost32()
Dquiche_data_reader_test.cc41 QuicheEndian::HostToNet32(1), in TEST()
42 QuicheEndian::HostToNet32(0x80000000), in TEST()
Dquiche_endian_test.cc37 quiche::QuicheEndian::HostToNet32(k32BitTestData)); in TEST_F()
Dquiche_data_writer.cc41 value = quiche::QuicheEndian::HostToNet32(value); in WriteUInt32()
/external/libchrome/crypto/
Dp224.cc20 using base::HostToNet32;
636 out[6] = HostToNet32((in[0] >> 0) | (in[1] << 28)); in Put224Bits()
637 out[5] = HostToNet32((in[1] >> 4) | (in[2] << 24)); in Put224Bits()
638 out[4] = HostToNet32((in[2] >> 8) | (in[3] << 20)); in Put224Bits()
639 out[3] = HostToNet32((in[3] >> 12) | (in[4] << 16)); in Put224Bits()
640 out[2] = HostToNet32((in[4] >> 16) | (in[5] << 12)); in Put224Bits()
641 out[1] = HostToNet32((in[5] >> 20) | (in[6] << 8)); in Put224Bits()
642 out[0] = HostToNet32((in[6] >> 24) | (in[7] << 4)); in Put224Bits()
/external/cronet/net/third_party/quiche/src/quiche/quic/qbone/platform/
Dtcp_packet.cc103 tcp_packet.tcp_header.ack_seq = quiche::QuicheEndian::HostToNet32( in CreateTcpResetPacket()
108 pseudo_header.payload_size = quiche::QuicheEndian::HostToNet32(payload_size); in CreateTcpResetPacket()
Dicmp_packet.cc65 pseudo_header.payload_size = quiche::QuicheEndian::HostToNet32(payload_size); in CreateIcmpPacket()
Dip_range.cc28 raw_address = quiche::QuicheEndian::HostToNet32(raw_address); in TruncateToLength()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
Dcrypto_handshake_message.cc85 quiche::QuicheEndian::HostToNet32(CreateQuicVersionLabel(version))); in SetVersionVector()
93 quiche::QuicheEndian::HostToNet32(CreateQuicVersionLabel(version))); in SetVersion()
137 (*out)[i] = quiche::QuicheEndian::HostToNet32((*out)[i]); in GetVersionLabelList()
150 *out = quiche::QuicheEndian::HostToNet32(*out); in GetVersionLabel()
/external/libchrome/base/
Dsys_byteorder_unittest.cc126 TEST(ByteOrderTest, HostToNet32) { in TEST() argument
127 uint32_t n = base::HostToNet32(k32BitTestData); in TEST()
Dsys_byteorder.h122 inline uint32_t HostToNet32(uint32_t x) { in HostToNet32() function
/external/cronet/base/
Dsys_byteorder_unittest.cc126 TEST(ByteOrderTest, HostToNet32) { in TEST() argument
127 uint32_t n = base::HostToNet32(k32BitTestData); in TEST()
Dsys_byteorder.h136 inline BASE_BYTESWAPS_CONSTEXPR uint32_t HostToNet32(uint32_t x) { in HostToNet32() function
/external/pdfium/third_party/base/
Dsys_byteorder.h123 inline uint32_t HostToNet32(uint32_t x) { in HostToNet32() function
/external/cronet/net/third_party/quiche/src/quiche/spdy/test_tools/
Dspdy_test_utils.cc95 int32_t wire_length = quiche::QuicheEndian::HostToNet32(length); in SetFrameLength()
/external/cronet/net/spdy/fuzzing/
Dhpack_fuzz_util.cc133 uint32_t length = base::HostToNet32(static_cast<uint32_t>(block_size)); in HeaderBlockPrefix()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_trace_visitor.cc274 quiche::QuicheEndian::HostToNet32(CreateQuicVersionLabel(version)); in OnSuccessfulVersionNegotiation()
Dquic_versions.cc478 return QuicTagToString(quiche::QuicheEndian::HostToNet32(version_label)); in QuicVersionLabelToString()