/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | layout_kni_mbuf.rs | 41 ::std::mem::size_of::<rte_kni_mbuf>(), in bindgen_test_layout_rte_kni_mbuf()
|
H A D | bitfield-enum-basic.rs | 160 ::std::mem::size_of::<Dummy>(), in bindgen_test_layout_Dummy()
|
H A D | bitfield-method-same-name.rs | 103 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
|
H A D | bitfield-linux-32.rs | 107 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
|
H A D | char.rs | 33 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
|
H A D | derive-bitfield-method-same-name.rs | 111 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
|
H A D | derive-debug-bitfield.rs | 107 ::std::mem::size_of::<C>(), in bindgen_test_layout_C()
|
H A D | derive-debug-bitfield-core.rs | 109 ::core::mem::size_of::<C>(), in bindgen_test_layout_C()
|
H A D | test_mixed_header_and_header_contents.rs | 40 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
|
H A D | test_multiple_header_calls_in_builder.rs | 34 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
|
H A D | only_bitfields.rs | 103 ::std::mem::size_of::<C>(), in bindgen_test_layout_C()
|
H A D | timex.rs | 107 ::std::mem::size_of::<timex>(), in bindgen_test_layout_timex() 149 ::std::mem::size_of::<timex_named>(), in bindgen_test_layout_timex_named()
|
H A D | issue-1382-rust-primitive-types.rs | 40 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
|
H A D | bitfield_align_2.rs | 113 ::std::mem::size_of::<TaggedPtr>(), in bindgen_test_layout_TaggedPtr()
|
H A D | issue-739-pointer-wide-bitfield.rs | 105 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
|
H A D | packed-bitfield.rs | 103 ::std::mem::size_of::<Date>(), in bindgen_test_layout_Date()
|
H A D | derive-partialeq-bitfield.rs | 107 ::std::mem::size_of::<C>(), in bindgen_test_layout_C()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/ |
H A D | aarch64.rs | 40 pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_longlong>() - 1;
|
H A D | riscv64.rs | 42 pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_longlong>() - 1;
|
/third_party/rust/crates/nix/src/ |
H A D | ifaddrs.rs | 74 u8::try_from(mem::size_of::<libc::sockaddr_storage>()).unwrap(); in workaround_xnu_bug()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | syscalls.rs | 38 super::super::conv::{opt_ref, size_of}, 553 size_of::<sigset_t, _>()
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | mod.rs | 802 ::mem::size_of::<siginfo_fault>() / ::mem::size_of::<::c_int>() in data_field_count() 804 ::SIGCLD => ::mem::size_of::<siginfo_sigcld>() / ::mem::size_of::<::c_int>(), in data_field_count() 817 | ::SIGURG => ::mem::size_of::<siginfo_kill>() / ::mem::size_of::<::c_int>(), in data_field_count() 2585 const _CMSG_DATA_ALIGNMENT: usize = ::mem::size_of::<::c_int>(); 2603 _CMSG_DATA_ALIGN(::mem::size_of::<::cmsghdr>()) as ::c_uint + length in CMSG_LEN() 2607 if ((*mhdr).msg_controllen as usize) < ::mem::size_of::<::cmsghdr>() { in CMSG_FIRSTHDR() 2621 + ::mem::size_of in CMSG_NXTHDR() [all...] |
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | syscalls.rs | 13 ret_c_uint, ret_owned_fd, ret_usize, size_of, slice_mut, zero, 107 size_of::<open_how, _>() 121 size_of::<open_how, _>() 783 size_of::<StatFs, _>(), 814 size_of::<StatFs, _>(),
|
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | mod.rs | 1466 len + ::mem::size_of::<usize>() - 1 & !(::mem::size_of::<usize>() - 1) 1472 if (*mhdr).msg_controllen as usize >= ::mem::size_of::<cmsghdr>() { in CMSG_FIRSTHDR() 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() 1499 + CMSG_ALIGN(::mem::size_of::<::cmsghdr>()); in CMSG_NXTHDR()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
H A D | conv.rs | 91 /// Pass the `mem::size_of` of a type. 93 pub(super) fn size_of<'a, T: Sized, Num: ArgNumber>() -> ArgReg<'a, Num> { 94 pass_usize(core::mem::size_of::<T>())
|