Home
last modified time | relevance | path

Searched refs:offsetof_sun_path (Results 1 – 9 of 9) sorted by relevance

/external/strace/tests/
Dmsg_name.c91 const size_t offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); in test_msg_name() local
93 msg->msg_namelen = offsetof_sun_path; in test_msg_name()
100 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc); in test_msg_name()
109 recv_fd, (int) (sizeof(struct sockaddr) - offsetof_sun_path), in test_msg_name()
Dsockname.c122 const size_t offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); in test_sockname_syscall() local
123 *plen = offsetof_sun_path; in test_sockname_syscall()
133 (int) offsetof_sun_path, (int) *plen, SUFFIX_STR, rc); in test_sockname_syscall()
147 (int) (sizeof(struct sockaddr) - offsetof_sun_path), in test_sockname_syscall()
Dmmsg_name.c54 const int offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); in print_msghdr() local
59 else if (user_msg_namelen < offsetof_sun_path) { in print_msghdr()
63 if (user_msg_namelen > offsetof_sun_path) { in print_msghdr()
66 len -= offsetof_sun_path; in print_msghdr()
/external/strace/tests-m32/
Dmsg_name.c91 const size_t offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); in test_msg_name() local
93 msg->msg_namelen = offsetof_sun_path; in test_msg_name()
100 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc); in test_msg_name()
109 recv_fd, (int) (sizeof(struct sockaddr) - offsetof_sun_path), in test_msg_name()
Dsockname.c122 const size_t offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); in test_sockname_syscall() local
123 *plen = offsetof_sun_path; in test_sockname_syscall()
133 (int) offsetof_sun_path, (int) *plen, SUFFIX_STR, rc); in test_sockname_syscall()
147 (int) (sizeof(struct sockaddr) - offsetof_sun_path), in test_sockname_syscall()
Dmmsg_name.c54 const int offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); in print_msghdr() local
59 else if (user_msg_namelen < offsetof_sun_path) { in print_msghdr()
63 if (user_msg_namelen > offsetof_sun_path) { in print_msghdr()
66 len -= offsetof_sun_path; in print_msghdr()
/external/strace/tests-mx32/
Dsockname.c122 const size_t offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); in test_sockname_syscall() local
123 *plen = offsetof_sun_path; in test_sockname_syscall()
133 (int) offsetof_sun_path, (int) *plen, SUFFIX_STR, rc); in test_sockname_syscall()
147 (int) (sizeof(struct sockaddr) - offsetof_sun_path), in test_sockname_syscall()
Dmsg_name.c91 const size_t offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); in test_msg_name() local
93 msg->msg_namelen = offsetof_sun_path; in test_msg_name()
100 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc); in test_msg_name()
109 recv_fd, (int) (sizeof(struct sockaddr) - offsetof_sun_path), in test_msg_name()
Dmmsg_name.c54 const int offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); in print_msghdr() local
59 else if (user_msg_namelen < offsetof_sun_path) { in print_msghdr()
63 if (user_msg_namelen > offsetof_sun_path) { in print_msghdr()
66 len -= offsetof_sun_path; in print_msghdr()