/external/strace/tests-m32/ |
D | msg_control.c | 67 print_fds(const struct cmsghdr *const cmsg, const size_t cmsg_len) in print_fds() argument 69 size_t nfd = cmsg_len > CMSG_LEN(0) in print_fds() 70 ? (cmsg_len - CMSG_LEN(0)) / sizeof(int) : 0; in print_fds() 96 const size_t cmsg_len) in test_scm_rights1() argument 99 cmsg_len > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len) : CMSG_LEN(0); in test_scm_rights1() 100 if (cmsg_len >= CMSG_LEN(0) in test_scm_rights1() 106 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_len)) in test_scm_rights1() 107 cmsg->cmsg_len = cmsg_len; in test_scm_rights1() 114 cmsg_len < msg_controllen ? cmsg_len : msg_controllen; in test_scm_rights1() 131 ", cmsg_type=SCM_RIGHTS", (unsigned long) cmsg_len); in test_scm_rights1() [all …]
|
D | inet-cmsg.c | 68 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts() 164 (unsigned long) c->cmsg_len); in main()
|
/external/strace/tests-mx32/ |
D | msg_control.c | 67 print_fds(const struct cmsghdr *const cmsg, const size_t cmsg_len) in print_fds() argument 69 size_t nfd = cmsg_len > CMSG_LEN(0) in print_fds() 70 ? (cmsg_len - CMSG_LEN(0)) / sizeof(int) : 0; in print_fds() 96 const size_t cmsg_len) in test_scm_rights1() argument 99 cmsg_len > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len) : CMSG_LEN(0); in test_scm_rights1() 100 if (cmsg_len >= CMSG_LEN(0) in test_scm_rights1() 106 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_len)) in test_scm_rights1() 107 cmsg->cmsg_len = cmsg_len; in test_scm_rights1() 114 cmsg_len < msg_controllen ? cmsg_len : msg_controllen; in test_scm_rights1() 131 ", cmsg_type=SCM_RIGHTS", (unsigned long) cmsg_len); in test_scm_rights1() [all …]
|
D | inet-cmsg.c | 68 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts() 164 (unsigned long) c->cmsg_len); in main()
|
/external/strace/tests/ |
D | msg_control.c | 67 print_fds(const struct cmsghdr *const cmsg, const size_t cmsg_len) in print_fds() argument 69 size_t nfd = cmsg_len > CMSG_LEN(0) in print_fds() 70 ? (cmsg_len - CMSG_LEN(0)) / sizeof(int) : 0; in print_fds() 96 const size_t cmsg_len) in test_scm_rights1() argument 99 cmsg_len > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len) : CMSG_LEN(0); in test_scm_rights1() 100 if (cmsg_len >= CMSG_LEN(0) in test_scm_rights1() 106 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_len)) in test_scm_rights1() 107 cmsg->cmsg_len = cmsg_len; in test_scm_rights1() 114 cmsg_len < msg_controllen ? cmsg_len : msg_controllen; in test_scm_rights1() 131 ", cmsg_type=SCM_RIGHTS", (unsigned long) cmsg_len); in test_scm_rights1() [all …]
|
D | inet-cmsg.c | 68 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts() 164 (unsigned long) c->cmsg_len); in main()
|
/external/compiler-rt/test/msan/Linux/ |
D | cmsghdr.cc | 61 cmsg->cmsg_len = CMSG_LEN(kNumFds * sizeof(int)); in main() 70 __msan_poison(&cmsg->cmsg_len, sizeof(cmsg->cmsg_len)); in main() 81 cmsg->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in main() 90 __msan_poison(&cmsg->cmsg_len, sizeof(cmsg->cmsg_len)); in main()
|
/external/ltp/utils/sctp/lib/ |
D | sendmsg.c | 56 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsg() 58 outmsg.msg_controllen = cmsg->cmsg_len; in sctp_sendmsg() 99 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in sctp_send() 101 outmsg.msg_controllen = cmsg->cmsg_len; in sctp_send()
|
/external/strace/ |
D | msghdr.c | 46 uint32_t cmsg_len; member 310 const kernel_ulong_t cmsg_len = in decode_msg_control() local 312 (current_wordsize < sizeof(long)) ? u.cmsg32->cmsg_len : in decode_msg_control() 314 u.cmsg->cmsg_len; in decode_msg_control() 328 tprintf("{cmsg_len=%" PRI_klu ", cmsg_level=", cmsg_len); in decode_msg_control() 332 kernel_ulong_t len = cmsg_len > buf_len ? buf_len : cmsg_len; in decode_msg_control() 343 len = (cmsg_len + current_wordsize - 1) & in decode_msg_control()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 128 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in multiprocessing_sendfd() 170 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in multiprocessing_recvfd() 171 msg.msg_controllen = cmsg->cmsg_len; in multiprocessing_recvfd() 184 cmsg->cmsg_len < CMSG_LEN(sizeof(int))) { in multiprocessing_recvfd()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_assoc_abort.c | 128 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 129 outmessage.msg_controllen = cmsg->cmsg_len; in main() 191 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 192 outmessage.msg_controllen = cmsg->cmsg_len; in main()
|
D | test_assoc_shutdown.c | 128 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 129 outmessage.msg_controllen = cmsg->cmsg_len; in main() 192 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 193 outmessage.msg_controllen = cmsg->cmsg_len; in main()
|
D | test_inaddr_any.c | 160 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 161 outmessage.msg_controllen = cmsg->cmsg_len; in main() 208 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 209 outmessage.msg_controllen = cmsg->cmsg_len; in main()
|
D | test_1_to_1_sendmsg.c | 138 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 139 outmessage.msg_controllen = cmsg->cmsg_len; in main() 296 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 297 outmessage.msg_controllen = cmsg->cmsg_len; in main()
|
D | test_timetolive.c | 202 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 203 outmessage.msg_controllen = cmsg->cmsg_len; in main() 276 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 277 outmessage.msg_controllen = cmsg->cmsg_len; in main()
|
D | test_basic.c | 177 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 178 outmessage.msg_controllen = cmsg->cmsg_len; in main() 292 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 293 outmessage.msg_controllen = cmsg->cmsg_len; in main()
|
D | test_1_to_1_threads.c | 109 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in t_send() 110 outmessage.msg_controllen = cmsg->cmsg_len; in t_send()
|
D | test_1_to_1_events.c | 120 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 121 outmessage.msg_controllen = cmsg->cmsg_len; in main()
|
D | test_1_to_1_nonblock.c | 169 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 170 outmessage.msg_controllen = cmsg->cmsg_len; in main()
|
/external/iproute2/include/ |
D | bpf_scm.h | 56 cmsg->cmsg_len = msg->hdr.msg_controllen; in bpf_map_set_init() 73 cmsg->cmsg_len = msg->hdr.msg_controllen; in bpf_map_set_init_single()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_linux.c | 469 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in linux_af_alg_skcipher_oper() 571 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in rc4_skip() 644 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in des_encrypt() 705 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in aes_128_cbc_oper() 712 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper() 814 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in aes_unwrap() 821 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_unwrap() 910 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in crypto_cipher_init() 950 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in crypto_cipher_oper()
|
/external/libchrome/base/posix/ |
D | unix_domain_socket.cc | 90 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fds.size()); in SendMsg() 92 msg.msg_controllen = cmsg->cmsg_len; in SendMsg() 171 const unsigned payload_len = cmsg->cmsg_len - CMSG_LEN(0); in RecvMsgWithFlags()
|
/external/adhd/cras/src/common/ |
D | cras_util.c | 120 cmsg->cmsg_len = CMSG_LEN(sizeof(*fd) * num_fds); in cras_send_with_fds() 161 size_t fd_size = cmsg->cmsg_len - sizeof(*cmsg); in cras_recv_with_fds()
|
/external/linux-kselftest/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 147 cmsg->cmsg_len = CMSG_LEN(len); in sendtosocket() 200 cmsg->cmsg_len = CMSG_LEN(len); in receivefromsocket()
|
/external/libchrome/mojo/public/cpp/platform/ |
D | socket_utils_posix.cc | 121 cmsg->cmsg_len = CMSG_LEN(descriptors.size() * sizeof(int)); in SendmsgWithHandles() 155 size_t payload_length = cmsg->cmsg_len - CMSG_LEN(0); in SocketRecvmsg()
|