Home
last modified time | relevance | path

Searched refs:HostToNetwork16 (Results 1 – 9 of 9) sorted by relevance

/external/deqp/external/vulkancts/vkscserver/
DvksEndian.hpp51 inline u16 HostToNetwork16 (u16 host) { return deReverseBytes16(host); } in HostToNetwork16() function
55 inline u16 HostToNetwork16 (u16 host) { return host; } in HostToNetwork16() function
60 inline u16 NetworkToHost16 (u16 net) { return HostToNetwork16(net); } in NetworkToHost16()
/external/webrtc/rtc_base/
Dbyte_buffer_unittest.cc26 EXPECT_EQ(n16, NetworkToHost16(HostToNetwork16(n16))); in TEST()
32 EXPECT_EQ(n16, HostToNetwork16(n16)); in TEST()
42 EXPECT_NE(n16, HostToNetwork16(n16)); in TEST()
47 EXPECT_EQ(GetBE16(&n16), HostToNetwork16(n16)); in TEST()
Dsocket_address.cc271 saddr->sin_port = HostToNetwork16(port_); in ToSockAddr()
297 saddr->sin6_port = HostToNetwork16(port); in ToSockAddrStorageHelper()
303 saddr->sin_port = HostToNetwork16(port); in ToSockAddrStorageHelper()
Dbyte_buffer.h45 uint16_t v = HostToNetwork16(val); in WriteUInt16()
Dwin32.cc296 *addr_cursor = HostToNetwork16(word); in inet_pton_v6()
Dbyte_order.h186 inline uint16_t HostToNetwork16(uint16_t n) { in HostToNetwork16() function
Dasync_tcp_socket.cc268 PacketLength pkt_len = HostToNetwork16(static_cast<PacketLength>(cb)); in Send()
Dnat_socket_factory.cc32 *(reinterpret_cast<uint16_t*>(&buf[2])) = HostToNetwork16(remote_addr.port()); in PackAddressForNAT()
/external/webrtc/p2p/base/
Dpseudo_tcp.cc149 *static_cast<uint16_t*>(buf) = rtc::HostToNetwork16(val); in short_to_bytes()