/external/ltp/utils/sctp/func_tests/ |
D | test_getname.c | 97 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/ |
D | test_timeout.py | 254 self.sock.connect(serv.getsockname()) 263 self.sock.connect(serv.getsockname()) 266 serv.getsockname()) 273 self.sock.connect(serv.getsockname())
|
/external/clang/test/Analysis/ |
D | casts.c | 17 void getsockname(); 23 getsockname(sock, sockaddr, &addrlen); in f()
|
/external/strace/tests/ |
D | net-y-unix.c | 89 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()
|
D | sun_path.test | 8 run_strace_merge -ebind,connect,getsockname $args
|
D | sun_path.expected | 2 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa…
|
D | getsockname.c | 30 #define TEST_SYSCALL_NAME getsockname
|
D | net-yy-unix.c | 90 if (getsockname(listen_fd, listen_sa, len)) in main() 171 if (getsockname(listen_fd, listen_sa, len)) in main()
|
/external/strace/tests-mx32/ |
D | net-y-unix.c | 89 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()
|
D | sun_path.test | 8 run_strace_merge -ebind,connect,getsockname $args
|
D | sun_path.expected | 2 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa…
|
D | getsockname.c | 30 #define TEST_SYSCALL_NAME getsockname
|
D | net-yy-unix.c | 90 if (getsockname(listen_fd, listen_sa, len)) in main() 171 if (getsockname(listen_fd, listen_sa, len)) in main()
|
D | net.expected | 5 [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/ |
D | net-y-unix.c | 89 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()
|
D | sun_path.test | 8 run_strace_merge -ebind,connect,getsockname $args
|
D | sun_path.expected | 2 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa…
|
D | getsockname.c | 30 #define TEST_SYSCALL_NAME getsockname
|
D | net-yy-unix.c | 90 if (getsockname(listen_fd, listen_sa, len)) in main() 171 if (getsockname(listen_fd, listen_sa, len)) in main()
|
/external/openssh/ |
D | canohost.c | 83 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/ |
D | regress_testutils.c | 82 if (getsockname(fd, (struct sockaddr*)&ss, &socklen) != 0) in regress_get_socket_port() 232 return getsockname(s, sa, socklen); in regress_get_listener_addr()
|
D | regress_listener.c | 104 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/ |
D | test_socket_cookie.c | 68 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/ |
D | unixserver.py | 11 print 'Sock name is: ['+s.getsockname()+']'
|
/external/autotest/client/tests/ipv6connect/src/ |
D | ipv6connect.c | 115 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()
|