Home
last modified time | relevance | path

Searched refs:CMSG_ALIGN (Results 1 – 15 of 15) sorted by relevance

/external/strace/tests/
Dmsg_control.c63 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()
Dinet-cmsg.c68 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts()
/external/strace/tests-mx32/
Dmsg_control.c63 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()
Dinet-cmsg.c68 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts()
/external/strace/tests-m32/
Dmsg_control.c63 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()
Dinet-cmsg.c68 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts()
/external/crosvm/sys_util/src/
Dsock_ctrl_msg.rs26 macro_rules! CMSG_ALIGN { macro
34 size_of::<cmsghdr>() + CMSG_ALIGN!($len)
58 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/uclibc/arm/
Dmod.rs970 fn CMSG_ALIGN(len: usize) -> usize { in CMSG_ALIGN() function
988 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>()))
993 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length
1002 CMSG_ALIGN((*cmsg).cmsg_len as usize))
1007 next as usize + CMSG_ALIGN((*next).cmsg_len as usize) > max
/external/rust/crates/libc/src/vxworks/
Dmod.rs1011 pub fn CMSG_ALIGN(len: usize) -> usize {
1017 let next = cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize)
1018 + CMSG_ALIGN(::mem::size_of::<::cmsghdr>());
1022 (cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize))
1039 .offset(CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize)
1043 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>()))
1048 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length
/external/iputils/
Dping6.c859 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/libc/src/unix/linux_like/
Dmod.rs1193 {const} fn CMSG_ALIGN(len: usize) -> usize {
1212 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>()))
1217 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length
/external/python/cpython2/Lib/plat-atheos/
DIN.py687 def CMSG_ALIGN(len): return ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) ) function
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs2318 super::CMSG_ALIGN((*cmsg).cmsg_len as usize))
2323 next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max
/external/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs1654 super::CMSG_ALIGN((*cmsg).cmsg_len as usize))
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2001 + super::CMSG_ALIGN((*cmsg).cmsg_len as usize))