| /rust-libc-0.2.174/libc-test/src/ |
| H A D | cmsg.c | 17 size_t cmsg_space(size_t length) { in cmsg_space() argument 18 return CMSG_SPACE(length); in cmsg_space() 21 size_t cmsg_len(size_t length) { in cmsg_len() argument 22 return CMSG_LEN(length); in cmsg_len()
|
| /rust-libc-0.2.174/src/unix/linux_like/emscripten/ |
| H A D | lfs64.rs | 75 pub unsafe extern "C" fn ftruncate64(fd: c_int, length: off64_t) -> c_int { in ftruncate64() 76 crate::ftruncate(fd, length) in ftruncate64() 97 length: size_t, in mmap64() 103 crate::mmap(addr, length, prot, flags, fd, offset) in mmap64() 209 pub unsafe extern "C" fn truncate64(path: *const c_char, length: off64_t) -> c_int { in truncate64() 210 crate::truncate(path, length) in truncate64()
|
| /rust-libc-0.2.174/src/unix/linux_like/linux/musl/ |
| H A D | lfs64.rs | 83 pub unsafe extern "C" fn ftruncate64(fd: c_int, length: off64_t) -> c_int { in ftruncate64() 84 crate::ftruncate(fd, length) in ftruncate64() 105 length: size_t, in mmap64() 111 crate::mmap(addr, length, prot, flags, fd, offset) in mmap64() 237 pub unsafe extern "C" fn truncate64(path: *const c_char, length: off64_t) -> c_int { in truncate64() 238 crate::truncate(path, length) in truncate64()
|
| /rust-libc-0.2.174/libc-test/test/ |
| H A D | cmsg.rs | 16 pub fn cmsg_space(length: c_uint) -> usize; in cmsg_space() 17 pub fn cmsg_len(length: c_uint) -> usize; in cmsg_len()
|
| /rust-libc-0.2.174/src/wasi/ |
| H A D | p2.rs | 151 length: size_t, in sendto() 159 length: size_t, in recvfrom()
|
| H A D | mod.rs | 693 pub fn truncate(path: *const c_char, length: off_t) -> c_int; in truncate() 694 pub fn ftruncate(fd: c_int, length: off_t) -> c_int; in ftruncate()
|
| /rust-libc-0.2.174/src/vxworks/ |
| H A D | mod.rs | 1104 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 1105 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(mem::size_of::<cmsghdr>())) as c_uint 1108 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 1109 CMSG_ALIGN(mem::size_of::<cmsghdr>()) as c_uint + length 1258 pub fn truncate(path: *const c_char, length: off_t) -> c_int; in truncate() 1431 pub fn ftruncate(fd: c_int, length: off_t) -> c_int; in ftruncate() 1890 pub fn randBytes(buf: *mut c_uchar, length: c_int) -> c_int; in randBytes() 1891 pub fn randABytes(buf: *mut c_uchar, length: c_int) -> c_int; in randABytes() 1892 pub fn randUBytes(buf: *mut c_uchar, length: c_int) -> c_int; in randUBytes()
|
| /rust-libc-0.2.174/ |
| H A D | .release-plz.toml | 22 {% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
|
| /rust-libc-0.2.174/src/unix/bsd/freebsdlike/freebsd/ |
| H A D | mod.rs | 764 pub length: size_t, 1621 pub length: u16, 1628 pub length: u16, 2142 return { self.code } == { other.code } && { self.length } == { other.length } && { 2154 { self.length }.hash(state); 2161 return { self.code } == { other.code } && { self.length } == { other.length }; 2168 { self.length }.hash(state); 4658 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 4659 _ALIGN(mem::size_of::<cmsghdr>()) as c_uint + length 4676 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { [all …]
|
| /rust-libc-0.2.174/src/unix/haiku/ |
| H A D | mod.rs | 1525 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 1526 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(mem::size_of::<cmsghdr>())) as c_uint 1529 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 1530 CMSG_ALIGN(mem::size_of::<cmsghdr>()) as c_uint + length 2028 length: size_t, in strncasecmp_l() 2088 length: size_t, in pthread_getname_np()
|
| H A D | native.rs | 1046 length: crate::bigtime_t, in suggest_thread_priority() 1231 pub fn clear_caches(address: *mut c_void, length: size_t, flags: u32); in clear_caches() 1292 length: i32, in find_directory()
|
| /rust-libc-0.2.174/src/unix/linux_like/ |
| H A D | mod.rs | 1803 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 1804 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(mem::size_of::<cmsghdr>())) as c_uint 1807 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 1808 CMSG_ALIGN(mem::size_of::<cmsghdr>()) as c_uint + length 2093 pub fn ftruncate64(fd: c_int, length: off64_t) -> c_int; 2128 pub fn truncate64(path: *const c_char, length: off64_t) -> c_int;
|
| /rust-libc-0.2.174/src/unix/bsd/freebsdlike/dragonfly/ |
| H A D | mod.rs | 1433 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 1434 (_CMSG_ALIGN(mem::size_of::<cmsghdr>()) + length as usize) as c_uint 1449 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 1450 (_CMSG_ALIGN(mem::size_of::<cmsghdr>()) + _CMSG_ALIGN(length as usize)) as c_uint
|
| /rust-libc-0.2.174/src/unix/aix/ |
| H A D | mod.rs | 2465 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 2466 mem::size_of::<cmsghdr>() as c_uint + length 2469 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 2470 mem::size_of::<cmsghdr>() as c_uint + length 2915 pub fn ftruncate64(fd: c_int, length: off64_t) -> c_int; in ftruncate64() 3292 pub fn statx(path: *mut c_char, buf: *mut stat, length: c_int, command: c_int) -> c_int; in statx() 3308 length: size_t, in strncasecmp_l() 3332 pub fn truncate64(path: *const c_char, length: off64_t) -> c_int; in truncate64()
|
| /rust-libc-0.2.174/src/unix/bsd/netbsdlike/openbsd/ |
| H A D | mod.rs | 1865 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 1866 _ALIGN(mem::size_of::<cmsghdr>()) as c_uint + length 1883 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 1884 (_ALIGN(mem::size_of::<cmsghdr>()) + _ALIGN(length as usize)) as c_uint
|
| /rust-libc-0.2.174/src/unix/cygwin/ |
| H A D | mod.rs | 1853 pub fn CMSG_LEN(length: c_uint) -> c_uint { 1854 CMSG_ALIGN(::core::mem::size_of::<cmsghdr>()) as c_uint + length 1857 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 1858 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::core::mem::size_of::<cmsghdr>())) as c_uint
|
| /rust-libc-0.2.174/src/unix/redox/ |
| H A D | mod.rs | 1025 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 1026 (CMSG_ALIGN(mem::size_of::<cmsghdr>()) + length as usize) as c_uint
|
| /rust-libc-0.2.174/src/unix/bsd/netbsdlike/netbsd/ |
| H A D | mod.rs | 2291 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 2292 _ALIGN(mem::size_of::<cmsghdr>()) as c_uint + length 2309 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 2310 (_ALIGN(mem::size_of::<cmsghdr>()) + _ALIGN(length as usize)) as c_uint
|
| /rust-libc-0.2.174/src/unix/nto/ |
| H A D | mod.rs | 2643 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 2644 _CMSG_ALIGN(mem::size_of::<cmsghdr>()) as c_uint + length 2647 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 2648 (_CMSG_ALIGN(mem::size_of::<cmsghdr>()) + _CMSG_ALIGN(length as usize)) as c_uint
|
| H A D | neutrino.rs | 149 pub length: c_uint,
|
| /rust-libc-0.2.174/src/unix/solarish/ |
| H A D | mod.rs | 2410 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 2411 _CMSG_DATA_ALIGN(mem::size_of::<cmsghdr>()) as c_uint + length 2436 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 2437 _CMSG_HDR_ALIGN(size_of::<cmsghdr>() as usize + length as usize) as c_uint
|
| /rust-libc-0.2.174/src/ |
| H A D | psp.rs | 3816 pub fn sceNetAdhocctlGetPeerList(length: *mut i32, buf: *mut c_void) -> i32; in sceNetAdhocctlGetPeerList() 3823 pub fn sceNetAdhocctlGetScanInfo(length: *mut i32, buf: *mut c_void) -> i32; in sceNetAdhocctlGetScanInfo() 3829 length: *mut i32, in sceNetAdhocctlGetAddrByName() 3966 length: *mut i32, in sceNetAdhocMatchingGetMembers()
|
| /rust-libc-0.2.174/src/unix/ |
| H A D | mod.rs | 1217 pub fn truncate(path: *const c_char, length: off_t) -> c_int; in truncate() 1219 pub fn ftruncate(fd: c_int, length: off_t) -> c_int; in ftruncate()
|
| /rust-libc-0.2.174/src/unix/hurd/ |
| H A D | mod.rs | 3437 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 3438 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(mem::size_of::<cmsghdr>())) as c_uint 3441 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 3442 CMSG_ALIGN(mem::size_of::<cmsghdr>()) as c_uint + length
|
| /rust-libc-0.2.174/src/unix/bsd/apple/ |
| H A D | mod.rs | 5223 pub {const} fn CMSG_SPACE(length: c_uint) -> c_uint { 5224 (__DARWIN_ALIGN32(mem::size_of::<cmsghdr>()) + __DARWIN_ALIGN32(length as usize)) as c_uint 5227 pub {const} fn CMSG_LEN(length: c_uint) -> c_uint { 5228 (__DARWIN_ALIGN32(mem::size_of::<cmsghdr>()) + length as usize) as c_uint 5600 pub fn backtrace_async(array: *mut *mut c_void, length: size_t, task_id: *mut u32) -> size_t; in backtrace_async()
|