/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | socket.h | 360 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) macro 361 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr))) 362 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
|
/third_party/musl/include/sys/ |
D | socket.h | 362 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) macro 363 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr))) 364 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | socket.h | 360 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) macro 361 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr))) 362 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
|
/third_party/musl/porting/linux/user/include/sys/ |
D | socket.h | 366 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) macro 367 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr))) 368 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
D | socket.h | 351 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) macro 352 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr))) 353 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | socket.h | 362 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) macro 363 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr))) 364 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
|
/third_party/musl/ndk_musl_include/sys/ |
D | socket.h | 364 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) macro 365 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr))) 366 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | socket.h | 360 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) macro 361 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr))) 362 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
|
/third_party/rust/crates/linux-raw-sys/src/ |
D | lib.rs | 88 pub unsafe fn CMSG_ALIGN(len: c_uint) -> c_uint { in CMSG_ALIGN() function 98 size_of::<cmsghdr>() as c_uint + CMSG_ALIGN(len) in CMSG_SPACE() 118 … let next_cmsg = (cmsg as *mut u8).offset(CMSG_ALIGN(cmsg_len as _) as isize) as *mut cmsghdr; in CMSG_NXTHDR() 125 …if next_cmsg.offset(1) as usize > max || next_cmsg as usize + CMSG_ALIGN(cmsg_len as _) as usize >… in CMSG_NXTHDR()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_os_userspace.h | 246 #define CMSG_ALIGN(x) WSA_CMSGDATA_ALIGN(x) macro 1069 #define CMSG_ALIGN(n) _ALIGN(n) macro 1071 #define CMSG_ALIGN(n) (((n) + __ALIGNBYTES) & ~__ALIGNBYTES) macro 1088 #define CMSG_ALIGN(n) __DARWIN_ALIGN32(n) macro
|
D | sctp_output.c | 3588 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { 3590 if (rem_len < (int)CMSG_ALIGN(sizeof(cmh))) { 3595 if (cmh.cmsg_len < CMSG_ALIGN(sizeof(cmh))) { 3603 cmsg_data_len = (int)cmh.cmsg_len - CMSG_ALIGN(sizeof(cmh)); 3604 cmsg_data_off = off + CMSG_ALIGN(sizeof(cmh)); 3691 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { 3693 if (rem_len < (int)CMSG_ALIGN(sizeof(cmh))) { 3699 if (cmh.cmsg_len < CMSG_ALIGN(sizeof(cmh))) { 3709 cmsg_data_len = (int)cmh.cmsg_len - CMSG_ALIGN(sizeof(cmh)); 3710 cmsg_data_off = off + CMSG_ALIGN(sizeof(cmh)); [all …]
|
/third_party/rust/crates/libc/src/vxworks/ |
D | mod.rs | 1039 pub {const} fn CMSG_ALIGN(len: usize) -> usize { 1045 let next = cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize) 1046 + CMSG_ALIGN(::mem::size_of::<::cmsghdr>()); 1050 (cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize)) 1067 .offset(CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize) 1071 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>())) 1076 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length
|
/third_party/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 1465 {const} fn CMSG_ALIGN(len: usize) -> usize { 1481 .offset(CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize) 1485 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>())) 1490 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length 1498 let next = cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize) 1499 + CMSG_ALIGN(::mem::size_of::<::cmsghdr>()); 1505 (cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize))
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
D | mod.rs | 1514 {const} fn CMSG_ALIGN(len: usize) -> usize { 1533 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>())) 1538 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length
|
/third_party/rust/crates/libc/libc-test/semver/ |
D | fuchsia.txt | 136 CMSG_ALIGN
|
/third_party/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 3263 pub {const} fn CMSG_ALIGN(len: ::size_t) -> ::size_t { 3269 (CMSG_ALIGN(len as ::size_t) + CMSG_ALIGN(::mem::size_of::<cmsghdr>())) 3274 (CMSG_ALIGN(::mem::size_of::<cmsghdr>()) + len as ::size_t) as ::c_uint
|
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/ |
D | mod.rs | 1681 super::CMSG_ALIGN((*cmsg).cmsg_len as usize))
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 3601 super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) 3606 next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 2992 + super::CMSG_ALIGN((*cmsg).cmsg_len as usize))
|