Home
last modified time | relevance | path

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

/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dsocket.h360 #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/liteos_a_newlib/kernel/include/sys/
H A Dsocket.h351 #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_m/kernel/include/sys/
H A Dsocket.h360 #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/liteos_a/kernel/include/sys/
H A Dsocket.h362 #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/linux/user/include/sys/
H A Dsocket.h366 #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/uniproton/kernel/include/sys/
H A Dsocket.h360 #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/
H A Dsocket.h365 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) macro
366 #define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr)))
367 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
/third_party/rust/crates/linux-raw-sys/src/
H A Dlib.rs88 pub unsafe fn CMSG_ALIGN(len: c_uint) -> c_uint { in CMSG_ALIGN() functions
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 > max in CMSG_NXTHDR()
/third_party/rust/crates/libc/src/vxworks/
H A Dmod.rs1039 pub {const} fn CMSG_ALIGN(len: usize) -> usize {
1045 let next = cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize) in CMSG_NXTHDR()
1046 + CMSG_ALIGN(::mem::size_of::<::cmsghdr>()); in CMSG_NXTHDR()
1050 (cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize)) in CMSG_NXTHDR()
1067 .offset(CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize) in CMSG_DATA()
1071 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>()))
1076 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length in CMSG_LEN()
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs1465 {const} fn CMSG_ALIGN(len: usize) -> usize {
1481 .offset(CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize) in CMSG_DATA()
1485 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>()))
1490 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length in CMSG_LEN()
1498 let next = cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize) in CMSG_NXTHDR()
1499 + CMSG_ALIGN(::mem::size_of::<::cmsghdr>()); in CMSG_NXTHDR()
1505 (cmsg as usize + CMSG_ALIGN((*cmsg).cmsg_len as usize)) in CMSG_NXTHDR()
/third_party/rust/crates/libc/src/unix/linux_like/
H A Dmod.rs1514 {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 in CMSG_LEN()
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs3263 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 in CMSG_LEN()
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
H A Dmod.rs1681 super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) in CMSG_NXTHDR()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs3601 super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) in CMSG_NXTHDR()
3606 next as usize + super::CMSG_ALIGN((*next).cmsg_len as usize) > max in CMSG_NXTHDR()
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs2992 + super::CMSG_ALIGN((*cmsg).cmsg_len as usize)) in CMSG_NXTHDR()

Completed in 87 milliseconds