/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | ctypes-prefix-path.rs | 28 ::core::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | derive-debug-mangle-name.rs | 27 ::std::mem::size_of::<perf_event_attr__bindgen_ty_1>(), in bindgen_test_layout_perf_event_attr__bindgen_ty_1() 77 ::std::mem::size_of::<perf_event_attr>(), in fmt()
|
H A D | bitfield_align.rs | 109 ::std::mem::size_of::<A>(), in bindgen_test_layout_A() 328 ::std::mem::size_of::<B>(), in bindgen_test_layout_B() 397 ::std::mem::size_of::<C>(), in bindgen_test_layout_C() 473 ::std::mem::size_of::<Date1>(), in bindgen_test_layout_Date1() 574 ::std::mem::size_of::<Date2>(), in bindgen_test_layout_Date2() 697 ::std::mem::size_of::<Date3>(), in bindgen_test_layout_Date3()
|
H A D | dynamic_loading_with_blocklist.rs | 19 ::std::mem::size_of::<X>(), in bindgen_test_layout_X()
|
H A D | dynamic_loading_with_class.rs | 19 ::std::mem::size_of::<A>(), in bindgen_test_layout_A()
|
H A D | constify-module-enums-simple-alias.rs | 35 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar()
|
H A D | issue-1076-unnamed-bitfield-alignment.rs | 103 ::std::mem::size_of::<S1>(), in bindgen_test_layout_S1()
|
H A D | issue-1034.rs | 103 ::std::mem::size_of::<S2>(), in bindgen_test_layout_S2()
|
H A D | convert-floats.rs | 30 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | namespace.rs | 40 ::std::mem::size_of::<A>(), in bindgen_test_layout_A()
|
H A D | issue-1291.rs | 34 ::std::mem::size_of::<RTCRay>(), in bindgen_test_layout_RTCRay()
|
H A D | enum-default-bitfield.rs | 50 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | bitfield_method_mangling.rs | 104 ::std::mem::size_of::<mach_msg_type_descriptor_t>(), in bindgen_test_layout_mach_msg_type_descriptor_t()
|
/third_party/rust/crates/nix/src/sys/ |
H A D | event.rs | 358 assert_eq!(mem::size_of::<libc::kevent>(), mem::size_of::<KEvent>()); in test_struct_kevent()
|
H A D | signalfd.rs | 35 #[deprecated(since = "0.23.0", note = "use mem::size_of::<siginfo>() instead")] 36 pub const SIGNALFD_SIGINFO_SIZE: usize = mem::size_of::<siginfo>();
|
/third_party/rust/crates/regex/src/literal/ |
H A D | imp.rs | 351 (self.dense.len() * mem::size_of::<u8>()) in approximate_size() 352 + (self.sparse.len() * mem::size_of::<bool>()) in approximate_size() 396 self.finder.needle().len() * mem::size_of::<u8>() in approximate_size()
|
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
H A D | mod.rs | 4920 const __DARWIN_ALIGNBYTES32: usize = ::mem::size_of::<u32>() - 1; 4925 const __DARWIN_ALIGNBYTES32: usize = ::mem::size_of::<u32>() - 1; in __DARWIN_ALIGN32() 4930 let __DARWIN_ALIGNBYTES32: usize = ::mem::size_of::<u32>() - 1; in __DARWIN_ALIGN32() 4939 (::mem::size_of::<thread_extended_policy_data_t>() / ::mem::size_of::<integer_t>()) 4942 (::mem::size_of::<thread_time_constraint_policy_data_t>() / 4943 ::mem::size_of::<integer_t>()) as mach_msg_type_number_t; 4945 (::mem::size_of::<thread_precedence_policy_data_t>() / ::mem::size_of::<integer_t>()) 4948 (::mem::size_of [all...] |
/third_party/node/deps/v8/third_party/ittapi/ittapi-rs/src/ |
H A D | ittnotify_bindings.rs | 121 ::std::mem::size_of::<max_align_t>(), in bindgen_test_layout_max_align_t() 189 ::std::mem::size_of::<__fsid_t>(), in bindgen_test_layout___fsid_t() 1042 ::std::mem::size_of::<___itt_domain>(), in bindgen_test_layout____itt_domain() 1132 ::std::mem::size_of::<___itt_id>(), in bindgen_test_layout____itt_id() 1225 ::std::mem::size_of::<___itt_string_handle>(), in bindgen_test_layout____itt_string_handle() 1784 ::std::mem::size_of::<___itt_clock_info>(), in bindgen_test_layout____itt_clock_info() 1837 ::std::mem::size_of::<___itt_clock_domain>(), in bindgen_test_layout____itt_clock_domain() 2402 ::std::mem::size_of::<___itt_track_group>(), in bindgen_test_layout____itt_track_group() 2496 ::std::mem::size_of::<___itt_track>(), in bindgen_test_layout____itt_track() 2758 ::std::mem::size_of in bindgen_test_layout____itt_section_info() [all...] |
/third_party/rust/crates/is-terminal/src/ |
H A D | lib.rs | 162 std::mem::size_of::<FILE_NAME_INFO>() as u32, in msys_tty_on()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
H A D | x86_64.rs | 117 pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_long>() - 1;
|
/third_party/rust/crates/nix/src/sys/ioctl/ |
H A D | bsd.rs | 79 ::std::mem::size_of::<$crate::libc::c_int>()
|
/third_party/rust/crates/libc/src/unix/nto/ |
H A D | mod.rs | 2179 pub const BPF_ALIGNMENT: usize = ::mem::size_of::<::c_long>(); 2379 pub const _SS_ALIGNSIZE: usize = ::mem::size_of::<i64>(); 2508 len + ::mem::size_of::<usize>() - 1 & !(::mem::size_of::<usize>() - 1) 2518 if (*mhdr).msg_controllen as usize >= ::mem::size_of::<cmsghdr>() { in CMSG_FIRSTHDR() 2529 let next = cmsg as usize + msg + _CMSG_ALIGN(::mem::size_of::<::cmsghdr>()); in CMSG_NXTHDR() 2539 .offset(_CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize) in CMSG_DATA() 2543 _CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as ::c_uint + length in CMSG_LEN() 2547 (_CMSG_ALIGN(::mem::size_of::<cmsghdr>()) + _CMSG_ALIGN(length as usize) ) 2585 let sz = _x as usize - _d as usize + ::mem::size_of in _DEXTRA_VALID() [all...] |
/third_party/rust/crates/regex/src/ |
H A D | compile.rs | 401 self.extra_inst_bytes += std::mem::size_of::<Inst>(); in c_empty() 458 use std::mem::size_of; in c_class() 470 ranges.len() * (size_of::<char>() * 2); in c_class() 835 use std::mem::size_of; in check_size() 838 self.extra_inst_bytes + (self.insts.len() * size_of::<Inst>()); in check_size()
|
H A D | dfa.rs | 440 self.size = (self.start_states.len() * mem::size_of::<StatePtr>()) in reset_size() 441 + (self.stack.len() * mem::size_of::<InstPtr>()); in reset_size() 1496 + (2 * mem::size_of::<State>()) in add_state() 1497 + mem::size_of::<StatePtr>(); in add_state() 1682 self.num_byte_classes * mem::size_of::<StatePtr>() in state_heap_size()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/ |
H A D | mod.rs | 1069 pub const CPU_SETSIZE: ::size_t = ::mem::size_of::<::cpumask_t>() * 8; 1523 (n + (::mem::size_of::<::c_long>() - 1)) & !(::mem::size_of::<::c_long>() - 1) 1530 .offset(_CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize) in CMSG_DATA() 1534 (_CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) + length as usize) in CMSG_LEN() 1542 + _CMSG_ALIGN(::mem::size_of::<::cmsghdr>()); in CMSG_NXTHDR() 1554 (_CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) +
|