Home
last modified time | relevance | path

Searched refs:getsockname (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/external/ltp/utils/sctp/func_tests/
Dtest_getname.c97 error = getsockname(svr_sk, (struct sockaddr *)&svr_local_addr, &len); in main()
130 error = getsockname(clt_sk, (struct sockaddr *)&clt_local_addr, &len); in main()
154 error = getsockname(accept_sk, (struct sockaddr *)&svr_local_addr, in main()
205 error = getsockname(-1, (struct sockaddr *)&clt_local_addr, &len); in main()
218 error = getsockname(fd, (struct sockaddr *)&clt_local_addr, &len); in main()
230 error = getsockname(clt_sk, (struct sockaddr *)-1, &len); in main()
/external/python/cpython3/Lib/test/
Dtest_timeout.py254 self.sock.connect(serv.getsockname())
263 self.sock.connect(serv.getsockname())
266 serv.getsockname())
273 self.sock.connect(serv.getsockname())
/external/clang/test/Analysis/
Dcasts.c17 void getsockname();
23 getsockname(sock, sockaddr, &addrlen); in f()
/external/strace/tests/
Dnet-y-unix.c89 if (getsockname(listen_fd, listen_sa, len)) in main()
167 if (getsockname(listen_fd, listen_sa, len)) in main()
205 if (getsockname(connect_fd, accept_sa, len)) in main()
Dsun_path.test8 run_strace_merge -ebind,connect,getsockname $args
Dsun_path.expected2 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa…
Dgetsockname.c30 #define TEST_SYSCALL_NAME getsockname
Dnet-yy-unix.c90 if (getsockname(listen_fd, listen_sa, len)) in main()
171 if (getsockname(listen_fd, listen_sa, len)) in main()
/external/strace/tests-mx32/
Dnet-y-unix.c89 if (getsockname(listen_fd, listen_sa, len)) in main()
167 if (getsockname(listen_fd, listen_sa, len)) in main()
205 if (getsockname(connect_fd, accept_sa, len)) in main()
Dsun_path.test8 run_strace_merge -ebind,connect,getsockname $args
Dsun_path.expected2 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa…
Dgetsockname.c30 #define TEST_SYSCALL_NAME getsockname
Dnet-yy-unix.c90 if (getsockname(listen_fd, listen_sa, len)) in main()
171 if (getsockname(listen_fd, listen_sa, len)) in main()
Dnet.expected5 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa…
/external/strace/tests-m32/
Dnet-y-unix.c89 if (getsockname(listen_fd, listen_sa, len)) in main()
167 if (getsockname(listen_fd, listen_sa, len)) in main()
205 if (getsockname(connect_fd, accept_sa, len)) in main()
Dsun_path.test8 run_strace_merge -ebind,connect,getsockname $args
Dsun_path.expected2 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa…
Dgetsockname.c30 #define TEST_SYSCALL_NAME getsockname
Dnet-yy-unix.c90 if (getsockname(listen_fd, listen_sa, len)) in main()
171 if (getsockname(listen_fd, listen_sa, len)) in main()
/external/openssh/
Dcanohost.c83 if (getsockname(sock, (struct sockaddr *)&addr, &addrlen) != 0) in get_socket_address()
167 if (getsockname(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_sock_port()
/external/libevent/test/
Dregress_testutils.c82 if (getsockname(fd, (struct sockaddr*)&ss, &socklen) != 0) in regress_get_socket_port()
232 return getsockname(s, sa, socklen); in regress_get_listener_addr()
Dregress_listener.c104 tt_assert(getsockname(evconnlistener_get_fd(listener1), in regress_pick_a_port()
106 tt_assert(getsockname(evconnlistener_get_fd(listener2), in regress_pick_a_port()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_socket_cookie.c68 if (getsockname(server_fd, (struct sockaddr *)&addr, &len)) { in connect_to_server()
116 err = getsockname(client_fd, (struct sockaddr *)&addr, &len); in validate_map()
/external/python/cpython2/Demo/sockets/
Dunixserver.py11 print 'Sock name is: ['+s.getsockname()+']'
/external/autotest/client/tests/ipv6connect/src/
Dipv6connect.c115 if (getsockname(*server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { in CreateServer()
145 if (getsockname(server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { in CreateServerConnectAndAccept()
278 if (getsockname(server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { in ThreadedCreateServerConnectAndAccept()

12345678910>>...15