/external/strace/tests-mx32/ |
D | msg_control.c | 209 const size_t len = CMSG_SPACE(sizeof(int) * nfds); in test_scm_rights3() 236 size_t len = CMSG_SPACE(sizeof(struct timeval)); in test_scm_timestamp() 259 len = CMSG_SPACE(sizeof(struct timeval) - sizeof(long)); in test_scm_timestamp() 281 size_t len = CMSG_SPACE(sizeof(struct timespec)); in test_scm_timestampns() 304 len = CMSG_SPACE(sizeof(struct timespec) - sizeof(long)); in test_scm_timestampns() 327 size_t len = CMSG_SPACE(3 * sizeof(struct timespec)); in test_scm_timestamping() 359 len = CMSG_SPACE(3 * sizeof(struct timespec) - sizeof(long)); in test_scm_timestamping() 468 max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + sizeof(*fds0) - 1; in test_sol_socket() 483 CMSG_SPACE(sizeof(fds0)) + CMSG_SPACE(sizeof(fds1)) + in test_sol_socket() 493 && CMSG_ALIGN(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0)); in test_sol_socket() [all …]
|
D | scm_rights.c | 75 unsigned int cmsg_size = CMSG_SPACE(sizeof(fds)); in main() 96 cmsg_size += CMSG_SPACE(sizeof(struct ucred)); in main()
|
/external/strace/tests/ |
D | msg_control.c | 209 const size_t len = CMSG_SPACE(sizeof(int) * nfds); in test_scm_rights3() 236 size_t len = CMSG_SPACE(sizeof(struct timeval)); in test_scm_timestamp() 259 len = CMSG_SPACE(sizeof(struct timeval) - sizeof(long)); in test_scm_timestamp() 281 size_t len = CMSG_SPACE(sizeof(struct timespec)); in test_scm_timestampns() 304 len = CMSG_SPACE(sizeof(struct timespec) - sizeof(long)); in test_scm_timestampns() 327 size_t len = CMSG_SPACE(3 * sizeof(struct timespec)); in test_scm_timestamping() 359 len = CMSG_SPACE(3 * sizeof(struct timespec) - sizeof(long)); in test_scm_timestamping() 468 max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + sizeof(*fds0) - 1; in test_sol_socket() 483 CMSG_SPACE(sizeof(fds0)) + CMSG_SPACE(sizeof(fds1)) + in test_sol_socket() 493 && CMSG_ALIGN(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0)); in test_sol_socket() [all …]
|
D | scm_rights.c | 75 unsigned int cmsg_size = CMSG_SPACE(sizeof(fds)); in main() 96 cmsg_size += CMSG_SPACE(sizeof(struct ucred)); in main()
|
/external/strace/tests-m32/ |
D | msg_control.c | 209 const size_t len = CMSG_SPACE(sizeof(int) * nfds); in test_scm_rights3() 236 size_t len = CMSG_SPACE(sizeof(struct timeval)); in test_scm_timestamp() 259 len = CMSG_SPACE(sizeof(struct timeval) - sizeof(long)); in test_scm_timestamp() 281 size_t len = CMSG_SPACE(sizeof(struct timespec)); in test_scm_timestampns() 304 len = CMSG_SPACE(sizeof(struct timespec) - sizeof(long)); in test_scm_timestampns() 327 size_t len = CMSG_SPACE(3 * sizeof(struct timespec)); in test_scm_timestamping() 359 len = CMSG_SPACE(3 * sizeof(struct timespec) - sizeof(long)); in test_scm_timestamping() 468 max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + sizeof(*fds0) - 1; in test_sol_socket() 483 CMSG_SPACE(sizeof(fds0)) + CMSG_SPACE(sizeof(fds1)) + in test_sol_socket() 493 && CMSG_ALIGN(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0)); in test_sol_socket() [all …]
|
D | scm_rights.c | 75 unsigned int cmsg_size = CMSG_SPACE(sizeof(fds)); in main() 96 cmsg_size += CMSG_SPACE(sizeof(struct ucred)); in main()
|
/external/dhcpcd-6.8.2/ |
D | ipv6.h | 176 #undef CMSG_SPACE 185 #ifndef CMSG_SPACE 186 #define CMSG_SPACE(len) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(len)) macro 189 #define IP6BUFLEN (CMSG_SPACE(sizeof(struct in6_pktinfo)) + \ 190 CMSG_SPACE(sizeof(int))) 198 unsigned char sndbuf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_linux.c | 448 char buf[CMSG_SPACE(sizeof(u32))]; in linux_af_alg_skcipher_oper() 460 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in linux_af_alg_skcipher_oper() 539 char buf[CMSG_SPACE(sizeof(u32))]; in rc4_skip() 562 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in rc4_skip() 609 char buf[CMSG_SPACE(sizeof(u32))]; in des_encrypt() 635 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in des_encrypt() 694 msg.msg_controllen = CMSG_SPACE(sizeof(u32)) + in aes_128_cbc_oper() 695 CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper() 709 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper() 803 msg.msg_controllen = CMSG_SPACE(sizeof(u32)) + in aes_unwrap() [all …]
|
/external/compiler-rt/test/msan/Linux/ |
D | cmsghdr.cc | 46 char controlbuf[CMSG_SPACE(kNumFds * sizeof(int)) + in main() 47 CMSG_SPACE(sizeof(struct ucred))]; in main() 73 cmsg = (struct cmsghdr *)(&controlbuf[CMSG_SPACE(kNumFds * sizeof(int))]); in main()
|
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux.cc | 60 const unsigned control_len = CMSG_SPACE(sizeof(int) * fds.size()); in SendMsg() 117 CMSG_SPACE(sizeof(int) * kMaxFileDescriptors) in RecvMsgWithFlags() 120 + CMSG_SPACE(sizeof(struct ucred)) in RecvMsgWithFlags()
|
/external/ltp/utils/sctp/lib/ |
D | sendmsg.c | 38 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_sendmsg() 79 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_send()
|
/external/libmojo/mojo/edk/embedder/ |
D | platform_channel_utils_posix.cc | 151 char cmsg_buf[CMSG_SPACE(kPlatformChannelMaxNumHandles * sizeof(int))]; in PlatformChannelSendmsgWithHandles() 178 char cmsg_buf[CMSG_SPACE(kPlatformChannelMaxNumHandles * sizeof(int))]; in PlatformChannelSendHandles() 214 char cmsg_buf[CMSG_SPACE(kPlatformChannelMaxNumHandles * sizeof(int))]; in PlatformChannelRecvmsg()
|
/external/valgrind/none/tests/ |
D | fdleak_cmsg.c | 59 char buf[CMSG_SPACE(sizeof(int) * 2)]; in server() 91 char control[CMSG_SPACE(sizeof(int) * 2)]; in client()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_threads.c | 71 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in t_recv() 95 char outcmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in t_send()
|
D | test_1_to_1_events.c | 59 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main() 60 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
|
D | test_1_to_1_nonblock.c | 74 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main() 78 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
|
D | test_assoc_abort.c | 72 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main() 73 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
|
D | test_assoc_shutdown.c | 71 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main() 72 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
|
D | test_1_to_1_addrs.c | 89 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main() 93 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
|
/external/adhd/cras/src/common/ |
D | cras_util.c | 104 const unsigned int control_size = CMSG_SPACE(sizeof(*fd) * num_fds); in cras_send_with_fds() 135 const unsigned int control_size = CMSG_SPACE(sizeof(*fd) * *num_fds); in cras_recv_with_fds()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 200 CMSG_SPACE(sizeof(int)) + CMSG_SPACE(sizeof(struct ucred)); in ClientEvent()
|
/external/linux-kselftest/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 109 char cmsg_b[CMSG_SPACE(sizeof(int))]; in sendtosocket() 165 char cmsg_b[CMSG_SPACE(sizeof(int))]; in receivefromsocket()
|
/external/dnsmasq/src/ |
D | forward.c | 38 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in send_from() 40 char control[CMSG_SPACE(sizeof(struct in_addr))]; in send_from() 43 char control6[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in send_from() 590 char control6[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in receive_query() 593 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in receive_query() 595 char control[CMSG_SPACE(sizeof(struct in_addr)) + in receive_query() 596 CMSG_SPACE(sizeof(struct sockaddr_dl))]; in receive_query()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 112 unsigned char buf[CMSG_SPACE(sizeof(int))]; in multiprocessing_sendfd() 152 unsigned char buf[CMSG_SPACE(sizeof(int))]; in multiprocessing_recvfd()
|
/external/clang/test/Sema/ |
D | darwin-align-cast.c | 12 sys/socket.h:#define CMSG_SPACE(l) (__DARWIN_ALIGN(sizeof(struct
|