Home
last modified time | relevance | path

Searched refs:local_addr (Results 1 – 25 of 82) sorted by relevance

1234

/external/rust/crates/tokio/tests/
Dudp.rs17 sender.connect(receiver.local_addr()?).await?; in send_recv()
18 receiver.connect(sender.local_addr()?).await?; in send_recv()
34 sender.connect(receiver.local_addr()?).await?; in send_recv_poll()
35 receiver.connect(sender.local_addr()?).await?; in send_recv_poll()
52 let receiver_addr = receiver.local_addr()?; in send_to_recv_from()
59 assert_eq!(addr, sender.local_addr()?); in send_to_recv_from()
68 let receiver_addr = receiver.local_addr()?; in send_to_recv_from_poll()
76 assert_eq!(addr, sender.local_addr()?); in send_to_recv_from_poll()
85 let receiver_addr = receiver.local_addr()?; in send_to_peek_from()
92 assert_eq!(addr, sender.local_addr()?); in send_to_peek_from()
[all …]
Dtcp_connect.rs13 let addr = assert_ok!(srv.local_addr()); in connect_v4()
28 assert_ok!(mine.local_addr()), in connect_v4()
32 assert_ok!(theirs.local_addr()), in connect_v4()
40 let addr = assert_ok!(srv.local_addr()); in connect_v6()
55 assert_ok!(mine.local_addr()), in connect_v6()
59 assert_ok!(theirs.local_addr()), in connect_v6()
67 let addr = assert_ok!(srv.local_addr()); in connect_addr_ip_string()
84 let addr = assert_ok!(srv.local_addr()); in connect_addr_ip_str_slice()
101 let addr = assert_ok!(srv.local_addr()); in connect_addr_host_string()
118 let addr = assert_ok!(srv.local_addr()); in connect_addr_ip_port_tuple()
[all …]
Dtcp_socket.rs17 let addr = srv.local_addr().unwrap(); in basic_usage_v4()
35 let addr = srv.local_addr().unwrap(); in basic_usage_v6()
53 let addr = srv.local_addr().unwrap(); in bind_before_connect()
Dtcp_accept.rs17 let addr = listener.local_addr().unwrap();
29 assert_eq!(cli.local_addr().unwrap(), srv.peer_addr().unwrap());
68 let addr = listener.local_addr().unwrap(); in no_extra_poll()
107 let addr = listener.local_addr().unwrap(); in accept_many()
Dtcp_into_split.rs17 let addr = listener.local_addr()?; in split()
59 let addr = listener.local_addr()?; in reunite()
89 let addr = listener.local_addr()?; in drop_write()
Dtcp_stream.rs20 let stream = TcpStream::connect(listener.local_addr().unwrap()) in set_linger()
39 let client = TcpStream::connect(listener.local_addr().unwrap()) in try_read_write()
207 let addr = assert_ok!(listener.local_addr()); in create_pair()
246 let client = TcpStream::connect(listener.local_addr().unwrap()) in try_read_buf()
/external/llvm-project/libcxx/test/libcxx/memory/trivial_abi/
Dunique_ptr_ret.pass.cpp28 __attribute__((noinline)) std::unique_ptr<Node> make_val(void** local_addr) { in make_val() argument
34 *local_addr = &ret; in make_val()
40 void* local_addr = nullptr; in main() local
41 auto ret = make_val(&local_addr); in main()
42 assert(local_addr != nullptr); in main()
49 assert((void*)&ret != local_addr); in main()
Dweak_ptr_ret.pass.cpp29 make_val(std::shared_ptr<Node>& sptr, void** local_addr) { in make_val() argument
36 *local_addr = &ret; in make_val()
42 void* local_addr = nullptr; in main() local
44 std::weak_ptr<Node> ret = make_val(sptr, &local_addr); in main()
45 assert(local_addr != nullptr); in main()
55 assert((void*)&ret != local_addr); in main()
/external/llvm/test/CodeGen/MIR/AArch64/
Dstack-object-local-offset.mir5 @local_addr = global i64* null
12 store i64* %local_var, i64** @local_addr
37 %2 = ADRP @local_addr
39 STRXui killed %3, killed %2, @local_addr :: (store 8 into @local_addr)
/external/llvm-project/llvm/test/CodeGen/MIR/AArch64/
Dstack-object-local-offset.mir5 @local_addr = global i64* null
12 store i64* %local_var, i64** @local_addr
39 %2 = ADRP @local_addr
41 STRXui killed %3, killed %2, @local_addr :: (store 8 into @local_addr)
/external/rust/crates/mio/src/sys/shell/
Duds.rs19 pub(crate) fn local_addr(_: &net::UnixDatagram) -> io::Result<SocketAddr> { in local_addr() function
49 pub(crate) fn local_addr(_: &net::UnixListener) -> io::Result<SocketAddr> { in local_addr() function
68 pub(crate) fn local_addr(_: &net::UnixStream) -> io::Result<SocketAddr> { in local_addr() function
/external/llvm-project/lldb/include/lldb/Expression/
DIRExecutionUnit.h136 lldb::addr_t local_addr = LLDB_INVALID_ADDRESS,
138 : m_name(name), m_local_addr(local_addr), m_remote_addr(remote_addr) {} in m_name()
144 lldb::addr_t local_addr = LLDB_INVALID_ADDRESS,
146 : JittedEntity(name, local_addr, remote_addr), m_external(external) {} in JittedEntity()
151 lldb::addr_t local_addr = LLDB_INVALID_ADDRESS,
153 : JittedEntity(name, local_addr, remote_addr) {} in JittedEntity()
/external/libcap-ng/libcap-ng-0.7/utils/
Dnetcap.c255 char rem_addr[128], local_addr[128], more[512]; in read_tcp() local
273 &d, local_addr, &local_port, rem_addr, &rem_port, in read_tcp()
289 char rem_addr[128], local_addr[128], more[512]; in read_udp() local
307 &d, local_addr, &local_port, rem_addr, &rem_port, in read_udp()
323 char rem_addr[128], local_addr[128], more[512]; in read_raw() local
341 &d, local_addr, &local_port, rem_addr, &rem_port, in read_raw()
/external/webrtc/rtc_base/
Dnat_socket_factory.h41 const SocketAddress& local_addr,
61 const SocketAddress& local_addr,
160 const SocketAddress& local_addr,
Dasync_udp_socket.cc125 SocketAddress local_addr = socket_->GetLocalAddress(); in OnReadEvent() local
126 RTC_LOG(LS_INFO) << "AsyncUDPSocket[" << local_addr.ToSensitiveString() in OnReadEvent()
/external/rust/crates/mio/src/sys/unix/uds/
Dstream.rs33 pub(crate) fn local_addr(socket: &net::UnixStream) -> io::Result<SocketAddr> { in local_addr() function
34 super::local_addr(socket.as_raw_fd()) in local_addr()
Ddatagram.rs28 pub(crate) fn local_addr(socket: &net::UnixDatagram) -> io::Result<SocketAddr> { in local_addr() function
29 super::local_addr(socket.as_raw_fd()) in local_addr()
Dlistener.rs97 pub(crate) fn local_addr(listener: &net::UnixListener) -> io::Result<SocketAddr> { in local_addr() function
98 super::local_addr(listener.as_raw_fd()) in local_addr()
/external/python/cpython3/Lib/asyncio/
Dbase_events.py971 local_addr=None, server_hostname=None, argument
1023 if local_addr is not None:
1025 local_addr, family=family,
1241 local_addr=None, remote_addr=None, *, argument
1250 if (local_addr or remote_addr or
1254 opts = dict(local_addr=local_addr, remote_addr=remote_addr,
1265 if not (local_addr or remote_addr):
1270 for addr in (local_addr, remote_addr):
1274 if local_addr and local_addr[0] not in (0, '\x00'):
1276 if stat.S_ISSOCK(os.stat(local_addr).st_mode):
[all …]
/external/usrsctp/programs/
Dtsctp_upcall.c371 struct sockaddr_in local_addr; in main() local
410 memset((void *) &local_addr, 0, sizeof(struct sockaddr_in)); in main()
620 local_addr.sin_family = AF_INET; in main()
622 local_addr.sin_len = sizeof(struct sockaddr_in); in main()
624 local_addr.sin_port = htons(local_port); in main()
625 local_addr.sin_addr.s_addr = src_addr; in main()
647 if (usrsctp_bind(psock, (struct sockaddr *) &local_addr, sizeof(struct sockaddr_in)) == -1) { in main()
Dtsctp.c335 struct sockaddr_in local_addr; local
373 memset((void *) &local_addr, 0, sizeof(struct sockaddr_in));
561 local_addr.sin_family = AF_INET;
563 local_addr.sin_len = sizeof(struct sockaddr_in);
565 local_addr.sin_port = htons(local_port);
566 local_addr.sin_addr.s_addr = srcAddr;
602 if (usrsctp_bind(psock, (struct sockaddr *)&local_addr, sizeof(struct sockaddr_in)) == -1) {
/external/rust/crates/mio/src/net/uds/
Dlistener.rs42 pub fn local_addr(&self) -> io::Result<sys::SocketAddr> { in local_addr() method
43 sys::uds::listener::local_addr(&self.inner) in local_addr()
/external/kernel-headers/original/uapi/linux/
Drds.h218 __be32 local_addr; member
231 struct in6_addr local_addr; member
368 __u64 local_addr; member
/external/rust/crates/tokio/src/net/unix/
Dlistener.rs121 pub fn local_addr(&self) -> io::Result<SocketAddr> { in local_addr() method
122 self.io.local_addr().map(SocketAddr) in local_addr()
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dlocal_vars.ll14 @local_addr = global i64* null
57 store i64* %local_var, i64** @local_addr

1234