/external/strace/tests/ |
D | msg_control.c | 63 return page - CMSG_ALIGN(len); in get_cmsghdr() 99 cmsg_len > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len) : CMSG_LEN(0); in test_scm_rights1() 152 cmsg_len[0] > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len[0]) : CMSG_LEN(0), in test_scm_rights2() 153 cmsg_len[1] > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len[1]) : CMSG_LEN(0) in test_scm_rights2() 399 cmsg_len > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len) : CMSG_LEN(0); in test_scm_security() 492 CMSG_ALIGN(cmsg_len[0]) + CMSG_LEN(0) <= msg_controllen in test_sol_socket() 493 && CMSG_ALIGN(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0)); in test_sol_socket() 496 msg_controllen - CMSG_ALIGN(cmsg_len[0]); in test_sol_socket()
|
D | inet-cmsg.c | 68 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts()
|
/external/strace/tests-m32/ |
D | msg_control.c | 63 return page - CMSG_ALIGN(len); in get_cmsghdr() 99 cmsg_len > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len) : CMSG_LEN(0); in test_scm_rights1() 152 cmsg_len[0] > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len[0]) : CMSG_LEN(0), in test_scm_rights2() 153 cmsg_len[1] > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len[1]) : CMSG_LEN(0) in test_scm_rights2() 399 cmsg_len > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len) : CMSG_LEN(0); in test_scm_security() 492 CMSG_ALIGN(cmsg_len[0]) + CMSG_LEN(0) <= msg_controllen in test_sol_socket() 493 && CMSG_ALIGN(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0)); in test_sol_socket() 496 msg_controllen - CMSG_ALIGN(cmsg_len[0]); in test_sol_socket()
|
D | inet-cmsg.c | 68 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts()
|
/external/strace/tests-mx32/ |
D | msg_control.c | 63 return page - CMSG_ALIGN(len); in get_cmsghdr() 99 cmsg_len > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len) : CMSG_LEN(0); in test_scm_rights1() 152 cmsg_len[0] > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len[0]) : CMSG_LEN(0), in test_scm_rights2() 153 cmsg_len[1] > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len[1]) : CMSG_LEN(0) in test_scm_rights2() 399 cmsg_len > CMSG_LEN(0) ? CMSG_ALIGN(cmsg_len) : CMSG_LEN(0); in test_scm_security() 492 CMSG_ALIGN(cmsg_len[0]) + CMSG_LEN(0) <= msg_controllen in test_sol_socket() 493 && CMSG_ALIGN(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0)); in test_sol_socket() 496 msg_controllen - CMSG_ALIGN(cmsg_len[0]); in test_sol_socket()
|
D | inet-cmsg.c | 68 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts()
|
/external/crosvm/sys_util/src/ |
D | sock_ctrl_msg.rs | 28 macro_rules! CMSG_ALIGN { macro 36 size_of::<cmsghdr>() + CMSG_ALIGN!($len) 60 let next_cmsg = (cmsg_ptr as *mut u8).wrapping_add(CMSG_ALIGN!(cmsg.cmsg_len)) as *mut cmsghdr; in get_next_cmsg()
|
/external/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 1246 {const} fn CMSG_ALIGN(len: usize) -> usize { 1262 .offset(CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize) 1266 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>())) 1271 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length 1279 let next = cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize) 1280 + CMSG_ALIGN(::mem::size_of::<::cmsghdr>()); 1286 (cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize))
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_os_userspace.h | 250 #define CMSG_ALIGN(x) WSA_CMSGDATA_ALIGN(x) macro 1109 #define CMSG_ALIGN(n) _ALIGN(n) macro 1111 #define CMSG_ALIGN(n) (((n) + __ALIGNBYTES) & ~__ALIGNBYTES) macro 1128 #define CMSG_ALIGN(n) __DARWIN_ALIGN32(n) macro
|
D | sctp_output.c | 3594 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { 3596 if (rem_len < (int)CMSG_ALIGN(sizeof(cmh))) { 3601 if (cmh.cmsg_len < CMSG_ALIGN(sizeof(cmh))) { 3609 cmsg_data_len = (int)cmh.cmsg_len - CMSG_ALIGN(sizeof(cmh)); 3610 cmsg_data_off = off + CMSG_ALIGN(sizeof(cmh)); 3697 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { 3699 if (rem_len < (int)CMSG_ALIGN(sizeof(cmh))) { 3705 if (cmh.cmsg_len < CMSG_ALIGN(sizeof(cmh))) { 3715 cmsg_data_len = (int)cmh.cmsg_len - CMSG_ALIGN(sizeof(cmh)); 3716 cmsg_data_off = off + CMSG_ALIGN(sizeof(cmh)); [all …]
|
/external/rust/crates/libc/src/vxworks/ |
D | mod.rs | 1032 pub {const} fn CMSG_ALIGN(len: usize) -> usize { 1038 let next = cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize) 1039 + CMSG_ALIGN(::mem::size_of::<::cmsghdr>()); 1043 (cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize)) 1060 .offset(CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize) 1064 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>())) 1069 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length
|
/external/iputils/ |
D | ping6.c | 859 cmsglen += CMSG_ALIGN(space); in main() 1212 char freq_buf[CMSG_ALIGN(sizeof(struct in6_flowlabel_req)) + cmsglen]; in main() 1217 freq_len = CMSG_ALIGN(sizeof(*freq)) + srcrt->cmsg_len; in main() 1227 memcpy(freq_buf + CMSG_ALIGN(sizeof(*freq)), srcrt, srcrt->cmsg_len); in main()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | buffer_list.cc | 101 constexpr int64_t cmsg_hdr_len = CMSG_ALIGN(sizeof(struct cmsghdr)); in extract_opt_stats_from_cmsg()
|
/external/rust/crates/libc/src/unix/linux_like/ |
D | mod.rs | 1323 {const} fn CMSG_ALIGN(len: usize) -> usize { 1342 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>())) 1347 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length
|
/external/python/cpython2/Lib/plat-atheos/ |
D | IN.py | 687 def CMSG_ALIGN(len): return ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) ) function
|
/external/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 3259 pub {const} fn CMSG_ALIGN(len: ::size_t) -> ::size_t { 3265 (CMSG_ALIGN(len as ::size_t) + CMSG_ALIGN(::mem::size_of::<cmsghdr>())) 3270 (CMSG_ALIGN(::mem::size_of::<cmsghdr>()) + len as ::size_t) as ::c_uint
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 2822 super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) 2827 next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max
|
/external/rust/crates/libc/src/unix/linux_like/emscripten/ |
D | mod.rs | 1699 super::CMSG_ALIGN((*cmsg).cmsg_len as usize))
|
/external/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 2296 + super::CMSG_ALIGN((*cmsg).cmsg_len as usize))
|