/external/strace/tests/ |
D | msg_name.c | 58 msg->msg_namelen = sizeof(*addr); in test_msg_name() 73 (int) msg->msg_namelen, rc); in test_msg_name() 81 recv_fd, addr->sun_path, (int) msg->msg_namelen, rc); in test_msg_name() 88 recv_fd, (int) msg->msg_namelen, rc); in test_msg_name() 92 msg->msg_namelen = offsetof_sun_path; in test_msg_name() 99 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc); in test_msg_name() 101 msg->msg_namelen = sizeof(struct sockaddr); in test_msg_name() 102 msg->msg_name = ((void *) (addr + 1)) - msg->msg_namelen; in test_msg_name() 110 (int) sizeof(struct sockaddr), (int) msg->msg_namelen, rc); in test_msg_name() 114 recv_fd, (int) msg->msg_namelen, rc, errno2name()); in test_msg_name()
|
D | mmsg_name.c | 65 int len = user_msg_namelen < (int) msg->msg_namelen ? in print_msghdr() 66 user_msg_namelen : (int) msg->msg_namelen; in print_msghdr() 75 if (user_msg_namelen != (int) msg->msg_namelen) { in print_msghdr() 80 (int) msg->msg_namelen, * (char *) msg->msg_iov[0].iov_base); in print_msghdr() 110 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name() 141 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name() 192 recv_mh[i].msg_hdr.msg_namelen = i; in test_mmsg_name()
|
D | netlink_inet_diag.c | 66 .msg_namelen = sizeof(nladdr), in send_query() 92 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_netlink_diag.c | 71 .msg_namelen = sizeof(nladdr), in send_query() 97 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_unix_diag.c | 74 .msg_namelen = sizeof(nladdr), in send_query() 100 .msg_namelen = sizeof(nladdr), in check_responses()
|
/external/strace/tests-mx32/ |
D | msg_name.c | 58 msg->msg_namelen = sizeof(*addr); in test_msg_name() 73 (int) msg->msg_namelen, rc); in test_msg_name() 81 recv_fd, addr->sun_path, (int) msg->msg_namelen, rc); in test_msg_name() 88 recv_fd, (int) msg->msg_namelen, rc); in test_msg_name() 92 msg->msg_namelen = offsetof_sun_path; in test_msg_name() 99 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc); in test_msg_name() 101 msg->msg_namelen = sizeof(struct sockaddr); in test_msg_name() 102 msg->msg_name = ((void *) (addr + 1)) - msg->msg_namelen; in test_msg_name() 110 (int) sizeof(struct sockaddr), (int) msg->msg_namelen, rc); in test_msg_name() 114 recv_fd, (int) msg->msg_namelen, rc, errno2name()); in test_msg_name()
|
D | mmsg_name.c | 65 int len = user_msg_namelen < (int) msg->msg_namelen ? in print_msghdr() 66 user_msg_namelen : (int) msg->msg_namelen; in print_msghdr() 75 if (user_msg_namelen != (int) msg->msg_namelen) { in print_msghdr() 80 (int) msg->msg_namelen, * (char *) msg->msg_iov[0].iov_base); in print_msghdr() 110 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name() 141 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name() 192 recv_mh[i].msg_hdr.msg_namelen = i; in test_mmsg_name()
|
D | netlink_unix_diag.c | 74 .msg_namelen = sizeof(nladdr), in send_query() 100 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_inet_diag.c | 66 .msg_namelen = sizeof(nladdr), in send_query() 92 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_netlink_diag.c | 71 .msg_namelen = sizeof(nladdr), in send_query() 97 .msg_namelen = sizeof(nladdr), in check_responses()
|
/external/strace/tests-m32/ |
D | msg_name.c | 58 msg->msg_namelen = sizeof(*addr); in test_msg_name() 73 (int) msg->msg_namelen, rc); in test_msg_name() 81 recv_fd, addr->sun_path, (int) msg->msg_namelen, rc); in test_msg_name() 88 recv_fd, (int) msg->msg_namelen, rc); in test_msg_name() 92 msg->msg_namelen = offsetof_sun_path; in test_msg_name() 99 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc); in test_msg_name() 101 msg->msg_namelen = sizeof(struct sockaddr); in test_msg_name() 102 msg->msg_name = ((void *) (addr + 1)) - msg->msg_namelen; in test_msg_name() 110 (int) sizeof(struct sockaddr), (int) msg->msg_namelen, rc); in test_msg_name() 114 recv_fd, (int) msg->msg_namelen, rc, errno2name()); in test_msg_name()
|
D | mmsg_name.c | 65 int len = user_msg_namelen < (int) msg->msg_namelen ? in print_msghdr() 66 user_msg_namelen : (int) msg->msg_namelen; in print_msghdr() 75 if (user_msg_namelen != (int) msg->msg_namelen) { in print_msghdr() 80 (int) msg->msg_namelen, * (char *) msg->msg_iov[0].iov_base); in print_msghdr() 110 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name() 141 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name() 192 recv_mh[i].msg_hdr.msg_namelen = i; in test_mmsg_name()
|
D | netlink_inet_diag.c | 66 .msg_namelen = sizeof(nladdr), in send_query() 92 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_netlink_diag.c | 71 .msg_namelen = sizeof(nladdr), in send_query() 97 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_unix_diag.c | 74 .msg_namelen = sizeof(nladdr), in send_query() 100 .msg_namelen = sizeof(nladdr), in check_responses()
|
/external/strace/ |
D | msghdr.c | 339 const int msg_namelen = in print_struct_msghdr() local 340 p_user_msg_namelen && (int) msg->msg_namelen > *p_user_msg_namelen in print_struct_msghdr() 341 ? *p_user_msg_namelen : (int) msg->msg_namelen; in print_struct_msghdr() 345 decode_sockaddr(tcp, ptr_to_kulong(msg->msg_name), msg_namelen); in print_struct_msghdr() 350 if (p_user_msg_namelen && *p_user_msg_namelen != (int) msg->msg_namelen) in print_struct_msghdr() 352 tprintf("%d", msg->msg_namelen); in print_struct_msghdr() 376 *p_msg_namelen = msg.msg_namelen; in fetch_msghdr_namelen() 421 int msg_namelen; in SYS_FUNC() local 426 if (fetch_msghdr_namelen(tcp, tcp->u_arg[1], &msg_namelen)) { in SYS_FUNC() 427 set_tcb_priv_ulong(tcp, msg_namelen); in SYS_FUNC() [all …]
|
D | fetch_struct_msghdr.c | 61 p_native->msg_namelen = in MPERS_PRINTER_DECL() 62 v_compat.msg_namelen; in MPERS_PRINTER_DECL()
|
D | fetch_struct_mmsghdr.c | 61 p_native->msg_hdr.msg_namelen = in MPERS_PRINTER_DECL() 62 v_compat.msg_hdr.msg_namelen; in MPERS_PRINTER_DECL()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_basic.c | 168 outmessage.msg_namelen = sizeof(loop2); in main() 193 inmessage.msg_namelen = sizeof(msgname); in main() 200 if (inmessage.msg_namelen != sizeof(struct sockaddr_in6)) { in main() 216 if (inmessage.msg_namelen != sizeof(struct sockaddr_in)) { in main() 249 inmessage.msg_namelen = sizeof(msgname); in main() 256 if (inmessage.msg_namelen != sizeof(struct sockaddr_in6)) { in main() 272 if (inmessage.msg_namelen != sizeof(struct sockaddr_in)) { in main() 303 outmessage.msg_namelen = 0; in main() 326 outmessage.msg_namelen = sizeof(loop2); in main() 411 inmessage.msg_namelen = sizeof(msgname); in main() [all …]
|
D | test_timetolive.c | 193 outmessage.msg_namelen = sizeof(loop2); in main() 289 outmessage.msg_namelen = 0; in main() 301 outmessage.msg_namelen = 0; in main() 314 outmessage.msg_namelen = 0; in main() 329 outmessage.msg_namelen = 0; in main()
|
D | test_1_to_1_sendmsg.c | 128 outmessage.msg_namelen = sizeof(conn_addr); in main() 286 outmessage.msg_namelen = sizeof(svr_addr); in main() 328 outmessage.msg_namelen = sizeof(conn_addr); in main() 341 outmessage.msg_namelen = sizeof(conn_addr); in main()
|
D | test_peeloff.c | 132 outmessage.msg_namelen = sizeof(svr_loop); in main() 243 outmessage.msg_namelen = sizeof(clt_loop[i]); in main() 267 outmessage.msg_namelen = sizeof(clt_loop[1]); in main()
|
/external/ltp/utils/sctp/lib/ |
D | recvmsg.c | 71 inmsg.msg_namelen = fromlen ? *fromlen : 0; in sctp_recvmsg() 82 *fromlen = inmsg.msg_namelen; in sctp_recvmsg()
|
D | sendmsg.c | 43 outmsg.msg_namelen = tolen; in sctp_sendmsg() 82 outmsg.msg_namelen = 0; in sctp_send()
|
/external/iproute2/lib/ |
D | libnetlink.c | 180 .msg_namelen = sizeof(nladdr), in rtnl_dump_request() 203 .msg_namelen = sizeof(nladdr), in rtnl_dump_request_n() 222 .msg_namelen = sizeof(nladdr), in rtnl_dump_filter_l() 347 .msg_namelen = sizeof(nladdr), in rtnl_talk() 385 if (msg.msg_namelen != sizeof(nladdr)) { in rtnl_talk() 386 fprintf(stderr, "sender address length == %d\n", msg.msg_namelen); in rtnl_talk() 477 .msg_namelen = sizeof(nladdr), in rtnl_listen() 515 if (msg.msg_namelen != sizeof(nladdr)) { in rtnl_listen() 516 fprintf(stderr, "Sender address length == %d\n", msg.msg_namelen); in rtnl_listen()
|