/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | sentry-defined-multiple-times.rs | 41 ::std::mem::align_of::<sentry>(), in bindgen_test_layout_sentry() 72 ::std::mem::align_of::<NotTemplateWrapper>(), in bindgen_test_layout_NotTemplateWrapper() 93 ::std::mem::align_of::<NotTemplateWrapper_sentry>(), in bindgen_test_layout_NotTemplateWrapper_sentry() 138 ::std::mem::align_of::<InlineNotTemplateWrapper_sentry>(), in bindgen_test_layout_InlineNotTemplateWrapper_sentry() 169 ::std::mem::align_of::<InlineNotTemplateWrapper>(), in bindgen_test_layout_InlineNotTemplateWrapper() 205 ::std::mem::align_of::<OuterDoubleWrapper_InnerDoubleWrapper>(), in bindgen_test_layout_OuterDoubleWrapper_InnerDoubleWrapper() 221 ::std::mem::align_of::<OuterDoubleWrapper>(), in bindgen_test_layout_OuterDoubleWrapper() 248 ::std::mem::align_of::< in bindgen_test_layout_OuterDoubleWrapper_InnerDoubleWrapper_sentry() 295 assert_eq ! (:: std :: mem :: align_of :: < OuterDoubleInlineWrapper_InnerDoubleInlineWrapper_sentry > () , 4usize , concat ! ("Alignment of " , stringify ! (OuterDoubleInlineWrapper_InnerDoubleInlineWrapper_sentry))); in bindgen_test_layout_OuterDoubleInlineWrapper_InnerDoubleInlineWrapper_sentry() 314 ::std::mem::align_of in bindgen_test_layout_OuterDoubleInlineWrapper_InnerDoubleInlineWrapper() [all...] |
H A D | template_instantiation_with_fn_local_type.rs | 25 ::std::mem::align_of::<Foo>(), in __bindgen_test_layout_Foo_open0_Bar_close0_instantiation() 43 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz() 56 ::std::mem::align_of::<Foo>(), in __bindgen_test_layout_Foo_open0_Boo_close0_instantiation() 74 ::std::mem::align_of::<Bar>(), in bindgen_test_layout_Bar() 92 ::std::mem::align_of::<Boo>(), in bindgen_test_layout_Boo()
|
H A D | inherit-from-template-instantiation-with-vtable.rs | 41 ::std::mem::align_of::<DerivedWithNoVirtualMethods>(), in bindgen_test_layout_DerivedWithNoVirtualMethods() 69 ::std::mem::align_of::<DerivedWithVirtualMethods>(), in bindgen_test_layout_DerivedWithVirtualMethods() 116 ::std::mem::align_of::<DerivedWithVtable>(), in bindgen_test_layout_DerivedWithVtable() 144 ::std::mem::align_of::<DerivedWithoutVtable>(), in bindgen_test_layout_DerivedWithoutVtable() 169 ::std::mem::align_of::<BaseWithVtable<*mut ::std::os::raw::c_char>>(), in __bindgen_test_layout_BaseWithVtable_open0_ptr_char_close0_instantiation() 189 ::std::mem::align_of::<BaseWithVtable<*mut ::std::os::raw::c_char>>(), in __bindgen_test_layout_BaseWithVtable_open0_ptr_char_close0_instantiation_1() 209 ::std::mem::align_of::<BaseWithoutVtable<*mut ::std::os::raw::c_char>>( in __bindgen_test_layout_BaseWithoutVtable_open0_ptr_char_close0_instantiation() 230 ::std::mem::align_of::<BaseWithoutVtable<*mut ::std::os::raw::c_char>>( in __bindgen_test_layout_BaseWithoutVtable_open0_ptr_char_close0_instantiation_1()
|
H A D | class_1_0.rs | 98 ::std::mem::align_of::<C>(), in bindgen_test_layout_C() 156 ::std::mem::align_of::<C_with_zero_length_array>(), in bindgen_test_layout_C_with_zero_length_array() 222 ::std::mem::align_of::<C_with_zero_length_array_2>(), in bindgen_test_layout_C_with_zero_length_array_2() 264 ::std::mem::align_of::<C_with_incomplete_array>(), in bindgen_test_layout_C_with_incomplete_array() 292 ::std::mem::align_of::<C_with_incomplete_array_2>(), in bindgen_test_layout_C_with_incomplete_array_2() 315 ::std::mem::align_of::<C_with_zero_length_array_and_incomplete_array>(), in bindgen_test_layout_C_with_zero_length_array_and_incomplete_array() 351 ::std::mem::align_of::<C_with_zero_length_array_and_incomplete_array_2>( in bindgen_test_layout_C_with_zero_length_array_and_incomplete_array_2() 376 ::std::mem::align_of::<WithDtor>(), in bindgen_test_layout_WithDtor() 404 ::std::mem::align_of::<IncompleteArrayNonCopiable>(), in bindgen_test_layout_IncompleteArrayNonCopiable() 436 ::std::mem::align_of in bindgen_test_layout_Union() [all...] |
H A D | template.rs | 80 ::std::mem::align_of::<C>(), in bindgen_test_layout_C() 332 ::std::mem::align_of::<RootedContainer>(), in bindgen_test_layout_RootedContainer() 388 ::std::mem::align_of::<PODButContainsDtor>(), in bindgen_test_layout_PODButContainsDtor() 434 ::std::mem::align_of::<POD>(), in bindgen_test_layout_POD() 527 ::std::mem::align_of::<Untemplated>(), in bindgen_test_layout_Untemplated() 616 ::std::mem::align_of::<Foo<::std::os::raw::c_int>>(), in __bindgen_test_layout_Foo_open0_int_int_close0_instantiation() 635 ::std::mem::align_of::<B<::std::os::raw::c_uint>>(), in __bindgen_test_layout_B_open0_unsigned_int_close0_instantiation() 654 ::std::mem::align_of::<B<*const ::std::os::raw::c_int>>(), in __bindgen_test_layout_B_open0_ptr_const_int_close0_instantiation() 673 ::std::mem::align_of::<B<*const mozilla_Foo>>(), in __bindgen_test_layout_B_open0_ptr_const_mozilla__Foo_close0_instantiation() 693 ::std::mem::align_of in __bindgen_test_layout_B_open0_array1_ptr_const_mozilla__Foo_close0_instantiation() [all...] |
H A D | comment-indent.rs | 36 ::std::mem::align_of::<Foo_Bar>(), in bindgen_test_layout_Foo_Bar() 49 ::std::mem::align_of::<Foo>(), in bindgen_test_layout_Foo() 82 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz() 115 ::std::mem::align_of::<InInlineNS>(), in bindgen_test_layout_InInlineNS() 133 ::std::mem::align_of::<Bazz>(), in bindgen_test_layout_Bazz()
|
H A D | issue-807-opaque-types-methods-being-generated.rs | 21 ::std::mem::align_of::<Pupper>(), in bindgen_test_layout_Pupper() 39 ::std::mem::align_of::<Doggo>(), in bindgen_test_layout_Doggo() 57 ::std::mem::align_of::<SuchWow>(), in bindgen_test_layout_SuchWow() 76 ::std::mem::align_of::<Opaque>(), in bindgen_test_layout_Opaque() 121 ::std::mem::align_of::<Allowlisted>(), in bindgen_test_layout_Allowlisted()
|
H A D | crtp.rs | 26 ::std::mem::align_of::<Derived>(), in bindgen_test_layout_Derived() 49 ::std::mem::align_of::<DerivedFromBaseWithDestructor>(), in bindgen_test_layout_DerivedFromBaseWithDestructor() 62 ::std::mem::align_of::<Base>(), in __bindgen_test_layout_Base_open0_Derived_close0_instantiation() 79 ::std::mem::align_of::<BaseWithDestructor>(), in __bindgen_test_layout_BaseWithDestructor_open0_DerivedFromBaseWithDestructor_close0_instantiation()
|
H A D | disable-nested-struct-naming.rs | 47 ::std::mem::align_of::<bar4>(), in bindgen_test_layout_bar4() 68 ::std::mem::align_of::<bar1__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_bar1__bindgen_ty_1__bindgen_ty_1() 107 ::std::mem::align_of::<bar1__bindgen_ty_1>(), in bindgen_test_layout_bar1__bindgen_ty_1() 143 ::std::mem::align_of::<bar1>(), in bindgen_test_layout_bar1() 169 ::std::mem::align_of::<foo>(), in bindgen_test_layout_foo() 205 ::std::mem::align_of::<baz>(), in bindgen_test_layout_baz() 226 ::std::mem::align_of::<_bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout__bindgen_ty_1__bindgen_ty_1() 252 ::std::mem::align_of::<_bindgen_ty_1>(), in bindgen_test_layout__bindgen_ty_1()
|
H A D | class_with_inner_struct.rs | 32 ::std::mem::align_of::<A_Segment>(), in bindgen_test_layout_A_Segment() 73 ::std::mem::align_of::<A__bindgen_ty_1>(), in bindgen_test_layout_A__bindgen_ty_1() 113 ::std::mem::align_of::<A__bindgen_ty_2>(), in bindgen_test_layout_A__bindgen_ty_2() 148 ::std::mem::align_of::<A>(), in bindgen_test_layout_A() 201 ::std::mem::align_of::<B_Segment>(), in bindgen_test_layout_B_Segment() 237 ::std::mem::align_of::<B>(), in bindgen_test_layout_B() 286 ::std::mem::align_of::<C__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_C__bindgen_ty_1__bindgen_ty_1() 348 ::std::mem::align_of::<C__bindgen_ty_1__bindgen_ty_2>(), in bindgen_test_layout_C__bindgen_ty_1__bindgen_ty_2() 395 ::std::mem::align_of::<C__bindgen_ty_1>(), in bindgen_test_layout_C__bindgen_ty_1() 436 ::std::mem::align_of in bindgen_test_layout_C_Segment() [all...] |
H A D | typeref.rs | 24 ::std::mem::align_of::<mozilla_FragmentOrURL>(), in bindgen_test_layout_mozilla_FragmentOrURL() 54 ::std::mem::align_of::<mozilla_Position>(), in bindgen_test_layout_mozilla_Position() 102 ::std::mem::align_of::<Bar>(), in bindgen_test_layout_Bar() 136 ::std::mem::align_of::<nsFoo>(), in bindgen_test_layout_nsFoo() 172 ::std::mem::align_of::<mozilla_StyleShapeSource>(), in __bindgen_test_layout_mozilla_StyleShapeSource_open0_int_close0_instantiation()
|
H A D | private_fields.rs | 111 ::std::mem::align_of::<PubPriv>(), in bindgen_test_layout_PubPriv() 152 ::std::mem::align_of::<PrivateBitFields>(), in bindgen_test_layout_PrivateBitFields() 218 ::std::mem::align_of::<PublicBitFields>(), in bindgen_test_layout_PublicBitFields() 284 ::std::mem::align_of::<MixedBitFields>(), in bindgen_test_layout_MixedBitFields() 350 ::std::mem::align_of::<Base>(), in bindgen_test_layout_Base() 378 ::std::mem::align_of::<InheritsPrivately>(), in bindgen_test_layout_InheritsPrivately() 396 ::std::mem::align_of::<InheritsPublically>(), in bindgen_test_layout_InheritsPublically() 423 ::std::mem::align_of::<WithAnonStruct__bindgen_ty_1>(), in bindgen_test_layout_WithAnonStruct__bindgen_ty_1() 454 ::std::mem::align_of::<WithAnonStruct__bindgen_ty_2>(), in bindgen_test_layout_WithAnonStruct__bindgen_ty_2() 477 ::std::mem::align_of in bindgen_test_layout_WithAnonStruct() [all...] |
H A D | 16-byte-alignment.rs | 42 ::std::mem::align_of::<rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1() 81 ::std::mem::align_of::<rte_ipv4_tuple__bindgen_ty_1>(), in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1() 118 ::std::mem::align_of::<rte_ipv4_tuple>(), in bindgen_test_layout_rte_ipv4_tuple() 190 ::std::mem::align_of::<rte_ipv6_tuple__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_rte_ipv6_tuple__bindgen_ty_1__bindgen_ty_1() 229 ::std::mem::align_of::<rte_ipv6_tuple__bindgen_ty_1>(), in bindgen_test_layout_rte_ipv6_tuple__bindgen_ty_1() 266 ::std::mem::align_of::<rte_ipv6_tuple>(), in bindgen_test_layout_rte_ipv6_tuple() 322 ::std::mem::align_of::<rte_thash_tuple>(), in bindgen_test_layout_rte_thash_tuple()
|
H A D | canonical-types.rs | 93 ::std::mem::align_of::<ClassD>(), in bindgen_test_layout_ClassD() 116 ::std::mem::align_of::<ClassB>(), in __bindgen_test_layout_ClassB_open0_ClassD_ClassCInnerCRTP_close0_instantiation() 134 ::std::mem::align_of::<ClassCInnerCRTP>(), in bindgen_test_layout_ClassCInnerCRTP() 157 ::std::mem::align_of::<ClassB>(), in __bindgen_test_layout_ClassB_open0_ClassCInnerCRTP_ClassAInner_close0_instantiation() 178 ::std::mem::align_of::<ClassAInner>(), in bindgen_test_layout_ClassAInner() 218 ::std::mem::align_of::<ClassCInnerA>(), in bindgen_test_layout_ClassCInnerA() 258 ::std::mem::align_of::<ClassCInnerB>(), in bindgen_test_layout_ClassCInnerB()
|
H A D | derive-partialeq-pointer.rs | 24 ::std::mem::align_of::<Bar>(), in bindgen_test_layout_Bar() 61 ::std::mem::align_of::<c__bindgen_ty_1>(), in bindgen_test_layout_c__bindgen_ty_1() 83 ::std::mem::align_of::<c>(), in bindgen_test_layout_c() 113 ::std::mem::align_of::<a>(), in bindgen_test_layout_a()
|
H A D | issue-1118-using-forward-decl.rs | 25 ::std::mem::align_of::<nsTArray_base>(), in bindgen_test_layout_nsTArray_base() 79 ::std::mem::align_of::<nsIContent>(), in bindgen_test_layout_nsIContent() 115 ::std::mem::align_of::<nsTArray>(), in __bindgen_test_layout_nsTArray_open0_ptr_nsIContent_close0_instantiation() 132 ::std::mem::align_of::<nsTArray>(), in __bindgen_test_layout_nsTArray_open0_ptr_nsIContent_close0_instantiation_1()
|
H A D | issue-584-stylo-template-analysis-panic.rs | 24 ::std::mem::align_of::<A>(), in bindgen_test_layout_A() 63 ::std::mem::align_of::<g>(), in bindgen_test_layout_g() 94 ::std::mem::align_of::<b>(), in bindgen_test_layout_b() 120 ::std::mem::align_of::<f>(), in __bindgen_test_layout_f_open0_e_open1_int_close1_close0_instantiation()
|
H A D | issue-639-typedef-anon-field.rs | 29 ::std::mem::align_of::<Foo_Bar>(), in bindgen_test_layout_Foo_Bar() 55 ::std::mem::align_of::<Foo>(), in bindgen_test_layout_Foo() 86 ::std::mem::align_of::<Baz_Bar>(), in bindgen_test_layout_Baz_Bar() 109 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz()
|
H A D | virtual_interface.rs | 29 ::std::mem::align_of::<PureVirtualIFace>(), in bindgen_test_layout_PureVirtualIFace() 60 ::std::mem::align_of::<AnotherInterface>(), in bindgen_test_layout_AnotherInterface() 87 ::std::mem::align_of::<Implementation>(), in bindgen_test_layout_Implementation() 115 ::std::mem::align_of::<DoubleImpl>(), in bindgen_test_layout_DoubleImpl()
|
H A D | nested.rs | 24 ::std::mem::align_of::<Calc>(), in bindgen_test_layout_Calc() 58 ::std::mem::align_of::<Test_Size_Dimension>(), in bindgen_test_layout_Test_Size_Dimension() 74 ::std::mem::align_of::<Test_Size>(), in bindgen_test_layout_Test_Size() 107 ::std::mem::align_of::<Test>(), in bindgen_test_layout_Test()
|
H A D | multiple-inherit-empty-correct-layout.rs | 21 ::std::mem::align_of::<Foo>(), in bindgen_test_layout_Foo() 39 ::std::mem::align_of::<Bar>(), in bindgen_test_layout_Bar() 57 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz()
|
H A D | opaque-template-instantiation-namespaced.rs | 47 ::std::mem::align_of::<Foo>(), in bindgen_test_layout_Foo() 80 ::std::mem::align_of::<Bar>(), in bindgen_test_layout_Bar() 113 ::std::mem::align_of::<ContainsInstantiation>(), in bindgen_test_layout_ContainsInstantiation() 156 ::std::mem::align_of::<ContainsOpaqueInstantiation>(), in bindgen_test_layout_ContainsOpaqueInstantiation() 189 ::std::mem::align_of::<root::zoidberg::Template<root::zoidberg::Foo>>( in __bindgen_test_layout_Template_open0_Foo_close0_instantiation()
|
/third_party/rust/crates/static-assertions-rs/src/ |
H A D | assert_eq_align.rs | 41 use $crate::_core::mem::align_of; 42 $(let _: [(); align_of::<$x>()] = [(); align_of::<$xs>()];)+
|
/third_party/rust/crates/libc/src/ |
H A D | fixed_width_ints.rs | 86 static_assert_eq!(core::mem::align_of::<__int128>(), _ALIGN_128); 89 static_assert_eq!(core::mem::align_of::<__uint128>(), _ALIGN_128); 92 static_assert_eq!(core::mem::align_of::<__int128_t>(), _ALIGN_128); 95 static_assert_eq!(core::mem::align_of::<__uint128_t>(), _ALIGN_128);
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/ |
H A D | class_1_0.rs | 98 ::std::mem::align_of::<C>(), in bindgen_test_layout_C() 156 ::std::mem::align_of::<C_with_zero_length_array>(), in bindgen_test_layout_C_with_zero_length_array() 222 ::std::mem::align_of::<C_with_zero_length_array_2>(), in bindgen_test_layout_C_with_zero_length_array_2() 267 ::std::mem::align_of::<C_with_incomplete_array>(), in bindgen_test_layout_C_with_incomplete_array() 333 ::std::mem::align_of::<C_with_incomplete_array_2>(), in bindgen_test_layout_C_with_incomplete_array_2() 383 ::std::mem::align_of::<C_with_zero_length_array_and_incomplete_array>(), in bindgen_test_layout_C_with_zero_length_array_and_incomplete_array() 471 ::std::mem::align_of::<C_with_zero_length_array_and_incomplete_array_2>( in bindgen_test_layout_C_with_zero_length_array_and_incomplete_array_2() 532 ::std::mem::align_of::<WithDtor>(), in bindgen_test_layout_WithDtor() 563 ::std::mem::align_of::<IncompleteArrayNonCopiable>(), in bindgen_test_layout_IncompleteArrayNonCopiable() 620 ::std::mem::align_of in bindgen_test_layout_Union() [all...] |