Home
last modified time | relevance | path

Searched refs:sun (Results 1 – 4 of 4) sorted by relevance

/bionic/tests/
Dsys_un_test.cpp23 sockaddr_un sun = {}; in TEST() local
24 sun.sun_family = 1; in TEST()
25 strcpy(sun.sun_path, "hello"); in TEST()
26 ASSERT_EQ(2U + strlen("hello"), SUN_LEN(&sun)); in TEST()
/bionic/libc/dns/net/
Dgetnameinfo.c147 const struct sockaddr_un *sun = in getnameinfo_local() 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/dns/include/
Dresolv_private.h145 #ifdef sun
157 #ifdef sun
/bionic/libc/kernel/uapi/linux/
Dsoundcard.h52 #if defined(_IOWR) && (defined(_AIX) || !defined(sun) && !defined(sparc) && !defined(__sparc__) && …