Home
last modified time | relevance | path

Searched refs:mapped_addr (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dstunserver_unittest.cc88 const StunAddressAttribute* mapped_addr = in TEST_F() local
90 EXPECT_TRUE(mapped_addr != NULL); in TEST_F()
91 EXPECT_EQ(1, mapped_addr->family()); in TEST_F()
92 EXPECT_EQ(client_addr.port(), mapped_addr->port()); in TEST_F()
93 if (mapped_addr->ipaddr() != client_addr.ipaddr()) { in TEST_F()
95 << mapped_addr->ipaddr() in TEST_F()
Dstunserver.cc89 StunAddressAttribute* mapped_addr; in GetStunBindReqponse() local
91 mapped_addr = StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in GetStunBindReqponse()
93 mapped_addr = StunAttribute::CreateXorAddress(STUN_ATTR_XOR_MAPPED_ADDRESS); in GetStunBindReqponse()
95 mapped_addr->SetAddress(remote_addr); in GetStunBindReqponse()
96 response->AddAttribute(mapped_addr); in GetStunBindReqponse()
Drelayserver_unittest.cc243 const StunAddressAttribute* mapped_addr = in TEST_F() local
245 ASSERT_TRUE(mapped_addr != NULL); in TEST_F()
246 EXPECT_EQ(1, mapped_addr->family()); in TEST_F()
247 EXPECT_EQ(server_ext_addr.port(), mapped_addr->port()); in TEST_F()
248 EXPECT_EQ(server_ext_addr.ipaddr(), mapped_addr->ipaddr()); in TEST_F()
273 const StunAddressAttribute* mapped_addr = in TEST_F() local
275 ASSERT_TRUE(mapped_addr != NULL); in TEST_F()
276 EXPECT_EQ(1, mapped_addr->family()); in TEST_F()
277 EXPECT_EQ(server_ext_addr.port(), mapped_addr->port()); in TEST_F()
278 EXPECT_EQ(server_ext_addr.ipaddr(), mapped_addr->ipaddr()); in TEST_F()
Drelayport.cc104 void OnConnect(const rtc::SocketAddress& mapped_addr,
547 void RelayEntry::OnConnect(const rtc::SocketAddress& mapped_addr, in OnConnect() argument
552 << " @ " << mapped_addr.ToSensitiveString(); in OnConnect()
555 port_->AddExternalAddress(ProtocolAddress(mapped_addr, proto)); in OnConnect()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc124 uptr mapped_addr = in MmapAlignedOrDie() local
126 if (!mapped_addr) in MmapAlignedOrDie()
131 if (IsAligned(mapped_addr, alignment)) in MmapAlignedOrDie()
132 return (void*)mapped_addr; in MmapAlignedOrDie()
133 if (VirtualFree((void *)mapped_addr, 0, MEM_RELEASE) == 0) in MmapAlignedOrDie()
141 (mapped_addr == 0 || !IsAligned(mapped_addr, alignment)); in MmapAlignedOrDie()
144 mapped_addr = in MmapAlignedOrDie()
146 if (!mapped_addr) in MmapAlignedOrDie()
151 uptr aligned_addr = RoundUpTo(mapped_addr, alignment); in MmapAlignedOrDie()
154 if (VirtualFree((void *)mapped_addr, 0, MEM_RELEASE) == 0) in MmapAlignedOrDie()
[all …]
/external/libchrome/base/memory/
Dshared_memory_mac.cc35 void* mapped_addr) { in MakeMachSharedMemoryHandleReadOnly() argument
43 void* temp_addr = mapped_addr; in MakeMachSharedMemoryHandleReadOnly()