Home
last modified time | relevance | path

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

/bionic/libc/include/sys/
Dun.h43 #define SUN_LEN(__ptr) (offsetof(struct sockaddr_un, sun_path) + strlen((__ptr)->sun_path))
/bionic/tests/
Dsys_socket_test.cpp48 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()
Dsys_un_test.cpp25 strcpy(sun.sun_path, "hello"); in TEST()
/bionic/libc/bionic/
Dsystem_property_set.cpp66 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/
Dun.h25 char sun_path[UNIX_PATH_MAX]; member
/bionic/tests/headers/posix/
Dsys_un_h.c36 STRUCT_MEMBER_ARRAY(struct sockaddr_un, char/*[]*/, sun_path); in sys_un_h()
/bionic/libc/dns/net/
Dgetnameinfo.c150 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/
Dasync_safe_log.cpp474 strlcpy(u.addrUn.sun_path, "/dev/socket/logdw", sizeof(u.addrUn.sun_path)); in open_log_socket()