Home
last modified time | relevance | path

Searched refs:size_of (Results 151 - 175 of 457) sorted by relevance

12345678910>>...19

/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dlayout_cmdline_token.rs22 ::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 Dissue-1285.rs25 ::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 Dissue-1498.rs39 ::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 Dstruct_typedef.rs19 ::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 Dstruct_typedef_ns.rs26 ::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 Dstruct_with_anon_union.rs25 ::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 Duse-core.rs23 ::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 Dunsorted-items.rs27 ::std::mem::size_of::<Point>(), in bindgen_test_layout_Point()
59 ::std::mem::size_of::<Angle>(), in bindgen_test_layout_Angle()
H A Dduplicated-namespaces-definitions.rs27 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar()
76 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
H A Dunion_with_anon_unnamed_struct.rs28 ::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 Dunion_with_anon_unnamed_union.rs26 ::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 Dunion_with_anon_union.rs25 ::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 Drepr-align.rs22 ::std::mem::size_of::<a>(), in bindgen_test_layout_a()
55 ::std::mem::size_of::<b>(), in bindgen_test_layout_b()
H A Dc_naming.rs19 ::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 Dderive-hash-blocklisting.rs27 ::std::mem::size_of::<AllowlistedOne>(), in bindgen_test_layout_AllowlistedOne()
67 ::std::mem::size_of::<AllowlistedTwo>(), in bindgen_test_layout_AllowlistedTwo()
H A Dexplicit-padding.rs23 ::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 Dissue-648-derive-debug-with-padding.rs22 ::std::mem::size_of::<NoDebug>(), in bindgen_test_layout_NoDebug()
73 ::std::mem::size_of::<ShouldDeriveDebugButDoesNot>(), in bindgen_test_layout_ShouldDeriveDebugButDoesNot()
H A Dopaque-template-inst-member.rs26 ::std::mem::size_of::<ContainsOpaqueTemplate>(), in bindgen_test_layout_ContainsOpaqueTemplate()
83 ::std::mem::size_of::<InheritsOpaqueTemplate>(), in bindgen_test_layout_InheritsOpaqueTemplate()
H A Dopaque-template-inst-member-2.rs28 ::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 Dvdso.rs20 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 Dimp_std.rs421 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 Drabinkarp.rs137 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 Drust_vec.rs15 repr: [MaybeUninit<usize>; mem::size_of::<Vec<c_void>>() / mem::size_of::<usize>()],
/third_party/rust/crates/rustix/tests/process/
H A Dweak.rs62 assert_eq!(mem::size_of::<F>(), mem::size_of::<usize>());
/third_party/rust/crates/rustix/src/backend/linux_raw/param/
H A Dmustang_auxv.rs13 use core::mem::size_of;
138 AT_PHENT => assert_eq!(a_val as usize, size_of::<Elf_Phdr>()), in init_from_auxp()

Completed in 12 milliseconds

12345678910>>...19