Home
last modified time | relevance | path

Searched refs:size_of (Results 51 - 75 of 451) sorted by relevance

12345678910>>...19

/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dnested_vtable.rs21 ::std::mem::size_of::<nsISupports>(), in bindgen_test_layout_nsISupports()
54 ::std::mem::size_of::<nsIRunnable>(), in bindgen_test_layout_nsIRunnable()
81 ::std::mem::size_of::<Runnable>(), in bindgen_test_layout_Runnable()
H A Dopaque-template-instantiation-namespaced.rs42 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
75 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar()
108 ::std::mem::size_of::<ContainsInstantiation>(), in bindgen_test_layout_ContainsInstantiation()
151 ::std::mem::size_of::<ContainsOpaqueInstantiation>(), in bindgen_test_layout_ContainsOpaqueInstantiation()
180 ::std::mem::size_of::<root::zoidberg::Template<root::zoidberg::Foo>>( in __bindgen_test_layout_Template_open0_Foo_close0_instantiation()
H A Dclass_nested.rs24 ::std::mem::size_of::<A_B>(), in bindgen_test_layout_A_B()
67 ::std::mem::size_of::<A>(), in bindgen_test_layout_A()
100 ::std::mem::size_of::<A_C>(), in bindgen_test_layout_A_C()
121 ::std::mem::size_of::<A_D<::std::os::raw::c_int>>(), in __bindgen_test_layout_A_D_open0_int_close0_instantiation()
151 ::std::mem::size_of::<D>(), in bindgen_test_layout_D()
H A Dunion_with_nesting.rs32 ::std::mem::size_of::<foo__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_1()
83 ::std::mem::size_of::<foo__bindgen_ty_1__bindgen_ty_2>(), in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_2()
125 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1()
150 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
H A Dcomplex.rs25 ::std::mem::size_of::<TestDouble>(), in bindgen_test_layout_TestDouble()
56 ::std::mem::size_of::<TestDoublePtr>(), in bindgen_test_layout_TestDoublePtr()
96 ::std::mem::size_of::<TestFloat>(), in bindgen_test_layout_TestFloat()
127 ::std::mem::size_of::<TestFloatPtr>(), in bindgen_test_layout_TestFloatPtr()
H A Dissue-537-repr-packed-n.rs22 ::std::mem::size_of::<AlignedToOne>(), in bindgen_test_layout_AlignedToOne()
54 ::std::mem::size_of::<AlignedToTwo>(), in bindgen_test_layout_AlignedToTwo()
89 ::std::mem::size_of::<PackedToOne>(), in bindgen_test_layout_PackedToOne()
132 ::std::mem::size_of::<PackedToTwo>(), in bindgen_test_layout_PackedToTwo()
H A Dstruct_with_derive_debug.rs19 ::std::mem::size_of::<LittleArray>(), in bindgen_test_layout_LittleArray()
50 ::std::mem::size_of::<BigArray>(), in bindgen_test_layout_BigArray()
90 ::std::mem::size_of::<WithLittleArray>(), in bindgen_test_layout_WithLittleArray()
121 ::std::mem::size_of::<WithBigArray>(), in bindgen_test_layout_WithBigArray()
H A Dissue-537.rs21 ::std::mem::size_of::<AlignedToOne>(), in bindgen_test_layout_AlignedToOne()
54 ::std::mem::size_of::<AlignedToTwo>(), in bindgen_test_layout_AlignedToTwo()
89 ::std::mem::size_of::<PackedToOne>(), in bindgen_test_layout_PackedToOne()
134 ::std::mem::size_of::<PackedToTwo>(), in bindgen_test_layout_PackedToTwo()
H A Dallowlist-file.rs24 ::std::mem::size_of::<someClass>(), in bindgen_test_layout_someClass()
65 ::std::mem::size_of::<StructWithAllowlistedDefinition>(), in bindgen_test_layout_StructWithAllowlistedDefinition()
105 ::std::mem::size_of::<StructWithAllowlistedFwdDecl>(), in bindgen_test_layout_StructWithAllowlistedFwdDecl()
136 ::std::mem::size_of::<AllowlistMe>(), in bindgen_test_layout_AllowlistMe()
H A Dderive-hash-struct-with-pointer.rs20 ::std::mem::size_of::<ConstPtrMutObj>(), in bindgen_test_layout_ConstPtrMutObj()
60 ::std::mem::size_of::<MutPtrMutObj>(), in bindgen_test_layout_MutPtrMutObj()
100 ::std::mem::size_of::<MutPtrConstObj>(), in bindgen_test_layout_MutPtrConstObj()
140 ::std::mem::size_of::<ConstPtrConstObj>(), in bindgen_test_layout_ConstPtrConstObj()
H A Dderive-hash-template-inst-float.rs36 ::std::mem::size_of::<IntStr>(), in bindgen_test_layout_IntStr()
72 ::std::mem::size_of::<FloatStr>(), in bindgen_test_layout_FloatStr()
104 ::std::mem::size_of::<foo<::std::os::raw::c_int>>(), in __bindgen_test_layout_foo_open0_int_close0_instantiation()
123 ::std::mem::size_of::<foo<f32>>(), in __bindgen_test_layout_foo_open0_float_close0_instantiation()
H A Dissue-1281.rs24 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
45 ::std::mem::size_of::<bar>(), in bindgen_test_layout_bar()
72 ::std::mem::size_of::<baz>(), in bindgen_test_layout_baz()
H A Dstruct_with_anon_struct_array.rs26 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1()
68 ::std::mem::size_of::<foo__bindgen_ty_2>(), in bindgen_test_layout_foo__bindgen_ty_2()
104 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
H A Dopaque-template-instantiation.rs34 ::std::mem::size_of::<ContainsInstantiation>(), in bindgen_test_layout_ContainsInstantiation()
76 ::std::mem::size_of::<ContainsOpaqueInstantiation>(), in bindgen_test_layout_ContainsOpaqueInstantiation()
99 ::std::mem::size_of::<Template<::std::os::raw::c_char>>(), in __bindgen_test_layout_Template_open0_char_close0_instantiation()
H A Dtypedef-pointer-overlap.rs19 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
51 ::std::mem::size_of::<bar>(), in bindgen_test_layout_bar()
89 ::std::mem::size_of::<cat>(), in bindgen_test_layout_cat()
H A Dprivate.rs21 ::std::mem::size_of::<HasPrivate>(), in bindgen_test_layout_HasPrivate()
68 ::std::mem::size_of::<VeryPrivate>(), in bindgen_test_layout_VeryPrivate()
116 ::std::mem::size_of::<ContradictPrivate>(), in bindgen_test_layout_ContradictPrivate()
H A Dderive-custom-cli.rs19 ::std::mem::size_of::<foo_struct>(), in bindgen_test_layout_foo_struct()
56 ::std::mem::size_of::<foo_union>(), in bindgen_test_layout_foo_union()
96 ::std::mem::size_of::<non_matching>(), in bindgen_test_layout_non_matching()
H A Danon_struct_in_union.rs29 ::std::mem::size_of::<s__bindgen_ty_1_inner>(), in bindgen_test_layout_s__bindgen_ty_1_inner()
55 ::std::mem::size_of::<s__bindgen_ty_1>(), in bindgen_test_layout_s__bindgen_ty_1()
90 ::std::mem::size_of::<s>(), in bindgen_test_layout_s()
H A Dinherit_multiple_interfaces.rs22 ::std::mem::size_of::<A>(), in bindgen_test_layout_A()
60 ::std::mem::size_of::<B>(), in bindgen_test_layout_B()
102 ::std::mem::size_of::<C>(), in bindgen_test_layout_C()
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
H A Dwrite_sockaddr.rs7 use core::mem::size_of;
34 size_of::<c::sockaddr_in>() in write_sockaddr_v4()
54 size_of::<c::sockaddr_in6>() in write_sockaddr_v6()
/foundation/communication/ipc/interfaces/innerkits/rust/src/parcel/
H A Dmsg.rs777 size += mem::size_of::<i32>(); in parcel_size()
781 size += mem::size_of::<i32>(); in parcel_size()
785 size += mem::size_of::<i32>(); in parcel_size()
789 size += mem::size_of::<i64>(); in parcel_size()
793 size += mem::size_of::<u32>(); in parcel_size()
797 size += mem::size_of::<u32>(); in parcel_size()
801 size += mem::size_of::<u32>(); in parcel_size()
805 size += mem::size_of::<u64>(); in parcel_size()
809 size += mem::size_of::<i32>(); in parcel_size()
/third_party/rust/crates/once_cell/src/
H A Dimp_pl.rs171 use std::mem::size_of; in test_size()
173 assert_eq!(size_of::<OnceCell<bool>>(), 1 * size_of::<bool>() + size_of::<u8>()); in test_size()
/third_party/rust/crates/minimal-lexical/src/
H A Dfpu.rs21 use core::mem::size_of;
60 let cw_precision = match size_of::<T>() { in set_precision()
/third_party/rust/crates/serde/serde/src/de/
H A Dsize_hint.rs14 if mem::size_of::<Element>() == 0 { in cautious()
19 MAX_PREALLOC_BYTES / mem::size_of::<Element>(), in cautious()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/
H A Dzero-sized-array.rs50 ::std::mem::size_of::<ZeroSizedArray>(), in bindgen_test_layout_ZeroSizedArray()
82 ::std::mem::size_of::<ContainsZeroSizedArray>(), in bindgen_test_layout_ContainsZeroSizedArray()
112 ::std::mem::size_of::<InheritsZeroSizedArray>(), in bindgen_test_layout_InheritsZeroSizedArray()
134 ::std::mem::size_of::<DynamicallySizedArray>(), in bindgen_test_layout_DynamicallySizedArray()
166 ::std::mem::size_of::<ContainsDynamicallySizedArray>(), in bindgen_test_layout_ContainsDynamicallySizedArray()

Completed in 12 milliseconds

12345678910>>...19