/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | forward-declaration-autoptr.rs | 39 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar() 73 ::std::mem::size_of::<RefPtr<Foo>>(), in __bindgen_test_layout_RefPtr_open0_Foo_close0_instantiation()
|
H A D | union-align.rs | 20 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar() 56 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
|
H A D | issue-569-non-type-template-params-causing-layout-test-failures.rs | 39 ::std::mem::size_of::<JS_AutoIdVector>(), in bindgen_test_layout_JS_AutoIdVector() 61 ::std::mem::size_of::<JS_Base>(), in __bindgen_test_layout_JS_Base_open0_int_close0_instantiation()
|
H A D | union_with_anon_struct.rs | 25 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1() 61 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | issue-2019.rs | 19 ::std::mem::size_of::<A>(), in bindgen_test_layout_A() 55 ::std::mem::size_of::<B>(), in bindgen_test_layout_B()
|
H A D | struct_with_struct.rs | 25 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1() 61 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | anon_union.rs | 64 ::std::mem::size_of::<ErrorResult>(), in bindgen_test_layout_ErrorResult() 86 ::std::mem::size_of::<TErrorResult>(), in __bindgen_test_layout_TErrorResult_open0_int_close0_instantiation()
|
H A D | derive-partialeq-base.rs | 19 ::std::mem::size_of::<Base>(), in bindgen_test_layout_Base() 61 ::std::mem::size_of::<ShouldDerivePartialEq>(), in bindgen_test_layout_ShouldDerivePartialEq()
|
H A D | var-tracing.rs | 19 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar() 63 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
|
H A D | constructors_1_33.rs | 16 ::std::mem::size_of::<TestOverload>(), in bindgen_test_layout_TestOverload() 61 ::std::mem::size_of::<TestPublicNoArgs>(), in bindgen_test_layout_TestPublicNoArgs()
|
H A D | constructors.rs | 16 ::std::mem::size_of::<TestOverload>(), in bindgen_test_layout_TestOverload() 59 ::std::mem::size_of::<TestPublicNoArgs>(), in bindgen_test_layout_TestPublicNoArgs()
|
H A D | derive-hash-struct-with-anon-struct-float.rs | 26 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1() 62 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
|
H A D | inner_template_self.rs | 34 ::std::mem::size_of::<InstantiateIt>(), in bindgen_test_layout_InstantiateIt() 66 ::std::mem::size_of::<LinkedList>(), in __bindgen_test_layout_LinkedList_open0_int_close0_instantiation()
|
H A D | issue-674-3.rs | 29 ::std::mem::size_of::<a>(), in bindgen_test_layout_a() 55 ::std::mem::size_of::<nsCSSValue>(), in bindgen_test_layout_nsCSSValue()
|
H A D | layout_mbuf.rs | 113 ::std::mem::size_of::<rte_atomic16_t>(), in bindgen_test_layout_rte_atomic16_t() 200 ::std::mem::size_of::<rte_mbuf__bindgen_ty_1>(), in bindgen_test_layout_rte_mbuf__bindgen_ty_1() 258 ::std::mem::size_of::<rte_mbuf__bindgen_ty_2__bindgen_ty_1>(), in bindgen_test_layout_rte_mbuf__bindgen_ty_2__bindgen_ty_1() 418 ::std::mem::size_of::<rte_mbuf__bindgen_ty_2>(), in bindgen_test_layout_rte_mbuf__bindgen_ty_2() 487 assert_eq ! (:: std :: mem :: size_of :: < rte_mbuf__bindgen_ty_3__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 > () , 4usize , concat ! ("Size of: " , stringify ! (rte_mbuf__bindgen_ty_3__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1))); in bindgen_test_layout_rte_mbuf__bindgen_ty_3__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1() 499 ::std::mem::size_of::<rte_mbuf__bindgen_ty_3__bindgen_ty_1__bindgen_ty_1>( in bindgen_test_layout_rte_mbuf__bindgen_ty_3__bindgen_ty_1__bindgen_ty_1() 544 ::std::mem::size_of::<rte_mbuf__bindgen_ty_3__bindgen_ty_1>(), in bindgen_test_layout_rte_mbuf__bindgen_ty_3__bindgen_ty_1() 592 ::std::mem::size_of::<rte_mbuf__bindgen_ty_3__bindgen_ty_2>(), in bindgen_test_layout_rte_mbuf__bindgen_ty_3__bindgen_ty_2() 634 ::std::mem::size_of::<rte_mbuf__bindgen_ty_3>(), in bindgen_test_layout_rte_mbuf__bindgen_ty_3() 707 ::std::mem::size_of in bindgen_test_layout_rte_mbuf__bindgen_ty_4() [all...] |
H A D | layout_array_too_long.rs | 42 ::std::mem::size_of::<ip_frag>(), in bindgen_test_layout_ip_frag() 108 ::std::mem::size_of::<ip_frag_key>(), in bindgen_test_layout_ip_frag_key() 181 ::std::mem::size_of::<ip_frag_pkt__bindgen_ty_1>(), in bindgen_test_layout_ip_frag_pkt__bindgen_ty_1() 230 ::std::mem::size_of::<ip_frag_pkt>(), in bindgen_test_layout_ip_frag_pkt()
|
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 | jsval_layout_opaque_1_0.rs | 245 ::std::mem::size_of::<jsval_layout__bindgen_ty_1>(), in bindgen_test_layout_jsval_layout__bindgen_ty_1() 334 ::std::mem::size_of::<jsval_layout__bindgen_ty_2__bindgen_ty_1>(), in bindgen_test_layout_jsval_layout__bindgen_ty_2__bindgen_ty_1() 391 ::std::mem::size_of::<jsval_layout__bindgen_ty_2>(), in bindgen_test_layout_jsval_layout__bindgen_ty_2() 422 ::std::mem::size_of::<jsval_layout>(), in bindgen_test_layout_jsval_layout() 524 ::std::mem::size_of::<Value>(), in bindgen_test_layout_Value()
|
H A D | jsval_layout_opaque.rs | 201 ::std::mem::size_of::<jsval_layout__bindgen_ty_1>(), in bindgen_test_layout_jsval_layout__bindgen_ty_1() 284 ::std::mem::size_of::<jsval_layout__bindgen_ty_2__bindgen_ty_1>(), in bindgen_test_layout_jsval_layout__bindgen_ty_2__bindgen_ty_1() 345 ::std::mem::size_of::<jsval_layout__bindgen_ty_2>(), in bindgen_test_layout_jsval_layout__bindgen_ty_2() 380 ::std::mem::size_of::<jsval_layout>(), in bindgen_test_layout_jsval_layout() 486 ::std::mem::size_of::<Value>(), in bindgen_test_layout_Value()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/ |
H A D | type_alias_template_specialized.rs | 19 ::std::mem::size_of::<Rooted>(), in bindgen_test_layout_Rooted() 53 ::std::mem::size_of::<MaybeWrapped<::std::os::raw::c_int>>(), in __bindgen_test_layout_MaybeWrapped_open0_int_close0_instantiation()
|
H A D | issue-769-bad-instantiation-test.rs | 31 ::std::mem::size_of::<root::Rooted<::std::os::raw::c_int>>(), in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 51 ::std::mem::size_of::<root::Rooted<root::AutoValueVector_Alias>>(), in __bindgen_test_layout_Rooted_open0_AutoValueVector_Alias_close0_instantiation()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/ |
H A D | issue-769-bad-instantiation-test.rs | 31 ::std::mem::size_of::<root::Rooted<::std::os::raw::c_int>>(), in __bindgen_test_layout_Rooted_open0_int_close0_instantiation() 51 ::std::mem::size_of::<root::Rooted<root::AutoValueVector_Alias>>(), in __bindgen_test_layout_Rooted_open0_AutoValueVector_Alias_close0_instantiation()
|
/third_party/rust/crates/memchr/src/memchr/x86/ |
H A D | sse42.rs | 12 use core::{arch::x86_64::*, mem::size_of}; 16 const VECTOR_SIZE: usize = size_of::<__m128i>();
|
/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()
|