Home
last modified time | relevance | path

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

123456

/external/valgrind/memcheck/tests/
Dbuflen_check.stderr.exp-kfail1 Syscall param socketcall.getsockname(name) points to unaddressable byte(s)
5 Syscall param socketcall.getsockname(namelen_in) points to unaddressable byte(s)
9 getsockname(1) failed
10 getsockname(2) failed
Dbuflen_check.c18 res2 = getsockname(res1, NULL, &len); /* NULL is bogus */ in main()
19 res3 = getsockname(res1, &name, NULL); /* NULL is bogus */ in main()
Dbuflen_check.stderr.exp11 getsockname(1) failed
12 getsockname(2) failed
/external/clang/test/Analysis/
Dcasts.c17 void getsockname();
23 getsockname(sock, sockaddr, &addrlen); in f()
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dutil.py114 self._port = self._temp_socket.getsockname()[1]
134 port = tmp.getsockname()[1]
/external/avahi/avahi-daemon/
Dsd-daemon.c232 if (getsockname(fd, &sockaddr.sa, &l) < 0) in sd_is_socket()
258 if (getsockname(fd, &sockaddr.sa, &l) < 0) in sd_is_socket_inet()
300 if (getsockname(fd, &sockaddr.sa, &l) < 0) in sd_is_socket_unix()
/external/dbus/dbus/
Dsd-daemon.c227 if (getsockname(fd, &sockaddr.sa, &l) < 0) in sd_is_socket()
253 if (getsockname(fd, &sockaddr.sa, &l) < 0) in sd_is_socket_inet()
295 if (getsockname(fd, &sockaddr.sa, &l) < 0) in sd_is_socket_unix()
/external/strace/tests/
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…
Dnet-fd.expected3 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0<socket:\[[0-9]+\]>, \{sa_family=AF_(LOCAL…
Dnet.expected5 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa…
Dinet-accept-connect-send-recv.c64 assert(getsockname(0, (struct sockaddr *) &addr, &len) == 0); in main()
Dnet-accept-connect.c69 assert(getsockname(0, (struct sockaddr *) &addr, &len) == 0); in main()
Dinet-cmsg.c110 assert(!getsockname(0, (struct sockaddr *) &addr, &len)); in main()
/external/avahi/docs/
Dsocket-auto-port.c32 if (getsockname(s, (struct sockaddr*) &sa, &salen) < 0) { in main()
/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()
/external/compiler-rt/test/tsan/
Dfd_socket_connect_norace.cc32 getsockname(s, (sockaddr*)&addr, &len); in main()
Dfd_socket_norace.cc36 getsockname(s, (sockaddr*)&addr, &len); in main()
/external/autotest/server/
Dsite_host_route.py47 self.route_info = { 'src': sock.getsockname()[0] }
/external/autotest/client/cros/
Dhttpd.py261 def getsockname(self): member in SecureHTTPListener
262 return self._server.socket.getsockname()
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/test/
Dminiserver.py99 _, port = httpd.socket.getsockname()
/external/ipsec-tools/src/racoon/
Dsockmisc.c264 getsockname(s, (struct sockaddr *)&local, &len) == -1) { in getlocaladdr()
275 if (getsockname(s, to, (socklen_t *)tolen) == -1) { in recvfromto()
353 if (getsockname(s, local, &local_len) < 0) {
400 if (getsockname(s, (struct sockaddr *)&ss, &len) < 0) {
536 if (getsockname(s, (struct sockaddr *)&ss, &len) < 0) {
/external/valgrind/coregrind/
Dpub_core_libcfile.h73 extern Int VG_(getsockname) ( Int sd, struct vki_sockaddr *name, Int *namelen );
/external/libmicrohttpd/src/platform/
Dw32functions.c582 && 0 == getsockname(listen_s, (struct sockaddr*) &listen_addr, in MHD_W32_pair_of_sockets_()
601 if (0 == getsockname(client_s, (struct sockaddr*) &client_addr, &addr_len) in MHD_W32_pair_of_sockets_()
/external/autotest/client/site_tests/autoupdate_CannedOmahaUpdate/
Dautoupdate_CannedOmahaUpdate.py86 self._port = self._httpd.socket.getsockname()[1]

123456