Home
last modified time | relevance | path

Searched refs:sun_path (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/kernel/uapi/linux/
Dun.h26 char sun_path[UNIX_PATH_MAX]; member
/bionic/linker/
Ddebugger.cpp80 if ((namelen + 1) > sizeof(addr.sun_path)) { in socket_abstract_client()
92 addr.sun_path[0] = 0; in socket_abstract_client()
93 memcpy(addr.sun_path + 1, name, namelen); in socket_abstract_client()
95 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1; in socket_abstract_client()
/bionic/tests/
Dsys_socket_test.cpp58 addr.sun_path[0] = '\0'; in ConnectFn()
59 strcpy(addr.sun_path + 1, SOCK_PATH); in ConnectFn()
82 addr.sun_path[0] = '\0'; in RunTest()
83 strcpy(addr.sun_path + 1, SOCK_PATH); in RunTest()
/bionic/libc/dns/net/
Dgetnameinfo.c146 if (salen < (socklen_t) offsetof(struct sockaddr_un, sun_path)) { in getnameinfo_local()
154 strlcpy(host, sun->sun_path, in getnameinfo_local()
155 MIN((socklen_t) sizeof(sun->sun_path) + 1, hostlen)); in getnameinfo_local()
Dgetaddrinfo.c444 strlcpy(proxy_addr.sun_path, "/dev/socket/dnsproxyd", in android_getaddrinfo_proxy()
445 sizeof(proxy_addr.sun_path)); in android_getaddrinfo_proxy()
/bionic/libc/bionic/
Dsystem_properties.cpp487 strlcpy(addr.sun_path, property_service_socket, sizeof(addr.sun_path)); in send_prop_msg()
489 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1; in send_prop_msg()
Dlibc_logging.cpp473 strlcpy(u.addrUn.sun_path, "/dev/socket/logdw", sizeof(u.addrUn.sun_path)); in __libc_open_log_socket()
/bionic/libc/dns/
Dgethnamaddr.c550 strlcpy(proxy_addr.sun_path, "/dev/socket/dnsproxyd", sizeof(proxy_addr.sun_path)); in android_open_proxy()