Home
last modified time | relevance | path

Searched refs:size_of (Results 376 - 400 of 437) sorted by relevance

1...<<1112131415161718

/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dlayout_kni_mbuf.rs41 ::std::mem::size_of::<rte_kni_mbuf>(), in bindgen_test_layout_rte_kni_mbuf()
H A Dbitfield-enum-basic.rs160 ::std::mem::size_of::<Dummy>(), in bindgen_test_layout_Dummy()
H A Dbitfield-method-same-name.rs103 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
H A Dbitfield-linux-32.rs107 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
H A Dchar.rs33 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
H A Dderive-bitfield-method-same-name.rs111 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
H A Dderive-debug-bitfield.rs107 ::std::mem::size_of::<C>(), in bindgen_test_layout_C()
H A Dderive-debug-bitfield-core.rs109 ::core::mem::size_of::<C>(), in bindgen_test_layout_C()
H A Dtest_mixed_header_and_header_contents.rs40 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
H A Dtest_multiple_header_calls_in_builder.rs34 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
H A Donly_bitfields.rs103 ::std::mem::size_of::<C>(), in bindgen_test_layout_C()
H A Dtimex.rs107 ::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 Dissue-1382-rust-primitive-types.rs40 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
H A Dbitfield_align_2.rs113 ::std::mem::size_of::<TaggedPtr>(), in bindgen_test_layout_TaggedPtr()
H A Dissue-739-pointer-wide-bitfield.rs105 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
H A Dpacked-bitfield.rs103 ::std::mem::size_of::<Date>(), in bindgen_test_layout_Date()
H A Dderive-partialeq-bitfield.rs107 ::std::mem::size_of::<C>(), in bindgen_test_layout_C()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
H A Daarch64.rs40 pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_longlong>() - 1;
H A Driscv64.rs42 pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_longlong>() - 1;
/third_party/rust/crates/nix/src/
H A Difaddrs.rs74 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 Dsyscalls.rs38 super::super::conv::{opt_ref, size_of},
553 size_of::<sigset_t, _>()
/third_party/rust/crates/libc/src/unix/solarish/
H A Dmod.rs802 ::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 Dsyscalls.rs13 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 Dmod.rs1466 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 Dconv.rs91 /// 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>())

Completed in 24 milliseconds

1...<<1112131415161718