Home
last modified time | relevance | path

Searched refs:sockname (Results 1 – 15 of 15) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/android/ion/
Dipcsocket.c218 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/
Dtest_socket.py306 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/rust/crates/nix/test/sys/
Dtest_socket.rs142 let sockname = tempdir.path().join("sock"); in test_getsockname() localVariable
145 let sockaddr = SockAddr::new_unix(&sockname).unwrap(); in test_getsockname()
1110 let sockname = tempdir.path().join("sock"); in test_unixdomain() localVariable
1113 let sockaddr = SockAddr::new_unix(&sockname).unwrap(); in test_unixdomain()
/external/strace/tests-mx32/
DMakefile.am430 sockname.c \
DMakefile.in4367 sockname.c \
/external/strace/tests-m32/
DMakefile.am430 sockname.c \
DMakefile.in4367 sockname.c \
/external/strace/tests/
DMakefile.am430 sockname.c \
DMakefile.in4367 sockname.c \
/external/python/cpython3/Lib/test/
Dtest_socket.py893 sockname = s.getsockname()
896 s.sendto('\u2620', sockname)
900 s.sendto(5j, sockname)
908 s.sendto('\u2620', 0, sockname)
912 s.sendto(5j, 0, sockname)
919 s.sendto(b'foo', 'bar', sockname)
929 s.sendto(b'foo', 0, sockname, 4)
Dtest_logging.py573 sockname = '/var/run/syslog'
575 sockname = '/dev/log'
577 h = logging.handlers.SysLogHandler(sockname)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py1222 sockname = s_transport.get_extra_info('sockname')
1224 sockname, socket.NI_NUMERICHOST|socket.NI_NUMERICSERV)
/external/python/cpython3/Doc/library/
Dasyncio-protocol.rst195 - ``'sockname'``: the socket's own address,
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a1.rst7019 'sockname', so skip calls to transport.get_extra_info('sockname')
/external/strace/
DChangeLog8012 * 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.