Home
last modified time | relevance | path

Searched refs:HostToNetwork32 (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/base/
Dbytebuffer_unittest.cc41 EXPECT_EQ(n32, NetworkToHost32(HostToNetwork32(n32))); in TEST()
47 EXPECT_EQ(n32, HostToNetwork32(n32)); in TEST()
57 EXPECT_NE(n32, HostToNetwork32(n32)); in TEST()
62 EXPECT_EQ(GetBE32(&n32), HostToNetwork32(n32)); in TEST()
Dbytebuffer.cc173 uint32 v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork32(val) : val; in WriteUInt24()
182 uint32 v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork32(val) : val; in WriteUInt32()
Dipaddress.h71 u_.ip4.s_addr = HostToNetwork32(ip_in_host_byte_order); in IPAddress()
Dipaddress.cc326 masked.s_addr = HostToNetwork32(host_order_ip & mask); in TruncateIP()
345 v6_as_ints[i] = HostToNetwork32(host_order_inner & inner_mask); in TruncateIP()
Dbyteorder.h159 inline uint32 HostToNetwork32(uint32 n) { in HostToNetwork32() function
Dipaddress_unittest.cc525 expected4.sin_addr.s_addr = HostToNetwork32(kIPv4PublicAddr); in TEST()
Dvirtualsocketserver.cc585 HostToNetwork32(NetworkToHost32(next_ipv4_.s_addr) + 1); in GetNextIP()
/external/chromium_org/third_party/webrtc/base/
Dbytebuffer_unittest.cc24 EXPECT_EQ(n32, NetworkToHost32(HostToNetwork32(n32))); in TEST()
30 EXPECT_EQ(n32, HostToNetwork32(n32)); in TEST()
40 EXPECT_NE(n32, HostToNetwork32(n32)); in TEST()
45 EXPECT_EQ(GetBE32(&n32), HostToNetwork32(n32)); in TEST()
Dbytebuffer.cc156 uint32 v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork32(val) : val; in WriteUInt24()
165 uint32 v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork32(val) : val; in WriteUInt32()
Dipaddress.h54 u_.ip4.s_addr = HostToNetwork32(ip_in_host_byte_order); in IPAddress()
Dipaddress.cc309 masked.s_addr = HostToNetwork32(host_order_ip & mask); in TruncateIP()
328 v6_as_ints[i] = HostToNetwork32(host_order_inner & inner_mask); in TruncateIP()
Dbyteorder.h142 inline uint32 HostToNetwork32(uint32 n) { in HostToNetwork32() function
Dvirtualsocketserver.cc568 HostToNetwork32(NetworkToHost32(next_ipv4_.s_addr) + 1); in GetNextIP()
Dipaddress_unittest.cc508 expected4.sin_addr.s_addr = HostToNetwork32(kIPv4PublicAddr); in TEST()
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/
Dsctpdataengine.cc209 talk_base::HostToNetwork32(rcv.rcv_ppid)); in OnSctpInboundPacket()
533 spa.sendv_sndinfo.snd_ppid = talk_base::HostToNetwork32( in SendData()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dstun.cc592 (v4addr.s_addr ^ talk_base::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()
606 (ip_as_ints[0] ^ talk_base::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()
Dpseudotcp.cc154 *static_cast<uint32*>(buf) = talk_base::HostToNetwork32(val); in long_to_bytes()