Home
last modified time | relevance | path

Searched refs:HostToNet16 (Results 1 – 25 of 68) sorted by relevance

123

/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/common/
H A Dquiche_endian.h30 static uint16_t HostToNet16(uint16_t x) { return __builtin_bswap16(x); } in HostToNet16() function
34 static uint16_t HostToNet16(uint16_t x) { return PortableByteSwap(x); }
40 static uint16_t NetToHost16(uint16_t x) { return HostToNet16(x); } in NetToHost16()
H A Dquiche_endian_test.cc35 quiche::QuicheEndian::HostToNet16(k16BitTestData)); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/dns/
H A Ddns_query.cc115 header_->id = base::HostToNet16(id); in DnsQuery()
116 header_->flags = base::HostToNet16(dns_protocol::kFlagRD); in DnsQuery()
117 header_->qdcount = base::HostToNet16(1); in DnsQuery()
129 header_->arcount = base::HostToNet16(1); in DnsQuery()
229 header_->id = base::HostToNet16(id); in DnsQuery()
H A Ddns_config_service_posix_unittest.cc82 sa.sin_port = base::HostToNet16(NS_DEFAULTPORT + i); in InitializeResState()
98 sa6->sin6_port = base::HostToNet16(NS_DEFAULTPORT - i); in InitializeResState()
170 sa.sin_port = base::HostToNet16(NS_DEFAULTPORT); in TEST()
H A Daddress_info_unittest.cc179 EXPECT_EQ(base::HostToNet16(addr->sin_port) % 10, count % 10); in TEST()
190 EXPECT_EQ(base::HostToNet16(addr->sin_port) % 10, count % 10); in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/quiche/common/platform/impl/
H A Dquiche_endian_impl.h17 static uint16_t HostToNet16(uint16_t x) { return base::HostToNet16(x); } in HostToNet16() function
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/dns/
H A Ddns_query.cc118 header_->id = base::HostToNet16(id); in DnsQuery()
119 header_->flags = base::HostToNet16(dns_protocol::kFlagRD); in DnsQuery()
120 header_->qdcount = base::HostToNet16(1); in DnsQuery()
132 header_->arcount = base::HostToNet16(1); in DnsQuery()
237 header_->id = base::HostToNet16(id); in DnsQuery()
H A Ddns_config_service_posix_unittest.cc82 sa.sin_port = base::HostToNet16(NS_DEFAULTPORT + i); in InitializeResState()
98 sa6->sin6_port = base::HostToNet16(NS_DEFAULTPORT - i); in InitializeResState()
170 sa.sin_port = base::HostToNet16(NS_DEFAULTPORT); in TEST()
H A Daddress_info_unittest.cc179 EXPECT_EQ(base::HostToNet16(addr->sin_port) % 10, count % 10); in TEST()
190 EXPECT_EQ(base::HostToNet16(addr->sin_port) % 10, count % 10); in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/common/platform/api/
H A Dquiche_endian.h25 static uint16_t HostToNet16(uint16_t x) { in HostToNet16() function
26 return QuicheEndianImpl::HostToNet16(x); in HostToNet16()
H A Dquiche_endian_test.cc24 quiche::QuicheEndian::HostToNet16(k16BitTestData)); in TEST_F()
31 quiche::QuicheEndian::HostToNet16(k16BitTestData)); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/opentype/
H A Dopen_type_types.h36 Int16(int16_t u) : v(base::HostToNet16(static_cast<uint16_t>(u))) {} in Int16()
45 UInt16(uint16_t u) : v(base::HostToNet16(u)) {} in UInt16()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/fonts/opentype/
H A Dopen_type_types.h36 Int16(int16_t u) : v(base::HostToNet16(static_cast<uint16_t>(u))) {} in Int16()
45 UInt16(uint16_t u) : v(base::HostToNet16(u)) {} in UInt16()
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/
H A Dsys_byteorder_unittest.cc117 TEST(ByteOrderTest, HostToNet16) { in TEST() argument
118 uint16_t n = base::HostToNet16(k16BitTestData); in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/
H A Dsys_byteorder_unittest.cc117 TEST(ByteOrderTest, HostToNet16) { in TEST() argument
118 uint16_t n = base::HostToNet16(k16BitTestData); in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/base/
H A Dip_endpoint.cc123 addr->sin_port = base::HostToNet16(port_); in ToSockAddr()
136 addr6->sin6_port = base::HostToNet16(port_); in ToSockAddr()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/base/
H A Dip_endpoint.cc126 addr->sin_port = base::HostToNet16(port_); in ToSockAddr()
139 addr6->sin6_port = base::HostToNet16(port_); in ToSockAddr()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/spdy/platform/impl/
H A Dspdy_endianness_util_impl.h23 return base::HostToNet16(x); in SpdyHostToNet16Impl()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/spdy/core/
H A Dspdy_frame_reader_test.cc18 quiche::QuicheEndian::HostToNet16(1), in TEST()
19 quiche::QuicheEndian::HostToNet16(1 << 15), in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/renderer_host/pepper/
H A Dpepper_truetype_font_mac.mm366 font_header->num_tables = base::HostToNet16(num_tables);
367 font_header->search_range = base::HostToNet16(search_range);
368 font_header->entry_selector = base::HostToNet16(entry_selector);
369 font_header->range_shift = base::HostToNet16(range_shift);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/gn/base/
H A Dsys_byteorder.h115 inline uint16_t HostToNet16(uint16_t x) { in HostToNet16() function
/dports/devel/gn/gn-1962/src/base/
H A Dsys_byteorder.h115 inline uint16_t HostToNet16(uint16_t x) { in HostToNet16() function
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/gn/src/base/
H A Dsys_byteorder.h115 inline uint16_t HostToNet16(uint16_t x) { in HostToNet16() function
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/network/p2p/
H A Dsocket_test_utils.cc249 *reinterpret_cast<uint16_t*>(&*packet->begin()) = base::HostToNet16(type); in CreateStunPacket()
251 base::HostToNet16(packet->size() - kStunHeaderSize); in CreateStunPacket()
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/network/p2p/
H A Dsocket_test_utils.cc250 *reinterpret_cast<uint16_t*>(&*packet->begin()) = base::HostToNet16(type); in CreateStunPacket()
252 base::HostToNet16(packet->size() - kStunHeaderSize); in CreateStunPacket()

123