/external/ot-br-posix/src/web/web-service/ |
D | ot_client.cpp | 87 struct sockaddr_un sockname; in Connect() local 93 memset(&sockname, 0, sizeof(struct sockaddr_un)); in Connect() 94 sockname.sun_family = AF_UNIX; in Connect() 95 …ret = snprintf(sockname.sun_path, sizeof(sockname.sun_path), OPENTHREAD_POSIX_DAEMON_SOCKET_NAME, … in Connect() 97 VerifyOrExit(ret >= 0 && static_cast<size_t>(ret) < sizeof(sockname.sun_path), { in Connect() 102 …ret = connect(mSocket, reinterpret_cast<const struct sockaddr *>(&sockname), sizeof(struct sockadd… in Connect()
|
/external/openthread/src/posix/ |
D | client.cpp | 169 struct sockaddr_un sockname; in ConnectSession() local 171 memset(&sockname, 0, sizeof(struct sockaddr_un)); in ConnectSession() 172 sockname.sun_family = AF_UNIX; in ConnectSession() 173 … ret = snprintf(sockname.sun_path, sizeof(sockname.sun_path), OPENTHREAD_POSIX_DAEMON_SOCKET_NAME, in ConnectSession() 175 VerifyOrExit(ret >= 0 && static_cast<size_t>(ret) < sizeof(sockname.sun_path), { in ConnectSession() 180 …ret = connect(sSessionFd, reinterpret_cast<const struct sockaddr *>(&sockname), sizeof(struct sock… in ConnectSession()
|
/external/openthread/src/posix/platform/ |
D | daemon.cpp | 154 struct sockaddr_un sockname; in SetUp() local 213 memset(&sockname, 0, sizeof(struct sockaddr_un)); in SetUp() 215 sockname.sun_family = AF_UNIX; in SetUp() 216 GetFilename(sockname.sun_path, OPENTHREAD_POSIX_DAEMON_SOCKET_NAME); in SetUp() 217 (void)unlink(sockname.sun_path); in SetUp() 222 …ret = bind(mListenSocket, reinterpret_cast<const struct sockaddr *>(&sockname), sizeof(struct sock… in SetUp()
|
/external/linux-kselftest/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 218 char sockname[MAX_SOCK_NAME_LEN]; in closesocket() local 222 sprintf(sockname, "/tmp/%s", name); in closesocket() 223 unlink(sockname); in closesocket()
|
/external/python/cpython2/Lib/test/ |
D | test_socket.py | 306 sockname = s.getsockname() 309 s.sendto(u'\u2620', sockname) 311 s.sendto(5j, sockname) 318 s.sendto(u'\u2620', 0, sockname) 320 s.sendto(5j, 0, sockname) 326 s.sendto('foo', 'bar', sockname) 336 s.sendto('foo', 0, sockname, 4)
|
/external/strace/tests/ |
D | Makefile.am | 430 sockname.c \
|
D | Makefile.in | 4367 sockname.c \
|
/external/strace/tests-m32/ |
D | Makefile.am | 430 sockname.c \
|
D | Makefile.in | 4367 sockname.c \
|
/external/strace/tests-mx32/ |
D | Makefile.am | 430 sockname.c \
|
D | Makefile.in | 4367 sockname.c \
|
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 269 let sockname = tempdir.path().join("sock"); in test_getsockname() localVariable 277 let sockaddr = UnixAddr::new(&sockname).unwrap(); in test_getsockname() 1510 let sockname = tempdir.path().join("sock"); in test_named_unixdomain() localVariable 1518 let sockaddr = UnixAddr::new(&sockname).unwrap(); in test_named_unixdomain()
|
/external/python/cpython3/Lib/test/ |
D | test_socket.py | 892 sockname = s.getsockname() 895 s.sendto('\u2620', sockname) 899 s.sendto(5j, sockname) 907 s.sendto('\u2620', 0, sockname) 911 s.sendto(5j, 0, sockname) 918 s.sendto(b'foo', 'bar', sockname) 926 s.sendto(b'foo', 0, sockname, 4)
|
D | test_logging.py | 580 sockname = '/var/run/syslog' 582 sockname = '/dev/log' 584 h = logging.handlers.SysLogHandler(sockname)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_events.py | 1247 sockname = s_transport.get_extra_info('sockname') 1249 sockname, socket.NI_NUMERICHOST|socket.NI_NUMERICSERV)
|
/external/python/cpython3/Doc/library/ |
D | asyncio-protocol.rst | 195 - ``'sockname'``: the socket's own address,
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 7019 'sockname', so skip calls to transport.get_extra_info('sockname')
|
/external/strace/ |
D | ChangeLog | 8012 * tests/sockname.c [TEST_SYSCALL_STR]: Do not define TEST_SYSCALL_STR. 14774 * tests/sockname.c (TEST_SYSCALL_STR__, TEST_SYSCALL_STR_): Remove. 25592 tests: use sprintrc in tests/sockname.c. 25593 * tests/sockname.c (test_sockname_syscall): Use sprintrc. 27517 * tests/sockname.c: New file. 27521 (EXTRA_DIST): Add sockname.c. 27523 Print both values of changing address length in sockname family syscalls 27530 Enhance diagnostics of address truncation in sockname family syscalls. 27544 Prepare parsers of sockname family syscalls for the upcoming fix.
|