/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | layout_cmdline_token.rs | 22 ::std::mem::size_of::<cmdline_token_hdr>(), in bindgen_test_layout_cmdline_token_hdr() 123 ::std::mem::size_of::<cmdline_token_ops>(), in bindgen_test_layout_cmdline_token_ops() 203 ::std::mem::size_of::<cmdline_token_num_data>(), in bindgen_test_layout_cmdline_token_num_data() 244 ::std::mem::size_of::<cmdline_token_num>(), in bindgen_test_layout_cmdline_token_num()
|
H A D | issue-1285.rs | 25 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1() 70 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | issue-1498.rs | 39 ::std::mem::size_of::<rte_memseg__bindgen_ty_1>(), in bindgen_test_layout_rte_memseg__bindgen_ty_1() 84 ::std::mem::size_of::<rte_memseg>(), in bindgen_test_layout_rte_memseg()
|
H A D | struct_typedef.rs | 19 ::std::mem::size_of::<typedef_named_struct>(), in bindgen_test_layout_typedef_named_struct() 52 ::std::mem::size_of::<_bindgen_ty_1>(), in bindgen_test_layout__bindgen_ty_1()
|
H A D | struct_typedef_ns.rs | 26 ::std::mem::size_of::<typedef_struct>(), in bindgen_test_layout_typedef_struct() 68 ::std::mem::size_of::<_bindgen_ty_1>(), in bindgen_test_layout__bindgen_ty_1()
|
H A D | struct_with_anon_union.rs | 25 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1() 70 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | use-core.rs | 23 ::core::mem::size_of::<foo>(), in bindgen_test_layout_foo() 69 ::core::mem::size_of::<_bindgen_ty_1>(), in bindgen_test_layout__bindgen_ty_1()
|
H A D | unsorted-items.rs | 27 ::std::mem::size_of::<Point>(), in bindgen_test_layout_Point() 59 ::std::mem::size_of::<Angle>(), in bindgen_test_layout_Angle()
|
H A D | duplicated-namespaces-definitions.rs | 27 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar() 76 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
|
H A D | union_with_anon_unnamed_struct.rs | 28 ::std::mem::size_of::<pixel__bindgen_ty_1>(), in bindgen_test_layout_pixel__bindgen_ty_1() 84 ::std::mem::size_of::<pixel>(), in bindgen_test_layout_pixel()
|
H A D | union_with_anon_unnamed_union.rs | 26 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1() 71 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | union_with_anon_union.rs | 25 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1() 70 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | repr-align.rs | 22 ::std::mem::size_of::<a>(), in bindgen_test_layout_a() 55 ::std::mem::size_of::<b>(), in bindgen_test_layout_b()
|
H A D | c_naming.rs | 19 ::std::mem::size_of::<struct_a>(), in bindgen_test_layout_struct_a() 52 ::std::mem::size_of::<union_b>(), in bindgen_test_layout_union_b()
|
H A D | derive-hash-blocklisting.rs | 27 ::std::mem::size_of::<AllowlistedOne>(), in bindgen_test_layout_AllowlistedOne() 67 ::std::mem::size_of::<AllowlistedTwo>(), in bindgen_test_layout_AllowlistedTwo()
|
H A D | explicit-padding.rs | 23 ::std::mem::size_of::<pad_me>(), in bindgen_test_layout_pad_me() 76 ::std::mem::size_of::<dont_pad_me>(), in bindgen_test_layout_dont_pad_me()
|
H A D | issue-648-derive-debug-with-padding.rs | 22 ::std::mem::size_of::<NoDebug>(), in bindgen_test_layout_NoDebug() 73 ::std::mem::size_of::<ShouldDeriveDebugButDoesNot>(), in bindgen_test_layout_ShouldDeriveDebugButDoesNot()
|
H A D | opaque-template-inst-member.rs | 26 ::std::mem::size_of::<ContainsOpaqueTemplate>(), in bindgen_test_layout_ContainsOpaqueTemplate() 83 ::std::mem::size_of::<InheritsOpaqueTemplate>(), in bindgen_test_layout_InheritsOpaqueTemplate()
|
H A D | opaque-template-inst-member-2.rs | 28 ::std::mem::size_of::<ContainsOpaqueTemplate>(), in bindgen_test_layout_ContainsOpaqueTemplate() 71 ::std::mem::size_of::<InheritsOpaqueTemplate>(), in bindgen_test_layout_InheritsOpaqueTemplate()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
H A D | vdso.rs | 20 use core::mem::size_of; 112 if phdr.p_offset < size_of::<Elf_Ehdr>() { in init_from_sysinfo_ehdr() 118 num_dyn = phdr.p_memsz / size_of::<Elf_Dyn>(); in init_from_sysinfo_ehdr() 167 if d.d_val != size_of::<Elf_Sym>() { in init_from_sysinfo_ehdr()
|
/third_party/rust/crates/once_cell/src/ |
H A D | imp_std.rs | 421 use std::mem::size_of; in test_size() 423 assert_eq!(size_of::<OnceCell<u32>>(), 4 * size_of::<u32>()); in test_size()
|
/third_party/rust/crates/aho-corasick/src/packed/ |
H A D | rabinkarp.rs | 137 self.buckets.len() * mem::size_of::<Vec<(Hash, PatternID)>>() in heap_bytes() 138 + num_patterns * mem::size_of::<(Hash, PatternID)>() in heap_bytes()
|
/third_party/rust/crates/cxx/src/ |
H A D | rust_vec.rs | 15 repr: [MaybeUninit<usize>; mem::size_of::<Vec<c_void>>() / mem::size_of::<usize>()],
|
/third_party/rust/crates/rustix/tests/process/ |
H A D | weak.rs | 62 assert_eq!(mem::size_of::<F>(), mem::size_of::<usize>());
|
/third_party/rust/crates/rustix/src/backend/linux_raw/param/ |
H A D | mustang_auxv.rs | 13 use core::mem::size_of; 138 AT_PHENT => assert_eq!(a_val as usize, size_of::<Elf_Phdr>()), in init_from_auxp()
|