Searched refs:sun_path (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/include/sys/ |
D | un.h | 43 #define SUN_LEN(__ptr) (offsetof(struct sockaddr_un, sun_path) + strlen((__ptr)->sun_path))
|
/bionic/tests/ |
D | sys_socket_test.cpp | 48 addr.sun_path[0] = '\0'; in ConnectFn() 49 strcpy(addr.sun_path + 1, pdata->sock_path); in ConnectFn() 72 addr.sun_path[0] = '\0'; in RunTest() 73 strcpy(addr.sun_path + 1, sock_path); in RunTest()
|
D | sys_un_test.cpp | 25 strcpy(sun.sun_path, "hello"); in TEST()
|
/bionic/libc/bionic/ |
D | system_property_set.cpp | 66 strlcpy(addr.sun_path, property_service_socket, sizeof(addr.sun_path)); in PropertyServiceConnection() 68 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1; in PropertyServiceConnection()
|
/bionic/libc/kernel/uapi/linux/ |
D | un.h | 25 char sun_path[UNIX_PATH_MAX]; member
|
/bionic/tests/headers/posix/ |
D | sys_un_h.c | 36 STRUCT_MEMBER_ARRAY(struct sockaddr_un, char/*[]*/, sun_path); in sys_un_h()
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 150 if (salen < (socklen_t) offsetof(struct sockaddr_un, sun_path)) { in getnameinfo_local() 158 strlcpy(host, sun->sun_path, in getnameinfo_local() 159 MIN((socklen_t) sizeof(sun->sun_path) + 1, hostlen)); in getnameinfo_local()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 474 strlcpy(u.addrUn.sun_path, "/dev/socket/logdw", sizeof(u.addrUn.sun_path)); in open_log_socket()
|