Searched refs:sun_path (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/kernel/uapi/linux/ |
D | un.h | 26 char sun_path[UNIX_PATH_MAX]; member
|
/bionic/linker/ |
D | debugger.cpp | 80 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/ |
D | sys_socket_test.cpp | 58 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/ |
D | getnameinfo.c | 146 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()
|
D | getaddrinfo.c | 444 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/ |
D | system_properties.cpp | 487 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()
|
D | libc_logging.cpp | 473 strlcpy(u.addrUn.sun_path, "/dev/socket/logdw", sizeof(u.addrUn.sun_path)); in __libc_open_log_socket()
|
/bionic/libc/dns/ |
D | gethnamaddr.c | 550 strlcpy(proxy_addr.sun_path, "/dev/socket/dnsproxyd", sizeof(proxy_addr.sun_path)); in android_open_proxy()
|